- functions: add codegen config and the downloaded schema.graphql (generated/ ignored) - order-reschedule: add the @preact/signals peer dependency - widget: source moved to widget-src/, minified build in assets (npm run build:widget, also run by predeploy); e2e passes on the minified file Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
716 B
JSON
32 lines
716 B
JSON
{
|
|
"name": "datewise-checkout-guard",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@shopify/shopify_function": "^2.0.1"
|
|
},
|
|
"codegen": {
|
|
"schema": "schema.graphql",
|
|
"documents": "src/*.graphql",
|
|
"generates": {
|
|
"./generated/api.ts": {
|
|
"plugins": [
|
|
"typescript",
|
|
"typescript-operations"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"omitOperationSuffix": true
|
|
}
|
|
}
|
|
}
|