Modified and cleaned up files

This commit is contained in:
Viswamedha Nalabotu 2025-11-18 18:48:42 +00:00
parent 9f7b74712b
commit ff0d336cb3
8 changed files with 41 additions and 11189 deletions

View file

@ -3,8 +3,8 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

1
.gitignore vendored
View file

@ -2,6 +2,7 @@
# compiled output
dist
build
tmp
out-tsc

View file

@ -1,5 +1,6 @@
# Add files here to ignore them from prettier formatting
/dist
/build
/coverage
/.nx/cache
/.nx/workspace-data

50
nx.json
View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -3,16 +3,11 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"start:api": "nx serve apps/api",
"start:web": "nx serve apps/web",
"build:api": "nx build apps/api",
"build:web": "nx build apps/web"
"dev": "vite dev",
"build": "vite build"
},
"private": true,
"dependencies": {
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0",
"@nestjs/platform-express": "^11.0.0",
"axios": "^1.6.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.0",
@ -21,18 +16,6 @@
},
"devDependencies": {
"@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/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
@ -48,7 +31,6 @@
"eslint-plugin-vue": "^9.16.1",
"jiti": "2.4.2",
"jsdom": "~22.1.0",
"nx": "22.0.2",
"prettier": "^2.6.2",
"tslib": "^2.3.0",
"typescript": "~5.9.2",

View file

@ -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": {}
}

View file

@ -1,12 +1,10 @@
/// <reference types='vitest' />
import { defineConfig } from 'vite';
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(() => ({
root: __dirname,
cacheDir: '../../../node_modules/.vite/apps/web',
cacheDir: './node_modules/.vite/build',
server: {
port: 4200,
host: 'localhost',
@ -15,13 +13,9 @@ export default defineConfig(() => ({
port: 4300,
host: 'localhost',
},
plugins: [vue(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
plugins: [vue()],
build: {
outDir: '../../dist/apps/web',
outDir: './build',
emptyOutDir: true,
reportCompressedSize: true,
commonjsOptions: {