Skip to content

Commit

Permalink
chore: tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Bielik20 committed Feb 8, 2024
1 parent debbc60 commit 18313fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/nx-jest-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"dotenv": "16.0.3",
"@nx/jest": "18.0.3",
"tslib": "^2.4.0",
"@nx/eslint": "18.0.3"
"@nx/eslint": "18.0.3",
"@nx/js": "18.0.3"
}
}
4 changes: 3 additions & 1 deletion packages/nx-jest-playwright/src/generators/init/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
updateJson,
} from '@nx/devkit';
import { jestInitGenerator } from '@nx/jest';
import { initGenerator } from '@nx/js';
import { jestPlaywrightPresetVersion, playwrightVersion } from '../../utils/versions';
import { InitGeneratorSchema } from './schema';

Expand All @@ -20,6 +21,7 @@ export default async function jestPlaywrightInitGenerator(
return json;
});

const jsTask = await initGenerator(host, {});
const jestTask = await jestInitGenerator(host, {});

const installTask = addDependenciesToPackageJson(
Expand All @@ -36,5 +38,5 @@ export default async function jestPlaywrightInitGenerator(
await formatFiles(host);
}

return runTasksInSerial(jestTask, installTask);
return runTasksInSerial(jsTask, jestTask, installTask);
}

0 comments on commit 18313fb

Please sign in to comment.