Skip to content

Commit

Permalink
intergate ngrx and nx monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
zenkiet committed Nov 7, 2023
1 parent c526f39 commit 1b64fab
Show file tree
Hide file tree
Showing 28 changed files with 4,788 additions and 955 deletions.
1 change: 1 addition & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ yarn-error.log
.history/*

# Miscellaneous
/.nx
/.angular/cache
.sass-cache/
/connect.lock
Expand Down
7 changes: 5 additions & 2 deletions client/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
"recommendations": [
"angular.ng-template",
"nrwl.angular-console",
"dbaeumer.vscode-eslint"
]
}
154 changes: 0 additions & 154 deletions client/angular.json

This file was deleted.

32 changes: 32 additions & 0 deletions client/nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"targetDefaults": {
"build": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"test": {
"cache": true,
"inputs": ["default", "^production"]
},
"lint": {
"cache": true,
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
}
},
"affected": {
"defaultBase": "main"
},
"namedInputs": {
"sharedGlobals": [],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/**/*.spec.[jt]s",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/eslint.config.js"
]
},
"nxCloudAccessToken": "MDdlOGYxNGQtODliOC00OWM4LWIzMDItOTQ5NTI3MDk4YjZmfHJlYWQtd3JpdGU="
}
42 changes: 24 additions & 18 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
"private": true,
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"lint": "ng lint",
"lint:fix": "ng lint --fix",
"start": "nx serve",
"build": "nx build",
"watch": "nx build --watch --configuration development",
"test": "nx test",
"lint": "nx lint",
"lint:fix": "nx lint --fix",
"compodoc:build": "compodoc -p tsconfig.doc.json",
"compodoc:build-and-serve": "compodoc -p tsconfig.doc.json -s",
"compodoc:serve": "compodoc -s"
},
"dependencies": {
"@angular/animations": "16.2.7",
"@angular/animations": "16.2.12",
"@angular/cdk": "16.0.2",
"@angular/common": "16.2.7",
"@angular/compiler": "16.2.7",
"@angular/core": "16.2.7",
"@angular/forms": "16.2.7",
"@angular/common": "16.2.12",
"@angular/compiler": "16.2.12",
"@angular/core": "16.2.12",
"@angular/forms": "16.2.12",
"@angular/material": "16.0.2",
"@angular/material-luxon-adapter": "16.0.2",
"@angular/platform-browser": "16.2.7",
"@angular/platform-browser-dynamic": "16.2.7",
"@angular/router": "16.2.7",
"@angular/platform-browser": "16.2.12",
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/router": "16.2.12",
"@ngneat/transloco": "4.2.7",
"@ngrx/component": "^16.3.0",
"@ngrx/effects": "16.3.0",
Expand All @@ -51,18 +51,23 @@
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "16.2.4",
"@angular-devkit/build-angular": "16.2.9",
"@angular-devkit/core": "16.2.9",
"@angular-devkit/schematics": "16.2.9",
"@angular-eslint/builder": "16.2.0",
"@angular-eslint/eslint-plugin": "16.2.0",
"@angular-eslint/eslint-plugin-template": "16.2.0",
"@angular-eslint/schematics": "16.2.0",
"@angular-eslint/template-parser": "16.2.0",
"@angular/cli": "16.2.4",
"@angular/compiler-cli": "16.2.7",
"@angular/cli": "16.2.9",
"@angular/compiler-cli": "16.2.12",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@compodoc/compodoc": "1.1.21",
"@ngrx/eslint-plugin": "^16.3.0",
"@ngrx/schematics": "^16.3.0",
"@nx/angular": "17.0.3",
"@nx/workspace": "17.0.3",
"@schematics/angular": "16.2.9",
"@tailwindcss/typography": "0.5.9",
"@types/chroma-js": "2.4.1",
"@types/crypto-js": "3.1.47",
Expand All @@ -84,11 +89,12 @@
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"lodash": "4.17.21",
"nx": "17.0.3",
"postcss": "8.4.31",
"prettier": "^3.0.3",
"prettier-eslint": "^15.0.1",
"prettier-plugin-tailwindcss": "^0.5.4",
"tailwindcss": "3.3.3",
"typescript": "~5.1.3"
}
}
}
Loading

0 comments on commit 1b64fab

Please sign in to comment.