Skip to content

Commit

Permalink
feat: Support latest nx version (14.3.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Jun 22, 2022
1 parent 79ad5da commit 31b897c
Show file tree
Hide file tree
Showing 6 changed files with 871 additions and 897 deletions.
68 changes: 34 additions & 34 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
{
"migrations": [
{
"version": "14.0.0-beta.0",
"description": "Changes the presets in nx.json to come from the nx package",
"version": "14.2.0",
"description": "Explicitly enable sourceAnalysis for all workspaces extending from npm.json or core.json (this was default behavior prior to 14.2)",
"cli": "nx",
"implementation": "./src/migrations/update-14-0-0/change-nx-json-presets",
"implementation": "./src/migrations/update-14-2-0/enable-source-analysis",
"package": "@nrwl/workspace",
"name": "14-0-0-change-nx-json-presets"
"name": "14-2-0-enable-source-analysis"
},
{
"version": "14.0.0-beta.0",
"description": "Migrates from @nrwl/workspace:run-script to nx:run-script",
"cli": "nx",
"implementation": "./src/migrations/update-14-0-0/change-npm-script-executor",
"package": "@nrwl/workspace",
"name": "14-0-0-change-npm-script-executor"
"version": "14.1.9-beta.0",
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them",
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed",
"package": "@nrwl/linter",
"name": "add-swc-deps"
},
{
"cli": "nx",
"version": "14.0.6",
"description": "Remove root property from project.json files",
"factory": "./src/migrations/update-14-0-6/remove-roots",
"package": "nx",
"name": "14-0-6-remove-root"
"version": "14.2.3-beta.0",
"description": "Adds @swc/core and @swc-node as a dev dep if you are using them (repeated due to prior mistake)",
"factory": "./src/migrations/update-14-1-9/add-swc-deps-if-needed",
"package": "@nrwl/linter",
"name": "add-swc-deps-again"
},
{
"version": "14.0.0-beta.2",
"cli": "nx",
"description": "Update move jest config files to .ts files.",
"factory": "./src/migrations/update-14-0-0/update-jest-config-ext",
"package": "@nrwl/jest",
"name": "update-jest-config-extensions"
"version": "14.2.0-beta.0",
"description": "Add JSON Schema to Nx configuration files",
"implementation": "./src/migrations/update-14-2-0/add-json-schema",
"package": "nx",
"name": "14-2-0-add-json-schema"
},
{
"version": "14.1.5-beta.0",
"cli": "nx",
"description": "Update to export default in jest config and revert jest.preset.ts to jest.preset.js",
"factory": "./src/migrations/update-14-1-5/update-exports-jest-config",
"package": "@nrwl/jest",
"name": "update-to-export-default"
"version": "14.2.0-beta.0",
"description": "Remove default collection from configuration to switch to prompts for collection",
"implementation": "./src/migrations/update-14-2-0/remove-default-collection",
"package": "nx",
"name": "14-2-0-remove-default-collection"
},
{
"cli": "nx",
"version": "14.0.0-beta.2",
"description": "Exclude jest config from .lib.swcrc",
"factory": "./src/migrations/update-14-0-0/exclude-jest-config-swcrc",
"package": "@nrwl/js",
"name": "exclude-jest-config-swcrc"
"version": "14.2.0-beta.5",
"description": "Replace all ./ and ../ in outputs with absolute paths",
"implementation": "./src/migrations/update-14-2-0/replace-all-relative-outputs-with-absolute",
"package": "nx",
"name": "14-2-0-replace-relative-outputs-with-absolute"
},
{
"cli": "nx",
"version": "14.1.5-beta.0",
"description": "Rename option swcrcPath to swcrc, and resolve relative to workspace root",
"factory": "./src/migrations/update-14.1.5-beta.0/update-swcrc-path",
"package": "@nrwl/js",
"name": "update-swcrc-path"
"version": "14.3.4-beta.1",
"description": "Replace targetDependencies with targetDefaults",
"implementation": "./src/migrations/update-14-3-4/create-target-defaults",
"package": "nx",
"name": "14.3.4-create-target-defaults"
}
]
}
36 changes: 10 additions & 26 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,24 @@
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": [
"build",
"lint",
"test",
"e2e"
],
"cacheableOperations": ["build", "lint", "test", "e2e"],
"accessToken": "NDE5MzEzNzgtNDA2ZC00NDE1LWE0YTktMjlmYzU2MjJhNmM1fHJlYWQtd3JpdGU=",
"parallel": 1,
"strictlyOrderedTargets": [
"build",
"semantic-release"
]
"strictlyOrderedTargets": ["build", "semantic-release"]
}
}
},
"workspaceLayout": {
"appsDir": "packages",
"libsDir": "packages"
},
"cli": {
"defaultCollection": "@nrwl/workspace"
},
"targetDependencies": {
"build": [
{
"target": "build",
"projects": "dependencies"
}
],
"semantic-release": [
{
"target": "release",
"projects": "dependencies"
}
]
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"dependsOn": ["^build"]
},
"semantic-release": {
"dependsOn": ["^release"]
}
}
}

0 comments on commit 31b897c

Please sign in to comment.