Skip to content

Commit

Permalink
chore: Angular/Nx migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Jan 31, 2025
1 parent fbfb30f commit 0e56ee5
Show file tree
Hide file tree
Showing 3 changed files with 2,363 additions and 1,625 deletions.
115 changes: 5 additions & 110 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,118 +1,13 @@
{
"migrations": [
{
"version": "20.2.0-beta.5",
"description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8",
"implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0",
"package": "@nx/eslint",
"name": "update-typescript-eslint-v8.13.0"
},
{
"version": "20.3.0-beta.1",
"description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)",
"implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides",
"package": "@nx/eslint",
"name": "add-file-extensions-to-overrides"
},
{
"cli": "nx",
"version": "20.2.0-beta.2",
"description": "Update the ModuleFederationConfig import use @nx/module-federation.",
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package",
"package": "@nx/angular",
"name": "update-20-2-0-update-module-federation-config-import"
},
{
"cli": "nx",
"version": "20.2.0-beta.2",
"description": "Update the withModuleFederation import use @nx/module-federation/angular.",
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package",
"package": "@nx/angular",
"name": "update-20-2-0-update-with-module-federation-import"
},
{
"cli": "nx",
"version": "20.2.0-beta.5",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Update the @angular/cli package version to ~19.0.0.",
"factory": "./src/migrations/update-20-2-0/update-angular-cli",
"version": "20.4.0-beta.1",
"requires": { "@angular/core": ">=19.1.0" },
"description": "Update the @angular/cli package version to ~19.1.0.",
"factory": "./src/migrations/update-20-4-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-19-0-0"
},
{
"cli": "nx",
"version": "20.2.0-beta.5",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.",
"factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets",
"package": "@nx/angular",
"name": "add-localize-polyfill-to-targets"
},
{
"cli": "nx",
"version": "20.2.0-beta.5",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.",
"factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point",
"package": "@nx/angular",
"name": "update-angular-ssr-imports-to-use-node-entry-point"
},
{
"cli": "nx",
"version": "20.2.0-beta.6",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Disable the Angular ESLint prefer-standalone rule if not set.",
"factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone",
"package": "@nx/angular",
"name": "disable-angular-eslint-prefer-standalone"
},
{
"cli": "nx",
"version": "20.2.0-beta.8",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Remove Angular ESLint rules that were removed in v19.0.0.",
"factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules",
"package": "@nx/angular",
"name": "remove-angular-eslint-rules"
},
{
"cli": "nx",
"version": "20.2.0-beta.8",
"requires": { "@angular/core": ">=19.0.0" },
"description": "Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.",
"factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors",
"package": "@nx/angular",
"name": "remove-tailwind-config-from-ng-packagr-executors"
},
{
"cli": "nx",
"version": "20.3.0-beta.2",
"description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.",
"factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package",
"package": "@nx/angular",
"name": "ensure-nx-module-federation-package"
},
{
"version": "19.0.0",
"description": "Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone",
"factory": "./bundles/explicit-standalone-flag#migrate",
"package": "@angular/core",
"name": "explicit-standalone-flag"
},
{
"version": "19.0.0",
"description": "Updates ExperimentalPendingTasks to PendingTasks",
"factory": "./bundles/pending-tasks#migrate",
"package": "@angular/core",
"name": "pending-tasks"
},
{
"version": "19.0.0",
"description": "Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.",
"factory": "./bundles/provide-initializer#migrate",
"optional": true,
"package": "@angular/core",
"name": "provide-initializer"
"name": "update-angular-cli-version-19-1-0"
}
]
}
92 changes: 47 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@
"typeorm": "typeorm-ts-node-esm"
},
"dependencies": {
"@angular/animations": "19.1.1",
"@angular/cdk": "^19.1.0",
"@angular/common": "19.1.1",
"@angular/compiler": "19.1.1",
"@angular/core": "19.1.1",
"@angular/forms": "19.1.1",
"@angular/platform-browser": "19.1.1",
"@angular/platform-browser-dynamic": "19.1.1",
"@angular/router": "19.1.1",
"@angular/animations": "19.1.4",
"@angular/cdk": "^19.1.2",
"@angular/common": "19.1.4",
"@angular/compiler": "19.1.4",
"@angular/core": "19.1.4",
"@angular/forms": "19.1.4",
"@angular/platform-browser": "19.1.4",
"@angular/platform-browser-dynamic": "19.1.4",
"@angular/router": "19.1.4",
"@fastify/cors": "^10.0.2",
"@fastify/helmet": "^11.1.1",
"@fastify/static": "^7.0.4",
"@garudalinux/core": "^0.2.0",
"@gitbeaker/core": "^42.0.2",
"@gitbeaker/rest": "^42.0.2",
"@gitbeaker/core": "^42.1.0",
"@gitbeaker/rest": "^42.1.0",
"@nestjs/axios": "^3.1.3",
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.4.15",
Expand All @@ -51,19 +51,20 @@
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-fastify": "^10.4.15",
"@nestjs/schedule": "^4.1.2",
"@nestjs/swagger": "^8.1.0",
"@nestjs/terminus": "^10.2.3",
"@nestjs/throttler": "^6.3.0",
"@nestjs/swagger": "^8.1.1",
"@nestjs/terminus": "^10.3.0",
"@nestjs/throttler": "^6.4.0",
"@nestjs/typeorm": "^10.0.2",
"@primeng/themes": "^19.0.5",
"async-mutex": "^0.5.0",
"axios": "^1.7.9",
"bcrypt": "^5.1.1",
"cache-manager": "^5.7.6",
"chart.js": "^4.4.7",
"chokidar": "^4.0.3",
"cron": "^3.5.0",
"crypto-js": "^4.2.0",
"fastify": "4.28.1",
"fastify": "5.2.1",
"globals": "^15.14.0",
"highlight.js": "^11.11.1",
"ioredis": "^5.4.2",
Expand All @@ -72,7 +73,7 @@
"jwks-rsa": "^3.1.0",
"moleculer": "^0.14.35",
"nestjs-omacache": "^1.1.6",
"nestjs-pino": "^4.2.0",
"nestjs-pino": "^4.3.0",
"ngx-highlightjs": "^14.0.0",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
Expand All @@ -90,37 +91,37 @@
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "19.1.2",
"@angular-devkit/core": "19.1.2",
"@angular-devkit/schematics": "19.1.2",
"@angular-devkit/build-angular": "19.1.5",
"@angular-devkit/core": "19.1.5",
"@angular-devkit/schematics": "19.1.5",
"@angular-eslint/eslint-plugin": "19.0.2",
"@angular-eslint/eslint-plugin-template": "19.0.2",
"@angular-eslint/template-parser": "19.0.2",
"@angular/cli": "~19.1.2",
"@angular/compiler-cli": "19.1.1",
"@angular/language-service": "19.1.1",
"@angular/cli": "~19.1.5",
"@angular/compiler-cli": "19.1.4",
"@angular/language-service": "19.1.4",
"@catppuccin/highlightjs": "1.0.0",
"@catppuccin/palette": "^1.7.1",
"@catppuccin/tailwindcss": "^0.1.6",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@eslint/js": "^9.19.0",
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.15",
"@nx/angular": "20.3.2",
"@nx/esbuild": "20.3.2",
"@nx/eslint": "20.3.2",
"@nx/eslint-plugin": "20.3.2",
"@nx/jest": "20.3.2",
"@nx/js": "20.3.2",
"@nx/nest": "20.3.2",
"@nx/node": "20.3.2",
"@nx/web": "20.3.2",
"@nx/webpack": "20.3.2",
"@nx/workspace": "20.3.2",
"@nx/angular": "20.4.0",
"@nx/esbuild": "20.4.0",
"@nx/eslint": "20.4.0",
"@nx/eslint-plugin": "20.4.0",
"@nx/jest": "20.4.0",
"@nx/js": "20.4.0",
"@nx/nest": "20.4.0",
"@nx/node": "20.4.0",
"@nx/web": "20.4.0",
"@nx/webpack": "20.4.0",
"@nx/workspace": "20.4.0",
"@schematics/angular": "19.1.4",
"@swc-node/register": "~1.10.9",
"@swc/core": "~1.10.7",
"@swc/core": "~1.10.12",
"@swc/helpers": "~0.5.15",
"@types/auth0": "^3.3.10",
"@types/bcrypt": "^5.0.2",
Expand All @@ -130,34 +131,35 @@
"@types/node": "22.10.10",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.38",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@typescript-eslint/utils": "^8.20.0",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@typescript-eslint/utils": "^8.22.0",
"autoprefixer": "^10.4.20",
"esbuild": "^0.24.2",
"eslint": "^9.18.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.2",
"eslint-plugin-prettier": "^5.2.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-node": "^29.7.0",
"jest-preset-angular": "14.4.2",
"lint-staged": "^15.4.1",
"nx": "20.3.3",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.4.3",
"nx": "20.4.0",
"pino-pretty": "^11.3.0",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.10",
"prettier-plugin-tailwindcss": "^0.6.11",
"run-script-webpack-plugin": "^0.2.0",
"tailwindcss": "^3.4.17",
"ts-auto-mock": "^3.7.4",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "10.9.2",
"typescript": "5.6.3",
"typescript": "5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-node-externals": "^3.0.0",
"wrangler": "^3.103.2"
"wrangler": "^3.107.0"
},
"packageManager": "[email protected]+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b",
"engines": {
Expand Down
Loading

0 comments on commit 0e56ee5

Please sign in to comment.