-
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to latest version of Nx
- Loading branch information
1 parent
c63739a
commit a882d6c
Showing
5 changed files
with
1,290 additions
and
884 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const { getJestProjects } = require('@nx/jest'); | ||
const { getJestProjectsAsync } = require('@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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"migrations": [ | ||
{ | ||
"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": "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" | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -47,5 +47,6 @@ | |
] | ||
}, | ||
"parallel": 3, | ||
"defaultBase": "main" | ||
"defaultBase": "main", | ||
"useLegacyCache": true | ||
} |
Oops, something went wrong.