Modified and cleaned up files
This commit is contained in:
parent
9f7b74712b
commit
ff0d336cb3
8 changed files with 41 additions and 11189 deletions
|
|
@ -3,8 +3,8 @@ root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
indent_style = space
|
indent_style = tab
|
||||||
indent_size = 2
|
indent_size = 4
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
# compiled output
|
# compiled output
|
||||||
dist
|
dist
|
||||||
|
build
|
||||||
tmp
|
tmp
|
||||||
out-tsc
|
out-tsc
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
# Add files here to ignore them from prettier formatting
|
# Add files here to ignore them from prettier formatting
|
||||||
/dist
|
/dist
|
||||||
|
/build
|
||||||
/coverage
|
/coverage
|
||||||
/.nx/cache
|
/.nx/cache
|
||||||
/.nx/workspace-data
|
/.nx/workspace-data
|
||||||
50
nx.json
50
nx.json
|
|
@ -1,50 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
||||||
"defaultBase": "master",
|
|
||||||
"namedInputs": {
|
|
||||||
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
||||||
"production": [
|
|
||||||
"default",
|
|
||||||
"!{projectRoot}/.eslintrc.json",
|
|
||||||
"!{projectRoot}/eslint.config.mjs",
|
|
||||||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
||||||
"!{projectRoot}/tsconfig.spec.json",
|
|
||||||
"!{projectRoot}/src/test-setup.[jt]s"
|
|
||||||
],
|
|
||||||
"sharedGlobals": ["{workspaceRoot}/.gitlab-ci.yml"]
|
|
||||||
},
|
|
||||||
"nxCloudId": "6911edcf6b32f954e0e9455d",
|
|
||||||
"plugins": [
|
|
||||||
{
|
|
||||||
"plugin": "@nx/webpack/plugin",
|
|
||||||
"options": {
|
|
||||||
"buildTargetName": "build",
|
|
||||||
"serveTargetName": "serve",
|
|
||||||
"previewTargetName": "preview",
|
|
||||||
"buildDepsTargetName": "build-deps",
|
|
||||||
"watchDepsTargetName": "watch-deps",
|
|
||||||
"serveStaticTargetName": "serve-static"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plugin": "@nx/eslint/plugin",
|
|
||||||
"options": {
|
|
||||||
"targetName": "lint"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plugin": "@nx/vite/plugin",
|
|
||||||
"options": {
|
|
||||||
"buildTargetName": "build",
|
|
||||||
"testTargetName": "test",
|
|
||||||
"serveTargetName": "serve",
|
|
||||||
"devTargetName": "dev",
|
|
||||||
"previewTargetName": "preview",
|
|
||||||
"serveStaticTargetName": "serve-static",
|
|
||||||
"typecheckTargetName": "typecheck",
|
|
||||||
"buildDepsTargetName": "build-deps",
|
|
||||||
"watchDepsTargetName": "watch-deps"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
11132
package-lock.json
generated
11132
package-lock.json
generated
File diff suppressed because it is too large
Load diff
22
package.json
22
package.json
|
|
@ -3,16 +3,11 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start:api": "nx serve apps/api",
|
"dev": "vite dev",
|
||||||
"start:web": "nx serve apps/web",
|
"build": "vite build"
|
||||||
"build:api": "nx build apps/api",
|
|
||||||
"build:web": "nx build apps/web"
|
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nestjs/common": "^11.0.0",
|
|
||||||
"@nestjs/core": "^11.0.0",
|
|
||||||
"@nestjs/platform-express": "^11.0.0",
|
|
||||||
"axios": "^1.6.0",
|
"axios": "^1.6.0",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rxjs": "^7.8.0",
|
"rxjs": "^7.8.0",
|
||||||
|
|
@ -21,18 +16,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.8.0",
|
"@eslint/js": "^9.8.0",
|
||||||
"@nestjs/schematics": "^11.0.0",
|
|
||||||
"@nestjs/testing": "^11.0.0",
|
|
||||||
"@nx/eslint": "22.0.2",
|
|
||||||
"@nx/eslint-plugin": "22.0.2",
|
|
||||||
"@nx/js": "22.0.2",
|
|
||||||
"@nx/nest": "22.0.2",
|
|
||||||
"@nx/node": "22.0.2",
|
|
||||||
"@nx/vite": "22.0.2",
|
|
||||||
"@nx/vue": "22.0.2",
|
|
||||||
"@nx/web": "22.0.2",
|
|
||||||
"@nx/webpack": "22.0.2",
|
|
||||||
"@nx/workspace": "22.0.2",
|
|
||||||
"@swc-node/register": "~1.9.1",
|
"@swc-node/register": "~1.9.1",
|
||||||
"@swc/core": "~1.5.7",
|
"@swc/core": "~1.5.7",
|
||||||
"@swc/helpers": "~0.5.11",
|
"@swc/helpers": "~0.5.11",
|
||||||
|
|
@ -48,7 +31,6 @@
|
||||||
"eslint-plugin-vue": "^9.16.1",
|
"eslint-plugin-vue": "^9.16.1",
|
||||||
"jiti": "2.4.2",
|
"jiti": "2.4.2",
|
||||||
"jsdom": "~22.1.0",
|
"jsdom": "~22.1.0",
|
||||||
"nx": "22.0.2",
|
|
||||||
"prettier": "^2.6.2",
|
"prettier": "^2.6.2",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"typescript": "~5.9.2",
|
"typescript": "~5.9.2",
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"name": "web",
|
|
||||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
||||||
"projectType": "application",
|
|
||||||
"sourceRoot": "apps/web/src",
|
|
||||||
"// targets": "to see all targets run: nx show project web --web",
|
|
||||||
"targets": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
/// <reference types='vitest' />
|
/// <reference types='vitest' />
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
|
|
||||||
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
|
|
||||||
|
|
||||||
export default defineConfig(() => ({
|
export default defineConfig(() => ({
|
||||||
root: __dirname,
|
root: __dirname,
|
||||||
cacheDir: '../../../node_modules/.vite/apps/web',
|
cacheDir: './node_modules/.vite/build',
|
||||||
server: {
|
server: {
|
||||||
port: 4200,
|
port: 4200,
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
|
|
@ -15,13 +13,9 @@ export default defineConfig(() => ({
|
||||||
port: 4300,
|
port: 4300,
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
},
|
},
|
||||||
plugins: [vue(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
|
plugins: [vue()],
|
||||||
// Uncomment this if you are using workers.
|
|
||||||
// worker: {
|
|
||||||
// plugins: [ nxViteTsPaths() ],
|
|
||||||
// },
|
|
||||||
build: {
|
build: {
|
||||||
outDir: '../../dist/apps/web',
|
outDir: './build',
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
reportCompressedSize: true,
|
reportCompressedSize: true,
|
||||||
commonjsOptions: {
|
commonjsOptions: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue