Skip to content

Commit 505f1a0

Browse files
committed
Delete nx test tasks
1 parent 817bf4b commit 505f1a0

File tree

20 files changed

+10
-170
lines changed

20 files changed

+10
-170
lines changed

dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ commands:
4242
run: pnpm run clean
4343
test:
4444
desc: 'Runs the tests'
45-
run: pnpm run test:affected
45+
run: pnpm run test:unit
4646
build:
4747
desc: 'Build the project'
4848
run: pnpm run build:affected

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"post-release": "./bin/post-release",
3030
"shopify:run": "node packages/cli/bin/dev.js",
3131
"shopify": "nx build cli && node packages/cli/bin/dev.js",
32-
"test:affected": "nx affected --target=test",
3332
"test:features": "pnpm nx run features:test",
3433
"test:regenerate-snapshots": "nx build cli && packages/features/snapshots/regenerate.sh",
3534
"test:unit": "pnpm vitest run",

packages/app/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
"lint": "nx lint",
3939
"lint:fix": "nx lint:fix",
4040
"prepack": "NODE_ENV=production pnpm nx build && cp ../../README.md README.md",
41-
"test": "nx run app:test",
42-
"test:coverage": "nx test:coverage",
43-
"test:watch": "nx test:watch",
41+
"vitest": "vitest",
4442
"type-check": "nx type-check"
4543
},
4644
"eslintConfig": {

packages/app/project.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,6 @@
3636
"cwd": "packages/app"
3737
}
3838
},
39-
"test": {
40-
"executor": "nx:run-commands",
41-
"options": {
42-
"command": "pnpm vitest run",
43-
"cwd": "packages/app"
44-
}
45-
},
46-
"test:coverage": {
47-
"executor": "nx:run-commands",
48-
"options": {
49-
"command": "pnpm vitest run --reporter json --coverage --outputFile ./coverage/report.json",
50-
"cwd": "packages/app"
51-
}
52-
},
53-
"test:watch": {
54-
"executor": "nx:run-commands",
55-
"options": {
56-
"command": "pnpm vitest watch",
57-
"cwd": "packages/app"
58-
}
59-
},
6039
"type-check": {
6140
"executor": "nx:run-commands",
6241
"options": {

packages/cli-kit/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
"lint": "nx lint",
5353
"lint:fix": "nx lint:fix",
5454
"prepack": "NODE_ENV=production pnpm nx build && cp ../../README.md README.md",
55-
"test": "nx test",
56-
"test:coverage": "nx test:coverage",
57-
"test:watch": "nx test:watch",
55+
"vitest": "vitest",
5856
"type-check": "nx type-check",
5957
"refresh-code-documentation": "nx refresh-code-documentation"
6058
},

packages/cli-kit/project.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,27 +61,6 @@
6161
"cwd": "packages/cli-kit"
6262
}
6363
},
64-
"test": {
65-
"executor": "nx:run-commands",
66-
"options": {
67-
"command": "pnpm vitest run",
68-
"cwd": "packages/cli-kit"
69-
}
70-
},
71-
"test:coverage": {
72-
"executor": "nx:run-commands",
73-
"options": {
74-
"command": "pnpm vitest run --reporter json --coverage --outputFile ./coverage/report.json",
75-
"cwd": "packages/cli-kit"
76-
}
77-
},
78-
"test:watch": {
79-
"executor": "nx:run-commands",
80-
"options": {
81-
"command": "pnpm vitest watch",
82-
"cwd": "packages/cli-kit"
83-
}
84-
},
8564
"type-check": {
8665
"executor": "nx:run-commands",
8766
"options": {

packages/cli/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
"lint": "nx lint",
4848
"lint:fix": "nx lint:fix",
4949
"prepack": "NODE_ENV=production node ../../bin/update-bugsnag cli && cp ../../README.md README.md",
50-
"test": "nx run cli:test",
51-
"test:coverage": "nx test:coverage",
52-
"test:watch": "nx test:watch",
50+
"vitest": "vitest",
5351
"type-check": "nx type-check"
5452
},
5553
"eslintConfig": {

packages/cli/project.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,6 @@
4343
"cwd": "packages/cli"
4444
}
4545
},
46-
"test": {
47-
"executor": "nx:run-commands",
48-
"options": {
49-
"command": "pnpm vitest run",
50-
"cwd": "packages/cli"
51-
}
52-
},
53-
"test:coverage": {
54-
"executor": "nx:run-commands",
55-
"options": {
56-
"command": "pnpm vitest run --reporter json --coverage --outputFile ./coverage/report.json",
57-
"cwd": "packages/cli"
58-
}
59-
},
60-
"test:watch": {
61-
"executor": "nx:run-commands",
62-
"options": {
63-
"command": "pnpm vitest watch",
64-
"cwd": "packages/cli"
65-
}
66-
},
6746
"type-check": {
6847
"executor": "nx:run-commands",
6948
"options": {

packages/create-app/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"lint": "nx lint",
4747
"lint:fix": "nx lint:fix",
4848
"prepack": "NODE_ENV=production node ../../bin/update-bugsnag create-app && cp ../../README.md README.md",
49-
"test": "nx run create-app:test",
50-
"test:watch": "nx test:watch",
49+
"vitest": "vitest",
5150
"type-check": "nx type-check"
5251
},
5352
"eslintConfig": {

packages/create-app/project.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@
4343
"cwd": "packages/create-app"
4444
}
4545
},
46-
"test": {
47-
"executor": "nx:run-commands",
48-
"options": {
49-
"command": "pnpm vitest run",
50-
"cwd": "packages/create-app"
51-
}
52-
},
53-
"test:watch": {
54-
"executor": "nx:run-commands",
55-
"options": {
56-
"command": "pnpm vitest watch",
57-
"cwd": "packages/create-app"
58-
}
59-
},
6046
"type-check": {
6147
"executor": "nx:run-commands",
6248
"options": {

0 commit comments

Comments
 (0)