Skip to content

Commit 8b2ca3d

Browse files
authored
Merge pull request #214 from Shopify/order-routing-js-template
add js/ts template for order-routing-location-rule
2 parents 23a36f0 + 6c0315c commit 8b2ca3d

File tree

7 files changed

+3419
-0
lines changed

7 files changed

+3419
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
generated
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
query Input {
2+
fulfillmentGroups {
3+
id
4+
inventoryLocations {
5+
location {
6+
id
7+
}
8+
}
9+
}
10+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "{{name}}",
3+
"version": "0.0.1",
4+
"license": "UNLICENSED",
5+
"scripts": {
6+
"shopify": "npm exec -- shopify",
7+
"typegen": "npm exec -- shopify app function typegen",
8+
"build": "npm exec -- shopify app function build",
9+
"preview": "npm exec -- shopify app function run",
10+
"test": "vitest"
11+
},
12+
"codegen": {
13+
"schema": "schema.graphql",
14+
"documents": "input.graphql",
15+
"generates": {
16+
"./generated/api.ts": {
17+
"plugins": [
18+
"typescript",
19+
"typescript-operations"
20+
]
21+
}
22+
}
23+
},
24+
"devDependencies": {
25+
"vitest": "^0.29.8"
26+
}
27+
}

0 commit comments

Comments
 (0)