Skip to content

Commit

Permalink
feat(stark-all): upgrade to angular 16
Browse files Browse the repository at this point in the history
run `npx ng update @angular/core@16 @angular/cli@16 @angular/material@16`
  • Loading branch information
mhenkens committed Jun 3, 2024
1 parent 5ed7905 commit b4c3675
Show file tree
Hide file tree
Showing 13 changed files with 7,025 additions and 8,072 deletions.
14,972 changes: 6,965 additions & 8,007 deletions package-lock.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@
"npm": ">=10.1.0"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^15.0.0",
"@angular-devkit/build-angular": "^15.2.10",
"@angular/animations": "^15.2.10",
"@angular/cdk": "^15.2.9",
"@angular/cli": "^15.2.10",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/material": "^15.2.9",
"@angular/material-moment-adapter": "^15.2.9",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
"@angular-builders/custom-webpack": "^16.0.0",
"@angular-devkit/build-angular": "^16.2.14",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.14",
"@angular/cli": "^16.2.14",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/compiler-cli": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/forms": "^16.2.12",
"@angular/material": "^16.2.14",
"@angular/material-moment-adapter": "^16.2.14",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@angularclass/hmr": "^3.0.0",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@compodoc/compodoc": "1.1.19",
"@mdi/angular-material": "^4.0.96",
"@nationalbankbelgium/code-style": "^1.10.0",
"@nationalbankbelgium/eslint-config": "^15.0.0",
"@nationalbankbelgium/code-style": "^1.11.0",
"@nationalbankbelgium/eslint-config": "^16.0.0",
"@ng-idle/core": "^13.0.1",
"@ng-idle/keepalive": "^13.0.1",
"@ngrx/effects": "^15.4.0",
Expand Down Expand Up @@ -91,7 +91,7 @@
"lodash-es": "^4.17.21",
"moment": "^2.22.2",
"moment-locales-webpack-plugin": "^1.2.0",
"ng-packagr": "^15.2.2",
"ng-packagr": "^16.2.3",
"normalize.css": "^8.0.1",
"nouislider": "^14.6.3",
"prettier": "~3.1.1",
Expand All @@ -107,10 +107,10 @@
"text-mask-addons": "^3.8.0",
"text-mask-core": "^5.1.2",
"tslib": "^2.3.0",
"typescript": "~4.9.5",
"typescript": "~5.1.6",
"uuid": "^9.0.1",
"webpack-bundle-analyzer": "^4.10.1",
"zone.js": "~0.11.5"
"zone.js": "~0.13.3"
},
"scripts": {
"build": "bash ./build.sh",
Expand Down
14 changes: 7 additions & 7 deletions packages/stark-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"types": "typings/index.d.ts",
"dependencies": {
"@angular-builders/custom-webpack": "^15.0.0",
"@angular-devkit/build-angular": "^15.2.10",
"@angular-builders/custom-webpack": "^16.0.0",
"@angular-devkit/build-angular": "^16.2.14",
"@types/webpack": "^5.28.0",
"eslint-webpack-plugin": "^4.0.1",
"moment-locales-webpack-plugin": "^1.2.0",
Expand All @@ -31,11 +31,11 @@
"webpack-bundle-analyzer": "^4.10.1"
},
"peerDependencies": {
"@angular/cli": "^15.2.11",
"@angular/compiler": "^15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10"
"@angular/cli": "^16.2.14",
"@angular/compiler": "^16.2.12",
"@angular/compiler-cli": "^16.2.12",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12"
},
"scripts": {
"clean": "npx rimraf dist",
Expand Down
8 changes: 4 additions & 4 deletions packages/stark-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"uuid": "^9.0.1"
},
"peerDependencies": {
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/router": "^15.2.10"
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/router": "^16.2.12"
},
"scripts": {
"clean": "npx rimraf dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class StarkSettingsServiceImpl implements StarkSettingsService {
public initializeSettings(): void {
this.sessionService
.getCurrentUser()
.pipe(filter((user?: StarkUser): user is StarkUser => typeof user !== "undefined"))
.pipe(filter<StarkUser | undefined, StarkUser>((user?: StarkUser): user is StarkUser => typeof user !== "undefined"))
.subscribe((user: StarkUser) => {
let supportedLanguageIndex = -1;
const browserLanguage: string = navigator.language || navigator["userLanguage"] || "";
Expand Down
2 changes: 1 addition & 1 deletion packages/stark-core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@nationalbankbelgium/code-style/tsconfig/4.9.x/ng15",
"extends": "@nationalbankbelgium/code-style/tsconfig/5.1.x/ng16",
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
Expand Down
2 changes: 1 addition & 1 deletion packages/stark-rbac/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@nationalbankbelgium/code-style/tsconfig/4.9.x/ng15",
"extends": "@nationalbankbelgium/code-style/tsconfig/5.1.x/ng16",
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
Expand Down
2 changes: 1 addition & 1 deletion packages/stark-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"npm": ">=8.19.1"
},
"dependencies": {
"@angular-devkit/build-angular": "^15.2.10",
"@angular-devkit/build-angular": "^16.2.14",
"@npmcli/ci-detect": "^1.3.0",
"@types/jasmine": "~5.1.4",
"@types/karma": "^6.3.8",
Expand Down
10 changes: 5 additions & 5 deletions packages/stark-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"npm": ">=10.1.0"
},
"dependencies": {
"@angular/material-moment-adapter": "^15.2.9",
"@angular/material-moment-adapter": "^16.2.14",
"@mdi/angular-material": "^4.0.96",
"@sqltools/formatter": "^1.2.3",
"@types/nouislider": "^9.0.10",
Expand All @@ -32,10 +32,10 @@
"text-mask-core": "^5.1.2"
},
"peerDependencies": {
"@angular/animations": "^15.2.10",
"@angular/cdk": "^15.2.9",
"@angular/forms": "^15.2.10",
"@angular/material": "^15.2.9",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.14",
"@angular/forms": "^16.2.12",
"@angular/material": "^16.2.14",
"@nationalbankbelgium/stark-core": "0.0.0-PLACEHOLDER-VERSION"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/stark-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@nationalbankbelgium/code-style/tsconfig/4.9.x/ng15",
"extends": "@nationalbankbelgium/code-style/tsconfig/5.1.x/ng16",
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
Expand Down
25 changes: 10 additions & 15 deletions showcase/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
"@angular/router": "^15.2.10",
"@nationalbankbelgium/code-style": "^1.10.0",
"@nationalbankbelgium/ngx-form-errors": "2.0.0-rc.0",
"@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-12.0.0-beta.1-f850ac6f-1715153359.tgz",
"@nationalbankbelgium/stark-rbac": "file:../dist/packages-dist/stark-rbac/nationalbankbelgium-stark-rbac-12.0.0-beta.1-f850ac6f-1715153359.tgz",
"@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-12.0.0-beta.1-f850ac6f-1715153359.tgz",
"@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-12.0.0-beta.2-5ed79051-1716975153.tgz",
"@nationalbankbelgium/stark-rbac": "file:../dist/packages-dist/stark-rbac/nationalbankbelgium-stark-rbac-12.0.0-beta.2-5ed79051-1716975153.tgz",
"@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-12.0.0-beta.2-5ed79051-1716975153.tgz",
"@uirouter/visualizer": "~7.2.1",
"angular-in-memory-web-api": "~0.11.0",
"basscss": "~8.1.0",
Expand All @@ -136,8 +136,8 @@
"devDependencies": {
"@compodoc/compodoc": "1.1.19",
"@nationalbankbelgium/eslint-config": "15.0.0",
"@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-12.0.0-beta.1-f850ac6f-1715153359.tgz",
"@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-12.0.0-beta.1-f850ac6f-1715153359.tgz",
"@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-12.0.0-beta.2-5ed79051-1716975500.tgz",
"@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-12.0.0-beta.2-5ed79051-1716975500.tgz",
"@types/core-js": "~2.5.4",
"@types/hammerjs": "~2.0.39",
"@types/node": "^18.19.4",
Expand Down
8 changes: 4 additions & 4 deletions starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
"@angular/platform-server": "^15.2.10",
"@angular/router": "^15.2.10",
"@nationalbankbelgium/code-style": "^1.10.0",
"@nationalbankbelgium/stark-ui": "next",
"@nationalbankbelgium/stark-core": "next",
"@nationalbankbelgium/stark-ui": "file:../dist/packages-dist/stark-ui/nationalbankbelgium-stark-ui-12.0.0-beta.2-5ed79051-1716975153.tgz",
"@nationalbankbelgium/stark-core": "file:../dist/packages-dist/stark-core/nationalbankbelgium-stark-core-12.0.0-beta.2-5ed79051-1716975153.tgz",
"@uirouter/visualizer": "~7.2.1",
"core-js": "~3.21.1",
"eligrey-classlist-js-polyfill": "~1.2.20180112",
Expand All @@ -135,8 +135,8 @@
"devDependencies": {
"@compodoc/compodoc": "1.1.19",
"@nationalbankbelgium/eslint-config": "^15.0.0",
"@nationalbankbelgium/stark-build": "next",
"@nationalbankbelgium/stark-testing": "next",
"@nationalbankbelgium/stark-build": "file:../dist/packages-dist/stark-build/nationalbankbelgium-stark-build-12.0.0-beta.2-5ed79051-1716975500.tgz",
"@nationalbankbelgium/stark-testing": "file:../dist/packages-dist/stark-testing/nationalbankbelgium-stark-testing-12.0.0-beta.2-5ed79051-1716975500.tgz",
"@types/core-js": "~2.5.4",
"@types/hammerjs": "~2.0.39",
"@types/node": "^18.19.4",
Expand Down

0 comments on commit b4c3675

Please sign in to comment.