@shopify/cli 3.90.1 → 3.91.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/{acorn-45LE5Z2A.js → acorn-WDTBS4B3.js} +2 -2
- package/dist/{angular-Z5FPQPLR.js → angular-WLPEGHXZ.js} +4 -4
- package/dist/assets/hydrogen/starter/.graphqlrc.ts +4 -2
- package/dist/assets/hydrogen/starter/CHANGELOG.md +172 -0
- package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +67 -38
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +45 -7
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +20 -38
- package/dist/assets/hydrogen/starter/app/components/MockShopNotice.tsx +20 -0
- package/dist/assets/hydrogen/starter/app/entry.client.tsx +2 -3
- package/dist/assets/hydrogen/starter/app/lib/fragments.ts +8 -0
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +4 -5
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +12 -12
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +4 -7
- package/dist/assets/hydrogen/starter/app/routes/account_.login.tsx +10 -0
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +2 -9
- package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +1 -4
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +3 -11
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -3
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +2 -8
- package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +1 -4
- package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +2 -9
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +18 -12
- package/dist/assets/hydrogen/starter/app/styles/app.css +72 -1
- package/dist/assets/hydrogen/starter/eslint.config.js +1 -0
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +3 -3
- package/dist/assets/hydrogen/starter/guides/search/search.md +1 -1
- package/dist/assets/hydrogen/starter/package.json +14 -13
- package/dist/assets/hydrogen/starter/server.ts +5 -7
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +89 -0
- package/dist/{babel-TRRZ6QQY.js → babel-LQYCV4NA.js} +2 -7
- package/dist/{brotli-2OKV26Y6.js → brotli-6CC7WD4Z.js} +1 -2
- package/dist/{chunk-SGU7BPE4.js → chunk-2EQNSO7C.js} +3 -3
- package/dist/{chunk-PAU7LKSJ.js → chunk-2YAGQHB2.js} +3 -3
- package/dist/{chunk-OZPZBNSB.js → chunk-463KYFYO.js} +2 -2
- package/dist/{chunk-IEPPQIPW.js → chunk-54FE2FGU.js} +2 -2
- package/dist/{chunk-EFOOQV72.js → chunk-56ELYGPH.js} +2 -2
- package/dist/{chunk-6ONJ77I7.js → chunk-5JYQJQ2E.js} +2 -2
- package/dist/chunk-5ZDTGPNX.js +28 -0
- package/dist/{chunk-6ONJEX7Y.js → chunk-6NVYATES.js} +2 -2
- package/dist/chunk-77BDQRQW.js +90 -0
- package/dist/{chunk-HMDWNGIV.js → chunk-A27P5CF7.js} +211 -103
- package/dist/{chunk-4BBQTKIZ.js → chunk-A2CZGTAP.js} +27763 -25681
- package/dist/{chunk-TIYR37XP.js → chunk-ATQVKUJC.js} +4 -4
- package/dist/{chunk-3GXB4ZRP.js → chunk-CE4S2SGM.js} +10 -10
- package/dist/{chunk-WC5EDB4Z.js → chunk-CEUL3KX5.js} +1190 -144
- package/dist/{chunk-2TMOMDXO.js → chunk-DR5R5UTE.js} +6 -6
- package/dist/{chunk-IYNLJNFT.js → chunk-DUNGALP3.js} +3 -3
- package/dist/{chunk-TGDLXF4K.js → chunk-E44JKFB6.js} +2 -2
- package/dist/{chunk-5SJCPOBW.js → chunk-E4GUDBAR.js} +417 -387
- package/dist/{chunk-C5STUYKR.js → chunk-FKP67FZI.js} +3 -3
- package/dist/{chunk-ZZNQWJUM.js → chunk-HAG3HJ2V.js} +10 -10
- package/dist/{chunk-PUMWL67K.js → chunk-HOIU6WRE.js} +3 -3
- package/dist/{chunk-GPKHDSF5.js → chunk-HTGTTXQL.js} +24 -26
- package/dist/{chunk-3VKS4374.js → chunk-I23GZAC4.js} +15 -17
- package/dist/chunk-ITTNM7I4.js +23 -0
- package/dist/chunk-IUKBWIQY.js +39 -0
- package/dist/{chunk-H3SSAPRP.js → chunk-K45ALTZ7.js} +3 -3
- package/dist/chunk-K52ORY26.js +78 -0
- package/dist/{prettier-2ITB6I34.js → chunk-KV3364EL.js} +43 -42
- package/dist/{chunk-4TOZOCIV.js → chunk-LFMBIRVC.js} +3 -3
- package/dist/{chunk-OTD3FRPC.js → chunk-NYP3N62G.js} +2 -2
- package/dist/chunk-OIUDJFV2.js +309 -0
- package/dist/{chunk-HV4MPORZ.js → chunk-PCNR4TMY.js} +5 -5
- package/dist/{chunk-SG2A4CTL.js → chunk-QFO7QSBW.js} +4 -4
- package/dist/{chunk-UHBL2XEG.js → chunk-R622IPZN.js} +3 -3
- package/dist/{chunk-X7CGUWBF.js → chunk-RKFRXKFE.js} +3 -3
- package/dist/{chunk-WYVKPOTO.js → chunk-RLJICWO6.js} +4 -4
- package/dist/chunk-SJXHR42U.js +36 -0
- package/dist/{chunk-CYPBBNM2.js → chunk-SUFC4ISB.js} +6 -6
- package/dist/{chunk-3AF66HDC.js → chunk-SVV4RJVX.js} +4 -4
- package/dist/chunk-TH7ZYYDZ.js +20868 -0
- package/dist/{chunk-J2CFMYG5.js → chunk-TY5YKCUW.js} +5 -5
- package/dist/{chunk-XD3LXUGW.js → chunk-VBBBCVMH.js} +2 -2
- package/dist/chunk-VRUH5BDH.js +51 -0
- package/dist/{chunk-7FIBLDM2.js → chunk-VUYVHHZY.js} +3 -3
- package/dist/{chunk-KC6KOCJ5.js → chunk-WDYPK6VH.js} +7 -7
- package/dist/{chunk-JRFL7VGC.js → chunk-XDCBS7SY.js} +3 -3
- package/dist/{chunk-6MYWZ7MP.js → chunk-Z5FK5H2M.js} +8 -27
- package/dist/{chunk-RHYTM4FE.js → chunk-ZLV2A27J.js} +2 -2
- package/dist/cli/commands/auth/login.js +14 -16
- package/dist/cli/commands/auth/login.test.js +16 -18
- package/dist/cli/commands/auth/logout.js +14 -16
- package/dist/cli/commands/auth/logout.test.js +17 -19
- package/dist/cli/commands/cache/clear.js +15 -16
- package/dist/cli/commands/debug/command-flags.js +14 -16
- package/dist/cli/commands/docs/generate.js +14 -16
- package/dist/cli/commands/docs/generate.test.js +15 -17
- package/dist/cli/commands/doctor-release/doctor-release.d.ts +6 -0
- package/dist/cli/commands/doctor-release/doctor-release.js +27 -0
- package/dist/cli/commands/doctor-release/theme/index.d.ts +14 -0
- package/dist/cli/commands/doctor-release/theme/index.js +33 -0
- package/dist/cli/commands/help.js +14 -16
- package/dist/cli/commands/kitchen-sink/async.js +15 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
- package/dist/cli/commands/kitchen-sink/index.js +17 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +20 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
- package/dist/cli/commands/kitchen-sink/static.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
- package/dist/cli/commands/notifications/generate.js +15 -17
- package/dist/cli/commands/notifications/list.js +15 -17
- package/dist/cli/commands/search.js +15 -17
- package/dist/cli/commands/upgrade.js +15 -17
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +15 -17
- package/dist/cli/commands/version.test.js +16 -18
- package/dist/cli/services/commands/notifications.js +14 -14
- package/dist/cli/services/commands/search.js +8 -9
- package/dist/cli/services/commands/search.test.js +9 -10
- package/dist/cli/services/commands/version.js +9 -10
- package/dist/cli/services/commands/version.test.js +11 -12
- package/dist/cli/services/doctor-release/context.d.ts +16 -0
- package/dist/cli/services/doctor-release/context.js +9 -0
- package/dist/cli/services/doctor-release/theme/runner.d.ts +7 -0
- package/dist/cli/services/doctor-release/theme/runner.js +24 -0
- package/dist/cli/services/doctor-release/theme/tests/init.d.ts +11 -0
- package/dist/cli/services/doctor-release/theme/tests/init.js +21 -0
- package/dist/cli/services/doctor-release/theme/tests/push.d.ts +10 -0
- package/dist/cli/services/doctor-release/theme/tests/push.js +21 -0
- package/dist/cli/services/kitchen-sink/async.js +8 -9
- package/dist/cli/services/kitchen-sink/prompts.js +8 -9
- package/dist/cli/services/kitchen-sink/static.js +8 -9
- package/dist/cli/services/upgrade.js +9 -10
- package/dist/cli/services/upgrade.test.js +11 -12
- package/dist/{custom-oclif-loader-RINU7HR3.js → custom-oclif-loader-AAJZ7WBW.js} +8 -9
- package/dist/{del-E4LJOSMR.js → del-63DSU6FP.js} +7 -7
- package/dist/{devtools-D47L6HIC.js → devtools-4MXU7BNJ.js} +2 -2
- package/dist/{devtools-2SG3BFWJ.js → devtools-BAOTGU3O.js} +2 -2
- package/dist/{error-handler-CWNDOJLB.js → error-handler-GSQRFK57.js} +12 -14
- package/dist/{estree-PY6WKTNG.js → estree-U57GTUKI.js} +14 -35
- package/dist/{flow-YN54TSCB.js → flow-CBPGBIW5.js} +2 -4
- package/dist/{glimmer-RMPUUUDS.js → glimmer-VWCK7UCR.js} +2 -6
- package/dist/{graphql-PPLVYWBL.js → graphql-2HHXB4VZ.js} +3 -5
- package/dist/hooks/postrun.js +13 -13
- package/dist/hooks/prerun.js +14 -14
- package/dist/{html-3U6QZZZ4.js → html-ST4I6M3K.js} +4 -6
- package/dist/index.js +143537 -8573
- package/dist/{lib-XGN4IWQ3.js → lib-HAW436ZI.js} +3 -4
- package/dist/{local-FQVEYJ4K.js → local-GOP2BHNI.js} +10 -11
- package/dist/{markdown-RHRQTUMC.js → markdown-NVTT3U3H.js} +4 -13
- package/dist/{meriyah-7MIMHTWQ.js → meriyah-H6RUUN2F.js} +2 -9
- package/dist/{morph-37GC7LQM.js → morph-7WAMUK6I.js} +68 -143
- package/dist/{multipart-parser-IYYNISJK.js → multipart-parser-WKKMXACL.js} +2 -2
- package/dist/{node-package-manager-XIE2HZEQ.js → node-package-manager-W4R4DUTE.js} +9 -10
- package/dist/{npa-E675GQOI.js → npa-GRSJKUWS.js} +5 -7
- package/dist/{postcss-MSOPGY7M.js → postcss-LKRKUSYR.js} +4 -6
- package/dist/prettier-5ODD6NHV.js +36 -0
- package/dist/{source-map-UFUVQCYE.js → source-map-KSW2YKNC.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-UAEFJEFY.js → ui-VRLRLHWH.js} +8 -9
- package/dist/{workerd-EPURL4IC.js → workerd-AO3T6IIJ.js} +19 -22
- package/dist/{yaml-6GALFXQY.js → yaml-54MHMX7H.js} +6 -9
- package/oclif.manifest.json +128 -9
- package/package.json +8 -8
- package/dist/chunk-DOZD5WAI.js +0 -153039
- package/dist/chunk-EZQWZ57B.js +0 -53
- package/dist/chunk-W65CJE3X.js +0 -2238
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I23GZAC4.js";
|
|
4
4
|
import {
|
|
5
5
|
outputResult,
|
|
6
6
|
renderTable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E4GUDBAR.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CEUL3KX5.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims
|
|
@@ -84,4 +84,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
84
84
|
export {
|
|
85
85
|
CommandFlags
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-QFO7QSBW.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I23GZAC4.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CEUL3KX5.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM,
|
|
9
9
|
init_cjs_shims
|
|
@@ -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-R622IPZN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-463KYFYO.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I23GZAC4.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-RKFRXKFE.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DUNGALP3.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I23GZAC4.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E4GUDBAR.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
Upgrade
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-RLJICWO6.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DoctorSuite
|
|
3
|
+
} from "./chunk-OIUDJFV2.js";
|
|
4
|
+
import {
|
|
5
|
+
init_cjs_shims
|
|
6
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
7
|
+
|
|
8
|
+
// src/cli/services/doctor-release/theme/tests/push.ts
|
|
9
|
+
init_cjs_shims();
|
|
10
|
+
var ThemePushTests = class extends DoctorSuite {
|
|
11
|
+
static {
|
|
12
|
+
this.description = "Tests pushing a theme to the store creates an unpublished theme";
|
|
13
|
+
}
|
|
14
|
+
static {
|
|
15
|
+
this.requiresStore = !0;
|
|
16
|
+
}
|
|
17
|
+
tests() {
|
|
18
|
+
this.test("push creates unpublished theme", async () => {
|
|
19
|
+
if (!this.context.themePath) {
|
|
20
|
+
this.assert(!1, "Theme init did not complete successfully; themePath is missing in context");
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
let themeName = this.context.themeName ?? "doctor-theme", cmd = `shopify theme push --unpublished --json --path ${this.context.themePath} -t ${themeName}`;
|
|
24
|
+
this.context.environment && (cmd += ` -e ${this.context.environment}`), this.context.store && (cmd += ` -s ${this.context.store}`), this.context.password && (cmd += ` --password ${this.context.password}`);
|
|
25
|
+
let result = await this.run(cmd);
|
|
26
|
+
this.assertSuccess(result);
|
|
27
|
+
let json = this.assertJson(result, (data) => typeof data.theme?.id == "number");
|
|
28
|
+
json?.theme && (this.assert(typeof json.theme.id == "number", "Theme was created with a valid ID"), this.assertEqual(json.theme.role, "unpublished", "Theme role is unpublished"), this.assert(json.theme.editor_url.includes("/admin/themes/"), "Editor URL is provided"), this.assert(json.theme.preview_url.includes("preview_theme_id="), "Preview URL is provided"), this.context.themeId = String(json.theme.id), this.context.data.editorUrl = json.theme.editor_url, this.context.data.previewUrl = json.theme.preview_url);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export {
|
|
34
|
+
ThemePushTests
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=chunk-SJXHR42U.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A2CZGTAP.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HAG3HJ2V.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NYP3N62G.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
exec,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
renderError,
|
|
20
20
|
renderInfo,
|
|
21
21
|
renderWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-E4GUDBAR.js";
|
|
23
23
|
import {
|
|
24
24
|
init_cjs_shims
|
|
25
25
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
87
87
|
throw new AbortSilentError();
|
|
88
88
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
89
89
|
outputDebug(errorMessage);
|
|
90
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
90
|
+
let { sendErrorToBugsnag } = await import("./error-handler-GSQRFK57.js");
|
|
91
91
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
fetchNotificationsInBackground,
|
|
201
201
|
stringifyFilters
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-SUFC4ISB.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-54FE2FGU.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I23GZAC4.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CEUL3KX5.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_cjs_shims
|
|
@@ -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-SVV4RJVX.js.map
|