Skip to content

Commit 785c85c

Browse files
committed
Change default behaviour of test script to disable watch mode
1 parent 4fcc01b commit 785c85c

File tree

21 files changed

+42
-21
lines changed

21 files changed

+42
-21
lines changed

checkout/javascript/cart-checkout-validation/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

checkout/javascript/cart-transform/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

checkout/javascript/delivery-customization/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

checkout/javascript/payment-customization/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

discounts/javascript/discount/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

discounts/javascript/discounts-allocator/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

discounts/javascript/order-discounts/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

discounts/javascript/product-discounts/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

discounts/javascript/shipping-discounts/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

order-routing/javascript/fulfillment-constraints/default/package.json.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"typegen": "npm exec -- shopify app function typegen",
88
"build": "npm exec -- shopify app function build",
99
"preview": "npm exec -- shopify app function run",
10-
"test": "vitest"
10+
"test": "vitest run",
11+
"test:watch": "vitest watch"
1112
},
1213
"codegen": {
1314
"schema": "schema.graphql",

0 commit comments

Comments
 (0)