@shopify/cli 3.78.2 → 3.79.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-BteeGmYf.css +1 -0
- package/dist/assets/dev-console/extensions/dev-console/assets/index-CqNhY1h-.js +64 -0
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +921 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +20 -0
- package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +15 -0
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +44 -0
- package/dist/assets/hydrogen/starter/app/lib/redirect.ts +23 -0
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +8 -23
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +22 -2
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +4 -0
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +7 -41
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +11 -44
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +9 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +5 -1
- package/dist/assets/hydrogen/starter/app/styles/app.css +15 -3
- package/dist/assets/hydrogen/starter/package.json +5 -5
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +57 -36
- package/dist/{chunk-DR5VG62Q.js → chunk-2B4E6VSB.js} +3 -3
- package/dist/{chunk-ZPZFAVIY.js → chunk-4BO44W6A.js} +2 -2
- package/dist/{chunk-GJEIVT3X.js → chunk-54K4AM4U.js} +3 -3
- package/dist/{chunk-6HJM24C2.js → chunk-7QKG75SI.js} +72 -6
- package/dist/{chunk-WYNL2S7B.js → chunk-ALANDDAF.js} +3 -3
- package/dist/{chunk-LAKQWRR5.js → chunk-ANW4ZUSD.js} +2 -2
- package/dist/{chunk-7KZBYW7W.js → chunk-AVR7SY23.js} +4 -4
- package/dist/{chunk-IK6NAHQI.js → chunk-CZ7EMDNP.js} +5 -5
- package/dist/{chunk-YXH3NSML.js → chunk-DG3SRCQ7.js} +2 -2
- package/dist/{chunk-UP44YINT.js → chunk-DOKAITPJ.js} +4 -4
- package/dist/{chunk-6GHUZFPP.js → chunk-EKAPTGJ2.js} +2 -2
- package/dist/{chunk-DOEVJAN2.js → chunk-F55GHOR3.js} +83 -130
- package/dist/{chunk-ZTD22GER.js → chunk-G63ZK76J.js} +3 -3
- package/dist/{chunk-L35GVYH5.js → chunk-HTK3YCUG.js} +3 -3
- package/dist/{chunk-HZRI37XU.js → chunk-IARZXI6R.js} +3 -3
- package/dist/{chunk-UV2DGNFK.js → chunk-IYBFDT7N.js} +41 -16
- package/dist/{chunk-E76452W5.js → chunk-JCZQQS22.js} +4 -4
- package/dist/{chunk-DHQUQSYW.js → chunk-KRTNJAVX.js} +3 -3
- package/dist/{chunk-TVCBBRZD.js → chunk-KVPURBXO.js} +5 -5
- package/dist/{chunk-QTIPSIA5.js → chunk-LFQMCRXU.js} +12 -8
- package/dist/{chunk-VBX7R3AF.js → chunk-MLGPNWXX.js} +87 -97
- package/dist/{chunk-S5XTFY2H.js → chunk-MRU3X272.js} +4 -4
- package/dist/{chunk-BV6PURBM.js → chunk-NOSVFQH5.js} +3 -3
- package/dist/{chunk-LGQNLPOA.js → chunk-OOVDD552.js} +3 -3
- package/dist/{chunk-UE4DFKJU.js → chunk-P6WUJAQG.js} +3 -3
- package/dist/{chunk-L4SLRBFT.js → chunk-PRSCEDOW.js} +18 -5
- package/dist/{chunk-IBRFXDBZ.js → chunk-QBB7AFBN.js} +7 -7
- package/dist/{chunk-6V2YVCS2.js → chunk-QJTHRGGC.js} +7 -5
- package/dist/{chunk-YKVQZFEC.js → chunk-QW44EO42.js} +8 -8
- package/dist/{chunk-WBWYZ7XQ.js → chunk-SHIHLMYP.js} +8 -6
- package/dist/{chunk-6G5FH3WC.js → chunk-SUWZRQHU.js} +2 -2
- package/dist/{chunk-IG6TAMGV.js → chunk-U6TDVNHS.js} +16 -15
- package/dist/{chunk-7S2OZRQF.js → chunk-UQLLSBKG.js} +3 -3
- package/dist/{chunk-QAKYKTFV.js → chunk-UTDSSCPI.js} +5 -5
- package/dist/{chunk-VEHGKA4Q.js → chunk-YILOICE5.js} +5 -5
- package/dist/{chunk-GTVU6SJH.js → chunk-ZCIGSW2P.js} +2 -2
- package/dist/cli/commands/auth/logout.js +13 -13
- package/dist/cli/commands/auth/logout.test.js +14 -14
- package/dist/cli/commands/cache/clear.js +12 -12
- package/dist/cli/commands/debug/command-flags.js +12 -12
- package/dist/cli/commands/docs/generate.js +12 -12
- package/dist/cli/commands/docs/generate.test.js +13 -13
- package/dist/cli/commands/help.js +12 -12
- package/dist/cli/commands/kitchen-sink/async.js +13 -13
- package/dist/cli/commands/kitchen-sink/async.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.js +15 -15
- package/dist/cli/commands/kitchen-sink/index.test.js +15 -15
- package/dist/cli/commands/kitchen-sink/prompts.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/static.js +13 -13
- package/dist/cli/commands/kitchen-sink/static.test.js +13 -13
- package/dist/cli/commands/notifications/generate.js +13 -13
- package/dist/cli/commands/notifications/list.js +13 -13
- package/dist/cli/commands/search.js +13 -13
- package/dist/cli/commands/upgrade.js +13 -13
- package/dist/cli/commands/version.js +13 -13
- package/dist/cli/commands/version.test.js +13 -13
- package/dist/cli/services/commands/notifications.js +8 -8
- package/dist/cli/services/commands/search.js +5 -4
- package/dist/cli/services/commands/search.test.js +5 -4
- package/dist/cli/services/commands/version.js +6 -5
- package/dist/cli/services/commands/version.test.js +7 -6
- package/dist/cli/services/kitchen-sink/async.js +5 -4
- package/dist/cli/services/kitchen-sink/prompts.js +5 -4
- package/dist/cli/services/kitchen-sink/static.js +5 -4
- package/dist/cli/services/upgrade.js +5 -5
- package/dist/cli/services/upgrade.test.js +7 -7
- package/dist/configs/all.yml +19 -4
- package/dist/configs/recommended.yml +19 -4
- package/dist/{custom-oclif-loader-TUNXMYGU.js → custom-oclif-loader-ZMH2MAPE.js} +5 -4
- package/dist/{error-handler-AWP3RCBG.js → error-handler-7Z6N6VQJ.js} +10 -10
- package/dist/hooks/postrun.js +9 -9
- package/dist/hooks/prerun.js +10 -10
- package/dist/index.js +2777 -2428
- package/dist/is-wsl-YAJ3DFN7.js +64 -0
- package/dist/{lib-IZAG57CE.js → lib-MWWAATIC.js} +3 -3
- package/dist/{local-RBT53U3L.js → local-LWMJQBFZ.js} +5 -6
- package/dist/{morph-W4XLLZ47.js → morph-MDY3DSJL.js} +9 -9
- package/dist/{node-SKXMS2TZ.js → node-JJXJUMVQ.js} +17 -17
- package/dist/{node-package-manager-BZHJZTGV.js → node-package-manager-BZGMCXZM.js} +5 -5
- package/dist/toml-patch-wasm-J5VGG6WG.js +140 -0
- package/dist/toml_patch_bg.wasm +0 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5MADIMGC.js → ui-IJDVK4OG.js} +5 -4
- package/dist/{workerd-YRUKUE76.js → workerd-XA4WKUCO.js} +16 -16
- package/oclif.manifest.json +100 -2
- package/package.json +7 -7
- package/dist/assets/dev-console/extensions/dev-console/assets/index-lyGm6l3x.js +0 -64
- package/dist/assets/dev-console/extensions/dev-console/assets/index-n8yr6cxq.css +0 -1
|
@@ -331,11 +331,9 @@ export type RecommendedProductFragment = Pick<
|
|
|
331
331
|
priceRange: {
|
|
332
332
|
minVariantPrice: Pick<StorefrontAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
333
333
|
};
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
>;
|
|
338
|
-
};
|
|
334
|
+
featuredImage?: StorefrontAPI.Maybe<
|
|
335
|
+
Pick<StorefrontAPI.Image, 'id' | 'url' | 'altText' | 'width' | 'height'>
|
|
336
|
+
>;
|
|
339
337
|
};
|
|
340
338
|
|
|
341
339
|
export type RecommendedProductsQueryVariables = StorefrontAPI.Exact<{
|
|
@@ -353,14 +351,12 @@ export type RecommendedProductsQuery = {
|
|
|
353
351
|
'amount' | 'currencyCode'
|
|
354
352
|
>;
|
|
355
353
|
};
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
>;
|
|
363
|
-
};
|
|
354
|
+
featuredImage?: StorefrontAPI.Maybe<
|
|
355
|
+
Pick<
|
|
356
|
+
StorefrontAPI.Image,
|
|
357
|
+
'id' | 'url' | 'altText' | 'width' | 'height'
|
|
358
|
+
>
|
|
359
|
+
>;
|
|
364
360
|
}
|
|
365
361
|
>;
|
|
366
362
|
};
|
|
@@ -374,22 +370,29 @@ export type ArticleQueryVariables = StorefrontAPI.Exact<{
|
|
|
374
370
|
}>;
|
|
375
371
|
|
|
376
372
|
export type ArticleQuery = {
|
|
377
|
-
blog?: StorefrontAPI.Maybe<
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
373
|
+
blog?: StorefrontAPI.Maybe<
|
|
374
|
+
Pick<StorefrontAPI.Blog, 'handle'> & {
|
|
375
|
+
articleByHandle?: StorefrontAPI.Maybe<
|
|
376
|
+
Pick<
|
|
377
|
+
StorefrontAPI.Article,
|
|
378
|
+
'handle' | 'title' | 'contentHtml' | 'publishedAt'
|
|
379
|
+
> & {
|
|
380
|
+
author?: StorefrontAPI.Maybe<
|
|
381
|
+
Pick<StorefrontAPI.ArticleAuthor, 'name'>
|
|
382
|
+
>;
|
|
383
|
+
image?: StorefrontAPI.Maybe<
|
|
384
|
+
Pick<
|
|
385
|
+
StorefrontAPI.Image,
|
|
386
|
+
'id' | 'altText' | 'url' | 'width' | 'height'
|
|
387
|
+
>
|
|
388
|
+
>;
|
|
389
|
+
seo?: StorefrontAPI.Maybe<
|
|
390
|
+
Pick<StorefrontAPI.Seo, 'description' | 'title'>
|
|
391
|
+
>;
|
|
392
|
+
}
|
|
393
|
+
>;
|
|
394
|
+
}
|
|
395
|
+
>;
|
|
393
396
|
};
|
|
394
397
|
|
|
395
398
|
export type BlogQueryVariables = StorefrontAPI.Exact<{
|
|
@@ -407,7 +410,7 @@ export type BlogQueryVariables = StorefrontAPI.Exact<{
|
|
|
407
410
|
|
|
408
411
|
export type BlogQuery = {
|
|
409
412
|
blog?: StorefrontAPI.Maybe<
|
|
410
|
-
Pick<StorefrontAPI.Blog, 'title'> & {
|
|
413
|
+
Pick<StorefrontAPI.Blog, 'title' | 'handle'> & {
|
|
411
414
|
seo?: StorefrontAPI.Maybe<
|
|
412
415
|
Pick<StorefrontAPI.Seo, 'title' | 'description'>
|
|
413
416
|
>;
|
|
@@ -587,6 +590,24 @@ export type StoreCollectionsQuery = {
|
|
|
587
590
|
};
|
|
588
591
|
};
|
|
589
592
|
|
|
593
|
+
export type MoneyCollectionItemFragment = Pick<
|
|
594
|
+
StorefrontAPI.MoneyV2,
|
|
595
|
+
'amount' | 'currencyCode'
|
|
596
|
+
>;
|
|
597
|
+
|
|
598
|
+
export type CollectionItemFragment = Pick<
|
|
599
|
+
StorefrontAPI.Product,
|
|
600
|
+
'id' | 'handle' | 'title'
|
|
601
|
+
> & {
|
|
602
|
+
featuredImage?: StorefrontAPI.Maybe<
|
|
603
|
+
Pick<StorefrontAPI.Image, 'id' | 'altText' | 'url' | 'width' | 'height'>
|
|
604
|
+
>;
|
|
605
|
+
priceRange: {
|
|
606
|
+
minVariantPrice: Pick<StorefrontAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
607
|
+
maxVariantPrice: Pick<StorefrontAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
|
|
590
611
|
export type CatalogQueryVariables = StorefrontAPI.Exact<{
|
|
591
612
|
country?: StorefrontAPI.InputMaybe<StorefrontAPI.CountryCode>;
|
|
592
613
|
language?: StorefrontAPI.InputMaybe<StorefrontAPI.LanguageCode>;
|
|
@@ -637,7 +658,7 @@ export type PageQueryVariables = StorefrontAPI.Exact<{
|
|
|
637
658
|
|
|
638
659
|
export type PageQuery = {
|
|
639
660
|
page?: StorefrontAPI.Maybe<
|
|
640
|
-
Pick<StorefrontAPI.Page, 'id' | 'title' | 'body'> & {
|
|
661
|
+
Pick<StorefrontAPI.Page, 'handle' | 'id' | 'title' | 'body'> & {
|
|
641
662
|
seo?: StorefrontAPI.Maybe<
|
|
642
663
|
Pick<StorefrontAPI.Seo, 'description' | 'title'>
|
|
643
664
|
>;
|
|
@@ -1181,15 +1202,15 @@ interface GeneratedQueryTypes {
|
|
|
1181
1202
|
return: FeaturedCollectionQuery;
|
|
1182
1203
|
variables: FeaturedCollectionQueryVariables;
|
|
1183
1204
|
};
|
|
1184
|
-
'#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n
|
|
1205
|
+
'#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n featuredImage {\n id\n url\n altText\n width\n height\n }\n }\n query RecommendedProducts ($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n products(first: 4, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...RecommendedProduct\n }\n }\n }\n': {
|
|
1185
1206
|
return: RecommendedProductsQuery;
|
|
1186
1207
|
variables: RecommendedProductsQueryVariables;
|
|
1187
1208
|
};
|
|
1188
|
-
'#graphql\n query Article(\n $articleHandle: String!\n $blogHandle: String!\n $country: CountryCode\n $language: LanguageCode\n ) @inContext(language: $language, country: $country) {\n blog(handle: $blogHandle) {\n articleByHandle(handle: $articleHandle) {\n title\n contentHtml\n publishedAt\n author: authorV2 {\n name\n }\n image {\n id\n altText\n url\n width\n height\n }\n seo {\n description\n title\n }\n }\n }\n }\n': {
|
|
1209
|
+
'#graphql\n query Article(\n $articleHandle: String!\n $blogHandle: String!\n $country: CountryCode\n $language: LanguageCode\n ) @inContext(language: $language, country: $country) {\n blog(handle: $blogHandle) {\n handle\n articleByHandle(handle: $articleHandle) {\n handle\n title\n contentHtml\n publishedAt\n author: authorV2 {\n name\n }\n image {\n id\n altText\n url\n width\n height\n }\n seo {\n description\n title\n }\n }\n }\n }\n': {
|
|
1189
1210
|
return: ArticleQuery;
|
|
1190
1211
|
variables: ArticleQueryVariables;
|
|
1191
1212
|
};
|
|
1192
|
-
'#graphql\n query Blog(\n $language: LanguageCode\n $blogHandle: String!\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(language: $language) {\n blog(handle: $blogHandle) {\n title\n seo {\n title\n description\n }\n articles(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ArticleItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n hasNextPage\n endCursor\n startCursor\n }\n\n }\n }\n }\n fragment ArticleItem on Article {\n author: authorV2 {\n name\n }\n contentHtml\n handle\n id\n image {\n id\n altText\n url\n width\n height\n }\n publishedAt\n title\n blog {\n handle\n }\n }\n': {
|
|
1213
|
+
'#graphql\n query Blog(\n $language: LanguageCode\n $blogHandle: String!\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(language: $language) {\n blog(handle: $blogHandle) {\n title\n handle\n seo {\n title\n description\n }\n articles(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ArticleItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n hasNextPage\n endCursor\n startCursor\n }\n\n }\n }\n }\n fragment ArticleItem on Article {\n author: authorV2 {\n name\n }\n contentHtml\n handle\n id\n image {\n id\n altText\n url\n width\n height\n }\n publishedAt\n title\n blog {\n handle\n }\n }\n': {
|
|
1193
1214
|
return: BlogQuery;
|
|
1194
1215
|
variables: BlogQueryVariables;
|
|
1195
1216
|
};
|
|
@@ -1205,11 +1226,11 @@ interface GeneratedQueryTypes {
|
|
|
1205
1226
|
return: StoreCollectionsQuery;
|
|
1206
1227
|
variables: StoreCollectionsQueryVariables;
|
|
1207
1228
|
};
|
|
1208
|
-
'#graphql\n query Catalog(\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n products(first: $first, last: $last, before: $startCursor, after: $endCursor) {\n nodes {\n ...
|
|
1229
|
+
'#graphql\n query Catalog(\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n products(first: $first, last: $last, before: $startCursor, after: $endCursor) {\n nodes {\n ...CollectionItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n }\n }\n }\n #graphql\n fragment MoneyCollectionItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment CollectionItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyCollectionItem\n }\n maxVariantPrice {\n ...MoneyCollectionItem\n }\n }\n }\n\n': {
|
|
1209
1230
|
return: CatalogQuery;
|
|
1210
1231
|
variables: CatalogQueryVariables;
|
|
1211
1232
|
};
|
|
1212
|
-
'#graphql\n query Page(\n $language: LanguageCode,\n $country: CountryCode,\n $handle: String!\n )\n @inContext(language: $language, country: $country) {\n page(handle: $handle) {\n id\n title\n body\n seo {\n description\n title\n }\n }\n }\n': {
|
|
1233
|
+
'#graphql\n query Page(\n $language: LanguageCode,\n $country: CountryCode,\n $handle: String!\n )\n @inContext(language: $language, country: $country) {\n page(handle: $handle) {\n handle\n id\n title\n body\n seo {\n description\n title\n }\n }\n }\n': {
|
|
1213
1234
|
return: PageQuery;
|
|
1214
1235
|
variables: PageQueryVariables;
|
|
1215
1236
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4BO44W6A.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SHIHLMYP.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-2B4E6VSB.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderDangerousConfirmationPrompt,
|
|
6
6
|
renderSelectPrompt,
|
|
7
7
|
renderTextPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F55GHOR3.js";
|
|
9
9
|
import {
|
|
10
10
|
init_cjs_shims
|
|
11
11
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -175,4 +175,4 @@ async function prompts() {
|
|
|
175
175
|
export {
|
|
176
176
|
prompts
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-4BO44W6A.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QJTHRGGC.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SHIHLMYP.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-54K4AM4U.js.map
|
|
@@ -5,19 +5,23 @@ import {
|
|
|
5
5
|
} from "./chunk-25IMI7TH.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SUWZRQHU.js";
|
|
9
9
|
import {
|
|
10
10
|
Environment,
|
|
11
|
+
environmentVariables,
|
|
11
12
|
firstPartyDev,
|
|
12
13
|
import_ts_error,
|
|
13
|
-
|
|
14
|
+
isTruthy,
|
|
14
15
|
outputContent,
|
|
15
16
|
outputDebug,
|
|
16
17
|
runWithTimer,
|
|
17
18
|
serviceEnvironment,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./chunk-
|
|
19
|
+
sleep,
|
|
20
|
+
systemEnvironmentVariables
|
|
21
|
+
} from "./chunk-F55GHOR3.js";
|
|
22
|
+
import {
|
|
23
|
+
sniffForJson
|
|
24
|
+
} from "./chunk-57Q6OQG4.js";
|
|
21
25
|
import {
|
|
22
26
|
__commonJS,
|
|
23
27
|
__require,
|
|
@@ -26863,6 +26867,58 @@ var require_form_data = __commonJS({
|
|
|
26863
26867
|
}
|
|
26864
26868
|
});
|
|
26865
26869
|
|
|
26870
|
+
// ../cli-kit/dist/public/node/crypto.js
|
|
26871
|
+
init_cjs_shims();
|
|
26872
|
+
import crypto from "crypto";
|
|
26873
|
+
function hashString(str) {
|
|
26874
|
+
return crypto.createHash("sha1").update(str).digest("hex");
|
|
26875
|
+
}
|
|
26876
|
+
function fileHash(buff) {
|
|
26877
|
+
return crypto.createHash("md5").update(buff).digest("hex");
|
|
26878
|
+
}
|
|
26879
|
+
function randomUUID() {
|
|
26880
|
+
return crypto.randomUUID();
|
|
26881
|
+
}
|
|
26882
|
+
function nonRandomUUID(subject) {
|
|
26883
|
+
return crypto.createHash("sha1").update(Buffer.from("6ba7b810-9dad-11d1-80b4-00c04fd430c8".replace(/-/g, ""), "hex")).update(subject).digest().toString("hex").replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, "$1-$2-$3-$4-$5");
|
|
26884
|
+
}
|
|
26885
|
+
|
|
26886
|
+
// ../cli-kit/dist/public/node/environment.js
|
|
26887
|
+
init_cjs_shims();
|
|
26888
|
+
function getEnvironmentVariables() {
|
|
26889
|
+
return process.env;
|
|
26890
|
+
}
|
|
26891
|
+
function getPartnersToken() {
|
|
26892
|
+
return getEnvironmentVariables()[environmentVariables.partnersToken];
|
|
26893
|
+
}
|
|
26894
|
+
function getBackendPort() {
|
|
26895
|
+
let backendPort = getEnvironmentVariables()[systemEnvironmentVariables.backendPort];
|
|
26896
|
+
if (backendPort && !isNaN(Number(backendPort)))
|
|
26897
|
+
return Number(backendPort);
|
|
26898
|
+
}
|
|
26899
|
+
function getIdentityTokenInformation() {
|
|
26900
|
+
let identityToken = getEnvironmentVariables()[environmentVariables.identityToken], refreshToken = getEnvironmentVariables()[environmentVariables.refreshToken];
|
|
26901
|
+
if (!(!identityToken || !refreshToken))
|
|
26902
|
+
return {
|
|
26903
|
+
accessToken: identityToken,
|
|
26904
|
+
refreshToken,
|
|
26905
|
+
userId: nonRandomUUID(identityToken)
|
|
26906
|
+
};
|
|
26907
|
+
}
|
|
26908
|
+
function jsonOutputEnabled(environment = getEnvironmentVariables()) {
|
|
26909
|
+
return sniffForJson() || isTruthy(environment[environmentVariables.json]);
|
|
26910
|
+
}
|
|
26911
|
+
function blockPartnersAccess() {
|
|
26912
|
+
return isTruthy(getEnvironmentVariables()[environmentVariables.neverUsePartnersApi]);
|
|
26913
|
+
}
|
|
26914
|
+
function skipNetworkLevelRetry(environment = getEnvironmentVariables()) {
|
|
26915
|
+
return isTruthy(environment[environmentVariables.skipNetworkLevelRetry]);
|
|
26916
|
+
}
|
|
26917
|
+
function maxRequestTimeForNetworkCallsMs(environment = getEnvironmentVariables()) {
|
|
26918
|
+
let maxRequestTime = environment[environmentVariables.maxRequestTimeForNetworkCalls];
|
|
26919
|
+
return maxRequestTime && !isNaN(Number(maxRequestTime)) ? Number(maxRequestTime) : 30 * 1e3;
|
|
26920
|
+
}
|
|
26921
|
+
|
|
26866
26922
|
// ../cli-kit/dist/public/node/http.js
|
|
26867
26923
|
init_cjs_shims();
|
|
26868
26924
|
|
|
@@ -31346,6 +31402,16 @@ var instanceOfType = (cls, params = {
|
|
|
31346
31402
|
init_cjs_shims();
|
|
31347
31403
|
|
|
31348
31404
|
export {
|
|
31405
|
+
hashString,
|
|
31406
|
+
fileHash,
|
|
31407
|
+
randomUUID,
|
|
31408
|
+
nonRandomUUID,
|
|
31409
|
+
getEnvironmentVariables,
|
|
31410
|
+
getPartnersToken,
|
|
31411
|
+
getBackendPort,
|
|
31412
|
+
getIdentityTokenInformation,
|
|
31413
|
+
jsonOutputEnabled,
|
|
31414
|
+
blockPartnersAccess,
|
|
31349
31415
|
GraphQLClientError,
|
|
31350
31416
|
sanitizedHeadersOutput,
|
|
31351
31417
|
buildHeaders,
|
|
@@ -31386,4 +31452,4 @@ mime-types/index.js:
|
|
|
31386
31452
|
* MIT Licensed
|
|
31387
31453
|
*)
|
|
31388
31454
|
*/
|
|
31389
|
-
//# sourceMappingURL=chunk-
|
|
31455
|
+
//# sourceMappingURL=chunk-7QKG75SI.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZCIGSW2P.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SHIHLMYP.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-ALANDDAF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F55GHOR3.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -15,4 +15,4 @@ async function searchService(query) {
|
|
|
15
15
|
export {
|
|
16
16
|
searchService
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-ANW4ZUSD.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SHIHLMYP.js";
|
|
4
4
|
import {
|
|
5
5
|
renderTable,
|
|
6
6
|
renderText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F55GHOR3.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UTDSSCPI.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims
|
|
@@ -83,4 +83,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
83
83
|
export {
|
|
84
84
|
CommandFlags
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-AVR7SY23.js.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
require_semver
|
|
3
|
-
} from "./chunk-HMDWNGIV.js";
|
|
4
1
|
import {
|
|
5
2
|
AbortController,
|
|
6
3
|
AbortError,
|
|
@@ -21,7 +18,10 @@ import {
|
|
|
21
18
|
require_get_stream,
|
|
22
19
|
runWithTimer,
|
|
23
20
|
writeFile
|
|
24
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F55GHOR3.js";
|
|
22
|
+
import {
|
|
23
|
+
require_semver
|
|
24
|
+
} from "./chunk-HMDWNGIV.js";
|
|
25
25
|
import {
|
|
26
26
|
dirname,
|
|
27
27
|
joinPath
|
|
@@ -13749,4 +13749,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13749
13749
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13750
13750
|
*)
|
|
13751
13751
|
*/
|
|
13752
|
-
//# sourceMappingURL=chunk-
|
|
13752
|
+
//# sourceMappingURL=chunk-CZ7EMDNP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F55GHOR3.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -43,4 +43,4 @@ async function asyncTasks() {
|
|
|
43
43
|
export {
|
|
44
44
|
asyncTasks
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-DG3SRCQ7.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PRSCEDOW.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SHIHLMYP.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F55GHOR3.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Logout
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-DOKAITPJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F55GHOR3.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-EKAPTGJ2.js.map
|