@shopify/cli 3.80.5 → 3.80.7
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/{chunk-T3LVGAPV.js → chunk-2W6OLZFD.js} +3 -3
- package/dist/{chunk-KBENE52L.js → chunk-3DYG3ZWU.js} +3 -3
- package/dist/{chunk-ZUCWDIGE.js → chunk-57Q6OQG4.js} +2 -2
- package/dist/{chunk-N4CSAPLU.js → chunk-5K4EFFDY.js} +3 -3
- package/dist/{chunk-VAUXWFOM.js → chunk-5YH5HMRM.js} +3 -3
- package/dist/{chunk-WI6TASTN.js → chunk-63DIRIVX.js} +4 -4
- package/dist/{chunk-DCBKCTEJ.js → chunk-77RMKCKT.js} +2 -2
- package/dist/{chunk-IWJSMR4L.js → chunk-ECV2CLGW.js} +3 -3
- package/dist/{chunk-UEIMUAER.js → chunk-HWRJLLWI.js} +2 -2
- package/dist/{chunk-52XNWDUG.js → chunk-HYECXSZG.js} +3 -3
- package/dist/{chunk-EXAGVZF6.js → chunk-IHC7Q4LY.js} +4 -4
- package/dist/{chunk-BR2NBKUW.js → chunk-JDRMHPFL.js} +4 -4
- package/dist/{chunk-D5NBHTIZ.js → chunk-JRAEVQWT.js} +2 -2
- package/dist/{chunk-BK4IIAID.js → chunk-JU6SOKDJ.js} +4 -4
- package/dist/{chunk-I2MST2WP.js → chunk-KGZTFG3M.js} +3 -3
- package/dist/{chunk-PUMTB3YW.js → chunk-KUZYMDX4.js} +7 -7
- package/dist/{chunk-3Y3XPRQ6.js → chunk-MQCYR4KR.js} +4 -4
- package/dist/{chunk-F5KMS2TZ.js → chunk-MSHN7O5N.js} +2 -2
- package/dist/{chunk-HK5IHRTT.js → chunk-NSTNFY7W.js} +6 -6
- package/dist/{chunk-L6ROCMDO.js → chunk-NY2OPNXU.js} +5 -5
- package/dist/{chunk-4QN5J4PQ.js → chunk-OQ7ZCSZM.js} +5 -5
- package/dist/{chunk-7VUAPVO6.js → chunk-PDNRVFZE.js} +8 -8
- package/dist/{chunk-N6LDKETI.js → chunk-PJZWUPY4.js} +3 -3
- package/dist/{chunk-KYH3WDGK.js → chunk-QPXAGLXJ.js} +4 -4
- package/dist/{chunk-2ZXZ6TMG.js → chunk-RFO2FC5M.js} +6 -6
- package/dist/{chunk-I726U4UA.js → chunk-RJ4CN43L.js} +4 -4
- package/dist/{chunk-ONMISMO4.js → chunk-RJJFC36J.js} +6 -6
- package/dist/{chunk-YYB2DPLI.js → chunk-T6CKLCY3.js} +3 -3
- package/dist/{chunk-HHXHFCPT.js → chunk-TMYCLPMW.js} +10 -10
- package/dist/{chunk-TX7PPGUZ.js → chunk-TNF6QFVZ.js} +5 -5
- package/dist/{chunk-SELFIPBY.js → chunk-VYIBTTN2.js} +2 -2
- package/dist/{chunk-Q43ZURCK.js → chunk-W4ZWJMX2.js} +2 -2
- package/dist/{chunk-ZXVXGNY4.js → chunk-XZM7J5LL.js} +5 -5
- package/dist/{chunk-PMIAZTDQ.js → chunk-YQXBJZRZ.js} +2 -2
- package/dist/{chunk-JATT3FYX.js → chunk-ZOUELNMC.js} +3 -3
- package/dist/cli/commands/auth/logout.js +12 -12
- package/dist/cli/commands/auth/logout.test.js +13 -13
- package/dist/cli/commands/cache/clear.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +11 -11
- package/dist/cli/commands/docs/generate.js +11 -11
- package/dist/cli/commands/docs/generate.test.js +11 -11
- package/dist/cli/commands/help.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.js +12 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.js +14 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
- package/dist/cli/commands/notifications/generate.js +12 -12
- package/dist/cli/commands/notifications/list.js +12 -12
- package/dist/cli/commands/search.js +12 -12
- package/dist/cli/commands/upgrade.js +12 -12
- package/dist/cli/commands/version.js +12 -12
- package/dist/cli/commands/version.test.js +12 -12
- package/dist/cli/services/commands/notifications.js +7 -7
- package/dist/cli/services/commands/search.js +3 -3
- package/dist/cli/services/commands/search.test.js +3 -3
- package/dist/cli/services/commands/version.js +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/kitchen-sink/async.js +3 -3
- package/dist/cli/services/kitchen-sink/prompts.js +3 -3
- package/dist/cli/services/kitchen-sink/static.js +3 -3
- package/dist/cli/services/upgrade.js +4 -4
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-NRWKTMWK.js → custom-oclif-loader-XTWWK7GM.js} +3 -3
- package/dist/{error-handler-AVFBYBX3.js → error-handler-MIQWANES.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +39 -38
- package/dist/{local-IZUQBMP3.js → local-OL4QQF7A.js} +3 -3
- package/dist/{node-package-manager-F7U753X4.js → node-package-manager-YZ7SC7JY.js} +4 -4
- package/dist/{path-GWAZZN2N.js → path-2K5HIMHZ.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-JUF2QSGU.js → ui-UMSB2BWG.js} +3 -3
- package/dist/{workerd-MVGKDJ7H.js → workerd-K4ZX64LQ.js} +13 -13
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
upgrade
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-RJ4CN43L.js";
|
|
4
4
|
import {
|
|
5
5
|
mockAndCaptureOutput
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-MSHN7O5N.js";
|
|
7
7
|
import {
|
|
8
8
|
afterEach,
|
|
9
9
|
beforeEach,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "../../chunk-ZEM3T4UY.js";
|
|
15
15
|
import {
|
|
16
16
|
node_package_manager_exports
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-HYECXSZG.js";
|
|
18
18
|
import {
|
|
19
19
|
AbortError,
|
|
20
20
|
captureOutput,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
platformAndArch,
|
|
24
24
|
touchFile,
|
|
25
25
|
writeFile
|
|
26
|
-
} from "../../chunk-
|
|
26
|
+
} from "../../chunk-63DIRIVX.js";
|
|
27
27
|
import "../../chunk-HMDWNGIV.js";
|
|
28
28
|
import "../../chunk-B5EXYCV3.js";
|
|
29
29
|
import "../../chunk-75LV6AQS.js";
|
|
30
30
|
import {
|
|
31
31
|
joinPath,
|
|
32
32
|
normalizePath
|
|
33
|
-
} from "../../chunk-
|
|
33
|
+
} from "../../chunk-57Q6OQG4.js";
|
|
34
34
|
import "../../chunk-5AFYDRV4.js";
|
|
35
35
|
import "../../chunk-3I3GQNEW.js";
|
|
36
36
|
import "../../chunk-G5R6YD27.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-63DIRIVX.js";
|
|
5
5
|
import "./chunk-HMDWNGIV.js";
|
|
6
6
|
import "./chunk-B5EXYCV3.js";
|
|
7
7
|
import "./chunk-75LV6AQS.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
cwd,
|
|
10
10
|
joinPath,
|
|
11
11
|
sniffForPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-57Q6OQG4.js";
|
|
13
13
|
import {
|
|
14
14
|
require_lib
|
|
15
15
|
} from "./chunk-5AFYDRV4.js";
|
|
@@ -47,4 +47,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
47
47
|
export {
|
|
48
48
|
ShopifyConfig
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
50
|
+
//# sourceMappingURL=custom-oclif-loader-XTWWK7GM.js.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PDNRVFZE.js";
|
|
8
8
|
import "./chunk-SHWOPMLQ.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-RJJFC36J.js";
|
|
10
|
+
import "./chunk-OQ7ZCSZM.js";
|
|
11
|
+
import "./chunk-TNF6QFVZ.js";
|
|
12
12
|
import "./chunk-25IMI7TH.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-HWRJLLWI.js";
|
|
14
|
+
import "./chunk-HYECXSZG.js";
|
|
15
|
+
import "./chunk-63DIRIVX.js";
|
|
16
16
|
import "./chunk-HMDWNGIV.js";
|
|
17
17
|
import "./chunk-B5EXYCV3.js";
|
|
18
18
|
import "./chunk-75LV6AQS.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-57Q6OQG4.js";
|
|
20
20
|
import "./chunk-5AFYDRV4.js";
|
|
21
21
|
import "./chunk-3I3GQNEW.js";
|
|
22
22
|
import "./chunk-G5R6YD27.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
35
35
|
sendErrorToBugsnag
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=error-handler-
|
|
37
|
+
//# sourceMappingURL=error-handler-MIQWANES.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "../chunk-CP3BRHWK.js";
|
|
4
4
|
import {
|
|
5
5
|
reportAnalyticsEvent
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-RJJFC36J.js";
|
|
7
|
+
import "../chunk-OQ7ZCSZM.js";
|
|
8
|
+
import "../chunk-TNF6QFVZ.js";
|
|
9
9
|
import "../chunk-25IMI7TH.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-HWRJLLWI.js";
|
|
11
|
+
import "../chunk-HYECXSZG.js";
|
|
12
12
|
import {
|
|
13
13
|
addSensitiveMetadata,
|
|
14
14
|
getAllSensitiveMetadata,
|
|
15
15
|
outputDebug,
|
|
16
16
|
renderWarning
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-63DIRIVX.js";
|
|
18
18
|
import "../chunk-HMDWNGIV.js";
|
|
19
19
|
import "../chunk-B5EXYCV3.js";
|
|
20
20
|
import "../chunk-75LV6AQS.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-57Q6OQG4.js";
|
|
22
22
|
import "../chunk-5AFYDRV4.js";
|
|
23
23
|
import "../chunk-3I3GQNEW.js";
|
|
24
24
|
import "../chunk-G5R6YD27.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-2W6OLZFD.js";
|
|
4
4
|
import {
|
|
5
5
|
startAnalytics
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-OQ7ZCSZM.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchNotificationsInBackground
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-RFO2FC5M.js";
|
|
10
|
+
import "../chunk-TNF6QFVZ.js";
|
|
11
11
|
import "../chunk-25IMI7TH.js";
|
|
12
12
|
import {
|
|
13
13
|
CLI_KIT_VERSION
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-HWRJLLWI.js";
|
|
15
15
|
import {
|
|
16
16
|
checkForCachedNewVersion,
|
|
17
17
|
checkForNewVersion,
|
|
18
18
|
runAtMinimumInterval
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-HYECXSZG.js";
|
|
20
20
|
import {
|
|
21
21
|
isPreReleaseVersion,
|
|
22
22
|
outputDebug,
|
|
23
23
|
outputWarn
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-63DIRIVX.js";
|
|
25
25
|
import "../chunk-HMDWNGIV.js";
|
|
26
26
|
import "../chunk-B5EXYCV3.js";
|
|
27
27
|
import "../chunk-75LV6AQS.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-57Q6OQG4.js";
|
|
29
29
|
import "../chunk-5AFYDRV4.js";
|
|
30
30
|
import "../chunk-3I3GQNEW.js";
|
|
31
31
|
import "../chunk-G5R6YD27.js";
|
package/dist/index.js
CHANGED
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
supressNodeExperimentalWarnings,
|
|
130
130
|
unsetStorefront,
|
|
131
131
|
waitForJob
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-TMYCLPMW.js";
|
|
133
133
|
import {
|
|
134
134
|
require_ms,
|
|
135
135
|
require_src
|
|
@@ -148,69 +148,69 @@ import {
|
|
|
148
148
|
} from "./chunk-3GXB4ZRP.js";
|
|
149
149
|
import {
|
|
150
150
|
List
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-QPXAGLXJ.js";
|
|
152
152
|
import {
|
|
153
153
|
Search
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-ECV2CLGW.js";
|
|
155
155
|
import {
|
|
156
156
|
Upgrade
|
|
157
|
-
} from "./chunk-
|
|
158
|
-
import "./chunk-
|
|
157
|
+
} from "./chunk-JDRMHPFL.js";
|
|
158
|
+
import "./chunk-2W6OLZFD.js";
|
|
159
159
|
import {
|
|
160
160
|
Version
|
|
161
|
-
} from "./chunk-
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
161
|
+
} from "./chunk-5YH5HMRM.js";
|
|
162
|
+
import "./chunk-PJZWUPY4.js";
|
|
163
|
+
import "./chunk-77RMKCKT.js";
|
|
164
164
|
import {
|
|
165
165
|
KitchenSinkAll
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-NY2OPNXU.js";
|
|
167
167
|
import {
|
|
168
168
|
KitchenSinkPrompts
|
|
169
|
-
} from "./chunk-
|
|
170
|
-
import "./chunk-
|
|
169
|
+
} from "./chunk-KGZTFG3M.js";
|
|
170
|
+
import "./chunk-W4ZWJMX2.js";
|
|
171
171
|
import {
|
|
172
172
|
KitchenSinkStatic
|
|
173
|
-
} from "./chunk-
|
|
174
|
-
import "./chunk-
|
|
173
|
+
} from "./chunk-3DYG3ZWU.js";
|
|
174
|
+
import "./chunk-YQXBJZRZ.js";
|
|
175
175
|
import {
|
|
176
176
|
Generate
|
|
177
|
-
} from "./chunk-
|
|
178
|
-
import "./chunk-
|
|
177
|
+
} from "./chunk-T6CKLCY3.js";
|
|
178
|
+
import "./chunk-XZM7J5LL.js";
|
|
179
179
|
import {
|
|
180
180
|
Logout
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-IHC7Q4LY.js";
|
|
182
182
|
import {
|
|
183
183
|
ensureAuthenticatedAdmin,
|
|
184
184
|
ensureAuthenticatedAppManagementAndBusinessPlatform,
|
|
185
185
|
ensureAuthenticatedPartners,
|
|
186
186
|
ensureAuthenticatedStorefront,
|
|
187
187
|
ensureAuthenticatedThemes
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-MQCYR4KR.js";
|
|
189
189
|
import {
|
|
190
190
|
ClearCache,
|
|
191
191
|
globalFlags,
|
|
192
192
|
jsonFlag,
|
|
193
193
|
runCLI
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-KUZYMDX4.js";
|
|
195
195
|
import {
|
|
196
196
|
CommandFlags
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-5K4EFFDY.js";
|
|
198
198
|
import {
|
|
199
199
|
DocsGenerate
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-JU6SOKDJ.js";
|
|
201
201
|
import {
|
|
202
202
|
HelpCommand
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-VYIBTTN2.js";
|
|
204
204
|
import {
|
|
205
205
|
KitchenSinkAsync
|
|
206
|
-
} from "./chunk-
|
|
207
|
-
import "./chunk-
|
|
206
|
+
} from "./chunk-ZOUELNMC.js";
|
|
207
|
+
import "./chunk-JRAEVQWT.js";
|
|
208
208
|
import {
|
|
209
209
|
base_command_default,
|
|
210
210
|
decodeToml,
|
|
211
211
|
encodeToml,
|
|
212
212
|
loadEnvironment
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-NSTNFY7W.js";
|
|
214
214
|
import {
|
|
215
215
|
require_byline,
|
|
216
216
|
require_end_of_stream,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
require_iserror,
|
|
219
219
|
require_pump,
|
|
220
220
|
require_stack_generator
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-PDNRVFZE.js";
|
|
222
222
|
import {
|
|
223
223
|
require_once
|
|
224
224
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
fanoutHooks,
|
|
227
227
|
getListOfTunnelPlugins,
|
|
228
228
|
reportAnalyticsEvent
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-RJJFC36J.js";
|
|
230
230
|
import {
|
|
231
231
|
adminFqdn,
|
|
232
232
|
appDevFqdn,
|
|
@@ -237,10 +237,10 @@ import {
|
|
|
237
237
|
normalizeStoreFqdn,
|
|
238
238
|
ok,
|
|
239
239
|
partnersFqdn
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-OQ7ZCSZM.js";
|
|
241
241
|
import {
|
|
242
242
|
showNotificationsIfNeeded
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-RFO2FC5M.js";
|
|
244
244
|
import {
|
|
245
245
|
ClientError,
|
|
246
246
|
FetchError,
|
|
@@ -262,11 +262,11 @@ import {
|
|
|
262
262
|
require_mime_types,
|
|
263
263
|
shopifyFetch,
|
|
264
264
|
z
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-TNF6QFVZ.js";
|
|
266
266
|
import "./chunk-25IMI7TH.js";
|
|
267
267
|
import {
|
|
268
268
|
CLI_KIT_VERSION
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-HWRJLLWI.js";
|
|
270
270
|
import {
|
|
271
271
|
LocalStorage,
|
|
272
272
|
UnknownPackageManagerError,
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
usesWorkspaces,
|
|
291
291
|
versionSatisfies,
|
|
292
292
|
writePackageJSON
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-HYECXSZG.js";
|
|
294
294
|
import {
|
|
295
295
|
AbortController as AbortController2,
|
|
296
296
|
AbortError,
|
|
@@ -504,7 +504,7 @@ import {
|
|
|
504
504
|
username,
|
|
505
505
|
writeFile,
|
|
506
506
|
writeFileSync
|
|
507
|
-
} from "./chunk-
|
|
507
|
+
} from "./chunk-63DIRIVX.js";
|
|
508
508
|
import {
|
|
509
509
|
require_semver
|
|
510
510
|
} from "./chunk-HMDWNGIV.js";
|
|
@@ -527,7 +527,7 @@ import {
|
|
|
527
527
|
relativizePath,
|
|
528
528
|
resolvePath,
|
|
529
529
|
sniffForJson
|
|
530
|
-
} from "./chunk-
|
|
530
|
+
} from "./chunk-57Q6OQG4.js";
|
|
531
531
|
import {
|
|
532
532
|
require_escape_string_regexp,
|
|
533
533
|
require_lib
|
|
@@ -216754,7 +216754,7 @@ var import_core26 = __toESM(require_lib(), 1);
|
|
|
216754
216754
|
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/index.js
|
|
216755
216755
|
init_cjs_shims();
|
|
216756
216756
|
async function startMiniOxygen(options) {
|
|
216757
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
216757
|
+
let { startWorkerdServer } = await import("./workerd-K4ZX64LQ.js");
|
|
216758
216758
|
return startWorkerdServer(options);
|
|
216759
216759
|
}
|
|
216760
216760
|
|
|
@@ -217866,6 +217866,7 @@ async function runWasmOpt(modulePath2) {
|
|
|
217866
217866
|
"-Oz",
|
|
217867
217867
|
"--enable-bulk-memory",
|
|
217868
217868
|
"--enable-multimemory",
|
|
217869
|
+
"--enable-nontrapping-float-to-int",
|
|
217869
217870
|
"--strip-debug",
|
|
217870
217871
|
// overwrite our existing module with the optimized version
|
|
217871
217872
|
"-o",
|
|
@@ -230925,7 +230926,7 @@ var DevSession = class _DevSession {
|
|
|
230925
230926
|
return await devSession.start(), devSession;
|
|
230926
230927
|
}
|
|
230927
230928
|
constructor(processOptions, stdout) {
|
|
230928
|
-
this.statusManager = processOptions.devSessionStatusManager, this.logger = new DevSessionLogger(stdout), this.options = processOptions, this.appWatcher = processOptions.appWatcher, this.bundlePath = processOptions.appWatcher.buildOutputPath, this.appEventsProcessor = new SerialBatchProcessor((events) => this.processEvents(events));
|
|
230929
|
+
this.failedEvents = [], this.statusManager = processOptions.devSessionStatusManager, this.logger = new DevSessionLogger(stdout), this.options = processOptions, this.appWatcher = processOptions.appWatcher, this.bundlePath = processOptions.appWatcher.buildOutputPath, this.appEventsProcessor = new SerialBatchProcessor((events) => this.processEvents(events));
|
|
230929
230930
|
}
|
|
230930
230931
|
async start() {
|
|
230931
230932
|
await this.logger.info(`Preparing app preview on ${this.options.storeFqdn}`), this.statusManager.setMessage("LOADING"), this.appWatcher.onEvent(async (event) => this.onEvent(event)).onStart(async (event) => this.onStart(event)).onError(async (error) => this.handleDevSessionResult({ status: "unknown-error", error }));
|
|
@@ -230946,8 +230947,8 @@ var DevSession = class _DevSession {
|
|
|
230946
230947
|
* @param event - The app event to process
|
|
230947
230948
|
*/
|
|
230948
230949
|
async processEvents(events) {
|
|
230949
|
-
let event = this.consolidateAppEvents(
|
|
230950
|
-
if (!event)
|
|
230950
|
+
let allEvents = [...this.failedEvents, ...events], event = this.consolidateAppEvents(allEvents);
|
|
230951
|
+
if (this.failedEvents = [], !event)
|
|
230951
230952
|
return;
|
|
230952
230953
|
this.statusManager.setMessage("CHANGE_DETECTED"), this.updatePreviewURL(event), await this.logger.logExtensionEvents(event);
|
|
230953
230954
|
let networkStartTime = startHRTime(), result = await this.bundleExtensionsAndUpload(event);
|
|
@@ -231024,7 +231025,7 @@ var DevSession = class _DevSession {
|
|
|
231024
231025
|
* @param event - The app event
|
|
231025
231026
|
*/
|
|
231026
231027
|
async handleDevSessionResult(result, event) {
|
|
231027
|
-
if (result.status === "updated" ? (await this.logger.success(`\u2705 Updated app preview on ${this.options.storeFqdn}`), await this.logger.logExtensionUpdateMessages(event), await this.setUpdatedStatusMessage()) : result.status === "created" ? (this.statusManager.updateStatus({ isReady: !0 }), await this.logger.success("\u2705 Ready, watching for changes in your app "), await this.logger.logExtensionUpdateMessages(event), this.statusManager.setMessage("READY")) : result.status === "aborted" ? await this.logger.debug("\u274C App preview update aborted (new change detected or error during update)") : (result.status === "remote-error" || result.status === "unknown-error") && (await this.logger.logUserErrors(result.error, event?.app.allExtensions ?? []), result.error instanceof Error && result.error.cause === "validation-error" ? this.statusManager.setMessage("VALIDATION_ERROR") : this.statusManager.setMessage("REMOTE_ERROR")), !this.statusManager.status.isReady && !isUnitTest())
|
|
231028
|
+
if (result.status === "updated" ? (await this.logger.success(`\u2705 Updated app preview on ${this.options.storeFqdn}`), await this.logger.logExtensionUpdateMessages(event), await this.setUpdatedStatusMessage()) : result.status === "created" ? (this.statusManager.updateStatus({ isReady: !0 }), await this.logger.success("\u2705 Ready, watching for changes in your app "), await this.logger.logExtensionUpdateMessages(event), this.statusManager.setMessage("READY")) : result.status === "aborted" ? await this.logger.debug("\u274C App preview update aborted (new change detected or error during update)") : (result.status === "remote-error" || result.status === "unknown-error") && (await this.logger.logUserErrors(result.error, event?.app.allExtensions ?? []), result.error instanceof Error && result.error.cause === "validation-error" ? this.statusManager.setMessage("VALIDATION_ERROR") : (event && this.failedEvents.push(event), this.statusManager.setMessage("REMOTE_ERROR"))), !this.statusManager.status.isReady && !isUnitTest())
|
|
231028
231029
|
throw new AbortError("Failed to start app preview.");
|
|
231029
231030
|
}
|
|
231030
231031
|
/**
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
themeToken,
|
|
23
23
|
useEmbeddedThemeCLI,
|
|
24
24
|
useThemebundling
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-63DIRIVX.js";
|
|
26
26
|
import "./chunk-HMDWNGIV.js";
|
|
27
27
|
import "./chunk-B5EXYCV3.js";
|
|
28
28
|
import "./chunk-75LV6AQS.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-57Q6OQG4.js";
|
|
30
30
|
import "./chunk-5AFYDRV4.js";
|
|
31
31
|
import "./chunk-3I3GQNEW.js";
|
|
32
32
|
import "./chunk-G5R6YD27.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
useEmbeddedThemeCLI,
|
|
63
63
|
useThemebundling
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=local-
|
|
65
|
+
//# sourceMappingURL=local-OL4QQF7A.js.map
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
versionSatisfies,
|
|
30
30
|
writePackageJSON,
|
|
31
31
|
yarnLockfile
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-HYECXSZG.js";
|
|
33
|
+
import "./chunk-63DIRIVX.js";
|
|
34
34
|
import "./chunk-HMDWNGIV.js";
|
|
35
35
|
import "./chunk-B5EXYCV3.js";
|
|
36
36
|
import "./chunk-75LV6AQS.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-57Q6OQG4.js";
|
|
38
38
|
import "./chunk-5AFYDRV4.js";
|
|
39
39
|
import "./chunk-3I3GQNEW.js";
|
|
40
40
|
import "./chunk-G5R6YD27.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writePackageJSON,
|
|
78
78
|
yarnLockfile
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=node-package-manager-
|
|
80
|
+
//# sourceMappingURL=node-package-manager-YZ7SC7JY.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolvePath,
|
|
14
14
|
sniffForJson,
|
|
15
15
|
sniffForPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-57Q6OQG4.js";
|
|
17
17
|
import "./chunk-CDBXAE2F.js";
|
|
18
18
|
import "./chunk-PKR7KJ6P.js";
|
|
19
19
|
export {
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
sniffForJson,
|
|
33
33
|
sniffForPath
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=path-
|
|
35
|
+
//# sourceMappingURL=path-2K5HIMHZ.js.map
|