Feature/upgrade angular and nx 20230405 (#1826)
* Upgrade angular and Nx * Update changelog
This commit is contained in:
parent
732b14c6ab
commit
a5f833c612
@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Improved the content of the pricing page
|
- Improved the content of the pricing page
|
||||||
- Changed the `auth` endpoint of the login with _Security Token_ from `GET` to `POST`
|
- Changed the `auth` endpoint of the login with _Security Token_ from `GET` to `POST`
|
||||||
- Changed the `auth` endpoint of the _Internet Identity_ login provider from `GET` to `POST`
|
- Changed the `auth` endpoint of the _Internet Identity_ login provider from `GET` to `POST`
|
||||||
|
- Upgraded `angular` from version `15.1.5` to `15.2.5`
|
||||||
|
- Upgraded `Nx` from version `15.7.2` to `15.9.2`
|
||||||
|
|
||||||
## 1.250.0 - 2023-04-02
|
## 1.250.0 - 2023-04-02
|
||||||
|
|
||||||
|
@ -2,13 +2,14 @@
|
|||||||
export default {
|
export default {
|
||||||
displayName: 'api',
|
displayName: 'api',
|
||||||
|
|
||||||
globals: {
|
globals: {},
|
||||||
'ts-jest': {
|
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]s$': 'ts-jest'
|
'^.+\\.[tj]s$': [
|
||||||
|
'ts-jest',
|
||||||
|
{
|
||||||
|
tsconfig: '<rootDir>/tsconfig.spec.json'
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
coverageDirectory: '../../coverage/apps/api',
|
coverageDirectory: '../../coverage/apps/api',
|
||||||
|
@ -3,12 +3,7 @@ export default {
|
|||||||
displayName: 'client',
|
displayName: 'client',
|
||||||
|
|
||||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||||
globals: {
|
globals: {},
|
||||||
'ts-jest': {
|
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
|
||||||
stringifyContentPathRegex: '\\.(html|svg)$'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
coverageDirectory: '../../coverage/apps/client',
|
coverageDirectory: '../../coverage/apps/client',
|
||||||
snapshotSerializers: [
|
snapshotSerializers: [
|
||||||
'jest-preset-angular/build/serializers/no-ng-attributes',
|
'jest-preset-angular/build/serializers/no-ng-attributes',
|
||||||
@ -16,7 +11,13 @@ export default {
|
|||||||
'jest-preset-angular/build/serializers/html-comment'
|
'jest-preset-angular/build/serializers/html-comment'
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular'
|
'^.+.(ts|mjs|js|html)$': [
|
||||||
|
'jest-preset-angular',
|
||||||
|
{
|
||||||
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
|
stringifyContentPathRegex: '\\.(html|svg)$'
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
|
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
|
||||||
preset: '../../jest.preset.js'
|
preset: '../../jest.preset.js'
|
||||||
|
@ -208,8 +208,10 @@ export class InvestmentChartComponent implements OnChanges, OnDestroy {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
this.savingsRate &&
|
this.savingsRate &&
|
||||||
|
// @ts-ignore
|
||||||
this.chart.options.plugins.annotation.annotations.savingsRate
|
this.chart.options.plugins.annotation.annotations.savingsRate
|
||||||
) {
|
) {
|
||||||
|
// @ts-ignore
|
||||||
this.chart.options.plugins.annotation.annotations.savingsRate.value =
|
this.chart.options.plugins.annotation.annotations.savingsRate.value =
|
||||||
this.savingsRate;
|
this.savingsRate;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"]
|
"types": ["jest", "node"],
|
||||||
|
"target": "es2016"
|
||||||
},
|
},
|
||||||
"files": ["src/test-setup.ts"],
|
"files": ["src/test-setup.ts"],
|
||||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
||||||
|
@ -2,11 +2,9 @@
|
|||||||
export default {
|
export default {
|
||||||
displayName: 'common',
|
displayName: 'common',
|
||||||
|
|
||||||
globals: {
|
globals: {},
|
||||||
'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' }
|
|
||||||
},
|
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': 'ts-jest'
|
'^.+\\.[tj]sx?$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }]
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage/libs/common',
|
coverageDirectory: '../../coverage/libs/common',
|
||||||
|
@ -3,15 +3,16 @@ export default {
|
|||||||
displayName: 'ui',
|
displayName: 'ui',
|
||||||
|
|
||||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||||
globals: {
|
globals: {},
|
||||||
'ts-jest': {
|
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
|
||||||
stringifyContentPathRegex: '\\.(html|svg)$'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
coverageDirectory: '../../coverage/libs/ui',
|
coverageDirectory: '../../coverage/libs/ui',
|
||||||
transform: {
|
transform: {
|
||||||
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular'
|
'^.+.(ts|mjs|js|html)$': [
|
||||||
|
'jest-preset-angular',
|
||||||
|
{
|
||||||
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
|
stringifyContentPathRegex: '\\.(html|svg)$'
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
|
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
|
||||||
snapshotSerializers: [
|
snapshotSerializers: [
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"]
|
"types": ["jest", "node"],
|
||||||
|
"target": "es2016"
|
||||||
},
|
},
|
||||||
"files": ["src/test-setup.ts"],
|
"files": ["src/test-setup.ts"],
|
||||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
||||||
|
72
package.json
72
package.json
@ -52,17 +52,17 @@
|
|||||||
"workspace-generator": "nx workspace-generator"
|
"workspace-generator": "nx workspace-generator"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "15.1.5",
|
"@angular/animations": "15.2.5",
|
||||||
"@angular/cdk": "15.1.5",
|
"@angular/cdk": "15.2.5",
|
||||||
"@angular/common": "15.1.5",
|
"@angular/common": "15.2.5",
|
||||||
"@angular/compiler": "15.1.5",
|
"@angular/compiler": "15.2.5",
|
||||||
"@angular/core": "15.1.5",
|
"@angular/core": "15.2.5",
|
||||||
"@angular/forms": "15.1.5",
|
"@angular/forms": "15.2.5",
|
||||||
"@angular/material": "15.1.5",
|
"@angular/material": "15.2.5",
|
||||||
"@angular/platform-browser": "15.1.5",
|
"@angular/platform-browser": "15.2.5",
|
||||||
"@angular/platform-browser-dynamic": "15.1.5",
|
"@angular/platform-browser-dynamic": "15.2.5",
|
||||||
"@angular/router": "15.1.5",
|
"@angular/router": "15.2.5",
|
||||||
"@angular/service-worker": "15.1.5",
|
"@angular/service-worker": "15.2.5",
|
||||||
"@codewithdan/observable-store": "2.2.15",
|
"@codewithdan/observable-store": "2.2.15",
|
||||||
"@dfinity/agent": "0.15.1",
|
"@dfinity/agent": "0.15.1",
|
||||||
"@dfinity/auth-client": "0.15.1",
|
"@dfinity/auth-client": "0.15.1",
|
||||||
@ -79,7 +79,7 @@
|
|||||||
"@nestjs/platform-express": "9.1.4",
|
"@nestjs/platform-express": "9.1.4",
|
||||||
"@nestjs/schedule": "2.1.0",
|
"@nestjs/schedule": "2.1.0",
|
||||||
"@nestjs/serve-static": "3.0.0",
|
"@nestjs/serve-static": "3.0.0",
|
||||||
"@nrwl/angular": "15.7.2",
|
"@nrwl/angular": "15.9.2",
|
||||||
"@prisma/client": "4.11.0",
|
"@prisma/client": "4.11.0",
|
||||||
"@simplewebauthn/browser": "5.2.1",
|
"@simplewebauthn/browser": "5.2.1",
|
||||||
"@simplewebauthn/server": "5.2.1",
|
"@simplewebauthn/server": "5.2.1",
|
||||||
@ -131,29 +131,29 @@
|
|||||||
"zone.js": "0.12.0"
|
"zone.js": "0.12.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "15.1.6",
|
"@angular-devkit/build-angular": "15.2.5",
|
||||||
"@angular-devkit/core": "15.1.6",
|
"@angular-devkit/core": "15.2.5",
|
||||||
"@angular-devkit/schematics": "15.1.6",
|
"@angular-devkit/schematics": "15.2.5",
|
||||||
"@angular-eslint/eslint-plugin": "15.2.0",
|
"@angular-eslint/eslint-plugin": "15.2.0",
|
||||||
"@angular-eslint/eslint-plugin-template": "15.2.0",
|
"@angular-eslint/eslint-plugin-template": "15.2.0",
|
||||||
"@angular-eslint/template-parser": "15.2.0",
|
"@angular-eslint/template-parser": "15.2.0",
|
||||||
"@angular/cli": "15.1.6",
|
"@angular/cli": "15.2.5",
|
||||||
"@angular/compiler-cli": "15.1.5",
|
"@angular/compiler-cli": "15.2.5",
|
||||||
"@angular/language-service": "15.1.5",
|
"@angular/language-service": "15.2.5",
|
||||||
"@angular/localize": "15.1.5",
|
"@angular/localize": "15.2.5",
|
||||||
"@angular/pwa": "15.1.6",
|
"@angular/pwa": "15.2.5",
|
||||||
"@nestjs/schematics": "9.0.3",
|
"@nestjs/schematics": "9.0.3",
|
||||||
"@nestjs/testing": "9.1.4",
|
"@nestjs/testing": "9.1.4",
|
||||||
"@nrwl/cli": "15.7.2",
|
"@nrwl/cli": "15.9.2",
|
||||||
"@nrwl/cypress": "15.7.2",
|
"@nrwl/cypress": "15.9.2",
|
||||||
"@nrwl/eslint-plugin-nx": "15.7.2",
|
"@nrwl/eslint-plugin-nx": "15.9.2",
|
||||||
"@nrwl/jest": "15.7.2",
|
"@nrwl/jest": "15.9.2",
|
||||||
"@nrwl/nest": "15.7.2",
|
"@nrwl/nest": "15.9.2",
|
||||||
"@nrwl/node": "15.7.2",
|
"@nrwl/node": "15.9.2",
|
||||||
"@nrwl/nx-cloud": "15.0.3",
|
"@nrwl/nx-cloud": "15.3.5",
|
||||||
"@nrwl/storybook": "15.7.2",
|
"@nrwl/storybook": "15.9.2",
|
||||||
"@nrwl/workspace": "15.7.2",
|
"@nrwl/workspace": "15.9.2",
|
||||||
"@schematics/angular": "15.1.6",
|
"@schematics/angular": "15.2.5",
|
||||||
"@simplewebauthn/typescript-types": "5.2.1",
|
"@simplewebauthn/typescript-types": "5.2.1",
|
||||||
"@storybook/addon-essentials": "6.5.16",
|
"@storybook/addon-essentials": "6.5.16",
|
||||||
"@storybook/angular": "6.5.16",
|
"@storybook/angular": "6.5.16",
|
||||||
@ -165,7 +165,7 @@
|
|||||||
"@types/cache-manager": "3.4.2",
|
"@types/cache-manager": "3.4.2",
|
||||||
"@types/color": "3.0.3",
|
"@types/color": "3.0.3",
|
||||||
"@types/google-spreadsheet": "3.1.5",
|
"@types/google-spreadsheet": "3.1.5",
|
||||||
"@types/jest": "28.1.8",
|
"@types/jest": "29.4.4",
|
||||||
"@types/lodash": "4.14.191",
|
"@types/lodash": "4.14.191",
|
||||||
"@types/marked": "4.0.8",
|
"@types/marked": "4.0.8",
|
||||||
"@types/node": "18.11.18",
|
"@types/node": "18.11.18",
|
||||||
@ -182,17 +182,17 @@
|
|||||||
"import-sort-cli": "6.0.0",
|
"import-sort-cli": "6.0.0",
|
||||||
"import-sort-parser-typescript": "6.0.0",
|
"import-sort-parser-typescript": "6.0.0",
|
||||||
"import-sort-style-module": "6.0.0",
|
"import-sort-style-module": "6.0.0",
|
||||||
"jest": "29.4.1",
|
"jest": "29.4.3",
|
||||||
"jest-environment-jsdom": "29.4.1",
|
"jest-environment-jsdom": "29.4.3",
|
||||||
"jest-preset-angular": "12.2.3",
|
"jest-preset-angular": "13.0.0",
|
||||||
"nx": "15.7.2",
|
"nx": "15.9.2",
|
||||||
"prettier": "2.8.4",
|
"prettier": "2.8.4",
|
||||||
"prettier-plugin-organize-attributes": "0.0.5",
|
"prettier-plugin-organize-attributes": "0.0.5",
|
||||||
"replace-in-file": "6.3.5",
|
"replace-in-file": "6.3.5",
|
||||||
"ts-jest": "29.0.5",
|
"ts-jest": "29.0.5",
|
||||||
"ts-node": "10.9.1",
|
"ts-node": "10.9.1",
|
||||||
"tslib": "2.0.0",
|
"tslib": "2.0.0",
|
||||||
"typescript": "4.8.4"
|
"typescript": "4.9.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user