@shopify/cli 3.80.2 → 3.80.4
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/hydrogen/starter/.cursor/rules/hydrogen-react-router.mdc +50 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +63 -40
- package/dist/assets/hydrogen/starter/app/components/AddToCartButton.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/Footer.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/SearchForm.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/SearchFormPredictive.tsx +1 -6
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/entry.client.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/entry.server.tsx +9 -4
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +1 -1
- package/dist/assets/hydrogen/starter/app/root.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +4 -4
- package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -7
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +14 -0
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +7 -2
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes.ts +2 -2
- package/dist/assets/hydrogen/starter/env.d.ts +12 -2
- package/dist/assets/hydrogen/starter/eslint.config.js +2 -0
- package/dist/assets/hydrogen/starter/package.json +11 -12
- package/dist/assets/hydrogen/starter/react-router.config.ts +7 -0
- package/dist/assets/hydrogen/starter/server.ts +2 -5
- package/dist/assets/hydrogen/starter/tsconfig.json +18 -6
- package/dist/assets/hydrogen/starter/vite.config.ts +2 -23
- package/dist/assets/hydrogen/tailwind/package.json +4 -1
- package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/layout.jsx +1 -7
- package/dist/assets/hydrogen/virtual-routes/routes/index.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/routes/subrequest-profiler.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/virtual-root-with-layout.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/virtual-root.jsx +1 -1
- package/dist/assets/hydrogen/vite/vite.config.js +1 -1
- package/dist/{chunk-DOBXMM33.js → chunk-22KQHOXJ.js} +2 -2
- package/dist/{chunk-LSS7RKE5.js → chunk-3DDKTA7S.js} +4 -4
- package/dist/{chunk-5QY6PIXL.js → chunk-3WZJKL5I.js} +2 -2
- package/dist/{chunk-6D5FAXPI.js → chunk-4DKJ765Z.js} +4 -4
- package/dist/{chunk-ZUCWDIGE.js → chunk-57Q6OQG4.js} +2 -2
- package/dist/{chunk-N4S4LVBN.js → chunk-72EQI7B6.js} +2 -2
- package/dist/{chunk-NBZV5TLE.js → chunk-A3FV2Y5F.js} +298 -481
- package/dist/{chunk-WYY5EJJ4.js → chunk-AKFTTMP7.js} +2 -2
- package/dist/{chunk-KXHYVBE7.js → chunk-D7FVBSG2.js} +2 -2
- package/dist/{chunk-ZUPUZB5E.js → chunk-DTZTWKIB.js} +3 -3
- package/dist/{chunk-Z5SR6RSK.js → chunk-EBDVIUOD.js} +7 -7
- package/dist/{chunk-SBI2O7OA.js → chunk-EV63EJKX.js} +3 -3
- package/dist/{chunk-VO4QHHT5.js → chunk-FE76VMCW.js} +3 -3
- package/dist/{chunk-USCL7RU6.js → chunk-FOC6QQ3Z.js} +7 -7
- package/dist/{chunk-YKGJG5NV.js → chunk-FTFP354F.js} +4 -4
- package/dist/{chunk-P3TB2SEC.js → chunk-G6KVL4TS.js} +4 -4
- package/dist/{chunk-2IZLMFQP.js → chunk-HDXBAFR4.js} +4 -4
- package/dist/{chunk-6QZPI7VX.js → chunk-HJMWM6XE.js} +5 -5
- package/dist/{chunk-3RLUCO75.js → chunk-HTPOBJEV.js} +5 -5
- package/dist/{chunk-TN2FKTOD.js → chunk-IRKPDUZE.js} +6 -6
- package/dist/{chunk-VE3Y2LOL.js → chunk-JHJEXKDW.js} +2 -2
- package/dist/{chunk-ECCBPHFN.js → chunk-JJMWQP2L.js} +5 -5
- package/dist/{chunk-JHPOVV6S.js → chunk-JR36QMOU.js} +6 -6
- package/dist/{chunk-ACD7OYBN.js → chunk-MIJF5LNA.js} +4 -4
- package/dist/{chunk-YS7IILO5.js → chunk-MJBSMK2E.js} +3 -3
- package/dist/{chunk-GT5A5BQA.js → chunk-NJDE4VHA.js} +3 -3
- package/dist/{chunk-5OVYR4FU.js → chunk-NPWBOQKI.js} +3 -3
- package/dist/{chunk-3XFGY3UH.js → chunk-NRAZQETL.js} +3 -3
- package/dist/{chunk-XEESJLXB.js → chunk-QXOOIYRJ.js} +2 -2
- package/dist/{chunk-UK4Z4LHC.js → chunk-RPVZXBFY.js} +4 -4
- package/dist/{chunk-MWSDIOYX.js → chunk-RTFBL435.js} +3 -3
- package/dist/{chunk-QGWSGS2C.js → chunk-Z4ZLMWHP.js} +6 -6
- package/dist/{chunk-Q3VYFTPI.js → chunk-Z7RQZ537.js} +3 -3
- package/dist/{chunk-LNQMCTHE.js → chunk-ZMQFWHEX.js} +5 -5
- package/dist/{chunk-ZUMJTXNY.js → chunk-ZVMNEYFH.js} +3 -3
- package/dist/cli/commands/auth/logout.js +12 -12
- package/dist/cli/commands/auth/logout.test.js +13 -13
- package/dist/cli/commands/cache/clear.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +11 -11
- package/dist/cli/commands/docs/generate.js +11 -11
- package/dist/cli/commands/docs/generate.test.js +11 -11
- package/dist/cli/commands/help.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.js +12 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.js +14 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
- package/dist/cli/commands/notifications/generate.js +12 -12
- package/dist/cli/commands/notifications/list.js +12 -12
- package/dist/cli/commands/search.js +12 -12
- package/dist/cli/commands/upgrade.js +12 -12
- package/dist/cli/commands/version.js +12 -12
- package/dist/cli/commands/version.test.js +12 -12
- package/dist/cli/services/commands/notifications.js +7 -7
- package/dist/cli/services/commands/search.js +3 -3
- package/dist/cli/services/commands/search.test.js +3 -3
- package/dist/cli/services/commands/version.js +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/kitchen-sink/async.js +3 -3
- package/dist/cli/services/kitchen-sink/prompts.js +3 -3
- package/dist/cli/services/kitchen-sink/static.js +3 -3
- package/dist/cli/services/upgrade.js +4 -4
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-MHHSG7KE.js → custom-oclif-loader-FJYCRCHY.js} +3 -3
- package/dist/{error-handler-UIIZ6WY4.js → error-handler-ZFOBG3KZ.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +756 -1117
- package/dist/{local-U7P6SLN7.js → local-7CUVJHVC.js} +3 -3
- package/dist/{morph-EB6ON4RE.js → morph-EKLK7JWU.js} +9 -9
- package/dist/{node-package-manager-VJYZODW2.js → node-package-manager-KJ2WBUZP.js} +4 -4
- package/dist/{path-GWAZZN2N.js → path-2K5HIMHZ.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-WCKYO4TM.js → ui-5JYYJU2R.js} +3 -3
- package/dist/{workerd-EVZOUIC3.js → workerd-GXYWGSKC.js} +14 -14
- package/oclif.manifest.json +5 -26
- package/package.json +7 -7
- package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +0 -921
- package/dist/chunk-NOSVFQH5.js +0 -107
- package/dist/node-MTMGWWAZ.js +0 -166
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {type LoaderFunctionArgs} from '@shopify/remix-oxygen';
|
|
2
|
-
import {useLoaderData, Link} from '
|
|
2
|
+
import { useLoaderData, Link } from 'react-router';
|
|
3
3
|
|
|
4
4
|
export async function loader({context}: LoaderFunctionArgs) {
|
|
5
5
|
const data = await context.storefront.query(POLICIES_QUERY);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
type LoaderFunctionArgs,
|
|
3
3
|
type ActionFunctionArgs,
|
|
4
4
|
} from '@shopify/remix-oxygen';
|
|
5
|
-
import {useLoaderData, type MetaFunction} from '
|
|
5
|
+
import { useLoaderData, type MetaFunction } from 'react-router';
|
|
6
6
|
import {getPaginationVariables, Analytics} from '@shopify/hydrogen';
|
|
7
7
|
import {SearchForm} from '~/components/SearchForm';
|
|
8
8
|
import {SearchResults} from '~/components/SearchResults';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {flatRoutes} from '@
|
|
2
|
-
import {type RouteConfig} from '@
|
|
1
|
+
import {flatRoutes} from '@react-router/fs-routes';
|
|
2
|
+
import {type RouteConfig} from '@react-router/dev/routes';
|
|
3
3
|
import {hydrogenRoutes} from '@shopify/hydrogen';
|
|
4
4
|
|
|
5
5
|
export default hydrogenRoutes([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="vite/client" />
|
|
2
|
-
/// <reference types="
|
|
2
|
+
/// <reference types="react-router" />
|
|
3
3
|
/// <reference types="@shopify/oxygen-workers-types" />
|
|
4
4
|
|
|
5
5
|
// Enhance TypeScript's built-in typings.
|
|
@@ -23,12 +23,22 @@ declare global {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
declare module '
|
|
26
|
+
declare module 'react-router' {
|
|
27
27
|
interface AppLoadContext
|
|
28
28
|
extends Awaited<ReturnType<typeof createAppLoadContext>> {
|
|
29
29
|
// to change context type, change the return of createAppLoadContext() instead
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
// TODO: remove this once we've migrated our loaders to `Route.LoaderArgs`
|
|
33
|
+
interface LoaderFunctionArgs {
|
|
34
|
+
context: AppLoadContext;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// TODO: remove this once we've migrated our loaders to `Route.ActionArgs`
|
|
38
|
+
interface ActionFunctionArgs {
|
|
39
|
+
context: AppLoadContext;
|
|
40
|
+
}
|
|
41
|
+
|
|
32
42
|
interface SessionData extends HydrogenSessionData {
|
|
33
43
|
// declare local additions to the Remix session data here
|
|
34
44
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "skeleton",
|
|
3
3
|
"private": true,
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "2025.
|
|
5
|
+
"version": "2025.5.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "shopify hydrogen build --codegen",
|
|
@@ -14,31 +14,29 @@
|
|
|
14
14
|
},
|
|
15
15
|
"prettier": "@shopify/prettier-config",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@
|
|
18
|
-
"@remix-
|
|
17
|
+
"@shopify/hydrogen": "2025.5.0",
|
|
18
|
+
"@shopify/remix-oxygen": "^3.0.0",
|
|
19
19
|
"graphql": "^16.10.0",
|
|
20
|
-
"@shopify/hydrogen": "2025.1.4",
|
|
21
|
-
"@shopify/remix-oxygen": "^2.0.12",
|
|
22
20
|
"graphql-tag": "^2.12.6",
|
|
23
21
|
"isbot": "^5.1.22",
|
|
24
22
|
"react": "^18.2.0",
|
|
25
|
-
"react-dom": "^18.2.0"
|
|
23
|
+
"react-dom": "^18.2.0",
|
|
24
|
+
"react-router": "7.6.0",
|
|
25
|
+
"react-router-dom": "7.6.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@eslint/compat": "^1.2.5",
|
|
29
29
|
"@eslint/eslintrc": "^3.2.0",
|
|
30
30
|
"@eslint/js": "^9.18.0",
|
|
31
31
|
"@graphql-codegen/cli": "5.0.2",
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@shopify/cli": "~3.78.1",
|
|
32
|
+
"@react-router/dev": "7.6.0",
|
|
33
|
+
"@react-router/fs-routes": "7.6.0",
|
|
34
|
+
"@shopify/cli": "~3.79.2",
|
|
36
35
|
"@shopify/hydrogen-codegen": "^0.3.3",
|
|
37
36
|
"@shopify/mini-oxygen": "^3.2.1",
|
|
38
37
|
"@shopify/oxygen-workers-types": "^4.1.6",
|
|
39
38
|
"@shopify/prettier-config": "^1.1.2",
|
|
40
39
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
41
|
-
"prettier": "^3.4.2",
|
|
42
40
|
"@types/eslint": "^9.6.1",
|
|
43
41
|
"@types/react": "^18.2.22",
|
|
44
42
|
"@types/react-dom": "^18.2.7",
|
|
@@ -54,6 +52,7 @@
|
|
|
54
52
|
"eslint-plugin-react": "^7.37.4",
|
|
55
53
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
56
54
|
"globals": "^15.14.0",
|
|
55
|
+
"prettier": "^3.4.2",
|
|
57
56
|
"typescript": "^5.2.2",
|
|
58
57
|
"vite": "^6.2.4",
|
|
59
58
|
"vite-tsconfig-paths": "^4.3.1"
|
|
@@ -61,4 +60,4 @@
|
|
|
61
60
|
"engines": {
|
|
62
61
|
"node": ">=18.0.0"
|
|
63
62
|
}
|
|
64
|
-
}
|
|
63
|
+
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// Virtual entry point for the app
|
|
2
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3
|
-
// @ts-ignore
|
|
4
|
-
// eslint-disable-next-line import/no-unresolved
|
|
5
|
-
import * as remixBuild from 'virtual:remix/server-build';
|
|
6
2
|
import {storefrontRedirect} from '@shopify/hydrogen';
|
|
7
3
|
import {createRequestHandler} from '@shopify/remix-oxygen';
|
|
8
4
|
import {createAppLoadContext} from '~/lib/context';
|
|
@@ -28,7 +24,8 @@ export default {
|
|
|
28
24
|
* Hydrogen's Storefront client to the loader context.
|
|
29
25
|
*/
|
|
30
26
|
const handleRequest = createRequestHandler({
|
|
31
|
-
|
|
27
|
+
// eslint-disable-next-line import/no-unresolved
|
|
28
|
+
build: await import('virtual:react-router/server-build'),
|
|
32
29
|
mode: process.env.NODE_ENV,
|
|
33
30
|
getLoadContext: () => appLoadContext,
|
|
34
31
|
});
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"include": [
|
|
2
|
+
"include": [
|
|
3
|
+
"./**/*.d.ts",
|
|
4
|
+
"./**/*.ts",
|
|
5
|
+
"./**/*.tsx",
|
|
6
|
+
".react-router/types/**/*"
|
|
7
|
+
],
|
|
3
8
|
"compilerOptions": {
|
|
4
|
-
"lib": [
|
|
9
|
+
"lib": [
|
|
10
|
+
"DOM",
|
|
11
|
+
"DOM.Iterable",
|
|
12
|
+
"ES2022"
|
|
13
|
+
],
|
|
5
14
|
"isolatedModules": true,
|
|
6
15
|
"esModuleInterop": true,
|
|
7
16
|
"jsx": "react-jsx",
|
|
@@ -16,12 +25,15 @@
|
|
|
16
25
|
"baseUrl": ".",
|
|
17
26
|
"types": [
|
|
18
27
|
"@shopify/oxygen-workers-types",
|
|
19
|
-
"
|
|
28
|
+
"react-router",
|
|
20
29
|
"vite/client"
|
|
21
30
|
],
|
|
22
31
|
"paths": {
|
|
23
|
-
"~/*": [
|
|
32
|
+
"~/*": [
|
|
33
|
+
"app/*"
|
|
34
|
+
]
|
|
24
35
|
},
|
|
25
|
-
"noEmit": true
|
|
36
|
+
"noEmit": true,
|
|
37
|
+
"rootDirs": [".", "./.react-router/types"]
|
|
26
38
|
}
|
|
27
|
-
}
|
|
39
|
+
}
|
|
@@ -1,32 +1,11 @@
|
|
|
1
1
|
import {defineConfig} from 'vite';
|
|
2
2
|
import {hydrogen} from '@shopify/hydrogen/vite';
|
|
3
3
|
import {oxygen} from '@shopify/mini-oxygen/vite';
|
|
4
|
-
import {
|
|
4
|
+
import {reactRouter} from '@react-router/dev/vite';
|
|
5
5
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
6
6
|
|
|
7
|
-
declare module "@remix-run/server-runtime" {
|
|
8
|
-
interface Future {
|
|
9
|
-
v3_singleFetch: true;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
7
|
export default defineConfig({
|
|
14
|
-
plugins: [
|
|
15
|
-
hydrogen(),
|
|
16
|
-
oxygen(),
|
|
17
|
-
remix({
|
|
18
|
-
presets: [hydrogen.v3preset()],
|
|
19
|
-
future: {
|
|
20
|
-
v3_fetcherPersist: true,
|
|
21
|
-
v3_relativeSplatPath: true,
|
|
22
|
-
v3_throwAbortReason: true,
|
|
23
|
-
v3_lazyRouteDiscovery: true,
|
|
24
|
-
v3_routeConfig: true,
|
|
25
|
-
v3_singleFetch: true,
|
|
26
|
-
},
|
|
27
|
-
}),
|
|
28
|
-
tsconfigPaths(),
|
|
29
|
-
],
|
|
8
|
+
plugins: [hydrogen(), oxygen(), reactRouter(), tsconfigPaths()],
|
|
30
9
|
build: {
|
|
31
10
|
// Allow a strict Content-Security-Policy
|
|
32
11
|
// withtout inlining assets as base64:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef } from "react";
|
|
3
|
-
import { Link } from "
|
|
3
|
+
import { Link } from "react-router";
|
|
4
4
|
import { IconClose } from "./IconClose.jsx";
|
|
5
5
|
import _useResizeObserver from "use-resize-observer";
|
|
6
6
|
const useResizeObserver = _useResizeObserver;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useNonce } from "@shopify/hydrogen";
|
|
3
|
-
import {
|
|
4
|
-
Links,
|
|
5
|
-
Meta,
|
|
6
|
-
Outlet,
|
|
7
|
-
Scripts,
|
|
8
|
-
ScrollRestoration
|
|
9
|
-
} from "@remix-run/react";
|
|
3
|
+
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router";
|
|
10
4
|
import { Layout as VirtualLayout } from "./components/Layout.jsx";
|
|
11
5
|
import styles from "./assets/styles.css?url";
|
|
12
6
|
function Layout() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useLoaderData } from "
|
|
2
|
+
import { useLoaderData } from "react-router";
|
|
3
3
|
import { HydrogenLogoBaseBW } from "../components/HydrogenLogoBaseBW.jsx";
|
|
4
4
|
import { HydrogenLogoBaseColor } from "../components/HydrogenLogoBaseColor.jsx";
|
|
5
5
|
import { IconGithub } from "../components/IconGithub.jsx";
|
|
@@ -3,7 +3,7 @@ import { useEffect, useState } from "react";
|
|
|
3
3
|
import { Script } from "@shopify/hydrogen";
|
|
4
4
|
import { RequestWaterfall } from "../components/RequestWaterfall.jsx";
|
|
5
5
|
import { RequestTable } from "../components/RequestTable.jsx";
|
|
6
|
-
import { Link } from "
|
|
6
|
+
import { Link } from "react-router";
|
|
7
7
|
import favicon from "../assets/favicon.svg";
|
|
8
8
|
import faviconDark from "../assets/favicon-dark.svg";
|
|
9
9
|
import { useDebugNetworkServer } from "../lib/useDebugNetworkServer.jsx";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
ScrollRestoration,
|
|
8
8
|
isRouteErrorResponse,
|
|
9
9
|
useRouteError
|
|
10
|
-
} from "
|
|
10
|
+
} from "react-router";
|
|
11
11
|
import favicon from "./assets/favicon.svg";
|
|
12
12
|
import { Layout as VirtualLayout } from "./components/Layout.jsx";
|
|
13
13
|
import { useNonce } from "@shopify/hydrogen";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
ScrollRestoration,
|
|
8
8
|
isRouteErrorResponse,
|
|
9
9
|
useRouteError
|
|
10
|
-
} from "
|
|
10
|
+
} from "react-router";
|
|
11
11
|
import favicon from "./assets/favicon.svg";
|
|
12
12
|
import { Layout as VirtualLayout } from "./components/Layout.jsx";
|
|
13
13
|
import { useNonce } from "@shopify/hydrogen";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZMQFWHEX.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-22KQHOXJ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
list
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HTPOBJEV.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JR36QMOU.js";
|
|
7
7
|
import {
|
|
8
8
|
sendErrorToBugsnag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EBDVIUOD.js";
|
|
10
10
|
import {
|
|
11
11
|
require_lib
|
|
12
12
|
} from "./chunk-5AFYDRV4.js";
|
|
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
|
|
|
49
49
|
export {
|
|
50
50
|
List
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-3DDKTA7S.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JR36QMOU.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
6
|
} from "./chunk-5AFYDRV4.js";
|
|
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
|
|
|
46
46
|
export {
|
|
47
47
|
HelpCommand
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-3WZJKL5I.js.map
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
remove,
|
|
9
9
|
setLastSeenAuthMethod,
|
|
10
10
|
setLastSeenUserIdAfterAuth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JJMWQP2L.js";
|
|
12
12
|
import {
|
|
13
13
|
getPartnersToken,
|
|
14
14
|
nonRandomUUID
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FTFP354F.js";
|
|
16
16
|
import {
|
|
17
17
|
BugError,
|
|
18
18
|
outputContent,
|
|
19
19
|
outputDebug,
|
|
20
20
|
outputToken
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZMQFWHEX.js";
|
|
22
22
|
import {
|
|
23
23
|
init_cjs_shims
|
|
24
24
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
ensureAuthenticatedBusinessPlatform,
|
|
118
118
|
logout
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-4DKJ765Z.js.map
|
|
@@ -40,7 +40,7 @@ var require_commondir = __commonJS({
|
|
|
40
40
|
|
|
41
41
|
// ../cli-kit/dist/public/node/path.js
|
|
42
42
|
init_cjs_shims();
|
|
43
|
-
var import_commondir = __toESM(require_commondir()
|
|
43
|
+
var import_commondir = __toESM(require_commondir());
|
|
44
44
|
import { fileURLToPath } from "url";
|
|
45
45
|
function joinPath(...paths) {
|
|
46
46
|
return join(...paths);
|
|
@@ -108,4 +108,4 @@ export {
|
|
|
108
108
|
sniffForPath,
|
|
109
109
|
sniffForJson
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=chunk-
|
|
111
|
+
//# sourceMappingURL=chunk-57Q6OQG4.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/dist/public/common/version.js
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "3.80.
|
|
7
|
+
var CLI_KIT_VERSION = "3.80.4";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-72EQI7B6.js.map
|