-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from gcko/feature/upgrade-to-nx-20
Feature/upgrade to nx 20
- Loading branch information
Showing
16 changed files
with
6,117 additions
and
3,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ Thumbs.db | |
|
||
# nx | ||
/.nx/cache | ||
.nx/workspace-data | ||
|
||
# Sonar | ||
.scannerwork | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
/dist | ||
/coverage | ||
|
||
/.nx/cache | ||
/.nx/cache | ||
/.nx/workspace-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { getJestProjects } from '@nx/jest'; | ||
import { getJestProjectsAsync } from '@nx/jest'; | ||
|
||
export default { | ||
projects: getJestProjects(), | ||
}; | ||
export default async () => ({ | ||
projects: await getJestProjectsAsync(), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,67 @@ | ||
{ | ||
"migrations": [ | ||
{ | ||
"version": "18.1.0-beta.3", | ||
"description": "Moves affected.defaultBase to defaultBase in `nx.json`", | ||
"implementation": "./src/migrations/update-17-2-0/move-default-base", | ||
"cli": "nx", | ||
"version": "19.2.0-beta.2", | ||
"description": "Updates the default workspace data directory to .nx/workspace-data", | ||
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory", | ||
"package": "nx", | ||
"name": "move-default-base-to-nx-json-root" | ||
"name": "19-2-0-move-graph-cache-directory" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "19.2.2-beta.0", | ||
"description": "Updates the nx wrapper.", | ||
"implementation": "./src/migrations/update-17-3-0/update-nxw", | ||
"package": "nx", | ||
"name": "19-2-2-update-nx-wrapper" | ||
}, | ||
{ | ||
"version": "19.2.4-beta.0", | ||
"description": "Set project name in nx.json explicitly", | ||
"implementation": "./src/migrations/update-19-2-4/set-project-name", | ||
"x-repair-skip": true, | ||
"package": "nx", | ||
"name": "19-2-4-set-project-name" | ||
}, | ||
{ | ||
"version": "20.0.0-beta.7", | ||
"description": "Migration for v20.0.0-beta.7", | ||
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process", | ||
"package": "nx", | ||
"name": "move-use-daemon-process" | ||
}, | ||
{ | ||
"version": "20.0.1", | ||
"description": "Set `useLegacyCache` to true for migrating workspaces", | ||
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache", | ||
"x-repair-skip": true, | ||
"package": "nx", | ||
"name": "use-legacy-cache" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "19.6.3-beta.0", | ||
"description": "Migrate proxy config files to match new format from webpack-dev-server v5.", | ||
"implementation": "./src/migrations/update-19-6-3/proxy-config", | ||
"package": "@nx/webpack", | ||
"name": "update-19-6-3-proxy-config" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "20.0.0-beta.5", | ||
"description": "replace getJestProjects with getJestProjectsAsync", | ||
"implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync", | ||
"package": "@nx/jest", | ||
"name": "replace-getJestProjects-with-getJestProjectsAsync" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "19.1.0-beta.6", | ||
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs", | ||
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi", | ||
"package": "@nx/eslint-plugin", | ||
"name": "update-19-1-0-rename-no-extra-semi" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.