@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
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getEnvironmentData,
|
|
3
3
|
getLastSeenUserIdAfterAuth,
|
|
4
4
|
getSensitiveEnvironmentData
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HVXOXFW7.js";
|
|
6
6
|
import {
|
|
7
7
|
fetch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NVXZREWB.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F65YW645.js";
|
|
12
12
|
import {
|
|
13
13
|
runWithRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GESAFNQ7.js";
|
|
15
15
|
import {
|
|
16
16
|
alwaysLogAnalytics,
|
|
17
17
|
alwaysLogMetrics,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
outputDebug,
|
|
29
29
|
outputToken,
|
|
30
30
|
reportingRateLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BU5YHTR3.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__esm,
|
|
@@ -8496,9 +8496,9 @@ var require_pool = __commonJS({
|
|
|
8496
8496
|
}
|
|
8497
8497
|
});
|
|
8498
8498
|
|
|
8499
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
8499
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/util/longbits.js
|
|
8500
8500
|
var require_longbits = __commonJS({
|
|
8501
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
8501
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/util/longbits.js"(exports2, module2) {
|
|
8502
8502
|
"use strict";
|
|
8503
8503
|
init_cjs_shims();
|
|
8504
8504
|
module2.exports = LongBits;
|
|
@@ -8579,9 +8579,9 @@ var require_longbits = __commonJS({
|
|
|
8579
8579
|
}
|
|
8580
8580
|
});
|
|
8581
8581
|
|
|
8582
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
8582
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/util/minimal.js
|
|
8583
8583
|
var require_minimal = __commonJS({
|
|
8584
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
8584
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/util/minimal.js"(exports2) {
|
|
8585
8585
|
"use strict";
|
|
8586
8586
|
init_cjs_shims();
|
|
8587
8587
|
var util = exports2;
|
|
@@ -8740,9 +8740,9 @@ var require_minimal = __commonJS({
|
|
|
8740
8740
|
}
|
|
8741
8741
|
});
|
|
8742
8742
|
|
|
8743
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
8743
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/writer.js
|
|
8744
8744
|
var require_writer = __commonJS({
|
|
8745
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
8745
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/writer.js"(exports2, module2) {
|
|
8746
8746
|
"use strict";
|
|
8747
8747
|
init_cjs_shims();
|
|
8748
8748
|
module2.exports = Writer;
|
|
@@ -8878,9 +8878,9 @@ var require_writer = __commonJS({
|
|
|
8878
8878
|
}
|
|
8879
8879
|
});
|
|
8880
8880
|
|
|
8881
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
8881
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/writer_buffer.js
|
|
8882
8882
|
var require_writer_buffer = __commonJS({
|
|
8883
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
8883
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/writer_buffer.js"(exports2, module2) {
|
|
8884
8884
|
"use strict";
|
|
8885
8885
|
init_cjs_shims();
|
|
8886
8886
|
module2.exports = BufferWriter;
|
|
@@ -8916,9 +8916,9 @@ var require_writer_buffer = __commonJS({
|
|
|
8916
8916
|
}
|
|
8917
8917
|
});
|
|
8918
8918
|
|
|
8919
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
8919
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/reader.js
|
|
8920
8920
|
var require_reader = __commonJS({
|
|
8921
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
8921
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/reader.js"(exports2, module2) {
|
|
8922
8922
|
"use strict";
|
|
8923
8923
|
init_cjs_shims();
|
|
8924
8924
|
module2.exports = Reader;
|
|
@@ -9106,9 +9106,9 @@ var require_reader = __commonJS({
|
|
|
9106
9106
|
}
|
|
9107
9107
|
});
|
|
9108
9108
|
|
|
9109
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
9109
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/reader_buffer.js
|
|
9110
9110
|
var require_reader_buffer = __commonJS({
|
|
9111
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
9111
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/reader_buffer.js"(exports2, module2) {
|
|
9112
9112
|
"use strict";
|
|
9113
9113
|
init_cjs_shims();
|
|
9114
9114
|
module2.exports = BufferReader;
|
|
@@ -9129,9 +9129,9 @@ var require_reader_buffer = __commonJS({
|
|
|
9129
9129
|
}
|
|
9130
9130
|
});
|
|
9131
9131
|
|
|
9132
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
9132
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/rpc/service.js
|
|
9133
9133
|
var require_service = __commonJS({
|
|
9134
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
9134
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/rpc/service.js"(exports2, module2) {
|
|
9135
9135
|
"use strict";
|
|
9136
9136
|
init_cjs_shims();
|
|
9137
9137
|
module2.exports = Service;
|
|
@@ -9190,9 +9190,9 @@ var require_service = __commonJS({
|
|
|
9190
9190
|
}
|
|
9191
9191
|
});
|
|
9192
9192
|
|
|
9193
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
9193
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/rpc.js
|
|
9194
9194
|
var require_rpc = __commonJS({
|
|
9195
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
9195
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/rpc.js"(exports2) {
|
|
9196
9196
|
"use strict";
|
|
9197
9197
|
init_cjs_shims();
|
|
9198
9198
|
var rpc = exports2;
|
|
@@ -9200,18 +9200,18 @@ var require_rpc = __commonJS({
|
|
|
9200
9200
|
}
|
|
9201
9201
|
});
|
|
9202
9202
|
|
|
9203
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
9203
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/roots.js
|
|
9204
9204
|
var require_roots = __commonJS({
|
|
9205
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
9205
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/roots.js"(exports2, module2) {
|
|
9206
9206
|
"use strict";
|
|
9207
9207
|
init_cjs_shims();
|
|
9208
9208
|
module2.exports = {};
|
|
9209
9209
|
}
|
|
9210
9210
|
});
|
|
9211
9211
|
|
|
9212
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
9212
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/index-minimal.js
|
|
9213
9213
|
var require_index_minimal = __commonJS({
|
|
9214
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
9214
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/src/index-minimal.js"(exports2) {
|
|
9215
9215
|
"use strict";
|
|
9216
9216
|
init_cjs_shims();
|
|
9217
9217
|
var protobuf = exports2;
|
|
@@ -9231,9 +9231,9 @@ var require_index_minimal = __commonJS({
|
|
|
9231
9231
|
}
|
|
9232
9232
|
});
|
|
9233
9233
|
|
|
9234
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
9234
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/minimal.js
|
|
9235
9235
|
var require_minimal2 = __commonJS({
|
|
9236
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
9236
|
+
"../../node_modules/.pnpm/protobufjs@7.5.3/node_modules/protobufjs/minimal.js"(exports2, module2) {
|
|
9237
9237
|
"use strict";
|
|
9238
9238
|
init_cjs_shims();
|
|
9239
9239
|
module2.exports = require_index_minimal();
|
|
@@ -15930,4 +15930,4 @@ export {
|
|
|
15930
15930
|
requestIdsCollection,
|
|
15931
15931
|
reportAnalyticsEvent
|
|
15932
15932
|
};
|
|
15933
|
-
//# sourceMappingURL=chunk-
|
|
15933
|
+
//# sourceMappingURL=chunk-H4NXKYFX.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LKFFDKQK.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I55SUBMN.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BU5YHTR3.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-H7RFBD5F.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I55SUBMN.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
5
|
+
outputResult,
|
|
6
|
+
renderTable
|
|
7
|
+
} from "./chunk-BU5YHTR3.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LPU2VGJR.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims
|
|
@@ -52,8 +52,9 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
52
52
|
if (flags.csv) {
|
|
53
53
|
let columns = ["pluginName", "command", "flagName", "flagChar", "flagEnv"], header = `${columns.join(",")}
|
|
54
54
|
`, rows = data.map((obj) => columns.map((key) => obj[key]).join(",")).join(`
|
|
55
|
-
`), csvString = header
|
|
56
|
-
|
|
55
|
+
`), csvString = `${header}${rows}
|
|
56
|
+
`;
|
|
57
|
+
outputResult(csvString);
|
|
57
58
|
} else
|
|
58
59
|
renderTable({
|
|
59
60
|
rows: data,
|
|
@@ -83,4 +84,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
83
84
|
export {
|
|
84
85
|
CommandFlags
|
|
85
86
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-HL635BW4.js.map
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
nonRandomUUID,
|
|
8
8
|
shopifyFetch,
|
|
9
9
|
z
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NVXZREWB.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-GESAFNQ7.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-BU5YHTR3.js";
|
|
49
49
|
import {
|
|
50
50
|
cwd
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Y2JP6WFP.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__require,
|
|
@@ -241,7 +241,7 @@ function defaultApiScopes(api) {
|
|
|
241
241
|
case "partners":
|
|
242
242
|
return ["cli"];
|
|
243
243
|
case "business-platform":
|
|
244
|
-
return ["destinations", "store-management"];
|
|
244
|
+
return ["destinations", "store-management", "on-demand-user-access"];
|
|
245
245
|
case "app-management":
|
|
246
246
|
return ["app-management"];
|
|
247
247
|
default:
|
|
@@ -264,6 +264,8 @@ function scopeTransform(scope) {
|
|
|
264
264
|
return "https://api.shopify.com/auth/destinations.readonly";
|
|
265
265
|
case "store-management":
|
|
266
266
|
return "https://api.shopify.com/auth/organization.store-management";
|
|
267
|
+
case "on-demand-user-access":
|
|
268
|
+
return "https://api.shopify.com/auth/organization.on-demand-user-access";
|
|
267
269
|
case "app-management":
|
|
268
270
|
return "https://api.shopify.com/auth/organization.apps.manage";
|
|
269
271
|
default:
|
|
@@ -1204,4 +1206,4 @@ export {
|
|
|
1204
1206
|
getEnvironmentData,
|
|
1205
1207
|
getSensitiveEnvironmentData
|
|
1206
1208
|
};
|
|
1207
|
-
//# sourceMappingURL=chunk-
|
|
1209
|
+
//# sourceMappingURL=chunk-HVXOXFW7.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VKZ4FDXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
staticService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AFKRMMUK.js";
|
|
7
7
|
import {
|
|
8
8
|
asyncTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OCEG2LVS.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I55SUBMN.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
15
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
KitchenSinkAll
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-I3MFQXUO.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EVLVUZ4W.js";
|
|
5
5
|
import {
|
|
6
6
|
setCurrentCommandId,
|
|
7
7
|
showNotificationsIfNeeded
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FD2PC23V.js";
|
|
9
9
|
import {
|
|
10
10
|
hashString
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NVXZREWB.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
addPublicMetadata,
|
|
@@ -17,20 +17,20 @@ import {
|
|
|
17
17
|
isDevelopment,
|
|
18
18
|
isTruthy,
|
|
19
19
|
outputContent,
|
|
20
|
-
|
|
20
|
+
outputResult,
|
|
21
21
|
outputToken,
|
|
22
22
|
readFile,
|
|
23
23
|
renderInfo,
|
|
24
24
|
renderWarning,
|
|
25
25
|
terminalSupportsPrompting,
|
|
26
26
|
underscore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BU5YHTR3.js";
|
|
28
28
|
import {
|
|
29
29
|
cwd
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Y2JP6WFP.js";
|
|
31
31
|
import {
|
|
32
32
|
require_lib
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LPU2VGJR.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__require,
|
|
@@ -1515,29 +1515,40 @@ function encodeToml(content) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
1517
|
// ../cli-kit/dist/public/node/environments.js
|
|
1518
|
+
function renderWarningIfNeeded(message, silent) {
|
|
1519
|
+
silent || renderWarning(message);
|
|
1520
|
+
}
|
|
1518
1521
|
async function loadEnvironment(environmentName, fileName, options) {
|
|
1519
|
-
let
|
|
1520
|
-
cwd: basePath,
|
|
1521
|
-
type: "file"
|
|
1522
|
-
});
|
|
1522
|
+
let filePath = await environmentFilePath(fileName, options);
|
|
1523
1523
|
if (!filePath) {
|
|
1524
|
-
|
|
1524
|
+
renderWarningIfNeeded({ body: "Environment file not found." }, options?.silent);
|
|
1525
1525
|
return;
|
|
1526
1526
|
}
|
|
1527
1527
|
let environments = decodeToml(await readFile(filePath)).environments;
|
|
1528
1528
|
if (!environments) {
|
|
1529
|
-
|
|
1529
|
+
renderWarningIfNeeded({
|
|
1530
1530
|
body: ["No environments found in", { command: filePath }, { char: "." }]
|
|
1531
|
-
});
|
|
1531
|
+
}, options?.silent);
|
|
1532
1532
|
return;
|
|
1533
1533
|
}
|
|
1534
1534
|
let environment = environments[environmentName];
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1535
|
+
if (!environment) {
|
|
1536
|
+
renderWarningIfNeeded({
|
|
1537
|
+
body: ["Environment", { command: environmentName }, "not found."]
|
|
1538
|
+
}, options?.silent);
|
|
1539
|
+
return;
|
|
1540
|
+
}
|
|
1541
|
+
return await addSensitiveMetadata(() => ({
|
|
1538
1542
|
environmentFlags: JSON.stringify(environment)
|
|
1539
1543
|
})), environment;
|
|
1540
1544
|
}
|
|
1545
|
+
async function environmentFilePath(fileName, options) {
|
|
1546
|
+
let basePath = options?.from && options.from !== "." ? options.from : cwd();
|
|
1547
|
+
return findPathUp(fileName, {
|
|
1548
|
+
cwd: basePath,
|
|
1549
|
+
type: "file"
|
|
1550
|
+
});
|
|
1551
|
+
}
|
|
1541
1552
|
|
|
1542
1553
|
// ../cli-kit/dist/public/node/base-command.js
|
|
1543
1554
|
var import_core = __toESM(require_lib()), BaseCommand = class extends import_core.Command {
|
|
@@ -1572,7 +1583,7 @@ var import_core = __toESM(require_lib()), BaseCommand = class extends import_cor
|
|
|
1572
1583
|
}
|
|
1573
1584
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
1574
1585
|
exitWithTimestampWhenEnvVariablePresent() {
|
|
1575
|
-
isTruthy(process.env.SHOPIFY_CLI_ENV_STARTUP_PERFORMANCE_RUN) && (
|
|
1586
|
+
isTruthy(process.env.SHOPIFY_CLI_ENV_STARTUP_PERFORMANCE_RUN) && (outputResult(`
|
|
1576
1587
|
SHOPIFY_CLI_TIMESTAMP_START
|
|
1577
1588
|
{ "timestamp": ${Date.now()} }
|
|
1578
1589
|
SHOPIFY_CLI_TIMESTAMP_END
|
|
@@ -1596,17 +1607,28 @@ This flag is required in non-interactive terminal environments, such as a CI env
|
|
|
1596
1607
|
}
|
|
1597
1608
|
async resultWithEnvironment(originalResult, options, argv) {
|
|
1598
1609
|
let flags = originalResult.flags, environmentsFileName = this.environmentsFilename();
|
|
1599
|
-
if (!
|
|
1610
|
+
if (!environmentsFileName)
|
|
1611
|
+
return originalResult;
|
|
1612
|
+
let environmentFileExists = await environmentFilePath(environmentsFileName, { from: flags.path }), environments = flags.environment ?? [], environmentSpecified = environments.length > 0;
|
|
1613
|
+
if (!environmentFileExists && !environmentSpecified || environmentSpecified && environments.length > 1)
|
|
1600
1614
|
return originalResult;
|
|
1601
|
-
let environment = await
|
|
1615
|
+
let { environment, isDefaultEnvironment } = await this.loadEnvironmentForCommand(flags.path, environmentsFileName, environments[0]);
|
|
1602
1616
|
if (!environment)
|
|
1603
1617
|
return originalResult;
|
|
1604
1618
|
let noDefaultsResult = await super.parse(noDefaultsOptions(options), argv), result = await super.parse(options, [
|
|
1605
1619
|
// Need to specify argv default because we're merging with argsFromEnvironment.
|
|
1606
1620
|
...argv ?? this.argv,
|
|
1607
|
-
...argsFromEnvironment(environment, options, noDefaultsResult)
|
|
1621
|
+
...argsFromEnvironment(environment, options, noDefaultsResult),
|
|
1622
|
+
...isDefaultEnvironment ? ["--environment", "default"] : []
|
|
1608
1623
|
]);
|
|
1609
|
-
return reportEnvironmentApplication(noDefaultsResult.flags, result.flags, flags.environment[0], environment), result;
|
|
1624
|
+
return reportEnvironmentApplication(noDefaultsResult.flags, result.flags, isDefaultEnvironment ? "default" : flags.environment?.[0], environment), result;
|
|
1625
|
+
}
|
|
1626
|
+
/**
|
|
1627
|
+
* Tries to load an environment to forward to the command. If no environment
|
|
1628
|
+
* is specified it will try to load a default environment.
|
|
1629
|
+
*/
|
|
1630
|
+
async loadEnvironmentForCommand(path, environmentsFileName, specifiedEnvironment) {
|
|
1631
|
+
return specifiedEnvironment ? { environment: await loadEnvironment(specifiedEnvironment, environmentsFileName, { from: path }), isDefaultEnvironment: !1 } : { environment: await loadEnvironment("default", environmentsFileName, { from: path, silent: !0 }), isDefaultEnvironment: !0 };
|
|
1610
1632
|
}
|
|
1611
1633
|
};
|
|
1612
1634
|
BaseCommand.baseFlags = {};
|
|
@@ -1665,4 +1687,4 @@ export {
|
|
|
1665
1687
|
loadEnvironment,
|
|
1666
1688
|
base_command_default
|
|
1667
1689
|
};
|
|
1668
|
-
//# sourceMappingURL=chunk-
|
|
1690
|
+
//# sourceMappingURL=chunk-I55SUBMN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5VEQZWD.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I55SUBMN.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Generate
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-J22RRMUV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I55SUBMN.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LPU2VGJR.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-JMLKYNLE.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OCEG2LVS.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I55SUBMN.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-LJSDT5VD.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GESAFNQ7.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BU5YHTR3.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
cliInstallCommand,
|
|
26
26
|
getOutputUpdateCLIReminder
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-LKFFDKQK.js.map
|