@shopify/cli 3.80.7 → 3.81.0
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-ohOjvIJh.js +64 -0
- package/dist/assets/dev-console/index.html +1 -1
- package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +921 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +0 -35
- 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 +6 -1
- 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 +4 -9
- 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 +7 -1
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +1 -1
- 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 +2 -7
- 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 +2 -12
- package/dist/assets/hydrogen/starter/eslint.config.js +0 -2
- package/dist/assets/hydrogen/starter/package.json +12 -11
- package/dist/assets/hydrogen/starter/server.ts +5 -2
- package/dist/assets/hydrogen/starter/tsconfig.json +6 -18
- package/dist/assets/hydrogen/starter/vite.config.ts +24 -3
- package/dist/assets/hydrogen/tailwind/package.json +1 -4
- package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/layout.jsx +7 -1
- 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-JU6SOKDJ.js → chunk-2RTQR5PF.js} +4 -4
- package/dist/{chunk-5YH5HMRM.js → chunk-3TCAFLMI.js} +3 -3
- package/dist/{chunk-QPXAGLXJ.js → chunk-4UU24IRW.js} +5 -5
- package/dist/{chunk-KGZTFG3M.js → chunk-66LU5RHQ.js} +3 -3
- package/dist/{chunk-MQCYR4KR.js → chunk-7KHSYC7Q.js} +4 -4
- package/dist/{chunk-YQXBJZRZ.js → chunk-AFKRMMUK.js} +2 -2
- package/dist/{chunk-63DIRIVX.js → chunk-BU5YHTR3.js} +242 -216
- package/dist/{chunk-77RMKCKT.js → chunk-BWXOMTF4.js} +2 -2
- package/dist/{chunk-TJM3YBLQ.js → chunk-CTFDRWUN.js} +15 -12
- package/dist/{chunk-PDNRVFZE.js → chunk-EVLVUZ4W.js} +16 -11
- package/dist/{chunk-HWRJLLWI.js → chunk-F65YW645.js} +2 -2
- package/dist/{chunk-OWRPRJTD.js → chunk-FAITFLRX.js} +2 -2
- package/dist/{chunk-3DYG3ZWU.js → chunk-FBJAZPR7.js} +3 -3
- package/dist/{chunk-RFO2FC5M.js → chunk-FD2PC23V.js} +6 -6
- package/dist/{chunk-HYECXSZG.js → chunk-GESAFNQ7.js} +275 -76
- package/dist/{chunk-RJJFC36J.js → chunk-H4NXKYFX.js} +28 -28
- package/dist/{chunk-JDRMHPFL.js → chunk-H7RFBD5F.js} +4 -4
- package/dist/{chunk-5K4EFFDY.js → chunk-HL635BW4.js} +9 -8
- package/dist/{chunk-OQ7ZCSZM.js → chunk-HVXOXFW7.js} +8 -6
- package/dist/{chunk-NY2OPNXU.js → chunk-I3MFQXUO.js} +5 -5
- package/dist/{chunk-NSTNFY7W.js → chunk-I55SUBMN.js} +45 -23
- package/dist/{chunk-T6CKLCY3.js → chunk-J22RRMUV.js} +3 -3
- package/dist/{chunk-VYIBTTN2.js → chunk-JMLKYNLE.js} +3 -3
- package/dist/{chunk-ZOUELNMC.js → chunk-LJSDT5VD.js} +3 -3
- package/dist/{chunk-2W6OLZFD.js → chunk-LKFFDKQK.js} +3 -3
- package/dist/{chunk-5AFYDRV4.js → chunk-LPU2VGJR.js} +42 -507
- package/dist/{chunk-TNF6QFVZ.js → chunk-NVXZREWB.js} +28 -31
- package/dist/{chunk-JRAEVQWT.js → chunk-OCEG2LVS.js} +2 -2
- package/dist/{chunk-PJZWUPY4.js → chunk-PL4FBKID.js} +5 -5
- package/dist/{chunk-MSHN7O5N.js → chunk-PO4WPF5B.js} +2 -2
- package/dist/{chunk-KUZYMDX4.js → chunk-PZ532W3Q.js} +8 -8
- package/dist/{chunk-XZM7J5LL.js → chunk-Q5VEQZWD.js} +5 -5
- package/dist/{chunk-ECV2CLGW.js → chunk-R3OIVMMP.js} +4 -4
- package/dist/{chunk-IHC7Q4LY.js → chunk-RN6ES42P.js} +4 -4
- package/dist/{chunk-LQ2ZKVR6.js → chunk-UMUTXITN.js} +87 -4
- package/dist/chunk-V67D4V7T.js +107 -0
- package/dist/{chunk-W4ZWJMX2.js → chunk-VKZ4FDXJ.js} +2 -2
- package/dist/chunk-W5G2YPO2.js +11805 -0
- package/dist/{chunk-RJ4CN43L.js → chunk-XSJQXZOL.js} +4 -4
- package/dist/{chunk-CDBXAE2F.js → chunk-Y2JP6WFP.js} +99 -11
- package/dist/{chunk-TMYCLPMW.js → chunk-YQAKBVIP.js} +535 -337
- package/dist/cli/commands/auth/logout.js +16 -17
- package/dist/cli/commands/auth/logout.test.js +18 -19
- package/dist/cli/commands/cache/clear.js +15 -16
- package/dist/cli/commands/debug/command-flags.js +15 -16
- package/dist/cli/commands/docs/generate.js +15 -16
- package/dist/cli/commands/docs/generate.test.js +16 -17
- package/dist/cli/commands/help.js +15 -16
- package/dist/cli/commands/kitchen-sink/async.js +16 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/index.js +18 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -20
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/static.js +16 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -18
- package/dist/cli/commands/notifications/generate.js +16 -17
- package/dist/cli/commands/notifications/list.js +16 -17
- package/dist/cli/commands/search.js +16 -17
- package/dist/cli/commands/upgrade.js +16 -17
- package/dist/cli/commands/upgrade.test.js +1 -2
- package/dist/cli/commands/version.js +16 -17
- package/dist/cli/commands/version.test.js +17 -18
- package/dist/cli/services/commands/notifications.js +11 -12
- package/dist/cli/services/commands/search.js +7 -8
- package/dist/cli/services/commands/search.test.js +8 -9
- package/dist/cli/services/commands/version.js +8 -9
- package/dist/cli/services/commands/version.test.js +10 -11
- package/dist/cli/services/kitchen-sink/async.js +7 -8
- package/dist/cli/services/kitchen-sink/prompts.js +7 -8
- package/dist/cli/services/kitchen-sink/static.js +7 -8
- package/dist/cli/services/upgrade.js +8 -9
- package/dist/cli/services/upgrade.test.js +10 -11
- package/dist/{custom-oclif-loader-XTWWK7GM.js → custom-oclif-loader-OGNQPWLM.js} +7 -8
- package/dist/{del-YIU34DZ5.js → del-4JSTEFDW.js} +3 -3
- package/dist/{devtools-J4QAI6HR.js → devtools-LDCSRUXB.js} +4 -4
- package/dist/{error-handler-MIQWANES.js → error-handler-7HDPJKMS.js} +13 -14
- package/dist/hooks/postrun.js +11 -12
- package/dist/hooks/prerun.js +12 -13
- package/dist/{http-proxy-KGLXPNEY.js → http-proxy-LHSVRGJ5.js} +14 -10
- package/dist/index.js +153244 -162656
- package/dist/{lib-MIBR2T7P.js → lib-2ZBT3UR2.js} +5 -5
- package/dist/{local-OL4QQF7A.js → local-5DGEQTKE.js} +9 -14
- package/dist/{magic-string.es-BSVDQOZI.js → magic-string.es-UZAAPNRE.js} +42 -36
- package/dist/{morph-3VOLMA55.js → morph-DFRO3NRL.js} +10 -10
- package/dist/node-OJGXX6YN.js +164 -0
- package/dist/{node-package-manager-YZ7SC7JY.js → node-package-manager-QX5ULXMO.js} +8 -9
- package/dist/{out-5KP5WGIK.js → out-NKJPLKLB.js} +2 -2
- package/dist/{path-2K5HIMHZ.js → path-COZT77T2.js} +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-UMSB2BWG.js → ui-ZOXO5UFK.js} +7 -10
- package/dist/{workerd-K4ZX64LQ.js → workerd-BW3TVO32.js} +18 -20
- package/oclif.manifest.json +29 -9
- package/package.json +10 -11
- package/dist/assets/dev-console/extensions/dev-console/assets/index-CqNhY1h-.js +0 -64
- package/dist/assets/hydrogen/starter/.cursor/rules/hydrogen-react-router.mdc +0 -52
- package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +0 -14
- package/dist/assets/hydrogen/starter/react-router.config.ts +0 -7
- package/dist/chunk-3I3GQNEW.js +0 -95
- package/dist/chunk-57Q6OQG4.js +0 -111
- package/dist/chunk-ZEM3T4UY.js +0 -10590
- package/dist/toml-patch-wasm-J5VGG6WG.js +0 -140
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__commonJS,
|
|
3
|
-
__require,
|
|
4
|
-
__toESM,
|
|
5
|
-
init_cjs_shims
|
|
6
|
-
} from "./chunk-PKR7KJ6P.js";
|
|
7
|
-
|
|
8
|
-
// ../../node_modules/.pnpm/@shopify+toml-patch@0.3.0/node_modules/@shopify/toml-patch/toml_patch.js
|
|
9
|
-
var require_toml_patch = __commonJS({
|
|
10
|
-
"../../node_modules/.pnpm/@shopify+toml-patch@0.3.0/node_modules/@shopify/toml-patch/toml_patch.js"(exports, module) {
|
|
11
|
-
init_cjs_shims();
|
|
12
|
-
var imports = {};
|
|
13
|
-
imports.__wbindgen_placeholder__ = module.exports;
|
|
14
|
-
var wasm, { TextEncoder, TextDecoder } = __require("util");
|
|
15
|
-
function isLikeNone(x) {
|
|
16
|
-
return x == null;
|
|
17
|
-
}
|
|
18
|
-
var cachedDataViewMemory0 = null;
|
|
19
|
-
function getDataViewMemory0() {
|
|
20
|
-
return (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === !0 || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) && (cachedDataViewMemory0 = new DataView(wasm.memory.buffer)), cachedDataViewMemory0;
|
|
21
|
-
}
|
|
22
|
-
var WASM_VECTOR_LEN = 0, cachedUint8ArrayMemory0 = null;
|
|
23
|
-
function getUint8ArrayMemory0() {
|
|
24
|
-
return (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) && (cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer)), cachedUint8ArrayMemory0;
|
|
25
|
-
}
|
|
26
|
-
var cachedTextEncoder = new TextEncoder("utf-8"), encodeString = typeof cachedTextEncoder.encodeInto == "function" ? function(arg, view) {
|
|
27
|
-
return cachedTextEncoder.encodeInto(arg, view);
|
|
28
|
-
} : function(arg, view) {
|
|
29
|
-
let buf = cachedTextEncoder.encode(arg);
|
|
30
|
-
return view.set(buf), {
|
|
31
|
-
read: arg.length,
|
|
32
|
-
written: buf.length
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
36
|
-
if (realloc === void 0) {
|
|
37
|
-
let buf = cachedTextEncoder.encode(arg), ptr2 = malloc(buf.length, 1) >>> 0;
|
|
38
|
-
return getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf), WASM_VECTOR_LEN = buf.length, ptr2;
|
|
39
|
-
}
|
|
40
|
-
let len = arg.length, ptr = malloc(len, 1) >>> 0, mem = getUint8ArrayMemory0(), offset = 0;
|
|
41
|
-
for (; offset < len; offset++) {
|
|
42
|
-
let code = arg.charCodeAt(offset);
|
|
43
|
-
if (code > 127) break;
|
|
44
|
-
mem[ptr + offset] = code;
|
|
45
|
-
}
|
|
46
|
-
if (offset !== len) {
|
|
47
|
-
offset !== 0 && (arg = arg.slice(offset)), ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
48
|
-
let view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len), ret = encodeString(arg, view);
|
|
49
|
-
offset += ret.written, ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
50
|
-
}
|
|
51
|
-
return WASM_VECTOR_LEN = offset, ptr;
|
|
52
|
-
}
|
|
53
|
-
var cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
54
|
-
cachedTextDecoder.decode();
|
|
55
|
-
function getStringFromWasm0(ptr, len) {
|
|
56
|
-
return ptr = ptr >>> 0, cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
57
|
-
}
|
|
58
|
-
function takeFromExternrefTable0(idx) {
|
|
59
|
-
let value = wasm.__wbindgen_export_0.get(idx);
|
|
60
|
-
return wasm.__externref_table_dealloc(idx), value;
|
|
61
|
-
}
|
|
62
|
-
module.exports.echoToml = function(tomlContent) {
|
|
63
|
-
let deferred3_0, deferred3_1;
|
|
64
|
-
try {
|
|
65
|
-
let ptr0 = passStringToWasm0(tomlContent, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc), len0 = WASM_VECTOR_LEN, ret = wasm.echoToml(ptr0, len0);
|
|
66
|
-
var ptr2 = ret[0], len2 = ret[1];
|
|
67
|
-
if (ret[3])
|
|
68
|
-
throw ptr2 = 0, len2 = 0, takeFromExternrefTable0(ret[2]);
|
|
69
|
-
return deferred3_0 = ptr2, deferred3_1 = len2, getStringFromWasm0(ptr2, len2);
|
|
70
|
-
} finally {
|
|
71
|
-
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
module.exports.updateTomlValues = function(tomlContent, patches) {
|
|
75
|
-
let deferred3_0, deferred3_1;
|
|
76
|
-
try {
|
|
77
|
-
let ptr0 = passStringToWasm0(tomlContent, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc), len0 = WASM_VECTOR_LEN, ret = wasm.updateTomlValues(ptr0, len0, patches);
|
|
78
|
-
var ptr2 = ret[0], len2 = ret[1];
|
|
79
|
-
if (ret[3])
|
|
80
|
-
throw ptr2 = 0, len2 = 0, takeFromExternrefTable0(ret[2]);
|
|
81
|
-
return deferred3_0 = ptr2, deferred3_1 = len2, getStringFromWasm0(ptr2, len2);
|
|
82
|
-
} finally {
|
|
83
|
-
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
module.exports.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
|
|
87
|
-
return Array.from(arg0);
|
|
88
|
-
};
|
|
89
|
-
module.exports.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
90
|
-
return arg0[arg1 >>> 0];
|
|
91
|
-
};
|
|
92
|
-
module.exports.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
93
|
-
return arg0.length;
|
|
94
|
-
};
|
|
95
|
-
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
96
|
-
let v = arg0;
|
|
97
|
-
return typeof v == "boolean" ? v ? 1 : 0 : 2;
|
|
98
|
-
};
|
|
99
|
-
module.exports.__wbindgen_init_externref_table = function() {
|
|
100
|
-
let table = wasm.__wbindgen_export_0, offset = table.grow(4);
|
|
101
|
-
table.set(0, void 0), table.set(offset + 0, void 0), table.set(offset + 1, null), table.set(offset + 2, !0), table.set(offset + 3, !1);
|
|
102
|
-
};
|
|
103
|
-
module.exports.__wbindgen_is_array = function(arg0) {
|
|
104
|
-
return Array.isArray(arg0);
|
|
105
|
-
};
|
|
106
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
107
|
-
return arg0 === void 0;
|
|
108
|
-
};
|
|
109
|
-
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
110
|
-
let obj = arg1, ret = typeof obj == "number" ? obj : void 0;
|
|
111
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, !0), getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), !0);
|
|
112
|
-
};
|
|
113
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
114
|
-
let obj = arg1, ret = typeof obj == "string" ? obj : void 0;
|
|
115
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc), len1 = WASM_VECTOR_LEN;
|
|
116
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, !0), getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, !0);
|
|
117
|
-
};
|
|
118
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
119
|
-
return getStringFromWasm0(arg0, arg1);
|
|
120
|
-
};
|
|
121
|
-
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
122
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
123
|
-
};
|
|
124
|
-
var path = __require("path").join(__dirname, "toml_patch_bg.wasm"), bytes = __require("fs").readFileSync(path), wasmModule = new WebAssembly.Module(bytes), wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
125
|
-
wasm = wasmInstance.exports;
|
|
126
|
-
module.exports.__wasm = wasm;
|
|
127
|
-
wasm.__wbindgen_start();
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
// ../app/dist/cli/services/app/toml-patch-wasm.js
|
|
132
|
-
init_cjs_shims();
|
|
133
|
-
var tomlPatch = __toESM(require_toml_patch(), 1);
|
|
134
|
-
async function updateTomlValues2(tomlContent, patches) {
|
|
135
|
-
return tomlPatch.updateTomlValues(tomlContent, patches);
|
|
136
|
-
}
|
|
137
|
-
export {
|
|
138
|
-
updateTomlValues2 as updateTomlValues
|
|
139
|
-
};
|
|
140
|
-
//# sourceMappingURL=toml-patch-wasm-J5VGG6WG.js.map
|