@mands/nx-playwright
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "@mands/nx-playwright", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"license": "MIT", | ||
@@ -20,2 +20,2 @@ "publishConfig": { | ||
"types": "./index.d.ts" | ||
} | ||
} |
@@ -14,4 +14,4 @@ # @mands/nx-playwright | ||
```sh | ||
yarn add --dev @mands/nx-playwright | ||
yarn playwright install --with-deps | ||
pnpm add --dev @mands/nx-playwright | ||
pnpm playwright install --with-deps | ||
``` | ||
@@ -21,6 +21,6 @@ | ||
> **Warning** If you have an existing e2e test app, please remove it first `yarn nx generate remove <APP-NAME>-e2e` | ||
> **Warning** If you have an existing e2e test app, please remove it first `pnpm nx generate remove <APP-NAME>-e2e` | ||
```sh | ||
yarn nx generate @mands/nx-playwright:project <APP-NAME>-e2e --project <APP-NAME> | ||
pnpm nx generate @mands/nx-playwright:project <APP-NAME>-e2e --project <APP-NAME> | ||
``` | ||
@@ -31,3 +31,3 @@ | ||
```sh | ||
yarn nx e2e <APP-NAME>-e2e | ||
pnpm nx e2e <APP-NAME>-e2e | ||
``` | ||
@@ -75,5 +75,5 @@ | ||
yarn create nx-workspace --name=test-nx --appName=test-app --style=@emotion/styled --preset=next --nxCloud=false --interactive=false | ||
pnpm create nx-workspace --name=test-nx --appName=test-app --style=@emotion/styled --preset=next --nxCloud=false --interactive=false | ||
pushd test-nx | ||
yarn nx generate remove test-app-e2e | ||
pnpm nx generate remove test-app-e2e | ||
git commit -am "Remove test-app-e2e" | ||
@@ -80,0 +80,0 @@ popd |
@@ -28,3 +28,3 @@ import { addProjectConfiguration, readJson, updateWorkspaceConfiguration } from '@nrwl/devkit'; | ||
devServerTarget: 'test-project:serve', | ||
packageRunner: 'yarn', | ||
packageRunner: 'pnpm', | ||
}, | ||
@@ -31,0 +31,0 @@ configurations: { |
@@ -42,3 +42,3 @@ { | ||
"description": "package runner to use to run playwright", | ||
"default": "yarn" | ||
"default": "pnpm" | ||
} | ||
@@ -45,0 +45,0 @@ }, |
50372