Skip to content

Commit c9b80d6

Browse files
committed
E2E: utility - cleanup all
1 parent 97411c9 commit c9b80d6

3 files changed

Lines changed: 71 additions & 51 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"shopify:run": "node packages/cli/bin/dev.js",
3030
"shopify": "nx build cli && node packages/cli/bin/dev.js",
3131
"test:e2e": "nx run-many --target=build --projects=cli,create-app --skip-nx-cache && pnpm --filter e2e exec playwright test",
32+
"test:e2e-cleanup": "pnpm --filter e2e exec tsx scripts/cleanup-stores.ts && pnpm --filter e2e exec tsx scripts/cleanup-apps.ts",
3233
"test:regenerate-snapshots": "packages/e2e/scripts/regenerate-snapshots.sh",
3334
"test": "pnpm vitest run",
3435
"type-check:affected": "nx affected --target=type-check",
@@ -181,7 +182,8 @@
181182
"esbuild"
182183
],
183184
"ignore": [
184-
"configurations/vite.config.ts"
185+
"configurations/vite.config.ts",
186+
"packages/e2e/scripts/**"
185187
]
186188
},
187189
"packages/app": {

packages/e2e/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"dotenv": "16.4.7",
3737
"execa": "^7.2.0",
3838
"node-pty": "^1.0.0",
39-
"strip-ansi": "^7.1.0"
39+
"strip-ansi": "^7.1.0",
40+
"tsx": "^4.21.0"
4041
},
4142
"engines": {
4243
"node": ">=20.10.0"

0 commit comments

Comments
 (0)