14 lines
1003 B
JSON
14 lines
1003 B
JSON
{
|
|
"name": "replace-getJestProjects-with-getJestProjectsAsync",
|
|
"cli": "nx",
|
|
"version": "20.0.0-beta.5",
|
|
"description": "replace getJestProjects with getJestProjectsAsync",
|
|
"implementation": "/packages/jest/src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync.ts",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/jest",
|
|
"schema": null,
|
|
"type": "migration",
|
|
"examplesFile": "#### Replace getJestProjects with getJestProjectsAsync\n\nReplace getJestProjects with getJestProjectsAsync\n\n#### Sample Code Changes\n\n{% tabs %}\n{% tab label=\"Before\" %}\n\n```ts {% fileName=\"jest.config.ts\" %}\nimport { getJestProjects } from '@nx/jest';\n\nexport default {\n projects: getJestProjects(),\n};\n```\n\n{% /tab %}\n{% tab label=\"After\" %}\n\n```ts {% fileName=\"jest.config.ts\" %}\nimport { getJestProjectsAsync } from '@nx/jest';\n\nexport default async () => ({\n projects: await getJestProjectsAsync(),\n});\n```\n\n{% /tab %}\n{% /tabs %}\n"
|
|
}
|