Skip to content

Commit

Permalink
chore: [nx migration] replace-getJestProjects-with-getJestProjectsAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
pmstss committed Oct 21, 2024
1 parent d345908 commit 6f7fffc
Show file tree
Hide file tree
Showing 4 changed files with 630 additions and 628 deletions.
8 changes: 4 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { getJestProjects } = require('@nx/jest');
const { getJestProjectsAsync } = require('@nx/jest');

export default {
projects: getJestProjects()
};
export default async () => ({
projects: await getJestProjectsAsync()
});
27 changes: 27 additions & 0 deletions migrations.json
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"
}
]
}
Loading

0 comments on commit 6f7fffc

Please sign in to comment.