Skip to content

Commit

Permalink
chore: update nx
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Feb 27, 2024
1 parent 1ec0098 commit 5cede6a
Show file tree
Hide file tree
Showing 4 changed files with 560 additions and 1,851 deletions.
66 changes: 58 additions & 8 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,69 @@
{
"migrations": [
{
"version": "17.2.0-beta.0",
"description": "Simplify eslintFilePatterns",
"implementation": "./src/migrations/update-17-2-0/simplify-eslint-patterns",
"cli": "nx",
"version": "17.3.0-beta.6",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-17-3-0/update-nxw",
"package": "nx",
"name": "17.3.0-update-nx-wrapper"
},
{
"cli": "nx",
"version": "18.0.0-beta.2",
"description": "Updates .env to disabled adding plugins when generating projects in an existing Nx workspace",
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
"x-repair-skip": true,
"package": "nx",
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
},
{
"version": "17.2.9",
"description": "Move executor options to target defaults",
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults",
"package": "@nx/eslint",
"name": "simplify-eslint-patterns"
"name": "move-options-to-target-defaults"
},
{
"cli": "nx",
"version": "17.3.0-beta.10",
"requires": {
"@angular/core": ">=17.1.0"
},
"description": "Update the @angular/cli package version to ~17.1.0.",
"factory": "./src/migrations/update-17-3-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-17-1-0"
},
{
"cli": "nx",
"version": "17.3.0-beta.10",
"requires": {
"@angular/core": ">=17.1.0"
},
"description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
"factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
"package": "@nx/angular",
"name": "add-browser-sync-dependency"
},
{
"cli": "nx",
"version": "17.3.0-beta.10",
"requires": {
"@angular/core": ">=17.1.0"
},
"description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
"factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
"package": "@nx/angular",
"name": "add-autoprefixer-dependency"
},
{
"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",
"version": "18.0.0-beta.0",
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/angular:webpack-browser' is used for Module Federation.",
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
"package": "@nx/angular",
"name": "rename-webpack-dev-server-executor"
"name": "add-module-federation-env-var-to-target-defaults"
}
]
}
18 changes: 9 additions & 9 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
"inputs": ["production", "^production"],
"cache": true
},
"lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore",
"{workspaceRoot}/eslint.config.js"
],
"cache": true
},
"e2e": {
"inputs": ["default", "^production"],
"cache": true
Expand All @@ -44,6 +35,15 @@
"codeCoverage": true
}
}
},
"@nx/eslint:lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore",
"{workspaceRoot}/eslint.config.js"
],
"cache": true
}
},
"namedInputs": {
Expand Down
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,28 @@
"@angular/cli": "~17.1.0",
"@angular/compiler-cli": "17.1.0",
"@angular/language-service": "17.1.0",
"@nx/angular": "17.2.8",
"@nx/cypress": "17.2.8",
"@nx/devkit": "17.2.8",
"@nx/eslint": "17.2.8",
"@nx/eslint-plugin": "17.2.8",
"@nx/jest": "17.2.8",
"@nx/js": "17.2.8",
"@nx/plugin": "17.2.8",
"@nx/web": "17.2.8",
"@nx/workspace": "17.2.8",
"@nx/angular": "18.0.5",
"@nx/cypress": "18.0.5",
"@nx/devkit": "18.0.5",
"@nx/eslint": "18.0.5",
"@nx/eslint-plugin": "18.0.5",
"@nx/jest": "18.0.5",
"@nx/js": "18.0.5",
"@nx/plugin": "18.0.5",
"@nx/web": "18.0.5",
"@nx/workspace": "18.0.5",
"@release-it/bumper": "^6.0.1",
"@release-it/conventional-changelog": "^8.0.1",
"@schematics/angular": "17.1.0",
"@swc-node/register": "1.6.8",
"@swc-node/register": "1.8.0",
"@swc/cli": "~0.1.63",
"@swc/core": "1.3.104",
"@types/jest": "^29.5.11",
"@types/node": "20.11.5",
"@typescript-eslint/eslint-plugin": "6.19.0",
"@typescript-eslint/parser": "6.19.0",
"@types/node": "18.19.18",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"all-contributors-cli": "^6.26.1",
"autoprefixer": "^10.4.0",
"cypress": "^13.6.3",
"dotenv-cli": "^7.3.0",
"eslint": "8.56.0",
Expand All @@ -69,7 +70,7 @@
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.0",
"ng-packagr": "17.1.0",
"nx": "17.2.8",
"nx": "18.0.5",
"postcss": "^8.4.33",
"postcss-import": "~16.0.0",
"postcss-preset-env": "~9.3.0",
Expand Down
Loading

0 comments on commit 5cede6a

Please sign in to comment.