@shopify/cli 3.80.4 → 3.80.6
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 +5 -3
- package/dist/assets/hydrogen/starter/CHANGELOG.md +52 -40
- package/dist/assets/hydrogen/starter/package.json +2 -2
- package/dist/assets/hydrogen/starter/vite.config.ts +1 -1
- package/dist/{chunk-JR36QMOU.js → chunk-23F56LJQ.js} +6 -6
- package/dist/{chunk-NPWBOQKI.js → chunk-2PS2UQAA.js} +3 -3
- package/dist/{chunk-D7FVBSG2.js → chunk-3CBDZFEX.js} +2 -2
- package/dist/{chunk-MIJF5LNA.js → chunk-4VUXI7H6.js} +4 -4
- package/dist/{chunk-JJMWQP2L.js → chunk-5RIR73IP.js} +5 -5
- package/dist/{chunk-DTZTWKIB.js → chunk-65ZFQZTE.js} +3 -3
- package/dist/{chunk-3WZJKL5I.js → chunk-6OYFGNE2.js} +2 -2
- package/dist/{chunk-QXOOIYRJ.js → chunk-72FER6OH.js} +2 -2
- package/dist/{chunk-ZMQFWHEX.js → chunk-7WRUWTUK.js} +6 -6
- package/dist/{chunk-EBDVIUOD.js → chunk-ACFJ6IFW.js} +8 -8
- package/dist/{chunk-AKFTTMP7.js → chunk-ACIWWUHC.js} +2 -2
- package/dist/{chunk-4DKJ765Z.js → chunk-AFDDJCYX.js} +4 -4
- package/dist/{chunk-HTPOBJEV.js → chunk-ALOIYWSW.js} +5 -5
- package/dist/{chunk-NRAZQETL.js → chunk-AMSWTXT7.js} +3 -3
- package/dist/{chunk-MJBSMK2E.js → chunk-BSF6VAN5.js} +3 -3
- package/dist/{chunk-IRKPDUZE.js → chunk-D6ZGKY37.js} +6 -6
- package/dist/{chunk-FTFP354F.js → chunk-DBRMHJ74.js} +5 -5
- package/dist/{chunk-JHJEXKDW.js → chunk-DN2ZP5X3.js} +2 -2
- package/dist/{chunk-FE76VMCW.js → chunk-EZ6BZ5PD.js} +3 -3
- package/dist/{chunk-ZVMNEYFH.js → chunk-FDW7NWC7.js} +4 -4
- package/dist/{chunk-HDXBAFR4.js → chunk-GQTBVMLV.js} +4 -4
- package/dist/{chunk-72EQI7B6.js → chunk-HJNOSZIV.js} +2 -2
- package/dist/{chunk-HJMWM6XE.js → chunk-ICOMCQIW.js} +5 -5
- package/dist/{chunk-RPVZXBFY.js → chunk-IN3MU7YC.js} +4 -4
- package/dist/{chunk-22KQHOXJ.js → chunk-JCVVFO7I.js} +2 -2
- package/dist/{chunk-FOC6QQ3Z.js → chunk-MRTKI7HQ.js} +7 -7
- package/dist/{chunk-3DDKTA7S.js → chunk-NL3YMB4U.js} +4 -4
- package/dist/{chunk-EV63EJKX.js → chunk-O6RFRW32.js} +3 -3
- package/dist/{chunk-A3FV2Y5F.js → chunk-QOJ7MYZZ.js} +98 -83
- package/dist/{chunk-Z7RQZ537.js → chunk-RMON7GVP.js} +3 -3
- package/dist/{chunk-Z4ZLMWHP.js → chunk-UBFTFKE4.js} +6 -6
- package/dist/{chunk-RTFBL435.js → chunk-VUR3GWEO.js} +3 -3
- package/dist/{chunk-G6KVL4TS.js → chunk-Z2BLJB2N.js} +4 -4
- package/dist/{chunk-NJDE4VHA.js → chunk-ZH34MCD3.js} +3 -3
- package/dist/{chunk-57Q6OQG4.js → chunk-ZUCWDIGE.js} +2 -2
- 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-FJYCRCHY.js → custom-oclif-loader-FBD5HO3U.js} +3 -3
- package/dist/{error-handler-ZFOBG3KZ.js → error-handler-Y4QDEH3I.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +126 -117
- package/dist/{local-7CUVJHVC.js → local-US2LLU7Y.js} +3 -3
- package/dist/{morph-EKLK7JWU.js → morph-3VOLMA55.js} +9 -9
- package/dist/{node-package-manager-KJ2WBUZP.js → node-package-manager-ZUD6DL6H.js} +4 -4
- package/dist/{path-2K5HIMHZ.js → path-GWAZZN2N.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5JYYJU2R.js → ui-LKBRSHMZ.js} +3 -3
- package/dist/{workerd-GXYWGSKC.js → workerd-LF2ZHPL2.js} +14 -14
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
3
|
-
globs:
|
|
4
|
-
alwaysApply:
|
|
2
|
+
description:
|
|
3
|
+
globs:
|
|
4
|
+
alwaysApply: true
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# React Router Import Rule for Hydrogen
|
|
@@ -29,6 +29,8 @@ When you see imports from Remix packages, replace them with their equivalent Rea
|
|
|
29
29
|
| `@remix-run/server-runtime` | `react-router` |
|
|
30
30
|
| `@remix-run/testing` | `react-router` |
|
|
31
31
|
|
|
32
|
+
NEVER USE 'react-router-dom' imports!
|
|
33
|
+
|
|
32
34
|
## Common Import Examples
|
|
33
35
|
|
|
34
36
|
```js
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# skeleton
|
|
2
2
|
|
|
3
|
+
## 2025.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixing the skeleton's Vite Config ([#2958](https://github.com/Shopify/hydrogen/pull/2958)) by [@balazsbajorics](https://github.com/balazsbajorics)
|
|
8
|
+
|
|
9
|
+
## 2025.5.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Bumping the cli to 3.80.4 ([#2956](https://github.com/Shopify/hydrogen/pull/2956)) by [@balazsbajorics](https://github.com/balazsbajorics)
|
|
14
|
+
|
|
3
15
|
## 2025.5.0
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -160,13 +172,13 @@
|
|
|
160
172
|
1. Add a routes.ts file. This is your new Remix route configuration file.
|
|
161
173
|
|
|
162
174
|
```ts
|
|
163
|
-
import {flatRoutes} from
|
|
164
|
-
import {layout, type RouteConfig} from
|
|
165
|
-
import {hydrogenRoutes} from
|
|
175
|
+
import { flatRoutes } from "@remix-run/fs-routes";
|
|
176
|
+
import { layout, type RouteConfig } from "@remix-run/route-config";
|
|
177
|
+
import { hydrogenRoutes } from "@shopify/hydrogen";
|
|
166
178
|
|
|
167
179
|
export default hydrogenRoutes([
|
|
168
180
|
// Your entire app reading from routes folder using Layout from layout.tsx
|
|
169
|
-
layout(
|
|
181
|
+
layout("./layout.tsx", await flatRoutes()),
|
|
170
182
|
]) satisfies RouteConfig;
|
|
171
183
|
```
|
|
172
184
|
|
|
@@ -757,25 +769,25 @@
|
|
|
757
769
|
8. Update the `ProductForm` component.
|
|
758
770
|
|
|
759
771
|
```tsx
|
|
760
|
-
import {Link, useNavigate} from
|
|
761
|
-
import {type MappedProductOptions} from
|
|
772
|
+
import { Link, useNavigate } from "@remix-run/react";
|
|
773
|
+
import { type MappedProductOptions } from "@shopify/hydrogen";
|
|
762
774
|
import type {
|
|
763
775
|
Maybe,
|
|
764
776
|
ProductOptionValueSwatch,
|
|
765
|
-
} from
|
|
766
|
-
import {AddToCartButton} from
|
|
767
|
-
import {useAside} from
|
|
768
|
-
import type {ProductFragment} from
|
|
777
|
+
} from "@shopify/hydrogen/storefront-api-types";
|
|
778
|
+
import { AddToCartButton } from "./AddToCartButton";
|
|
779
|
+
import { useAside } from "./Aside";
|
|
780
|
+
import type { ProductFragment } from "storefrontapi.generated";
|
|
769
781
|
|
|
770
782
|
export function ProductForm({
|
|
771
783
|
productOptions,
|
|
772
784
|
selectedVariant,
|
|
773
785
|
}: {
|
|
774
786
|
productOptions: MappedProductOptions[];
|
|
775
|
-
selectedVariant: ProductFragment[
|
|
787
|
+
selectedVariant: ProductFragment["selectedOrFirstAvailableVariant"];
|
|
776
788
|
}) {
|
|
777
789
|
const navigate = useNavigate();
|
|
778
|
-
const {open} = useAside();
|
|
790
|
+
const { open } = useAside();
|
|
779
791
|
return (
|
|
780
792
|
<div className="product-form">
|
|
781
793
|
{productOptions.map((option) => (
|
|
@@ -809,8 +821,8 @@
|
|
|
809
821
|
to={`/products/${handle}?${variantUriQuery}`}
|
|
810
822
|
style={{
|
|
811
823
|
border: selected
|
|
812
|
-
?
|
|
813
|
-
:
|
|
824
|
+
? "1px solid black"
|
|
825
|
+
: "1px solid transparent",
|
|
814
826
|
opacity: available ? 1 : 0.3,
|
|
815
827
|
}}
|
|
816
828
|
>
|
|
@@ -827,13 +839,13 @@
|
|
|
827
839
|
<button
|
|
828
840
|
type="button"
|
|
829
841
|
className={`product-options-item${
|
|
830
|
-
exists && !selected ?
|
|
842
|
+
exists && !selected ? " link" : ""
|
|
831
843
|
}`}
|
|
832
844
|
key={option.name + name}
|
|
833
845
|
style={{
|
|
834
846
|
border: selected
|
|
835
|
-
?
|
|
836
|
-
:
|
|
847
|
+
? "1px solid black"
|
|
848
|
+
: "1px solid transparent",
|
|
837
849
|
opacity: available ? 1 : 0.3,
|
|
838
850
|
}}
|
|
839
851
|
disabled={!exists}
|
|
@@ -857,7 +869,7 @@
|
|
|
857
869
|
<AddToCartButton
|
|
858
870
|
disabled={!selectedVariant || !selectedVariant.availableForSale}
|
|
859
871
|
onClick={() => {
|
|
860
|
-
open(
|
|
872
|
+
open("cart");
|
|
861
873
|
}}
|
|
862
874
|
lines={
|
|
863
875
|
selectedVariant
|
|
@@ -871,7 +883,7 @@
|
|
|
871
883
|
: []
|
|
872
884
|
}
|
|
873
885
|
>
|
|
874
|
-
{selectedVariant?.availableForSale ?
|
|
886
|
+
{selectedVariant?.availableForSale ? "Add to cart" : "Sold out"}
|
|
875
887
|
</AddToCartButton>
|
|
876
888
|
</div>
|
|
877
889
|
);
|
|
@@ -894,7 +906,7 @@
|
|
|
894
906
|
aria-label={name}
|
|
895
907
|
className="product-option-label-swatch"
|
|
896
908
|
style={{
|
|
897
|
-
backgroundColor: color ||
|
|
909
|
+
backgroundColor: color || "transparent",
|
|
898
910
|
}}
|
|
899
911
|
>
|
|
900
912
|
{!!image && <img src={image} alt={name} />}
|
|
@@ -1395,21 +1407,21 @@
|
|
|
1395
1407
|
New `withCache.fetch` is for caching simple fetch requests. This method caches the responses if they are OK responses, and you can pass `shouldCacheResponse`, `cacheKey`, etc. to modify behavior. `data` is the consumed body of the response (we need to consume to cache it).
|
|
1396
1408
|
|
|
1397
1409
|
```ts
|
|
1398
|
-
const withCache = createWithCache({cache, waitUntil, request});
|
|
1410
|
+
const withCache = createWithCache({ cache, waitUntil, request });
|
|
1399
1411
|
|
|
1400
|
-
const {data, response} = await withCache.fetch<{data: T; error: string}>(
|
|
1401
|
-
|
|
1412
|
+
const { data, response } = await withCache.fetch<{ data: T; error: string }>(
|
|
1413
|
+
"my-cms.com/api",
|
|
1402
1414
|
{
|
|
1403
|
-
method:
|
|
1404
|
-
headers: {
|
|
1415
|
+
method: "POST",
|
|
1416
|
+
headers: { "Content-type": "application/json" },
|
|
1405
1417
|
body,
|
|
1406
1418
|
},
|
|
1407
1419
|
{
|
|
1408
1420
|
cacheStrategy: CacheLong(),
|
|
1409
1421
|
// Cache if there are no data errors or a specific data that make this result not suited for caching
|
|
1410
1422
|
shouldCacheResponse: (result) => !result?.error,
|
|
1411
|
-
cacheKey: [
|
|
1412
|
-
displayName:
|
|
1423
|
+
cacheKey: ["my-cms", body],
|
|
1424
|
+
displayName: "My CMS query",
|
|
1413
1425
|
},
|
|
1414
1426
|
);
|
|
1415
1427
|
```
|
|
@@ -1985,9 +1997,9 @@
|
|
|
1985
1997
|
|
|
1986
1998
|
```tsx
|
|
1987
1999
|
// app/lib/root-data.ts
|
|
1988
|
-
import {useMatches} from
|
|
1989
|
-
import type {SerializeFrom} from
|
|
1990
|
-
import type {loader} from
|
|
2000
|
+
import { useMatches } from "@remix-run/react";
|
|
2001
|
+
import type { SerializeFrom } from "@shopify/remix-oxygen";
|
|
2002
|
+
import type { loader } from "~/root";
|
|
1991
2003
|
|
|
1992
2004
|
/**
|
|
1993
2005
|
* Access the result of the root loader from a React component.
|
|
@@ -2149,10 +2161,10 @@
|
|
|
2149
2161
|
- This is an important fix to a bug with 404 routes and path-based i18n projects where some unknown routes would not properly render a 404. This fixes all new projects, but to fix existing projects, add a `($locale).tsx` route with the following contents: ([#1732](https://github.com/Shopify/hydrogen/pull/1732)) by [@blittle](https://github.com/blittle)
|
|
2150
2162
|
|
|
2151
2163
|
```ts
|
|
2152
|
-
import {type LoaderFunctionArgs} from
|
|
2164
|
+
import { type LoaderFunctionArgs } from "@remix-run/server-runtime";
|
|
2153
2165
|
|
|
2154
|
-
export async function loader({params, context}: LoaderFunctionArgs) {
|
|
2155
|
-
const {language, country} = context.storefront.i18n;
|
|
2166
|
+
export async function loader({ params, context }: LoaderFunctionArgs) {
|
|
2167
|
+
const { language, country } = context.storefront.i18n;
|
|
2156
2168
|
|
|
2157
2169
|
if (
|
|
2158
2170
|
params.locale &&
|
|
@@ -2160,7 +2172,7 @@
|
|
|
2160
2172
|
) {
|
|
2161
2173
|
// If the locale URL param is defined, yet we still are still at the default locale
|
|
2162
2174
|
// then the the locale param must be invalid, send to the 404 page
|
|
2163
|
-
throw new Response(null, {status: 404});
|
|
2175
|
+
throw new Response(null, { status: 404 });
|
|
2164
2176
|
}
|
|
2165
2177
|
|
|
2166
2178
|
return null;
|
|
@@ -2216,11 +2228,11 @@
|
|
|
2216
2228
|
```yaml
|
|
2217
2229
|
projects:
|
|
2218
2230
|
default:
|
|
2219
|
-
schema:
|
|
2231
|
+
schema: "node_modules/@shopify/hydrogen/storefront.schema.json"
|
|
2220
2232
|
documents:
|
|
2221
|
-
-
|
|
2222
|
-
-
|
|
2223
|
-
-
|
|
2233
|
+
- "!*.d.ts"
|
|
2234
|
+
- "*.{ts,tsx,js,jsx}"
|
|
2235
|
+
- "app/**/*.{ts,tsx,js,jsx}"
|
|
2224
2236
|
```
|
|
2225
2237
|
|
|
2226
2238
|
- Improve resiliency of `HydrogenSession` ([#1583](https://github.com/Shopify/hydrogen/pull/1583)) by [@blittle](https://github.com/blittle)
|
|
@@ -2435,8 +2447,8 @@
|
|
|
2435
2447
|
```ts
|
|
2436
2448
|
// root.tsx
|
|
2437
2449
|
|
|
2438
|
-
import {useMatches} from
|
|
2439
|
-
import {type SerializeFrom} from
|
|
2450
|
+
import { useMatches } from "@remix-run/react";
|
|
2451
|
+
import { type SerializeFrom } from "@shopify/remix-oxygen";
|
|
2440
2452
|
|
|
2441
2453
|
export const useRootLoaderData = () => {
|
|
2442
2454
|
const [root] = useMatches();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "skeleton",
|
|
3
3
|
"private": true,
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "2025.5.
|
|
5
|
+
"version": "2025.5.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "shopify hydrogen build --codegen",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@graphql-codegen/cli": "5.0.2",
|
|
32
32
|
"@react-router/dev": "7.6.0",
|
|
33
33
|
"@react-router/fs-routes": "7.6.0",
|
|
34
|
-
"@shopify/cli": "~3.
|
|
34
|
+
"@shopify/cli": "~3.80.4",
|
|
35
35
|
"@shopify/hydrogen-codegen": "^0.3.3",
|
|
36
36
|
"@shopify/mini-oxygen": "^3.2.1",
|
|
37
37
|
"@shopify/oxygen-workers-types": "^4.1.6",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ACFJ6IFW.js";
|
|
5
5
|
import {
|
|
6
6
|
setCurrentCommandId,
|
|
7
7
|
showNotificationsIfNeeded
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-D6ZGKY37.js";
|
|
9
9
|
import {
|
|
10
10
|
hashString
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DBRMHJ74.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
addPublicMetadata,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
renderWarning,
|
|
25
25
|
terminalSupportsPrompting,
|
|
26
26
|
underscore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7WRUWTUK.js";
|
|
28
28
|
import {
|
|
29
29
|
cwd
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
31
31
|
import {
|
|
32
32
|
require_lib
|
|
33
33
|
} from "./chunk-5AFYDRV4.js";
|
|
@@ -1665,4 +1665,4 @@ export {
|
|
|
1665
1665
|
loadEnvironment,
|
|
1666
1666
|
base_command_default
|
|
1667
1667
|
};
|
|
1668
|
-
//# sourceMappingURL=chunk-
|
|
1668
|
+
//# sourceMappingURL=chunk-23F56LJQ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-72FER6OH.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-23F56LJQ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkAsync
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-2PS2UQAA.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7WRUWTUK.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -203,4 +203,4 @@ async function staticService() {
|
|
|
203
203
|
export {
|
|
204
204
|
staticService
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-3CBDZFEX.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-23F56LJQ.js";
|
|
4
4
|
import {
|
|
5
5
|
mkdir,
|
|
6
6
|
outputInfo,
|
|
7
7
|
rmdir,
|
|
8
8
|
writeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7WRUWTUK.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
14
14
|
import {
|
|
15
15
|
init_cjs_shims
|
|
16
16
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -118,4 +118,4 @@ export {
|
|
|
118
118
|
writeCommandFlagInterface,
|
|
119
119
|
writeCommandUsageExampleFile
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-4VUXI7H6.js.map
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
nonRandomUUID,
|
|
8
8
|
shopifyFetch,
|
|
9
9
|
z
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DBRMHJ74.js";
|
|
11
11
|
import {
|
|
12
12
|
getPackageManager,
|
|
13
13
|
getSession,
|
|
14
14
|
packageManagerFromUserAgent,
|
|
15
15
|
removeSession,
|
|
16
16
|
setSession
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FDW7NWC7.js";
|
|
18
18
|
import {
|
|
19
19
|
AbortError,
|
|
20
20
|
BugError,
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
sessionConstants,
|
|
46
46
|
spinFqdn,
|
|
47
47
|
themeToken
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-7WRUWTUK.js";
|
|
49
49
|
import {
|
|
50
50
|
cwd
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__require,
|
|
@@ -1204,4 +1204,4 @@ export {
|
|
|
1204
1204
|
getEnvironmentData,
|
|
1205
1205
|
getSensitiveEnvironmentData
|
|
1206
1206
|
};
|
|
1207
|
-
//# sourceMappingURL=chunk-
|
|
1207
|
+
//# sourceMappingURL=chunk-5RIR73IP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RMON7GVP.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-23F56LJQ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
|
|
|
22
22
|
export {
|
|
23
23
|
Version
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-65ZFQZTE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-23F56LJQ.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-6OYFGNE2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7WRUWTUK.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -43,4 +43,4 @@ async function asyncTasks() {
|
|
|
43
43
|
export {
|
|
44
44
|
asyncTasks
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-72FER6OH.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
normalizePath,
|
|
15
15
|
relativizePath,
|
|
16
16
|
sniffForPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
18
18
|
import {
|
|
19
19
|
require_cross_spawn,
|
|
20
20
|
require_lib,
|
|
@@ -29384,7 +29384,7 @@ function formatSection(title, body) {
|
|
|
29384
29384
|
}
|
|
29385
29385
|
|
|
29386
29386
|
// ../cli-kit/dist/public/node/error.js
|
|
29387
|
-
var import_core2 = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
|
|
29387
|
+
var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
|
|
29388
29388
|
(function(FatalErrorType2) {
|
|
29389
29389
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
29390
29390
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -29481,7 +29481,7 @@ function errorMessageImpliesEnvironmentIssue(message) {
|
|
|
29481
29481
|
|
|
29482
29482
|
// ../cli-kit/dist/public/node/abort.js
|
|
29483
29483
|
init_cjs_shims();
|
|
29484
|
-
var import_node_abort_controller = __toESM(require_node_abort_controller()), AbortController = class extends import_node_abort_controller.AbortController {
|
|
29484
|
+
var import_node_abort_controller = __toESM(require_node_abort_controller(), 1), AbortController = class extends import_node_abort_controller.AbortController {
|
|
29485
29485
|
}, AbortSignal = class extends import_node_abort_controller.AbortSignal {
|
|
29486
29486
|
};
|
|
29487
29487
|
|
|
@@ -29512,7 +29512,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29512
29512
|
try {
|
|
29513
29513
|
await getAndSet();
|
|
29514
29514
|
} catch (error) {
|
|
29515
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
29515
|
+
let { sendErrorToBugsnag } = await import("./error-handler-Y4QDEH3I.js");
|
|
29516
29516
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29517
29517
|
}
|
|
29518
29518
|
}, durationStack = [];
|
|
@@ -30999,7 +30999,7 @@ init_cjs_shims();
|
|
|
30999
30999
|
|
|
31000
31000
|
// ../cli-kit/dist/public/common/function.js
|
|
31001
31001
|
init_cjs_shims();
|
|
31002
|
-
var import_memoize = __toESM(require_memoize()), import_debounce = __toESM(require_debounce());
|
|
31002
|
+
var import_memoize = __toESM(require_memoize(), 1), import_debounce = __toESM(require_debounce(), 1);
|
|
31003
31003
|
function debounce(func, wait, options) {
|
|
31004
31004
|
return (0, import_debounce.default)(func, wait, options);
|
|
31005
31005
|
}
|
|
@@ -31519,4 +31519,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31519
31519
|
* LICENSE file in the root directory of this source tree.
|
|
31520
31520
|
*)
|
|
31521
31521
|
*/
|
|
31522
|
-
//# sourceMappingURL=chunk-
|
|
31522
|
+
//# sourceMappingURL=chunk-7WRUWTUK.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UBFTFKE4.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5RIR73IP.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HJNOSZIV.js";
|
|
14
14
|
import {
|
|
15
15
|
runWithRateLimit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FDW7NWC7.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
reportingRateLimit,
|
|
29
29
|
require_stacktracey,
|
|
30
30
|
shouldReportErrorAsUnexpected
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7WRUWTUK.js";
|
|
32
32
|
import {
|
|
33
33
|
cwd,
|
|
34
34
|
isAbsolutePath,
|
|
35
35
|
joinPath,
|
|
36
36
|
normalizePath,
|
|
37
37
|
relativePath
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
39
39
|
import {
|
|
40
40
|
require_lib
|
|
41
41
|
} from "./chunk-5AFYDRV4.js";
|
|
@@ -2029,7 +2029,7 @@ var require_notifier = __commonJS({
|
|
|
2029
2029
|
|
|
2030
2030
|
// ../cli-kit/dist/public/node/error-handler.js
|
|
2031
2031
|
init_cjs_shims();
|
|
2032
|
-
var import_core = __toESM(require_lib()
|
|
2032
|
+
var import_core = __toESM(require_lib()), import_stacktracey = __toESM(require_stacktracey()), import_js = __toESM(require_notifier());
|
|
2033
2033
|
import { realpath } from "fs/promises";
|
|
2034
2034
|
async function errorHandler(error, config) {
|
|
2035
2035
|
if (error instanceof CancelExecution)
|
|
@@ -2144,4 +2144,4 @@ export {
|
|
|
2144
2144
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2145
2145
|
addBugsnagMetadata
|
|
2146
2146
|
};
|
|
2147
|
-
//# sourceMappingURL=chunk-
|
|
2147
|
+
//# sourceMappingURL=chunk-ACFJ6IFW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7WRUWTUK.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -15,4 +15,4 @@ async function searchService(query) {
|
|
|
15
15
|
export {
|
|
16
16
|
searchService
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-ACIWWUHC.js.map
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
remove,
|
|
9
9
|
setLastSeenAuthMethod,
|
|
10
10
|
setLastSeenUserIdAfterAuth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5RIR73IP.js";
|
|
12
12
|
import {
|
|
13
13
|
getPartnersToken,
|
|
14
14
|
nonRandomUUID
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DBRMHJ74.js";
|
|
16
16
|
import {
|
|
17
17
|
BugError,
|
|
18
18
|
outputContent,
|
|
19
19
|
outputDebug,
|
|
20
20
|
outputToken
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7WRUWTUK.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-AFDDJCYX.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
getNotifications,
|
|
4
4
|
stringifyFilters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-D6ZGKY37.js";
|
|
6
6
|
import {
|
|
7
7
|
randomUUID
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DBRMHJ74.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HJNOSZIV.js";
|
|
12
12
|
import {
|
|
13
13
|
outputInfo,
|
|
14
14
|
renderSelectPrompt,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
renderTable,
|
|
17
17
|
renderTextPrompt,
|
|
18
18
|
writeFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7WRUWTUK.js";
|
|
20
20
|
import {
|
|
21
21
|
init_cjs_shims
|
|
22
22
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
generate,
|
|
104
104
|
list
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-ALOIYWSW.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ACIWWUHC.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-23F56LJQ.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
9
|
} from "./chunk-5AFYDRV4.js";
|
|
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
|
|
|
48
48
|
export {
|
|
49
49
|
Search
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-AMSWTXT7.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DN2ZP5X3.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-23F56LJQ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-BSF6VAN5.js.map
|