Skip to content

Commit

Permalink
feat: update nx
Browse files Browse the repository at this point in the history
BRAKING CHANGE: Nx version 16
  • Loading branch information
Bielik20 committed May 3, 2023
1 parent 22f4047 commit 7c7bb4c
Show file tree
Hide file tree
Showing 3 changed files with 524 additions and 813 deletions.
116 changes: 116 additions & 0 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"migrations": [
{
"cli": "nx",
"version": "16.0.0-beta.0",
"description": "Remove @nrwl/cli.",
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli",
"package": "nx",
"name": "16.0.0-remove-nrwl-cli"
},
{
"cli": "nx",
"version": "16.0.0-beta.9",
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.",
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens",
"package": "nx",
"name": "16.0.0-tokens-for-depends-on"
},
{
"cli": "nx",
"version": "16.0.0-beta.0",
"description": "Replace @nrwl/nx-cloud with nx-cloud",
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner",
"package": "nx",
"name": "16.0.0-update-nx-cloud-runner"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/workspace with @nx/workspace",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/workspace",
"name": "update-16-0-0-add-nx-packages"
},
{
"version": "16.0.0-beta.4",
"description": "Generates a plugin called 'workspace-plugin' containing your workspace generators.",
"cli": "nx",
"implementation": "./src/migrations/update-16-0-0/move-workspace-generators-to-local-plugin",
"package": "@nrwl/workspace",
"name": "16-0-0-move-workspace-generators-into-local-plugin"
},
{
"version": "16.0.0-beta.9",
"description": "Fix .babelrc presets if it contains an invalid entry for @nx/web/babel.",
"cli": "nx",
"implementation": "./src/migrations/update-16-0-0/fix-invalid-babelrc",
"package": "@nrwl/workspace",
"name": "16-0-0-fix-invalid-babelrc"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/devkit with @nx/devkit",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/devkit",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/linter with @nx/linter",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/linter",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/js with @nx/js",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/js",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/jest with @nx/jest",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/jest",
"name": "update-16-0-0-add-nx-packages"
},
{
"version": "16.0.0-beta.1",
"cli": "nx",
"description": "Removes CLI property within schema.json files and moves generators and schematics to the proper root node in migrations.json",
"factory": "./src/migrations/update-16-0-0/cli-in-schema-json",
"package": "@nrwl/nx-plugin",
"name": "update-remove-cli-prop"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/nx-plugin with @nx/plugin",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/nx-plugin",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/eslint-plugin-nx with @nx/eslint-plugin",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/eslint-plugin-nx",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nrwl/webpack with @nx/webpack",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nrwl/webpack",
"name": "update-16-0-0-add-nx-packages"
}
]
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"private": true,
"dependencies": {
"@swc/helpers": "~0.4.11",
"@swc/helpers": "0.5.1",
"bestzip": "^2.2.1",
"execa": "^5.0.0",
"flat": "^5.0.2",
Expand All @@ -50,25 +50,25 @@
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@nrwl/cli": "15.9.1",
"@nrwl/devkit": "15.9.1",
"@nrwl/eslint-plugin-nx": "15.9.1",
"@nrwl/jest": "15.9.1",
"@nrwl/js": "15.9.1",
"@nrwl/linter": "15.9.1",
"@nrwl/nx-cloud": "15.3.4",
"@nrwl/nx-plugin": "15.9.1",
"@nrwl/webpack": "15.9.1",
"@nrwl/workspace": "15.9.1",
"@nrwl/devkit": "16.0.3",
"@nrwl/eslint-plugin-nx": "16.0.3",
"@nrwl/jest": "16.0.3",
"@nrwl/js": "16.0.3",
"@nrwl/linter": "16.0.3",
"@nrwl/nx-cloud": "16.0.5",
"@nrwl/nx-plugin": "16.0.3",
"@nrwl/webpack": "16.0.3",
"@nrwl/workspace": "16.0.3",
"@swc-node/register": "^1.4.2",
"@swc/cli": "~0.1.55",
"@swc/cli": "0.1.62",
"@swc/core": "^1.2.173",
"@types/flat": "^5.0.2",
"@types/fs-extra": "^11.0.1",
"@types/jest": "29.4.0",
"@types/lodash": "^4.14.191",
"@types/node": "18.14.0",
"@typescript-eslint/eslint-plugin": "5.41.0",
"@typescript-eslint/parser": "5.41.0",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "16.0.3",
Expand All @@ -83,11 +83,11 @@
"jest-environment-jsdom": "29.4.3",
"jsonc-eslint-parser": "^2.1.0",
"lint-staged": "^13.2.0",
"nx": "15.9.1",
"nx": "16.0.3",
"prettier": "2.8.7",
"semantic-release": "^21.0.0",
"semver": "^7.3.8",
"ts-jest": "29.0.5",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"tslib": "^2.4.0",
"typescript": "4.9.5"
Expand Down
Loading

0 comments on commit 7c7bb4c

Please sign in to comment.