nx update

This commit is contained in:
Dan Percic 2021-11-28 00:13:02 +02:00
parent 95373c9acc
commit 5b2f3c3bcf
11 changed files with 1146 additions and 1682 deletions

1
.gitignore vendored
View File

@ -27,6 +27,7 @@
!.vscode/extensions.json !.vscode/extensions.json
# misc # misc
/.angular/cache
/.sass-cache /.sass-cache
/connect.lock /connect.lock
/coverage /coverage

View File

@ -1,7 +1,4 @@
{ {
"cli": {
"analytics": "d22ff5ae-c863-4253-83e3-0a969e4bb5fe"
},
"version": 1, "version": 1,
"projects": { "projects": {
"common-ui": { "common-ui": {

View File

@ -16,5 +16,8 @@ module.exports = {
'jest-preset-angular/build/serializers/ng-snapshot', 'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment', 'jest-preset-angular/build/serializers/html-comment',
], ],
transform: { '^.+\\.(ts|js|html)$': 'jest-preset-angular' }, transform: {
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular',
},
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
}; };

View File

@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@use 'variables'; @use 'variables';
@include mat.core(); @include mat.core();

View File

@ -18,16 +18,6 @@
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** /**
* By default, zone.js will patch all possible macroTask and DomEvents * By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags * user can disable parts of macroTask/DomEvents patch by setting following flags

@ -1 +1 @@
Subproject commit d58cfd543ba2fcd16cc09012c579a73ccbf8cc60 Subproject commit 2e9579b3fa49db2387bb149934423b9e033584b3

View File

@ -5,8 +5,8 @@ module.exports = {
'ts-jest': { 'ts-jest': {
stringifyContentPathRegex: '\\.(html|svg)$', stringifyContentPathRegex: '\\.(html|svg)$',
tsconfig: '<rootDir>/tsconfig.spec.json' tsconfig: '<rootDir>/tsconfig.spec.json',
} },
}, },
coverageDirectory: '../../coverage/libs/red-cache', coverageDirectory: '../../coverage/libs/red-cache',
@ -14,7 +14,10 @@ module.exports = {
snapshotSerializers: [ snapshotSerializers: [
'jest-preset-angular/build/serializers/no-ng-attributes', 'jest-preset-angular/build/serializers/no-ng-attributes',
'jest-preset-angular/build/serializers/ng-snapshot', 'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment' 'jest-preset-angular/build/serializers/html-comment',
], ],
transform: { '^.+\\.(ts|js|html)$': 'jest-preset-angular' } transform: {
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular',
},
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
}; };

View File

@ -14,5 +14,8 @@ module.exports = {
'jest-preset-angular/build/serializers/ng-snapshot', 'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment', 'jest-preset-angular/build/serializers/html-comment',
], ],
transform: { '^.+\\.(ts|js|html)$': 'jest-preset-angular' }, transform: {
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular',
},
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
}; };

View File

@ -17,7 +17,8 @@
"default": { "default": {
"runner": "@nrwl/workspace/tasks-runners/default", "runner": "@nrwl/workspace/tasks-runners/default",
"options": { "options": {
"cacheableOperations": ["build", "lint", "test", "e2e"] "cacheableOperations": ["build", "lint", "test", "e2e"],
"parallel": 1
} }
} }
}, },

View File

@ -23,23 +23,23 @@
} }
}, },
"dependencies": { "dependencies": {
"@angular/animations": "12.2.5", "@angular/animations": "13.0.2",
"@angular/cdk": "~12.2.5", "@angular/cdk": "13.0.2",
"@angular/common": "12.2.5", "@angular/common": "13.0.2",
"@angular/compiler": "12.2.5", "@angular/compiler": "13.0.2",
"@angular/core": "12.2.5", "@angular/core": "13.0.2",
"@angular/forms": "12.2.5", "@angular/forms": "13.0.2",
"@angular/material": "12.2.5", "@angular/material": "13.0.2",
"@angular/material-moment-adapter": "^12.2.5", "@angular/material-moment-adapter": "^12.2.5",
"@angular/platform-browser": "12.2.5", "@angular/platform-browser": "13.0.2",
"@angular/platform-browser-dynamic": "12.2.5", "@angular/platform-browser-dynamic": "13.0.2",
"@angular/router": "12.2.5", "@angular/router": "13.0.2",
"@angular/service-worker": "12.2.5", "@angular/service-worker": "13.0.2",
"@biesbjerg/ngx-translate-extract-marker": "^1.0.0", "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
"@materia-ui/ngx-monaco-editor": "^5.1.0", "@materia-ui/ngx-monaco-editor": "^5.1.0",
"@ngx-translate/core": "^13.0.0", "@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0", "@ngx-translate/http-loader": "^6.0.0",
"@nrwl/angular": "13.1.3", "@nrwl/angular": "13.2.3",
"@pdftron/webviewer": "8.1.0", "@pdftron/webviewer": "8.1.0",
"@swimlane/ngx-charts": "^17.0.1", "@swimlane/ngx-charts": "^17.0.1",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
@ -62,21 +62,21 @@
"zone.js": "0.11.4" "zone.js": "0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "12.2.5", "@angular-devkit/build-angular": "13.0.3",
"@angular-eslint/eslint-plugin": "12.4.1", "@angular-eslint/eslint-plugin": "12.6.1",
"@angular-eslint/eslint-plugin-template": "12.4.1", "@angular-eslint/eslint-plugin-template": "12.6.1",
"@angular-eslint/template-parser": "12.4.1", "@angular-eslint/template-parser": "12.6.1",
"@angular/cli": "12.2.5", "@angular/cli": "13.0.3",
"@angular/compiler-cli": "12.2.5", "@angular/compiler-cli": "13.0.2",
"@angular/language-service": "12.2.5", "@angular/language-service": "13.0.2",
"@biesbjerg/ngx-translate-extract": "^7.0.4", "@biesbjerg/ngx-translate-extract": "^7.0.4",
"@nrwl/cli": "13.1.3", "@nrwl/cli": "13.2.3",
"@nrwl/cypress": "13.1.3", "@nrwl/cypress": "13.2.3",
"@nrwl/eslint-plugin-nx": "13.1.3", "@nrwl/eslint-plugin-nx": "13.2.3",
"@nrwl/jest": "13.1.3", "@nrwl/jest": "13.2.3",
"@nrwl/linter": "13.1.3", "@nrwl/linter": "13.2.3",
"@nrwl/tao": "13.1.3", "@nrwl/tao": "13.2.3",
"@nrwl/workspace": "13.1.3", "@nrwl/workspace": "13.2.3",
"@types/cypress": "^1.1.3", "@types/cypress": "^1.1.3",
"@types/jest": "27.0.2", "@types/jest": "27.0.2",
"@types/lodash": "^4.14.177", "@types/lodash": "^4.14.177",
@ -99,8 +99,8 @@
"google-translate-api-browser": "^1.1.71", "google-translate-api-browser": "^1.1.71",
"husky": "4.3.8", "husky": "4.3.8",
"jest": "27.2.3", "jest": "27.2.3",
"jest-preset-angular": "10.0.1", "jest-preset-angular": "11.0.0",
"ng-packagr": "12.2.5", "ng-packagr": "13.0.8",
"postcss": "^8.3.9", "postcss": "^8.3.9",
"postcss-import": "^14.0.2", "postcss-import": "^14.0.2",
"postcss-preset-env": "^6.7.0", "postcss-preset-env": "^6.7.0",
@ -112,7 +112,7 @@
"superagent-promise": "^1.1.0", "superagent-promise": "^1.1.0",
"ts-jest": "27.0.5", "ts-jest": "27.0.5",
"ts-node": "10.2.1", "ts-node": "10.2.1",
"typescript": "4.3.5", "typescript": "4.4.4",
"webpack": "^4.18.1" "webpack": "^4.18.1"
} }
} }

2728
yarn.lock

File diff suppressed because it is too large Load Diff