From 4369ecfed82bd9953ec1967442f3b6066f3541e8 Mon Sep 17 00:00:00 2001 From: kreuzerk Date: Wed, 20 Dec 2023 17:04:23 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20migrate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- migrations.json | 158 ++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 45 +++++++------- 2 files changed, 181 insertions(+), 22 deletions(-) create mode 100644 migrations.json diff --git a/migrations.json b/migrations.json new file mode 100644 index 0000000..abd3369 --- /dev/null +++ b/migrations.json @@ -0,0 +1,158 @@ +{ + "migrations": [ + { + "cli": "nx", + "version": "16.2.0-beta.0", + "description": "Remove outputPath from run commands", + "implementation": "./src/migrations/update-16-2-0/remove-run-commands-output-path", + "package": "nx", + "name": "16.2.0-remove-output-path-from-run-commands" + }, + { + "cli": "nx", + "version": "16.6.0-beta.6", + "description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed", + "implementation": "./src/migrations/update-15-0-0/prefix-outputs", + "package": "nx", + "name": "16.6.0-prefix-outputs" + }, + { + "cli": "nx", + "version": "16.8.0-beta.3", + "description": "Escape $ in env variables", + "implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables", + "package": "nx", + "name": "16.8.0-escape-dollar-sign-env" + }, + { + "cli": "nx", + "version": "17.0.0-beta.1", + "description": "Updates the default cache directory to .nx/cache", + "implementation": "./src/migrations/update-17-0-0/move-cache-directory", + "package": "nx", + "name": "17.0.0-move-cache-directory" + }, + { + "cli": "nx", + "version": "17.0.0-beta.3", + "description": "Use minimal config for tasksRunnerOptions", + "implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options", + "package": "nx", + "name": "17.0.0-use-minimal-config-for-tasks-runner-options" + }, + { + "version": "17.0.0-rc.1", + "description": "Migration for v17.0.0-rc.1", + "implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope", + "package": "nx", + "name": "rm-default-collection-npm-scope" + }, + { + "cli": "nx", + "version": "16.6.0-beta.0", + "description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.", + "factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps", + "package": "@nx/angular", + "name": "explicitly-set-projects-to-update-buildable-deps" + }, + { + "cli": "nx", + "version": "17.2.0-beta.2", + "description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'", + "factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server", + "package": "@nx/angular", + "name": "rename-webpack-dev-server-executor" + }, + { + "cli": "nx", + "version": "17-2-6-beta.1", + "description": "Rename workspace rules from @nx/workspace/name to @nx/workspace-name", + "implementation": "./src/migrations/update-17-2-6-rename-workspace-rules/rename-workspace-rules", + "package": "@nx/eslint-plugin", + "name": "update-17-2-6-rename-workspace-rules" + }, + { + "cli": "nx", + "version": "16.6.0-beta.0", + "description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.", + "factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps", + "package": "@nx/js", + "name": "explicitly-set-projects-to-update-buildable-deps" + }, + { + "cli": "nx", + "version": "16.8.2-beta.0", + "description": "Remove invalid options (strict, noInterop) for ES6 type modules.", + "factory": "./src/migrations/update-16-8-2/update-swcrc", + "package": "@nx/js", + "name": "16-8-2-update-swcrc" + }, + { + "cli": "nx", + "version": "17.0.2", + "description": "Remove deprecated build options", + "implementation": "./src/migrations/update-17-0-0/remove-deprecated-build-options", + "package": "@nx/js", + "name": "update-17-0-0-remove-deprecated-build-options" + }, + { + "cli": "nx", + "version": "16.5.0-beta.2", + "description": "Add test-setup.ts to ignored files in production input", + "implementation": "./src/migrations/update-16-5-0/add-test-setup-to-inputs-ignore", + "package": "@nx/jest", + "name": "add-test-setup-to-inputs-ignore" + }, + { + "version": "17.1.0-beta.2", + "description": "Move jest executor options to nx.json targetDefaults", + "implementation": "./src/migrations/update-17-1-0/move-options-to-target-defaults", + "package": "@nx/jest", + "name": "move-options-to-target-defaults" + }, + { + "cli": "nx", + "version": "16.9.0-beta.1", + "description": "Replace imports of Module Federation utils frm @nx/devkit to @nx/webpack", + "implementation": "./src/migrations/update-16-9-0/migrate-mf-util-usage", + "package": "@nx/devkit", + "name": "update-16-9-0-migrate-mf-usage-to-webpack" + }, + { + "cli": "nx", + "version": "16.8.0-beta.4", + "description": "Update to Cypress v13. Most noteable change is video recording is off by default. This migration will only update if the workspace is already on Cypress v12. https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-130", + "implementation": "./src/migrations/update-16-8-0/cypress-13", + "package": "@nx/cypress", + "name": "update-16-8-0-cypress-13" + }, + { + "version": "16.8.0", + "description": "update-16-8-0-add-ignored-files", + "implementation": "./src/migrations/update-16-8-0-add-ignored-files/update-16-8-0-add-ignored-files", + "package": "@nx/linter", + "name": "update-16-8-0-add-ignored-files" + }, + { + "version": "17.0.0-beta.7", + "description": "update-17-0-0-rename-to-eslint", + "implementation": "./src/migrations/update-17-0-0-rename-to-eslint/update-17-0-0-rename-to-eslint", + "package": "@nx/linter", + "name": "update-17-0-0-rename-to-eslint" + }, + { + "version": "17.1.0-beta.1", + "description": "Updates for @typescript-utils/utils v6.9.1+", + "implementation": "./src/migrations/update-17-1-0/update-typescript-eslint", + "package": "@nx/linter", + "name": "update-typescript-eslint" + }, + { + "version": "17.2.0-beta.0", + "description": "Simplify eslintFilePatterns", + "implementation": "./src/migrations/update-17-2-0/simplify-eslint-patterns", + "package": "@nx/linter", + "name": "simplify-eslint-patterns" + } + ] +} diff --git a/package.json b/package.json index ac15a15..0c56591 100644 --- a/package.json +++ b/package.json @@ -60,35 +60,35 @@ "@angular/cli": "~16.0.0", "@angular/compiler-cli": "~16.0.0", "@angular/language-service": "~16.0.0", - "@nx/angular": "^16.1.4", - "@nx/cypress": "16.4.2", - "@nx/devkit": "^16.1.3", - "@nx/eslint-plugin": "16.1.1", - "@nx/jest": "16.4.2", - "@nx/js": "16.4.2", - "@nx/linter": "16.1.1", - "@nx/plugin": "^16.1.2", - "@nx/web": "16.4.2", - "@nx/workspace": "16.1.1", + "@nx/angular": "17.2.6", + "@nx/cypress": "17.2.6", + "@nx/devkit": "17.2.6", + "@nx/eslint-plugin": "17.2.6", + "@nx/jest": "17.2.6", + "@nx/js": "17.2.6", + "@nx/linter": "17.2.6", + "@nx/plugin": "17.2.6", + "@nx/web": "17.2.6", + "@nx/workspace": "17.2.6", "@schematics/angular": "~16.0.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^11.1.0", "@semantic-release/exec": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/release-notes-generator": "^12.1.0", - "@swc-node/register": "~1.4.2", + "@swc-node/register": "1.6.8", "@swc/cli": "~0.1.62", - "@swc/core": "~1.3.51", - "@swc/helpers": "^0.5.1", + "@swc/core": "1.3.101", + "@swc/helpers": "0.5.3", "@types/jest": "^29.4.0", - "@types/node": "18.7.1", - "@typescript-eslint/eslint-plugin": "^5.58.0", - "@typescript-eslint/parser": "^5.58.0", + "@types/node": "18.16.9", + "@typescript-eslint/eslint-plugin": "6.15.0", + "@typescript-eslint/parser": "6.15.0", "conventional-changelog-conventionalcommits": "^7.0.2", "cypress": "^12.11.0", - "eslint": "~8.15.0", - "eslint-config-prettier": "8.1.0", - "eslint-plugin-cypress": "^2.10.3", + "eslint": "8.48.0", + "eslint-config-prettier": "9.1.0", + "eslint-plugin-cypress": "2.15.1", "handlebars": "^4.7.7", "http-server": "^14.1.1", "husky": "^8.0.3", @@ -96,20 +96,21 @@ "inquirer-autocomplete-prompt": "^2.0.0", "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", - "jest-preset-angular": "^13.1.1", + "jest-preset-angular": "13.1.4", "json-server": "^0.17.3", "jsonc-eslint-parser": "^2.2.0", "lint-staged": "^13.2.2", "markdown-toc": "^1.2.0", "npm-run-all": "^4.1.5", - "nx": "16.1.1", + "nx": "17.2.6", "nx-release": "^3.1.6", "prettier": "^2.6.2", "replace-json-property": "^1.9.0", "source-map-explorer": "^2.5.3", "ts-jest": "^29.1.0", "ts-node": "10.9.1", - "typescript": "~5.0.2", + "typescript": "5.2.2", "verdaccio": "^5.0.4" } } +