-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add template code for multi-class discounts
- Loading branch information
1 parent
2ae226e
commit c3da6f0
Showing
23 changed files
with
13,928 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
generated |
4 changes: 4 additions & 0 deletions
4
discounts/javascript/discounts/default/locales/en.default.json.liquid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "{{name}}", | ||
"description": "{{name}}" | ||
} |
30 changes: 30 additions & 0 deletions
30
discounts/javascript/discounts/default/package.json.liquid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "{{handle}}", | ||
"version": "0.0.1", | ||
"license": "UNLICENSED", | ||
"scripts": { | ||
"shopify": "npm exec -- shopify", | ||
"typegen": "npm exec -- shopify app function typegen", | ||
"build": "npm exec -- shopify app function build", | ||
"preview": "npm exec -- shopify app function run", | ||
"test": "vitest" | ||
}, | ||
"codegen": { | ||
"schema": "schema.graphql", | ||
"documents": "src/*.graphql", | ||
"generates": { | ||
"./generated/api.ts": { | ||
"plugins": [ | ||
"typescript", | ||
"typescript-operations" | ||
] | ||
} | ||
}, | ||
"config": { | ||
"omitOperationSuffix": true | ||
} | ||
}, | ||
"devDependencies": { | ||
"vitest": "^0.29.8" | ||
} | ||
} |
Oops, something went wrong.