From c186f40f357855e9cd29d4aa3f094287e24e89db Mon Sep 17 00:00:00 2001 From: "kim.tran" Date: Tue, 24 Sep 2024 13:59:48 +0200 Subject: [PATCH 1/4] fix: add caret to @angular-architects/module-federation in peer dependencies --- libs/angular-auth/package.json | 2 +- libs/angular-remote-components/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/angular-auth/package.json b/libs/angular-auth/package.json index f4356b55..cac034e0 100644 --- a/libs/angular-auth/package.json +++ b/libs/angular-auth/package.json @@ -3,7 +3,7 @@ "version": "5.12.2", "license": "Apache-2.0", "peerDependencies": { - "@angular-architects/module-federation": "18.0.4", + "@angular-architects/module-federation": "^18.0.4", "@angular/common": "^18.0.5", "@angular/core": "^18.0.5", "@onecx/angular-integration-interface": "^5", diff --git a/libs/angular-remote-components/package.json b/libs/angular-remote-components/package.json index 7cde9a3b..5db014c2 100644 --- a/libs/angular-remote-components/package.json +++ b/libs/angular-remote-components/package.json @@ -8,7 +8,7 @@ "@onecx/angular-accelerator": "^5", "@onecx/integration-interface": "^5", "@ngx-translate/core": "^15.0.0", - "@angular-architects/module-federation": "18.0.4", + "@angular-architects/module-federation": "^18.0.4", "rxjs": "7.8.1" }, "dependencies": {}, From dfec84bd4f19627f8a7d04e7224986ce6cf809c1 Mon Sep 17 00:00:00 2001 From: "kim.tran" Date: Tue, 24 Sep 2024 15:32:14 +0200 Subject: [PATCH 2/4] fix: add caret to peer dev dependencies --- libs/accelerator/package.json | 2 +- libs/angular-remote-components/package.json | 2 +- libs/integration-interface/package.json | 2 +- libs/keycloak-auth/package.json | 2 +- libs/ngrx-accelerator/package.json | 2 +- libs/shell-core/package.json | 2 +- package-lock.json | 54 ++++++++++----------- package.json | 48 +++++++++--------- 8 files changed, 57 insertions(+), 57 deletions(-) diff --git a/libs/accelerator/package.json b/libs/accelerator/package.json index ccdcabbb..a29f0610 100644 --- a/libs/accelerator/package.json +++ b/libs/accelerator/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3", - "rxjs": "7.8.1" + "rxjs": "^7.8.1" }, "type": "commonjs", "main": "./src/index.js", diff --git a/libs/angular-remote-components/package.json b/libs/angular-remote-components/package.json index 5db014c2..018597a8 100644 --- a/libs/angular-remote-components/package.json +++ b/libs/angular-remote-components/package.json @@ -9,7 +9,7 @@ "@onecx/integration-interface": "^5", "@ngx-translate/core": "^15.0.0", "@angular-architects/module-federation": "^18.0.4", - "rxjs": "7.8.1" + "rxjs": "^7.8.1" }, "dependencies": {}, "publishConfig": { diff --git a/libs/integration-interface/package.json b/libs/integration-interface/package.json index 73e56476..a8421f7b 100644 --- a/libs/integration-interface/package.json +++ b/libs/integration-interface/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3", - "rxjs": "7.8.1", + "rxjs": "^7.8.1", "@onecx/accelerator": "^5" }, "type": "commonjs", diff --git a/libs/keycloak-auth/package.json b/libs/keycloak-auth/package.json index ab83a75b..5e5ed3dd 100644 --- a/libs/keycloak-auth/package.json +++ b/libs/keycloak-auth/package.json @@ -9,7 +9,7 @@ "keycloak-js": "^25.0.1", "@onecx/angular-integration-interface": "^5", "@onecx/integration-interface": "^5", - "rxjs": "7.8.1" + "rxjs": "^7.8.1" }, "publishConfig": { "access": "public" diff --git a/libs/ngrx-accelerator/package.json b/libs/ngrx-accelerator/package.json index 50ab2ff5..f219bb42 100644 --- a/libs/ngrx-accelerator/package.json +++ b/libs/ngrx-accelerator/package.json @@ -10,7 +10,7 @@ "@ngrx/operators": "^18.0.1", "@ngrx/router-store": "^18.0.1", "@ngrx/store": "^18.0.1", - "rxjs": "7.8.1", + "rxjs": "^7.8.1", "zod": "^3.23.8" }, "publishConfig": { diff --git a/libs/shell-core/package.json b/libs/shell-core/package.json index 7357313b..9361a1f0 100644 --- a/libs/shell-core/package.json +++ b/libs/shell-core/package.json @@ -3,7 +3,7 @@ "version": "5.12.2", "license": "Apache-2.0", "peerDependencies": { - "rxjs": "7.8.1", + "rxjs": "^7.8.1", "@angular/animations": "^18.0.5", "@angular/common": "^18.0.5", "@angular/core": "^18.0.5", diff --git a/package-lock.json b/package-lock.json index dbd5adf5..b6fc1976 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onecx/onecx-portal-ui-libs", - "version": "5.12.0", + "version": "5.12.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@onecx/onecx-portal-ui-libs", - "version": "5.12.0", + "version": "5.12.2", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -22,11 +22,11 @@ "@angular/platform-browser-dynamic": "^18.2.5", "@angular/router": "^18.2.5", "@ngneat/until-destroy": "^10.0.0", - "@ngrx/effects": "18.0.2", - "@ngrx/operators": "18.0.2", - "@ngrx/router-store": "18.0.2", - "@ngrx/store": "18.0.2", - "@ngrx/store-devtools": "18.0.2", + "@ngrx/effects": "^18.0.2", + "@ngrx/operators": "^18.0.2", + "@ngrx/router-store": "^18.0.2", + "@ngrx/store": "^18.0.2", + "@ngrx/store-devtools": "^18.0.2", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", "@onecx/portal-layout-styles": "file:libs/portal-layout-styles", @@ -41,8 +41,8 @@ "primeflex": "^3.3.1", "primeicons": "^7.0.0", "primelocale": "^1.0.3", - "primeng": "17.18.10", - "rxjs": "7.8.1", + "primeng": "^17.18.10", + "rxjs": "^7.8.1", "storybook": "^8.3.2", "tslib": "^2.6.3", "zod": "^3.23.8", @@ -61,15 +61,15 @@ "@angular/language-service": "^18.2.5", "@chromatic-com/storybook": "^2.0.2", "@happy-dom/jest-environment": "^15.7.3", - "@nx/angular": "19.8.0", - "@nx/esbuild": "19.8.0", - "@nx/eslint-plugin": "19.8.0", - "@nx/jest": "19.8.0", - "@nx/js": "19.8.0", - "@nx/linter": "19.8.0", - "@nx/node": "19.8.0", - "@nx/storybook": "19.8.0", - "@nx/workspace": "19.8.0", + "@nx/angular": "^19.8.0", + "@nx/esbuild": "^19.8.0", + "@nx/eslint-plugin": "^19.8.0", + "@nx/jest": "^19.8.0", + "@nx/js": "^19.8.0", + "@nx/linter": "^19.8.0", + "@nx/node": "^19.8.0", + "@nx/storybook": "^19.8.0", + "@nx/workspace": "^19.8.0", "@schematics/angular": "~18.2.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.0", @@ -93,20 +93,20 @@ "conventional-changelog-conventionalcommits": "^8.0.0", "esbuild": "^0.19.2", "eslint": "~8.57.0", - "eslint-config-prettier": "9.1.0", + "eslint-config-prettier": "^9.1.0", "happy-dom": "^15.7.4", - "jest": "29.7.0", + "jest": "^29.7.0", "jest-canvas-mock": "^2.5.2", - "jest-environment-jsdom": "29.7.0", - "jest-environment-node": "29.7.0", - "jest-preset-angular": "14.2.2", + "jest-environment-jsdom": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-preset-angular": "^14.2.2", "jsonc-eslint-parser": "^2.4.0", "msw": "^2.4.4", "msw-storybook-addon": "^2.0.2", "ng-mocks": "^14.13.0", "ng-packagr": "^18.2.1", "ngx-translate-testing": "^7.0.0", - "nx": "19.8.0", + "nx": "^19.8.0", "nx-release": "^3.3.0", "postcss": "^8.4.45", "postcss-import": "~16.1.0", @@ -115,13 +115,13 @@ "prettier": "^3.3.2", "replace-json-property": "^1.9.0", "ts-jest": "^29.2.5", - "ts-node": "10.9.2", - "typescript": "5.5.4" + "ts-node": "^10.9.2", + "typescript": "^5.5.4" } }, "libs/portal-layout-styles": { "name": "@onecx/portal-layout-styles", - "version": "5.12.0", + "version": "5.12.2", "license": "Apache-2.0", "peerDependencies": { "tslib": "^2.6.3" diff --git a/package.json b/package.json index 3262df42..de2bb5c3 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,11 @@ "@angular/platform-browser-dynamic": "^18.2.5", "@angular/router": "^18.2.5", "@ngneat/until-destroy": "^10.0.0", - "@ngrx/effects": "18.0.2", - "@ngrx/operators": "18.0.2", - "@ngrx/router-store": "18.0.2", - "@ngrx/store": "18.0.2", - "@ngrx/store-devtools": "18.0.2", + "@ngrx/effects": "^18.0.2", + "@ngrx/operators": "^18.0.2", + "@ngrx/router-store": "^18.0.2", + "@ngrx/store": "^18.0.2", + "@ngrx/store-devtools": "^18.0.2", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", "@onecx/portal-layout-styles": "file:libs/portal-layout-styles", @@ -40,8 +40,8 @@ "primeflex": "^3.3.1", "primeicons": "^7.0.0", "primelocale": "^1.0.3", - "primeng": "17.18.10", - "rxjs": "7.8.1", + "primeng": "^17.18.10", + "rxjs": "^7.8.1", "storybook": "^8.3.2", "tslib": "^2.6.3", "zod": "^3.23.8", @@ -60,15 +60,15 @@ "@angular/language-service": "^18.2.5", "@chromatic-com/storybook": "^2.0.2", "@happy-dom/jest-environment": "^15.7.3", - "@nx/angular": "19.8.0", - "@nx/esbuild": "19.8.0", - "@nx/eslint-plugin": "19.8.0", - "@nx/jest": "19.8.0", - "@nx/js": "19.8.0", - "@nx/linter": "19.8.0", - "@nx/node": "19.8.0", - "@nx/storybook": "19.8.0", - "@nx/workspace": "19.8.0", + "@nx/angular": "^19.8.0", + "@nx/esbuild": "^19.8.0", + "@nx/eslint-plugin": "^19.8.0", + "@nx/jest": "^19.8.0", + "@nx/js": "^19.8.0", + "@nx/linter": "^19.8.0", + "@nx/node": "^19.8.0", + "@nx/storybook": "^19.8.0", + "@nx/workspace": "^19.8.0", "@schematics/angular": "~18.2.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.0", @@ -92,20 +92,20 @@ "conventional-changelog-conventionalcommits": "^8.0.0", "esbuild": "^0.19.2", "eslint": "~8.57.0", - "eslint-config-prettier": "9.1.0", + "eslint-config-prettier": "^9.1.0", "happy-dom": "^15.7.4", - "jest": "29.7.0", + "jest": "^29.7.0", "jest-canvas-mock": "^2.5.2", - "jest-environment-jsdom": "29.7.0", - "jest-environment-node": "29.7.0", - "jest-preset-angular": "14.2.2", + "jest-environment-jsdom": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-preset-angular": "^14.2.2", "jsonc-eslint-parser": "^2.4.0", "msw": "^2.4.4", "msw-storybook-addon": "^2.0.2", "ng-mocks": "^14.13.0", "ng-packagr": "^18.2.1", "ngx-translate-testing": "^7.0.0", - "nx": "19.8.0", + "nx": "^19.8.0", "nx-release": "^3.3.0", "postcss": "^8.4.45", "postcss-import": "~16.1.0", @@ -114,8 +114,8 @@ "prettier": "^3.3.2", "replace-json-property": "^1.9.0", "ts-jest": "^29.2.5", - "ts-node": "10.9.2", - "typescript": "5.5.4" + "ts-node": "^10.9.2", + "typescript": "^5.5.4" }, "nx": { "includedScripts": [] From 6e9c04c182b65630502f465bd5547ec58ac969f2 Mon Sep 17 00:00:00 2001 From: "kim.tran" Date: Wed, 25 Sep 2024 08:04:23 +0200 Subject: [PATCH 3/4] fix: remove caret from nx dev dependency --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6fc1976..cc0fa808 100644 --- a/package-lock.json +++ b/package-lock.json @@ -106,7 +106,7 @@ "ng-mocks": "^14.13.0", "ng-packagr": "^18.2.1", "ngx-translate-testing": "^7.0.0", - "nx": "^19.8.0", + "nx": "19.8.0", "nx-release": "^3.3.0", "postcss": "^8.4.45", "postcss-import": "~16.1.0", diff --git a/package.json b/package.json index de2bb5c3..8ce124e0 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "ng-mocks": "^14.13.0", "ng-packagr": "^18.2.1", "ngx-translate-testing": "^7.0.0", - "nx": "^19.8.0", + "nx": "19.8.0", "nx-release": "^3.3.0", "postcss": "^8.4.45", "postcss-import": "~16.1.0", From adbeabb70346c5c4f1aa641c897ef78defa7a33c Mon Sep 17 00:00:00 2001 From: "kim.tran" Date: Wed, 25 Sep 2024 08:09:14 +0200 Subject: [PATCH 4/4] fix: also remove caret of @nx dev dependencies --- package-lock.json | 18 +++++++++--------- package.json | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index cc0fa808..e0f57dfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,15 +61,15 @@ "@angular/language-service": "^18.2.5", "@chromatic-com/storybook": "^2.0.2", "@happy-dom/jest-environment": "^15.7.3", - "@nx/angular": "^19.8.0", - "@nx/esbuild": "^19.8.0", - "@nx/eslint-plugin": "^19.8.0", - "@nx/jest": "^19.8.0", - "@nx/js": "^19.8.0", - "@nx/linter": "^19.8.0", - "@nx/node": "^19.8.0", - "@nx/storybook": "^19.8.0", - "@nx/workspace": "^19.8.0", + "@nx/angular": "19.8.0", + "@nx/esbuild": "19.8.0", + "@nx/eslint-plugin": "19.8.0", + "@nx/jest": "19.8.0", + "@nx/js": "19.8.0", + "@nx/linter": "19.8.0", + "@nx/node": "19.8.0", + "@nx/storybook": "19.8.0", + "@nx/workspace": "19.8.0", "@schematics/angular": "~18.2.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.0", diff --git a/package.json b/package.json index 8ce124e0..507b1c34 100644 --- a/package.json +++ b/package.json @@ -60,15 +60,15 @@ "@angular/language-service": "^18.2.5", "@chromatic-com/storybook": "^2.0.2", "@happy-dom/jest-environment": "^15.7.3", - "@nx/angular": "^19.8.0", - "@nx/esbuild": "^19.8.0", - "@nx/eslint-plugin": "^19.8.0", - "@nx/jest": "^19.8.0", - "@nx/js": "^19.8.0", - "@nx/linter": "^19.8.0", - "@nx/node": "^19.8.0", - "@nx/storybook": "^19.8.0", - "@nx/workspace": "^19.8.0", + "@nx/angular": "19.8.0", + "@nx/esbuild": "19.8.0", + "@nx/eslint-plugin": "19.8.0", + "@nx/jest": "19.8.0", + "@nx/js": "19.8.0", + "@nx/linter": "19.8.0", + "@nx/node": "19.8.0", + "@nx/storybook": "19.8.0", + "@nx/workspace": "19.8.0", "@schematics/angular": "~18.2.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.0",