Skip to content

Commit

Permalink
chore(deps): update Nx to v17 (major)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgonzalezr committed Oct 31, 2023
1 parent b19f338 commit 408f82b
Show file tree
Hide file tree
Showing 9 changed files with 2,415 additions and 818 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
.nx/cache
/dist
/out-tsc
/tmp/**
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ yarn-error.log*
.pnp

### BUILD ###
/.nx/cache
build
coverage
dist
Expand Down
34 changes: 34 additions & 0 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"migrations": [
{
"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"
},
{
"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/eslint",
"name": "update-17-0-0-rename-to-eslint"
}
]
}
41 changes: 21 additions & 20 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,31 @@
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
"inputs": ["production", "^production"],
"cache": true
},
"test": {
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"]
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
"cache": true
},
"e2e": {
"inputs": ["default", "^production"]
}
},
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": [
"build",
"e2e",
"icons",
"lint",
"storybook-build",
"storybook-build-css",
"stylelint",
"test"
]
}
"inputs": ["default", "^production"],
"cache": true
},
"icons": {
"cache": true
},
"lint": {
"cache": true
},
"storybook-build": {
"cache": true
},
"storybook-build-css": {
"cache": true
},
"stylelint": {
"cache": true
}
},
"generators": {
Expand Down
Loading

0 comments on commit 408f82b

Please sign in to comment.