@shopify/cli 3.72.2 → 3.73.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/hydrogen/starter/CHANGELOG.md +814 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +3 -4
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +113 -44
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +8 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +6 -5
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +3 -3
- package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +9 -16
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -119
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +42 -38
- package/dist/assets/hydrogen/starter/app/styles/app.css +25 -1
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +23 -20
- package/dist/assets/hydrogen/starter/guides/search/search.md +27 -25
- package/dist/assets/hydrogen/starter/package.json +3 -3
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +177 -194
- package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
- package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
- package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
- package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
- package/dist/{chunk-4HTVLK2H.js → chunk-3OXCI3HX.js} +1402 -1989
- package/dist/{chunk-2YCRDHPC.js → chunk-5OFJTURZ.js} +4 -4
- package/dist/{chunk-TAKO7LSJ.js → chunk-65GSOZHL.js} +7 -7
- package/dist/{chunk-6IUL3QZW.js → chunk-66HLUVKV.js} +4 -4
- package/dist/{chunk-N2V4IFX3.js → chunk-6PEBJVBW.js} +3 -3
- package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
- package/dist/{chunk-QXIIXX7G.js → chunk-7RKRCUFA.js} +16518 -24140
- package/dist/{chunk-ZESD7DR7.js → chunk-AFPOP3K5.js} +67 -104
- package/dist/{chunk-2HGYYNE5.js → chunk-B5EXYCV3.js} +5 -9
- package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
- package/dist/{chunk-YXJHYEP7.js → chunk-CEIZT2W3.js} +4 -4
- package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
- package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
- package/dist/{chunk-PQQTBTYM.js → chunk-ELTOJBOJ.js} +4 -5
- package/dist/{chunk-NUP5TATA.js → chunk-EZQWZ57B.js} +2 -2
- package/dist/{chunk-YKUYPSCY.js → chunk-F7D333WQ.js} +3 -3
- package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
- package/dist/{chunk-CBBS4CV7.js → chunk-G5R6YD27.js} +8 -13
- package/dist/{chunk-RCRRAFH7.js → chunk-GDLROW57.js} +3 -3
- package/dist/{chunk-KMZ5JSGS.js → chunk-I25PGLBO.js} +3 -3
- package/dist/{chunk-OXKHBIW7.js → chunk-IG5SOACB.js} +29 -34
- package/dist/{chunk-UIRMJZRW.js → chunk-IRHYYIN7.js} +4 -4
- package/dist/{chunk-OWLPHMUA.js → chunk-J673ZU5S.js} +4 -4
- package/dist/{chunk-HYGCZ6GV.js → chunk-JORKLY7M.js} +68 -49
- package/dist/{chunk-K6Y4FYT5.js → chunk-K7HGDAI4.js} +17 -20
- package/dist/{chunk-I6R52HNI.js → chunk-KF2D6QHZ.js} +39 -68
- package/dist/{chunk-KGKTCQ7H.js → chunk-KMWARALD.js} +5 -5
- package/dist/{chunk-VWNWE4HG.js → chunk-KTNFE44J.js} +110 -83
- package/dist/{chunk-BYPQXSAL.js → chunk-KUM3DVPF.js} +17 -13
- package/dist/{chunk-K7B4JJLF.js → chunk-KZBL6BQ7.js} +4 -4
- package/dist/{chunk-WNDN5FAY.js → chunk-MHUINF7I.js} +3 -3
- package/dist/{chunk-L2J5VM7R.js → chunk-NFQLKURK.js} +41 -68
- package/dist/{chunk-KCI6QCAV.js → chunk-O77L7CCL.js} +4 -4
- package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
- package/dist/{chunk-GVNIHXMX.js → chunk-OE3IXTC5.js} +38 -60
- package/dist/{chunk-ECWFBV2F.js → chunk-ONOLOXLM.js} +5 -5
- package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
- package/dist/{chunk-JDM5VOXB.js → chunk-PRWEHR2C.js} +3 -3
- package/dist/{chunk-SO2RZ6TZ.js → chunk-QNK2EAZ3.js} +5 -5
- package/dist/{chunk-E37RRDIH.js → chunk-RCA7PFH4.js} +4 -4
- package/dist/{chunk-GKEFW755.js → chunk-RK7JAMCI.js} +6 -6
- package/dist/{chunk-HMUOOT55.js → chunk-SANP6FPA.js} +6 -6
- package/dist/{chunk-OJOHMVV7.js → chunk-SBPFWO4S.js} +294 -448
- package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
- package/dist/{chunk-NE43V3EI.js → chunk-SUUVDRTQ.js} +6 -7
- package/dist/{chunk-VJ7TIVX7.js → chunk-TEHNKBLD.js} +6 -7
- package/dist/{chunk-KVEY52WG.js → chunk-VPNXQGG6.js} +4 -4
- package/dist/{chunk-NXHZX3WR.js → chunk-X5FJXK25.js} +9 -9
- package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
- package/dist/{chunk-UIAIRQSP.js → chunk-XAGT2UNE.js} +3 -3
- package/dist/{chunk-7Q3MMWAC.js → chunk-XE5EOEBL.js} +2 -2
- package/dist/{chunk-PKJLXLTR.js → chunk-YP7WU5EU.js} +5 -5
- package/dist/{chunk-QDPQB6WU.js → chunk-YPTEMDFR.js} +5 -5
- package/dist/{chunk-KWLJTNRE.js → chunk-ZENVITME.js} +4 -4
- package/dist/{chunk-HSTSRNLJ.js → chunk-ZX3L2JKV.js} +64 -86
- package/dist/cli/commands/auth/logout.js +28 -28
- package/dist/cli/commands/auth/logout.test.js +30 -30
- package/dist/cli/commands/cache/clear.js +27 -27
- package/dist/cli/commands/debug/command-flags.js +27 -27
- package/dist/cli/commands/docs/generate.js +27 -27
- package/dist/cli/commands/docs/generate.test.js +28 -28
- package/dist/cli/commands/help.js +27 -27
- package/dist/cli/commands/kitchen-sink/async.js +28 -28
- package/dist/cli/commands/kitchen-sink/async.test.js +29 -29
- package/dist/cli/commands/kitchen-sink/index.js +30 -30
- package/dist/cli/commands/kitchen-sink/index.test.js +31 -31
- package/dist/cli/commands/kitchen-sink/prompts.js +28 -28
- package/dist/cli/commands/kitchen-sink/prompts.test.js +29 -29
- package/dist/cli/commands/kitchen-sink/static.js +28 -28
- package/dist/cli/commands/kitchen-sink/static.test.js +29 -29
- package/dist/cli/commands/notifications/generate.js +28 -28
- package/dist/cli/commands/notifications/list.js +28 -28
- package/dist/cli/commands/search.js +28 -28
- package/dist/cli/commands/upgrade.js +28 -28
- package/dist/cli/commands/upgrade.test.js +3 -3
- package/dist/cli/commands/version.js +28 -28
- package/dist/cli/commands/version.test.js +29 -29
- package/dist/cli/services/commands/notifications.js +21 -21
- package/dist/cli/services/commands/search.js +15 -15
- package/dist/cli/services/commands/search.test.js +16 -16
- package/dist/cli/services/commands/version.js +16 -16
- package/dist/cli/services/commands/version.test.js +18 -18
- package/dist/cli/services/kitchen-sink/async.js +15 -15
- package/dist/cli/services/kitchen-sink/prompts.js +15 -15
- package/dist/cli/services/kitchen-sink/static.js +15 -15
- package/dist/cli/services/upgrade.js +17 -17
- package/dist/cli/services/upgrade.test.js +20 -20
- package/dist/configs/all.yml +12 -0
- package/dist/configs/recommended.yml +15 -0
- package/dist/configs/theme-app-extension.yml +3 -0
- package/dist/{custom-oclif-loader-G2DAJL7B.js → custom-oclif-loader-V3IB4SYZ.js} +15 -15
- package/dist/data/latest.json +1 -1
- package/dist/data/manifest_theme.json +1 -0
- package/dist/data/preset.json +66 -0
- package/dist/data/preset_blocks.json +20 -13
- package/dist/data/section.json +1 -15
- package/dist/data/setting.json +1 -1
- package/dist/data/theme_block.json +1 -15
- package/dist/{del-K5ZJEWTD.js → del-P2RS6GN2.js} +9 -9
- package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
- package/dist/error-handler-WK3AZ7A2.js +38 -0
- package/dist/hooks/postrun.js +22 -22
- package/dist/hooks/prerun.js +22 -22
- package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
- package/dist/index.js +7228 -7320
- package/dist/lib-JVEIEXYB.js +6 -0
- package/dist/lib-QZGSY5YB.js +13 -0
- package/dist/{local-Q5ZG2NHX.js → local-3ERK45M5.js} +15 -15
- package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
- package/dist/{morph-SEECJQ2W.js → morph-OSHCID2F.js} +261 -347
- package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
- package/dist/{node-S6CM3NTX.js → node-2KLEBSMO.js} +31 -31
- package/dist/{node-package-manager-GUY5IO3W.js → node-package-manager-QIM24GB3.js} +19 -17
- package/dist/{npa-RLWNZ3BM.js → npa-TM76BGG3.js} +10 -16
- package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
- package/dist/out-JR4DWQ2G.js +7 -0
- package/dist/{path-NDLRQPLA.js → path-2HZUSAGR.js} +3 -3
- package/dist/{source-map-7AAPWPHZ.js → source-map-QCVC46UY.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-AWSBLSD4.js → ui-5AHG256I.js} +15 -15
- package/dist/{workerd-3HGLHQET.js → workerd-MSNALKI2.js} +30 -30
- package/oclif.manifest.json +81 -1
- package/package.json +8 -8
- package/dist/error-handler-6HCFKLTC.js +0 -38
- package/dist/lib-PPXZBVZX.js +0 -6
- package/dist/lib-XYCLX35G.js +0 -13
- package/dist/out-MHEKZJWS.js +0 -7
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KF2D6QHZ.js";
|
|
5
5
|
import {
|
|
6
6
|
setCurrentCommandId,
|
|
7
7
|
showNotificationsIfNeeded
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-65GSOZHL.js";
|
|
9
9
|
import {
|
|
10
10
|
hashString
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KTNFE44J.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
addPublicMetadata,
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
renderWarning,
|
|
25
25
|
terminalSupportsPrompting,
|
|
26
26
|
underscore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3OXCI3HX.js";
|
|
28
28
|
import {
|
|
29
29
|
cwd
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K7HGDAI4.js";
|
|
31
31
|
import {
|
|
32
32
|
require_lib
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SBPFWO4S.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__require,
|
|
37
37
|
__toESM,
|
|
38
38
|
init_cjs_shims
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
40
40
|
|
|
41
41
|
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js
|
|
42
42
|
var require_parser = __commonJS({
|
|
@@ -57,8 +57,7 @@ var require_parser = __commonJS({
|
|
|
57
57
|
this.pos = 0, this.col = 0, this.line = 0, this.obj = {}, this.ctx = this.obj, this.stack = [], this._buf = "", this.char = null, this.ii = 0, this.state = new State(this.parseStart);
|
|
58
58
|
}
|
|
59
59
|
parse(str) {
|
|
60
|
-
if (str.length === 0 || str.length == null)
|
|
61
|
-
return;
|
|
60
|
+
if (str.length === 0 || str.length == null) return;
|
|
62
61
|
this._buf = String(str), this.ii = -1, this.char = -1;
|
|
63
62
|
let getNext;
|
|
64
63
|
for (; getNext === !1 || this.nextChar(); )
|
|
@@ -83,8 +82,7 @@ var require_parser = __commonJS({
|
|
|
83
82
|
return this.ctx = null, this.state = null, this._buf = null, this.obj;
|
|
84
83
|
}
|
|
85
84
|
next(fn) {
|
|
86
|
-
if (typeof fn != "function")
|
|
87
|
-
throw new ParserError("Tried to set state to non-existent state: " + JSON.stringify(fn));
|
|
85
|
+
if (typeof fn != "function") throw new ParserError("Tried to set state to non-existent state: " + JSON.stringify(fn));
|
|
88
86
|
this.state.parser = fn;
|
|
89
87
|
}
|
|
90
88
|
goto(fn) {
|
|
@@ -97,16 +95,14 @@ var require_parser = __commonJS({
|
|
|
97
95
|
return this.call(fn, returnWith), this.runOne();
|
|
98
96
|
}
|
|
99
97
|
return(value) {
|
|
100
|
-
if (this.stack.length === 0)
|
|
101
|
-
throw this.error(new ParserError("Stack underflow"));
|
|
98
|
+
if (this.stack.length === 0) throw this.error(new ParserError("Stack underflow"));
|
|
102
99
|
value === void 0 && (value = this.state.buf), this.state = this.stack.pop(), this.state.returned = value;
|
|
103
100
|
}
|
|
104
101
|
returnNow(value) {
|
|
105
102
|
return this.return(value), this.runOne();
|
|
106
103
|
}
|
|
107
104
|
consume() {
|
|
108
|
-
if (this.char === 1114112)
|
|
109
|
-
throw this.error(new ParserError("Unexpected end-of-buffer"));
|
|
105
|
+
if (this.char === 1114112) throw this.error(new ParserError("Unexpected end-of-buffer"));
|
|
110
106
|
this.state.buf += this._buf[this.ii];
|
|
111
107
|
}
|
|
112
108
|
error(err) {
|
|
@@ -143,8 +139,7 @@ var require_format_num = __commonJS({
|
|
|
143
139
|
"use strict";
|
|
144
140
|
init_cjs_shims();
|
|
145
141
|
module2.exports = (d, num) => {
|
|
146
|
-
for (num = String(num); num.length < d; )
|
|
147
|
-
num = "0" + num;
|
|
142
|
+
for (num = String(num); num.length < d; ) num = "0" + num;
|
|
148
143
|
return num;
|
|
149
144
|
};
|
|
150
145
|
}
|
|
@@ -360,18 +355,18 @@ var require_toml_parser = __commonJS({
|
|
|
360
355
|
function tomlType(value) {
|
|
361
356
|
let type = typeof value;
|
|
362
357
|
if (type === "object") {
|
|
363
|
-
if (value === null)
|
|
364
|
-
|
|
365
|
-
if (value instanceof Date)
|
|
366
|
-
return "datetime";
|
|
358
|
+
if (value === null) return "null";
|
|
359
|
+
if (value instanceof Date) return "datetime";
|
|
367
360
|
if (_type in value)
|
|
368
361
|
switch (value[_type]) {
|
|
369
362
|
case INLINE_TABLE:
|
|
370
363
|
return "inline-table";
|
|
371
364
|
case INLINE_LIST:
|
|
372
365
|
return "inline-list";
|
|
366
|
+
/* istanbul ignore next */
|
|
373
367
|
case TABLE:
|
|
374
368
|
return "table";
|
|
369
|
+
/* istanbul ignore next */
|
|
375
370
|
case LIST:
|
|
376
371
|
return "list";
|
|
377
372
|
case FLOAT:
|
|
@@ -734,15 +729,13 @@ var require_toml_parser = __commonJS({
|
|
|
734
729
|
}
|
|
735
730
|
parseSmallUnicode() {
|
|
736
731
|
if (isHexit(this.char)) {
|
|
737
|
-
if (this.consume(), this.state.buf.length >= 4)
|
|
738
|
-
return this.return();
|
|
732
|
+
if (this.consume(), this.state.buf.length >= 4) return this.return();
|
|
739
733
|
} else
|
|
740
734
|
throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));
|
|
741
735
|
}
|
|
742
736
|
parseLargeUnicode() {
|
|
743
737
|
if (isHexit(this.char)) {
|
|
744
|
-
if (this.consume(), this.state.buf.length >= 8)
|
|
745
|
-
return this.return();
|
|
738
|
+
if (this.consume(), this.state.buf.length >= 8) return this.return();
|
|
746
739
|
} else
|
|
747
740
|
throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));
|
|
748
741
|
}
|
|
@@ -796,8 +789,7 @@ var require_toml_parser = __commonJS({
|
|
|
796
789
|
return this.call(this.parseNoUnder, this.parseNumberFloat);
|
|
797
790
|
if (isDigit(this.char))
|
|
798
791
|
this.consume();
|
|
799
|
-
else
|
|
800
|
-
return this.char === CHAR_E || this.char === CHAR_e ? (this.consume(), this.next(this.parseNumberExponentSign)) : this.returnNow(Float(this.state.buf));
|
|
792
|
+
else return this.char === CHAR_E || this.char === CHAR_e ? (this.consume(), this.next(this.parseNumberExponentSign)) : this.returnNow(Float(this.state.buf));
|
|
801
793
|
}
|
|
802
794
|
parseNumberExponentSign() {
|
|
803
795
|
if (isDigit(this.char))
|
|
@@ -810,8 +802,7 @@ var require_toml_parser = __commonJS({
|
|
|
810
802
|
parseNumberExponent() {
|
|
811
803
|
if (isDigit(this.char))
|
|
812
804
|
this.consume();
|
|
813
|
-
else
|
|
814
|
-
return this.char === CHAR_LOWBAR ? this.call(this.parseNoUnder) : this.returnNow(Float(this.state.buf));
|
|
805
|
+
else return this.char === CHAR_LOWBAR ? this.call(this.parseNoUnder) : this.returnNow(Float(this.state.buf));
|
|
815
806
|
}
|
|
816
807
|
/* NUMBERS or DATETIMES */
|
|
817
808
|
parseNumberOrDateTime() {
|
|
@@ -822,8 +813,7 @@ var require_toml_parser = __commonJS({
|
|
|
822
813
|
return this.call(this.parseNoUnder, this.parseNumberInteger);
|
|
823
814
|
if (isDigit(this.char))
|
|
824
815
|
this.consume(), this.state.buf.length > 4 && this.next(this.parseNumberInteger);
|
|
825
|
-
else
|
|
826
|
-
return this.char === CHAR_E || this.char === CHAR_e ? (this.consume(), this.next(this.parseNumberExponentSign)) : this.char === CHAR_PERIOD ? (this.consume(), this.call(this.parseNoUnder, this.parseNumberFloat)) : this.char === CHAR_HYPHEN ? this.goto(this.parseDateTime) : this.char === CHAR_COLON ? this.goto(this.parseOnlyTimeHour) : this.returnNow(Integer(this.state.buf));
|
|
816
|
+
else return this.char === CHAR_E || this.char === CHAR_e ? (this.consume(), this.next(this.parseNumberExponentSign)) : this.char === CHAR_PERIOD ? (this.consume(), this.call(this.parseNoUnder, this.parseNumberFloat)) : this.char === CHAR_HYPHEN ? this.goto(this.parseDateTime) : this.char === CHAR_COLON ? this.goto(this.parseOnlyTimeHour) : this.returnNow(Integer(this.state.buf));
|
|
827
817
|
}
|
|
828
818
|
parseDateTimeOnly() {
|
|
829
819
|
if (this.state.buf.length < 4) {
|
|
@@ -976,8 +966,7 @@ var require_toml_parser = __commonJS({
|
|
|
976
966
|
if (isDigit(this.char))
|
|
977
967
|
this.consume();
|
|
978
968
|
else if (this.atEndOfWord()) {
|
|
979
|
-
if (this.state.buf.length === 0)
|
|
980
|
-
throw this.error(new TomlError("Expected digit in milliseconds"));
|
|
969
|
+
if (this.state.buf.length === 0) throw this.error(new TomlError("Expected digit in milliseconds"));
|
|
981
970
|
return this.returnNow(createTime(this.state.result + "." + this.state.buf));
|
|
982
971
|
} else
|
|
983
972
|
throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));
|
|
@@ -1014,8 +1003,7 @@ var require_toml_parser = __commonJS({
|
|
|
1014
1003
|
}
|
|
1015
1004
|
parseTimeZoneHour() {
|
|
1016
1005
|
if (isDigit(this.char)) {
|
|
1017
|
-
if (this.consume(), /\d\d$/.test(this.state.buf))
|
|
1018
|
-
return this.next(this.parseTimeZoneSep);
|
|
1006
|
+
if (this.consume(), /\d\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);
|
|
1019
1007
|
} else
|
|
1020
1008
|
throw this.error(new TomlError("Unexpected character in datetime, expected digit"));
|
|
1021
1009
|
}
|
|
@@ -1027,8 +1015,7 @@ var require_toml_parser = __commonJS({
|
|
|
1027
1015
|
}
|
|
1028
1016
|
parseTimeZoneMin() {
|
|
1029
1017
|
if (isDigit(this.char)) {
|
|
1030
|
-
if (this.consume(), /\d\d$/.test(this.state.buf))
|
|
1031
|
-
return this.return(createDateTime(this.state.result + this.state.buf));
|
|
1018
|
+
if (this.consume(), /\d\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf));
|
|
1032
1019
|
} else
|
|
1033
1020
|
throw this.error(new TomlError("Unexpected character in datetime, expected digit"));
|
|
1034
1021
|
}
|
|
@@ -1145,14 +1132,12 @@ var require_parse_pretty_error = __commonJS({
|
|
|
1145
1132
|
init_cjs_shims();
|
|
1146
1133
|
module2.exports = prettyError;
|
|
1147
1134
|
function prettyError(err, buf) {
|
|
1148
|
-
if (err.pos == null || err.line == null)
|
|
1149
|
-
return err;
|
|
1135
|
+
if (err.pos == null || err.line == null) return err;
|
|
1150
1136
|
let msg = err.message;
|
|
1151
1137
|
if (msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:
|
|
1152
1138
|
`, buf && buf.split) {
|
|
1153
1139
|
let lines = buf.split(/\n/), lineNumWidth = String(Math.min(lines.length, err.line + 3)).length, linePadding = " ";
|
|
1154
|
-
for (; linePadding.length < lineNumWidth; )
|
|
1155
|
-
linePadding += " ";
|
|
1140
|
+
for (; linePadding.length < lineNumWidth; ) linePadding += " ";
|
|
1156
1141
|
for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {
|
|
1157
1142
|
let lineNum = String(ii + 1);
|
|
1158
1143
|
if (lineNum.length < lineNumWidth && (lineNum = " " + lineNum), err.line === ii) {
|
|
@@ -1257,8 +1242,7 @@ var require_parse_stream = __commonJS({
|
|
|
1257
1242
|
} catch (err) {
|
|
1258
1243
|
return error(err);
|
|
1259
1244
|
}
|
|
1260
|
-
if (readable = !1, ended)
|
|
1261
|
-
return finish();
|
|
1245
|
+
if (readable = !1, ended) return finish();
|
|
1262
1246
|
errored || stm.once("readable", readNext);
|
|
1263
1247
|
}
|
|
1264
1248
|
});
|
|
@@ -1308,17 +1292,12 @@ var require_stringify = __commonJS({
|
|
|
1308
1292
|
module2.exports = stringify2;
|
|
1309
1293
|
module2.exports.value = stringifyInline;
|
|
1310
1294
|
function stringify2(obj) {
|
|
1311
|
-
if (obj === null)
|
|
1312
|
-
|
|
1313
|
-
if (obj
|
|
1314
|
-
|
|
1315
|
-
if (typeof obj != "object")
|
|
1316
|
-
throw typeError(typeof obj);
|
|
1317
|
-
if (typeof obj.toJSON == "function" && (obj = obj.toJSON()), obj == null)
|
|
1318
|
-
return null;
|
|
1295
|
+
if (obj === null) throw typeError("null");
|
|
1296
|
+
if (obj === void 0) throw typeError("undefined");
|
|
1297
|
+
if (typeof obj != "object") throw typeError(typeof obj);
|
|
1298
|
+
if (typeof obj.toJSON == "function" && (obj = obj.toJSON()), obj == null) return null;
|
|
1319
1299
|
let type = tomlType2(obj);
|
|
1320
|
-
if (type !== "table")
|
|
1321
|
-
throw typeError(type);
|
|
1300
|
+
if (type !== "table") throw typeError(type);
|
|
1322
1301
|
return stringifyObject("", "", obj);
|
|
1323
1302
|
}
|
|
1324
1303
|
function typeError(type) {
|
|
@@ -1369,6 +1348,7 @@ var require_stringify = __commonJS({
|
|
|
1369
1348
|
return value.length === 0 || tomlType2(value[0]) !== "table";
|
|
1370
1349
|
case "table":
|
|
1371
1350
|
return Object.keys(value).length === 0;
|
|
1351
|
+
/* istanbul ignore next */
|
|
1372
1352
|
default:
|
|
1373
1353
|
return !1;
|
|
1374
1354
|
}
|
|
@@ -1387,8 +1367,7 @@ var require_stringify = __commonJS({
|
|
|
1387
1367
|
return "'" + str + "'";
|
|
1388
1368
|
}
|
|
1389
1369
|
function numpad(num, str) {
|
|
1390
|
-
for (; str.length < num; )
|
|
1391
|
-
str = "0" + str;
|
|
1370
|
+
for (; str.length < num; ) str = "0" + str;
|
|
1392
1371
|
return str;
|
|
1393
1372
|
}
|
|
1394
1373
|
function escapeString(str) {
|
|
@@ -1425,6 +1404,7 @@ var require_stringify = __commonJS({
|
|
|
1425
1404
|
return stringifyInlineArray(value.filter((_) => tomlType2(_) !== "null" && tomlType2(_) !== "undefined" && tomlType2(_) !== "nan"));
|
|
1426
1405
|
case "table":
|
|
1427
1406
|
return stringifyInlineTable(value);
|
|
1407
|
+
/* istanbul ignore next */
|
|
1428
1408
|
default:
|
|
1429
1409
|
throw typeError(type);
|
|
1430
1410
|
}
|
|
@@ -1490,8 +1470,7 @@ var require_stringify = __commonJS({
|
|
|
1490
1470
|
function stringifyArrayOfTables(prefix, indent, key, values) {
|
|
1491
1471
|
values = toJSON(values), validateArray(values);
|
|
1492
1472
|
var firstValueType = tomlType2(values[0]);
|
|
1493
|
-
if (firstValueType !== "table")
|
|
1494
|
-
throw typeError(firstValueType);
|
|
1473
|
+
if (firstValueType !== "table") throw typeError(firstValueType);
|
|
1495
1474
|
var fullKey = prefix + stringifyKey(key), result = "";
|
|
1496
1475
|
return values.forEach((table) => {
|
|
1497
1476
|
result.length > 0 && (result += `
|
|
@@ -1674,8 +1653,7 @@ function argsFromEnvironment(environment, options, noDefaultsResult) {
|
|
|
1674
1653
|
args.push(`--${label}`);
|
|
1675
1654
|
else
|
|
1676
1655
|
throw new AbortError(outputContent`Environments can only specify true for boolean flags. Attempted to set ${outputToken.yellow(label)} to false.`);
|
|
1677
|
-
else
|
|
1678
|
-
Array.isArray(value) ? value.forEach((element) => args.push(`--${label}`, `${element}`)) : args.push(`--${label}`, `${value}`);
|
|
1656
|
+
else Array.isArray(value) ? value.forEach((element) => args.push(`--${label}`, `${element}`)) : args.push(`--${label}`, `${value}`);
|
|
1679
1657
|
}
|
|
1680
1658
|
return args;
|
|
1681
1659
|
}
|
|
@@ -1686,4 +1664,4 @@ export {
|
|
|
1686
1664
|
encodeToml,
|
|
1687
1665
|
base_command_default
|
|
1688
1666
|
};
|
|
1689
|
-
//# sourceMappingURL=chunk-
|
|
1667
|
+
//# sourceMappingURL=chunk-OE3IXTC5.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6PEBJVBW.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OE3IXTC5.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SBPFWO4S.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_cjs_shims
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
14
14
|
|
|
15
15
|
// src/cli/commands/search.ts
|
|
16
16
|
init_cjs_shims();
|
|
@@ -45,4 +45,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
|
|
|
45
45
|
export {
|
|
46
46
|
Search
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-ONOLOXLM.js.map
|
|
@@ -6,8 +6,7 @@ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwn
|
|
|
6
6
|
var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(x, {
|
|
7
7
|
get: (a, b) => (typeof require < "u" ? require : a)[b]
|
|
8
8
|
}) : x)(function(x) {
|
|
9
|
-
if (typeof require < "u")
|
|
10
|
-
return require.apply(this, arguments);
|
|
9
|
+
if (typeof require < "u") return require.apply(this, arguments);
|
|
11
10
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
11
|
});
|
|
13
12
|
var __esm = (fn, res) => function() {
|
|
@@ -56,4 +55,4 @@ export {
|
|
|
56
55
|
__toCommonJS,
|
|
57
56
|
init_cjs_shims
|
|
58
57
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-PKR7KJ6P.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3OXCI3HX.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
8
8
|
|
|
9
9
|
// ../cli-kit/dist/public/node/testing/output.js
|
|
10
10
|
init_cjs_shims();
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-PRWEHR2C.js.map
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
remove,
|
|
7
7
|
setLastSeenAuthMethod,
|
|
8
8
|
setLastSeenUserIdAfterAuth
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JORKLY7M.js";
|
|
10
10
|
import {
|
|
11
11
|
getPartnersToken,
|
|
12
12
|
nonRandomUUID
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KTNFE44J.js";
|
|
14
14
|
import {
|
|
15
15
|
BugError,
|
|
16
16
|
outputContent,
|
|
17
17
|
outputDebug,
|
|
18
18
|
outputToken
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3OXCI3HX.js";
|
|
20
20
|
import {
|
|
21
21
|
init_cjs_shims
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
23
23
|
|
|
24
24
|
// ../cli-kit/dist/public/node/session.js
|
|
25
25
|
init_cjs_shims();
|
|
@@ -102,4 +102,4 @@ export {
|
|
|
102
102
|
ensureAuthenticatedBusinessPlatform,
|
|
103
103
|
logout
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
105
|
+
//# sourceMappingURL=chunk-QNK2EAZ3.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GDLROW57.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OE3IXTC5.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/kitchen-sink/static.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -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-RCA7PFH4.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ELTOJBOJ.js";
|
|
4
4
|
import {
|
|
5
5
|
staticService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GDLROW57.js";
|
|
7
7
|
import {
|
|
8
8
|
asyncTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F7D333WQ.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OE3IXTC5.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/kitchen-sink/index.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -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-RK7JAMCI.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getNotifications,
|
|
3
3
|
stringifyFilters
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-65GSOZHL.js";
|
|
5
5
|
import {
|
|
6
6
|
randomUUID
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KTNFE44J.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_KIT_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I25PGLBO.js";
|
|
11
11
|
import {
|
|
12
12
|
outputInfo,
|
|
13
13
|
renderSelectPrompt,
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
renderTable,
|
|
16
16
|
renderTextPrompt,
|
|
17
17
|
writeFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3OXCI3HX.js";
|
|
19
19
|
import {
|
|
20
20
|
init_cjs_shims
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/services/commands/notifications.ts
|
|
24
24
|
init_cjs_shims();
|
|
@@ -102,4 +102,4 @@ export {
|
|
|
102
102
|
generate,
|
|
103
103
|
list
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
105
|
+
//# sourceMappingURL=chunk-SANP6FPA.js.map
|