update nx

This commit is contained in:
Dan Percic 2021-11-06 19:12:25 +02:00
parent e15884f037
commit ef2d11588a
5 changed files with 830 additions and 1309 deletions

View File

@ -1,23 +1,5 @@
{
"version": 1,
"cli": {
"defaultCollection": "@nrwl/angular",
"analytics": false,
"packageManager": "yarn"
},
"defaultProject": "red-ui",
"schematics": {
"@nrwl/angular:application": {
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "cypress"
},
"@nrwl/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {}
},
"projects": {
"common-ui": {
"projectType": "library",
@ -40,30 +22,8 @@
},
"outputs": ["{options.outputFile}"]
}
}
},
"red-domain": {
"projectType": "library",
"root": "libs/red-domain",
"sourceRoot": "libs/red-domain/src",
"prefix": "red",
"architect": {
"test": {
"builder": "@nrwl/jest:jest",
"outputs": ["coverage/libs/red-domain"],
"options": {
"jestConfig": "libs/red-domain/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/red-domain/src/**/*.ts", "libs/red-domain/src/**/*.html"]
},
"outputs": ["{options.outputFile}"]
}
}
},
"tags": []
},
"red-cache": {
"projectType": "library",
@ -91,6 +51,30 @@
"@schematics/angular:component": {
"style": "scss"
}
},
"tags": []
},
"red-domain": {
"projectType": "library",
"root": "libs/red-domain",
"sourceRoot": "libs/red-domain/src",
"prefix": "red",
"architect": {
"test": {
"builder": "@nrwl/jest:jest",
"outputs": ["coverage/libs/red-domain"],
"options": {
"jestConfig": "libs/red-domain/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/red-domain/src/**/*.ts", "libs/red-domain/src/**/*.html"]
},
"outputs": ["{options.outputFile}"]
}
}
},
"red-ui": {
@ -209,7 +193,8 @@
},
"outputs": ["coverage/apps/red-ui"]
}
}
},
"tags": []
}
}
}

29
nx.json
View File

@ -21,17 +21,6 @@
}
}
},
"projects": {
"common-ui": {
"tags": []
},
"red-cache": {
"tags": []
},
"red-ui": {
"tags": []
}
},
"targetDependencies": {
"build": [
{
@ -39,5 +28,23 @@
"projects": "dependencies"
}
]
},
"cli": {
"defaultCollection": "@nrwl/angular",
"analytics": false,
"packageManager": "yarn"
},
"defaultProject": "red-ui",
"generators": {
"@nrwl/angular:application": {
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "cypress"
},
"@nrwl/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {}
}
}

View File

@ -39,7 +39,7 @@
"@materia-ui/ngx-monaco-editor": "^5.1.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@nrwl/angular": "12.9.0",
"@nrwl/angular": "13.1.3",
"@pdftron/webviewer": "8.1.0",
"@swimlane/ngx-charts": "^17.0.1",
"file-saver": "^2.0.5",
@ -69,19 +69,19 @@
"@angular/compiler-cli": "12.2.5",
"@angular/language-service": "12.2.5",
"@biesbjerg/ngx-translate-extract": "^7.0.4",
"@nrwl/cli": "12.9.0",
"@nrwl/cypress": "12.9.0",
"@nrwl/eslint-plugin-nx": "12.9.0",
"@nrwl/jest": "12.9.0",
"@nrwl/linter": "12.9.0",
"@nrwl/tao": "12.9.0",
"@nrwl/workspace": "12.9.0",
"@nrwl/cli": "13.1.3",
"@nrwl/cypress": "13.1.3",
"@nrwl/eslint-plugin-nx": "13.1.3",
"@nrwl/jest": "13.1.3",
"@nrwl/linter": "13.1.3",
"@nrwl/tao": "13.1.3",
"@nrwl/workspace": "13.1.3",
"@types/cypress": "^1.1.3",
"@types/jest": "27.0.1",
"@types/jest": "27.0.2",
"@types/lodash": "^4.14.172",
"@types/node": "16.9.1",
"@typescript-eslint/eslint-plugin": "4.31.0",
"@typescript-eslint/parser": "4.31.0",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"cypress": "^6.9.1",
"cypress-file-upload": "^5.0.8",
"cypress-keycloak": "^1.7.0",
@ -96,9 +96,13 @@
"eslint-plugin-prettier": "^4.0.0",
"google-translate-api-browser": "^1.1.71",
"husky": "4.3.8",
"jest": "27.1.1",
"jest-preset-angular": "9.0.7",
"ng-packagr": "12.2.1",
"jest": "27.2.3",
"jest-preset-angular": "10.0.1",
"ng-packagr": "12.2.5",
"postcss": "^8.3.9",
"postcss-import": "^14.0.2",
"postcss-preset-env": "^6.7.0",
"postcss-url": "^10.1.1",
"prettier": "2.4.0",
"pretty-quick": "^3.1.1",
"sonarqube-scanner": "^2.8.1",

View File

@ -23,13 +23,13 @@
"@i18n/*": ["apps/red-ui/src/app/i18n/*"],
"@iqser/common-ui": ["libs/common-ui/src/index.ts"],
"@models/*": ["apps/red-ui/src/app/models/*"],
"@red/domain": ["libs/red-domain/src/index.ts"],
"@redaction/red-cache": ["libs/red-cache/src/index.ts"],
"@services/*": ["apps/red-ui/src/app/services/*"],
"@shared/*": ["apps/red-ui/src/app/modules/shared/*"],
"@state/*": ["apps/red-ui/src/app/state/*"],
"@upload-download/*": ["apps/red-ui/src/app/modules/upload-download/*"],
"@utils/*": ["apps/red-ui/src/app/utils/*"],
"@red/domain": ["libs/red-domain/src/index.ts"]
"@utils/*": ["apps/red-ui/src/app/utils/*"]
}
},
"exclude": ["node_modules", "tmp"],

2003
yarn.lock

File diff suppressed because it is too large Load Diff