shopify 3.93.2 → 3.94.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +51 -0
- package/dist/assets/dev-console/index.html +1 -1
- package/dist/assets/hydrogen/starter/CHANGELOG.md +0 -64
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +2 -4
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +3 -6
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +23 -117
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +3 -3
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +4 -24
- package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +53 -14
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +4 -11
- package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +14 -0
- package/dist/assets/hydrogen/starter/package.json +5 -5
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +11 -0
- package/dist/assets/hydrogen/starter/vite.config.ts +1 -1
- package/dist/assets/hydrogen/vite/vite.config.js +1 -1
- package/dist/{chunk-5FCKEHCK.js → chunk-3CRQIN6A.js} +154 -154
- package/dist/{chunk-4VZV4LQX.js → chunk-3TG7H626.js} +66 -66
- package/dist/chunk-52KHWFYF.js +1 -0
- package/dist/{chunk-IG47ZDRU.js → chunk-6OKIHCZG.js} +1 -1
- package/dist/chunk-7FYGRWMW.js +415 -0
- package/dist/{chunk-MX6WWR5F.js → chunk-D24XVLOA.js} +16 -16
- package/dist/chunk-EU23C3Y3.js +3 -0
- package/dist/chunk-FU2Y2M3M.js +5 -0
- package/dist/chunk-JBSYWYIP.js +2 -0
- package/dist/chunk-QYR5VPQA.js +4 -0
- package/dist/{chunk-XVFYDYZA.js → chunk-SVA22NZQ.js} +209 -211
- package/dist/cli/commands/config/autoupgrade/constants.d.ts +5 -0
- package/dist/cli/commands/config/autoupgrade/constants.js +6 -0
- package/dist/cli/commands/config/autoupgrade/off.d.ts +7 -0
- package/dist/cli/commands/config/autoupgrade/off.js +22 -0
- package/dist/cli/commands/config/autoupgrade/on.d.ts +7 -0
- package/dist/cli/commands/config/autoupgrade/on.js +22 -0
- package/dist/cli/commands/config/autoupgrade/status.d.ts +7 -0
- package/dist/cli/commands/config/autoupgrade/status.js +30 -0
- package/dist/cli/commands/docs/generate.d.ts +1 -1
- package/dist/cli/commands/docs/generate.js +6 -3
- package/dist/cli/commands/upgrade.js +3 -1
- package/dist/cli/services/kitchen-sink/static.js +1 -1
- package/dist/configs/all.yml +3 -0
- package/dist/configs/recommended.yml +3 -0
- package/dist/data/filters.json +30 -0
- package/dist/data/objects.json +17 -1
- package/dist/data/setting.json +25 -0
- package/dist/data/shopify_system_translations.json +29 -6
- package/dist/error-handler-YQEGKTYS.js +1 -0
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/{http-proxy-node16-DSQMBVDI.js → http-proxy-node16-TTURN6MD.js} +1 -1
- package/dist/index.js +1117 -1121
- package/dist/lib-3WHF5XD3.js +1 -0
- package/dist/{local-WHQ3ZS4K.js → local-J5FE2ICC.js} +1 -1
- package/dist/{morph-Q32V442A.js → morph-DQREIZD2.js} +1 -1
- package/dist/node-package-manager-AKAMTDCS.js +1 -0
- package/dist/path-HUAU3YBW.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-GZ7DOSHP.js → ui-65JEOETJ.js} +1 -1
- package/dist/{workerd-LJU6AVMQ.js → workerd-2QD5AUPI.js} +1 -1
- package/oclif.manifest.json +65 -4
- package/package.json +8 -7
- package/dist/assets/dev-console/extensions/dev-console/assets/index-BnXVL6nA.js +0 -78
- package/dist/chunk-4QL77VYJ.js +0 -415
- package/dist/chunk-DDTYWTF2.js +0 -1
- package/dist/chunk-FYQIRCLV.js +0 -5
- package/dist/chunk-NOSKVZWJ.js +0 -2
- package/dist/chunk-QJEBL3WX.js +0 -4
- package/dist/cli/commands/store/auth.d.ts +0 -15
- package/dist/cli/commands/store/auth.js +0 -46
- package/dist/cli/commands/store/execute.d.ts +0 -21
- package/dist/cli/commands/store/execute.js +0 -89
- package/dist/cli/services/store/auth/callback.d.ts +0 -8
- package/dist/cli/services/store/auth/callback.js +0 -140
- package/dist/cli/services/store/auth/config.d.ts +0 -6
- package/dist/cli/services/store/auth/config.js +0 -15
- package/dist/cli/services/store/auth/existing-scopes.d.ts +0 -5
- package/dist/cli/services/store/auth/existing-scopes.js +0 -40
- package/dist/cli/services/store/auth/index.d.ts +0 -18
- package/dist/cli/services/store/auth/index.js +0 -88
- package/dist/cli/services/store/auth/pkce.d.ts +0 -36
- package/dist/cli/services/store/auth/pkce.js +0 -49
- package/dist/cli/services/store/auth/recovery.d.ts +0 -4
- package/dist/cli/services/store/auth/recovery.js +0 -17
- package/dist/cli/services/store/auth/result.d.ts +0 -24
- package/dist/cli/services/store/auth/result.js +0 -39
- package/dist/cli/services/store/auth/scopes.d.ts +0 -4
- package/dist/cli/services/store/auth/scopes.js +0 -53
- package/dist/cli/services/store/auth/session-lifecycle.d.ts +0 -3
- package/dist/cli/services/store/auth/session-lifecycle.js +0 -69
- package/dist/cli/services/store/auth/session-store.d.ts +0 -32
- package/dist/cli/services/store/auth/session-store.js +0 -127
- package/dist/cli/services/store/auth/token-client.d.ts +0 -40
- package/dist/cli/services/store/auth/token-client.js +0 -95
- package/dist/cli/services/store/execute/admin-context.d.ts +0 -11
- package/dist/cli/services/store/execute/admin-context.js +0 -41
- package/dist/cli/services/store/execute/admin-transport.d.ts +0 -6
- package/dist/cli/services/store/execute/admin-transport.js +0 -42
- package/dist/cli/services/store/execute/index.d.ts +0 -13
- package/dist/cli/services/store/execute/index.js +0 -22
- package/dist/cli/services/store/execute/request.d.ts +0 -21
- package/dist/cli/services/store/execute/request.js +0 -88
- package/dist/cli/services/store/execute/result.d.ts +0 -3
- package/dist/cli/services/store/execute/result.js +0 -29
- package/dist/cli/services/store/execute/targets.d.ts +0 -18
- package/dist/cli/services/store/execute/targets.js +0 -21
- package/dist/error-handler-GZ2I7BG5.js +0 -1
- package/dist/lib-GGVLMXY5.js +0 -1
- package/dist/node-package-manager-6XMPTNUI.js +0 -1
- package/dist/path-IT7KPARG.js +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type {Route} from './+types/api.$version.[graphql.json]';
|
|
2
|
+
|
|
3
|
+
export async function action({params, context, request}: Route.ActionArgs) {
|
|
4
|
+
const response = await fetch(
|
|
5
|
+
`https://${context.env.PUBLIC_CHECKOUT_DOMAIN}/api/${params.version}/graphql.json`,
|
|
6
|
+
{
|
|
7
|
+
method: 'POST',
|
|
8
|
+
body: request.body,
|
|
9
|
+
headers: request.headers,
|
|
10
|
+
},
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
return new Response(response.body, {headers: new Headers(response.headers)});
|
|
14
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "skeleton",
|
|
3
3
|
"private": true,
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "2026.
|
|
5
|
+
"version": "2026.1.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "shopify hydrogen build --codegen",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"prettier": "@shopify/prettier-config",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@shopify/hydrogen": "2026.
|
|
17
|
+
"@shopify/hydrogen": "*2026.1.1",
|
|
18
18
|
"graphql": "^16.10.0",
|
|
19
19
|
"graphql-tag": "^2.12.6",
|
|
20
20
|
"isbot": "^5.1.22",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@graphql-codegen/cli": "5.0.2",
|
|
31
31
|
"@react-router/dev": "7.12.0",
|
|
32
32
|
"@react-router/fs-routes": "7.12.0",
|
|
33
|
-
"@shopify/cli": "3.
|
|
33
|
+
"@shopify/cli": "3.85.4",
|
|
34
34
|
"@shopify/hydrogen-codegen": "0.3.3",
|
|
35
|
-
"@shopify/mini-oxygen": "4.0.
|
|
35
|
+
"@shopify/mini-oxygen": "4.0.1",
|
|
36
36
|
"@shopify/oxygen-workers-types": "^4.1.6",
|
|
37
37
|
"@shopify/prettier-config": "^1.1.2",
|
|
38
38
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"graphql-config": "^5.0.3",
|
|
55
55
|
"prettier": "^3.4.2",
|
|
56
56
|
"typescript": "^5.9.2",
|
|
57
|
-
"vite": "^6.4
|
|
57
|
+
"vite": "^6.2.4",
|
|
58
58
|
"vite-tsconfig-paths": "^4.3.1"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
@@ -377,6 +377,13 @@ export type FooterQuery = {
|
|
|
377
377
|
>;
|
|
378
378
|
};
|
|
379
379
|
|
|
380
|
+
export type StoreRobotsQueryVariables = StorefrontAPI.Exact<{
|
|
381
|
+
country?: StorefrontAPI.InputMaybe<StorefrontAPI.CountryCode>;
|
|
382
|
+
language?: StorefrontAPI.InputMaybe<StorefrontAPI.LanguageCode>;
|
|
383
|
+
}>;
|
|
384
|
+
|
|
385
|
+
export type StoreRobotsQuery = {shop: Pick<StorefrontAPI.Shop, 'id'>};
|
|
386
|
+
|
|
380
387
|
export type FeaturedCollectionFragment = Pick<
|
|
381
388
|
StorefrontAPI.Collection,
|
|
382
389
|
'id' | 'title' | 'handle'
|
|
@@ -1276,6 +1283,10 @@ interface GeneratedQueryTypes {
|
|
|
1276
1283
|
return: FooterQuery;
|
|
1277
1284
|
variables: FooterQueryVariables;
|
|
1278
1285
|
};
|
|
1286
|
+
'#graphql\n query StoreRobots($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n shop {\n id\n }\n }\n': {
|
|
1287
|
+
return: StoreRobotsQuery;
|
|
1288
|
+
variables: StoreRobotsQueryVariables;
|
|
1289
|
+
};
|
|
1279
1290
|
'#graphql\n fragment FeaturedCollection on Collection {\n id\n title\n image {\n id\n url\n altText\n width\n height\n }\n handle\n }\n query FeaturedCollection($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first: 1, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...FeaturedCollection\n }\n }\n }\n': {
|
|
1280
1291
|
return: FeaturedCollectionQuery;
|
|
1281
1292
|
variables: FeaturedCollectionQueryVariables;
|
|
@@ -8,7 +8,7 @@ export default defineConfig({
|
|
|
8
8
|
plugins: [hydrogen(), oxygen(), reactRouter(), tsconfigPaths()],
|
|
9
9
|
build: {
|
|
10
10
|
// Allow a strict Content-Security-Policy
|
|
11
|
-
//
|
|
11
|
+
// withtout inlining assets as base64:
|
|
12
12
|
assetsInlineLimit: 0,
|
|
13
13
|
},
|
|
14
14
|
ssr: {
|