Upgrade angular, Nx and storybook (#888)
* Upgrade angular, Nx and storybook * Update changelog
This commit is contained in:
parent
57314d62ee
commit
34cbdd7c2a
@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Migrated the asset profile data gathering to the queue design pattern
|
||||
- Improved the allocations page with no filtering
|
||||
- Harmonized the _No data available_ label in the portfolio proportion chart component
|
||||
- Upgraded `angular` from version `13.2.2` to `13.3.6`
|
||||
- Upgraded `Nx` from version `13.8.5` to `14.1.4`
|
||||
- Upgraded `storybook` from version `6.4.18` to `6.4.22`
|
||||
|
||||
## 1.145.0 - 07.05.2022
|
||||
|
||||
@ -427,7 +430,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgraded `angular` from version `13.1.2` to `13.2.3`
|
||||
- Upgraded `angular` from version `13.1.2` to `13.2.2`
|
||||
- Upgraded `Nx` from version `13.4.1` to `13.8.1`
|
||||
- Upgraded `storybook` from version `6.4.9` to `6.4.18`
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
"test": {
|
||||
"builder": "@nrwl/jest:jest",
|
||||
"options": {
|
||||
"jestConfig": "apps/api/jest.config.js",
|
||||
"jestConfig": "apps/api/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"outputs": ["coverage/apps/api"]
|
||||
@ -180,7 +180,7 @@
|
||||
"test": {
|
||||
"builder": "@nrwl/jest:jest",
|
||||
"options": {
|
||||
"jestConfig": "apps/client/jest.config.js",
|
||||
"jestConfig": "apps/client/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"outputs": ["coverage/apps/client"]
|
||||
@ -225,7 +225,7 @@
|
||||
"builder": "@nrwl/jest:jest",
|
||||
"outputs": ["coverage/libs/common"],
|
||||
"options": {
|
||||
"jestConfig": "libs/common/jest.config.js",
|
||||
"jestConfig": "libs/common/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
}
|
||||
}
|
||||
@ -247,7 +247,7 @@
|
||||
"builder": "@nrwl/jest:jest",
|
||||
"outputs": ["coverage/libs/ui"],
|
||||
"options": {
|
||||
"jestConfig": "libs/ui/jest.config.js",
|
||||
"jestConfig": "libs/ui/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
}
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
displayName: 'api',
|
||||
preset: '../../jest.preset.js',
|
||||
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: '<rootDir>/tsconfig.spec.json'
|
||||
@ -12,5 +12,6 @@ module.exports = {
|
||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||
coverageDirectory: '../../coverage/apps/api',
|
||||
testTimeout: 10000,
|
||||
testEnvironment: 'node'
|
||||
testEnvironment: 'node',
|
||||
preset: '../../jest.preset.ts'
|
||||
};
|
@ -6,6 +6,6 @@
|
||||
"emitDecoratorMetadata": true,
|
||||
"target": "es2015"
|
||||
},
|
||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"],
|
||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"],
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
|
@ -5,5 +5,5 @@
|
||||
"module": "commonjs",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts"]
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
displayName: 'client',
|
||||
preset: '../../jest.preset.js',
|
||||
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
@ -17,5 +17,6 @@ module.exports = {
|
||||
transform: {
|
||||
'^.+.(ts|mjs|js|html)$': 'jest-preset-angular'
|
||||
},
|
||||
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)']
|
||||
transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'],
|
||||
preset: '../../jest.preset.ts'
|
||||
};
|
@ -5,5 +5,6 @@
|
||||
"types": ["node"],
|
||||
"typeRoots": ["../node_modules/@types"]
|
||||
},
|
||||
"files": ["src/main.ts", "src/polyfills.ts"]
|
||||
"files": ["src/main.ts", "src/polyfills.ts"],
|
||||
"exclude": ["jest.config.ts"]
|
||||
}
|
||||
|
@ -3,5 +3,6 @@
|
||||
"include": ["**/*.ts"],
|
||||
"compilerOptions": {
|
||||
"types": ["jest", "node"]
|
||||
}
|
||||
},
|
||||
"exclude": ["jest.config.ts"]
|
||||
}
|
||||
|
@ -6,5 +6,5 @@
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"files": ["src/test-setup.ts"],
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts"]
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
displayName: 'common',
|
||||
preset: '../../jest.preset.js',
|
||||
|
||||
globals: {
|
||||
'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' }
|
||||
},
|
||||
@ -8,5 +8,6 @@ module.exports = {
|
||||
'^.+\\.[tj]sx?$': 'ts-jest'
|
||||
},
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||
coverageDirectory: '../../coverage/libs/common'
|
||||
coverageDirectory: '../../coverage/libs/common',
|
||||
preset: '../../jest.preset.ts'
|
||||
};
|
@ -5,5 +5,5 @@
|
||||
"types": []
|
||||
},
|
||||
"include": ["**/*.ts"],
|
||||
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
|
||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"]
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
"**/*.test.js",
|
||||
"**/*.spec.jsx",
|
||||
"**/*.test.jsx",
|
||||
"**/*.d.ts"
|
||||
"**/*.d.ts",
|
||||
"jest.config.ts"
|
||||
]
|
||||
}
|
||||
|
@ -3,6 +3,6 @@
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true
|
||||
},
|
||||
"exclude": ["../**/*.spec.ts", "../**/*.test.ts"],
|
||||
"exclude": ["../**/*.spec.ts", "../**/*.test.ts", "jest.config.ts"],
|
||||
"include": ["../src/**/*", "*.js"]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
displayName: 'ui',
|
||||
preset: '../../jest.preset.js',
|
||||
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
@ -17,5 +17,6 @@ module.exports = {
|
||||
'jest-preset-angular/build/serializers/no-ng-attributes',
|
||||
'jest-preset-angular/build/serializers/ng-snapshot',
|
||||
'jest-preset-angular/build/serializers/html-comment'
|
||||
]
|
||||
],
|
||||
preset: '../../jest.preset.ts'
|
||||
};
|
@ -178,6 +178,8 @@ export class FireCalculatorComponent
|
||||
|
||||
return `Total: ${new Intl.NumberFormat(this.locale, {
|
||||
currency: this.currency,
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Only supported from ES2020 or later
|
||||
currencyDisplay: 'code',
|
||||
style: 'currency'
|
||||
}).format(totalAmount)}`;
|
||||
@ -192,6 +194,8 @@ export class FireCalculatorComponent
|
||||
if (context.parsed.y !== null) {
|
||||
label += new Intl.NumberFormat(this.locale, {
|
||||
currency: this.currency,
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Only supported from ES2020 or later
|
||||
currencyDisplay: 'code',
|
||||
style: 'currency'
|
||||
}).format(context.parsed.y);
|
||||
|
@ -14,7 +14,8 @@
|
||||
"**/*.spec.ts",
|
||||
"**/*.test.ts",
|
||||
"**/*.stories.ts",
|
||||
"**/*.stories.js"
|
||||
"**/*.stories.js",
|
||||
"jest.config.ts"
|
||||
],
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
|
@ -6,5 +6,5 @@
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"files": ["src/test-setup.ts"],
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts"]
|
||||
"include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"]
|
||||
}
|
||||
|
68
package.json
68
package.json
@ -50,16 +50,16 @@
|
||||
"workspace-generator": "nx workspace-generator"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "13.2.2",
|
||||
"@angular/cdk": "13.2.2",
|
||||
"@angular/common": "13.2.2",
|
||||
"@angular/compiler": "13.2.2",
|
||||
"@angular/core": "13.2.2",
|
||||
"@angular/forms": "13.2.2",
|
||||
"@angular/material": "13.2.2",
|
||||
"@angular/platform-browser": "13.2.2",
|
||||
"@angular/platform-browser-dynamic": "13.2.2",
|
||||
"@angular/router": "13.2.2",
|
||||
"@angular/animations": "13.3.6",
|
||||
"@angular/cdk": "13.3.6",
|
||||
"@angular/common": "13.3.6",
|
||||
"@angular/compiler": "13.3.6",
|
||||
"@angular/core": "13.3.6",
|
||||
"@angular/forms": "13.3.6",
|
||||
"@angular/material": "13.3.6",
|
||||
"@angular/platform-browser": "13.3.6",
|
||||
"@angular/platform-browser-dynamic": "13.3.6",
|
||||
"@angular/router": "13.3.6",
|
||||
"@codewithdan/observable-store": "2.2.11",
|
||||
"@dinero.js/currencies": "2.0.0-alpha.8",
|
||||
"@nestjs/bull": "0.5.5",
|
||||
@ -71,7 +71,7 @@
|
||||
"@nestjs/platform-express": "8.2.3",
|
||||
"@nestjs/schedule": "1.0.2",
|
||||
"@nestjs/serve-static": "2.2.2",
|
||||
"@nrwl/angular": "13.8.5",
|
||||
"@nrwl/angular": "14.1.4",
|
||||
"@prisma/client": "3.12.0",
|
||||
"@simplewebauthn/browser": "4.1.0",
|
||||
"@simplewebauthn/server": "4.1.0",
|
||||
@ -124,35 +124,36 @@
|
||||
"zone.js": "0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "13.2.3",
|
||||
"@angular-devkit/build-angular": "13.3.5",
|
||||
"@angular-eslint/eslint-plugin": "13.0.1",
|
||||
"@angular-eslint/eslint-plugin-template": "13.0.1",
|
||||
"@angular-eslint/template-parser": "13.0.1",
|
||||
"@angular/cli": "13.2.3",
|
||||
"@angular/compiler-cli": "13.2.2",
|
||||
"@angular/language-service": "13.2.2",
|
||||
"@angular/localize": "13.2.2",
|
||||
"@angular/cli": "13.3.5",
|
||||
"@angular/compiler-cli": "13.3.6",
|
||||
"@angular/language-service": "13.3.6",
|
||||
"@angular/localize": "13.3.6",
|
||||
"@nestjs/schematics": "8.0.5",
|
||||
"@nestjs/testing": "8.2.3",
|
||||
"@nrwl/cli": "13.8.5",
|
||||
"@nrwl/cypress": "13.8.5",
|
||||
"@nrwl/eslint-plugin-nx": "13.8.5",
|
||||
"@nrwl/jest": "13.8.5",
|
||||
"@nrwl/nest": "13.8.5",
|
||||
"@nrwl/node": "13.8.5",
|
||||
"@nrwl/storybook": "13.8.5",
|
||||
"@nrwl/tao": "13.8.5",
|
||||
"@nrwl/workspace": "13.8.5",
|
||||
"@storybook/addon-essentials": "6.4.18",
|
||||
"@storybook/angular": "6.4.18",
|
||||
"@storybook/builder-webpack5": "6.4.18",
|
||||
"@storybook/manager-webpack5": "6.4.18",
|
||||
"@nrwl/cli": "14.1.4",
|
||||
"@nrwl/cypress": "14.1.4",
|
||||
"@nrwl/eslint-plugin-nx": "14.1.4",
|
||||
"@nrwl/jest": "14.1.4",
|
||||
"@nrwl/nest": "14.1.4",
|
||||
"@nrwl/node": "14.1.4",
|
||||
"@nrwl/nx-cloud": "14.0.3",
|
||||
"@nrwl/storybook": "14.1.4",
|
||||
"@nrwl/workspace": "14.1.4",
|
||||
"@storybook/addon-essentials": "6.4.22",
|
||||
"@storybook/angular": "6.4.22",
|
||||
"@storybook/builder-webpack5": "6.4.22",
|
||||
"@storybook/core-server": "6.4.22",
|
||||
"@storybook/manager-webpack5": "6.4.22",
|
||||
"@types/big.js": "6.1.2",
|
||||
"@types/bull": "3.15.8",
|
||||
"@types/cache-manager": "3.4.2",
|
||||
"@types/color": "3.0.2",
|
||||
"@types/google-spreadsheet": "3.1.5",
|
||||
"@types/jest": "27.0.2",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/lodash": "4.14.174",
|
||||
"@types/node": "14.14.33",
|
||||
"@types/passport-google-oauth20": "2.0.11",
|
||||
@ -168,14 +169,15 @@
|
||||
"import-sort-cli": "6.0.0",
|
||||
"import-sort-parser-typescript": "6.0.0",
|
||||
"import-sort-style-module": "6.0.0",
|
||||
"jest": "27.2.3",
|
||||
"jest": "27.5.1",
|
||||
"jest-preset-angular": "11.1.1",
|
||||
"nx": "14.1.4",
|
||||
"prettier": "2.5.1",
|
||||
"replace-in-file": "6.2.0",
|
||||
"rimraf": "3.0.2",
|
||||
"ts-jest": "27.0.5",
|
||||
"ts-jest": "27.1.4",
|
||||
"ts-node": "9.1.1",
|
||||
"typescript": "4.5.5"
|
||||
"typescript": "4.6.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
|
Loading…
x
Reference in New Issue
Block a user