@shopify/cli 3.59.3 → 3.60.1
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/cli-ruby/lib/project_types/extension/models/specification_handlers/theme_app_extension.rb +1 -1
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +1 -1
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/syncer/extension_serve_job.rb +1 -18
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/auth_middleware.rb +1 -1
- package/dist/assets/cli-ruby/test/shopify-cli/theme/dev_server/proxy_test.rb +21 -8
- package/dist/{chokidar-DGBVSVUZ.js → chokidar-DOC6OXDL.js} +3 -3
- package/dist/chunk-23EONB5V.js +2488 -0
- package/dist/{chunk-AXXAG7WU.js → chunk-3JLUTHGR.js} +1 -1
- package/dist/{chunk-7ZP3BQHT.js → chunk-3MBQVTEX.js} +1 -1
- package/dist/{chunk-3MMF34G4.js → chunk-4AOK4O3R.js} +14196 -14093
- package/dist/{chunk-53M3MKPI.js → chunk-4LDHNDYE.js} +5 -5
- package/dist/{chunk-PAZZ5BCS.js → chunk-5AS274TH.js} +2 -2
- package/dist/{chunk-7D6QIBBS.js → chunk-5R5555YE.js} +2 -2
- package/dist/{chunk-SIH2DDL6.js → chunk-6HKMY2UF.js} +3 -3
- package/dist/{chunk-FS2KWH4D.js → chunk-6IDIGZKI.js} +3 -3
- package/dist/{chunk-WD7SEY5L.js → chunk-76FPU4Y4.js} +6 -6
- package/dist/{chunk-GG6BKQB7.js → chunk-7DPKKYLI.js} +4 -4
- package/dist/{chunk-WBWFZ6IT.js → chunk-7P2SWIQY.js} +1 -1
- package/dist/{chunk-LIWGTANH.js → chunk-A63WAXQ5.js} +2 -2
- package/dist/{chunk-SMULJJG3.js → chunk-BE73NZXB.js} +1 -1
- package/dist/{chunk-DLDVLYHU.js → chunk-BKLNHG3A.js} +20 -16
- package/dist/{chunk-JCAIZOYO.js → chunk-FBB6KUZG.js} +1 -1
- package/dist/{chunk-SA32EMWV.js → chunk-FQIRJADJ.js} +1 -1
- package/dist/{chunk-YLPWACJJ.js → chunk-FWGRGI4R.js} +1 -1
- package/dist/{chunk-M336AND6.js → chunk-G6FN5VUE.js} +2 -2
- package/dist/{chunk-566AK3QG.js → chunk-GXPKATXW.js} +1 -1
- package/dist/{chunk-MWCOJGV6.js → chunk-GZXEPYCR.js} +2 -2
- package/dist/{chunk-IUKVZDDI.js → chunk-I5U2GOJX.js} +3 -3
- package/dist/{chunk-764QFYJX.js → chunk-IDJLU3F6.js} +4 -4
- package/dist/{chunk-YNJ3FUKX.js → chunk-IKV3JAIE.js} +4 -4
- package/dist/{chunk-TKNIQF4H.js → chunk-IN5IG3IS.js} +2 -2
- package/dist/{chunk-CXG2USMP.js → chunk-IUHH3PST.js} +1 -1
- package/dist/{chunk-Q3AO7F62.js → chunk-KDOLMUJB.js} +1 -1
- package/dist/{chunk-HVHJU6BK.js → chunk-KPUG3N6O.js} +7 -7
- package/dist/{chunk-6MJ52OLD.js → chunk-LKGDG6WW.js} +1 -1
- package/dist/{chunk-GPBOTRYV.js → chunk-M2LKXZGR.js} +9 -9
- package/dist/{chunk-BVGYIZ3O.js → chunk-M63RTPGR.js} +0 -7
- package/dist/chunk-MSXPXGEQ.js +176 -0
- package/dist/{chunk-SDNI4T2T.js → chunk-OK6RFX7A.js} +14 -13
- package/dist/{chunk-QI5VKSMW.js → chunk-OVPEO3GL.js} +2 -2
- package/dist/{chunk-FWZYDOOO.js → chunk-QE677YMX.js} +2 -2
- package/dist/{chunk-NLMW7YYN.js → chunk-QGJ5DP4W.js} +5 -5
- package/dist/{chunk-24FJTPDB.js → chunk-QNRAAJ6E.js} +4 -4
- package/dist/{chunk-WI3E2P3B.js → chunk-QTHWTF4X.js} +2 -2
- package/dist/{chunk-4N5YPEOH.js → chunk-QU5QY6ID.js} +4 -4
- package/dist/{chunk-OIWSTE6V.js → chunk-R2FRHR2E.js} +3 -3
- package/dist/{chunk-CYG4QPQ3.js → chunk-RQ24VTW4.js} +1 -1
- package/dist/{chunk-ZQSNWZD4.js → chunk-S42TVKB4.js} +3 -3
- package/dist/{chunk-BEYT7IAV.js → chunk-SQR2WUOU.js} +14 -10
- package/dist/{chunk-37WSDC6Z.js → chunk-STBFB2GC.js} +3 -3
- package/dist/{chunk-7SNGGY5B.js → chunk-TMGCRPEZ.js} +1 -1
- package/dist/{chunk-3CU2FNWB.js → chunk-TZ5DL7CA.js} +3 -3
- package/dist/{chunk-PNZIXRIF.js → chunk-UJNJ5XCL.js} +9 -2487
- package/dist/{chunk-TOONJ2CA.js → chunk-UQNUIOTG.js} +2 -2
- package/dist/{chunk-LOF3ZXQM.js → chunk-VNBOO6TJ.js} +64 -2
- package/dist/{chunk-RRHAA7U3.js → chunk-VQWQFBVA.js} +2 -2
- package/dist/{chunk-QBOF3CYT.js → chunk-WC5J3EVR.js} +5 -5
- package/dist/{chunk-P52UWCZD.js → chunk-WCNR75S2.js} +1 -1
- package/dist/{chunk-HEOKQONH.js → chunk-WWX3LICJ.js} +14 -11
- package/dist/{chunk-OVCQRTZZ.js → chunk-Z3ORRLFL.js} +3 -3
- package/dist/{chunk-LJA4EOTX.js → chunk-ZDPFPYD3.js} +5 -5
- package/dist/cli/commands/auth/logout.js +28 -28
- package/dist/cli/commands/auth/logout.test.js +30 -30
- package/dist/cli/commands/debug/command-flags.js +26 -26
- package/dist/cli/commands/demo/catalog.js +28 -28
- package/dist/cli/commands/demo/generate-file.js +29 -29
- package/dist/cli/commands/demo/index.js +27 -27
- package/dist/cli/commands/demo/print-ai-prompt.js +29 -29
- package/dist/cli/commands/docs/generate.js +26 -26
- package/dist/cli/commands/docs/generate.js.map +1 -1
- package/dist/cli/commands/docs/generate.test.js +30 -27
- package/dist/cli/commands/help.js +26 -26
- package/dist/cli/commands/hydrogen/init.js +26 -26
- package/dist/cli/commands/kitchen-sink/async.js +27 -27
- package/dist/cli/commands/kitchen-sink/async.test.js +28 -28
- package/dist/cli/commands/kitchen-sink/index.js +29 -29
- package/dist/cli/commands/kitchen-sink/index.test.js +30 -30
- package/dist/cli/commands/kitchen-sink/prompts.js +27 -27
- package/dist/cli/commands/kitchen-sink/prompts.test.js +28 -28
- package/dist/cli/commands/kitchen-sink/static.js +27 -27
- package/dist/cli/commands/kitchen-sink/static.test.js +28 -28
- package/dist/cli/commands/search.js +27 -27
- package/dist/cli/commands/upgrade.js +26 -26
- package/dist/cli/commands/upgrade.test.js +4 -4
- package/dist/cli/commands/version.js +27 -27
- package/dist/cli/commands/version.test.js +28 -28
- package/dist/cli/services/commands/search.js +16 -17
- package/dist/cli/services/commands/search.test.js +17 -18
- package/dist/cli/services/commands/version.js +19 -19
- package/dist/cli/services/commands/version.test.js +21 -21
- package/dist/cli/services/demo.js +17 -18
- package/dist/cli/services/demo.test.js +18 -19
- package/dist/cli/services/kitchen-sink/async.js +16 -17
- package/dist/cli/services/kitchen-sink/prompts.js +16 -17
- package/dist/cli/services/kitchen-sink/static.js +16 -17
- package/dist/cli/services/upgrade.js +18 -18
- package/dist/cli/services/upgrade.test.js +21 -21
- package/dist/{constants-OQPDSWGZ.js → constants-3B4PKIC7.js} +4 -4
- package/dist/{custom-oclif-loader-C3NJVUH5.js → custom-oclif-loader-SV4V5NXW.js} +15 -16
- package/dist/data/app_block_entry.json +13 -0
- package/dist/data/default_setting_values.json +24 -0
- package/dist/data/filters.json +5818 -0
- package/dist/data/latest.json +2 -0
- package/dist/data/local_block_entry.json +25 -0
- package/dist/data/manifest_theme.json +17 -0
- package/dist/data/manifest_theme_app_extension.json +10 -0
- package/dist/data/objects.json +21250 -0
- package/dist/data/section.json +241 -0
- package/dist/data/setting.json +913 -0
- package/dist/data/settings.json +10 -0
- package/dist/data/shopify_system_translations.json +1882 -0
- package/dist/data/tags.json +1273 -0
- package/dist/data/targetted_block_entry.json +15 -0
- package/dist/data/theme_block.json +123 -0
- package/dist/data/theme_block_entry.json +14 -0
- package/dist/data/theme_settings.json +83 -0
- package/dist/data/translations.json +56 -0
- package/dist/{del-HVOV3MSN.js → del-5I7QSZXM.js} +7 -8
- package/dist/{devtools-SPNRC62Y.js → devtools-KQM4GF6J.js} +1 -1
- package/dist/error-handler-WRZSR3LR.js +37 -0
- package/dist/hooks/init.js +15 -16
- package/dist/hooks/postrun.js +23 -23
- package/dist/hooks/prerun.js +19 -19
- package/dist/{http-proxy-UXKO35LH.js → http-proxy-42DFA6MY.js} +2 -2
- package/dist/index.js +7843 -7196
- package/dist/{lib-2EBQB76J.js → lib-AAMRQUES.js} +3 -3
- package/dist/lib-KV4KCWH7.js +11 -0
- package/dist/{local-LOUQD2TP.js → local-A6DCNVDB.js} +15 -16
- package/dist/{magic-string.es-XWLPTYL2.js → magic-string.es-6WMSFIAX.js} +1 -1
- package/dist/{multipart-parser-KUMTOIY4.js → multipart-parser-O2BQODS2.js} +2 -2
- package/dist/{node-package-manager-HN2BURTH.js → node-package-manager-CLN2ZN2M.js} +17 -17
- package/dist/npa-VW3Y6UCQ.js +2262 -0
- package/dist/{open-4QOBUNAV.js → open-B7XFJJCK.js} +2 -2
- package/dist/out-MH5VOFOS.js +6 -0
- package/dist/{path-NJJ6ID3F.js → path-HO4HBKK5.js} +3 -3
- package/dist/system-OPIC6REP.js +28 -0
- package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +1 -1
- package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-36MRS2GL.js → ui-WTE37V74.js} +15 -16
- package/oclif.manifest.json +99 -30
- package/package.json +7 -6
- package/dist/assets/cli-ruby/test/shopify-cli/theme/extension/syncer_test.rb +0 -82
- package/dist/chunk-F6GZ5SSL.js +0 -69
- package/dist/error-handler-WFXXE3PZ.js +0 -37
- package/dist/favicon-4808307e.ico +0 -0
- package/dist/index-878807df.js +0 -5
- package/dist/index-a69a7f3d.js +0 -7
- package/dist/index-e6f8190d.js +0 -953
- package/dist/lib-ZHR6CBL4.js +0 -12
- package/dist/out-K5X4ON7U.js +0 -6
- package/dist/package-9a1ede4a.json +0 -268
- package/dist/shell-FSGSHXVH.js +0 -2517
- package/dist/style-49513a24.css +0 -58
- package/dist/system-PSH5D5DY.js +0 -29
- package/dist/yarn-e8df42e5.js +0 -31
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
demo
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-Z3ORRLFL.js";
|
|
4
|
+
import "../../../chunk-7P2SWIQY.js";
|
|
5
5
|
import {
|
|
6
6
|
base_command_default
|
|
7
|
-
} from "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
7
|
+
} from "../../../chunk-76FPU4Y4.js";
|
|
8
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
9
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
10
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
11
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
12
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
13
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
14
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
15
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
16
|
+
import "../../../chunk-23EONB5V.js";
|
|
16
17
|
import {
|
|
17
18
|
readFile
|
|
18
|
-
} from "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
19
|
+
} from "../../../chunk-OK6RFX7A.js";
|
|
20
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
21
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
22
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
22
23
|
import {
|
|
23
24
|
require_lib
|
|
24
|
-
} from "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
30
|
-
import "../../../chunk-
|
|
31
|
-
import "../../../chunk-P52UWCZD.js";
|
|
25
|
+
} from "../../../chunk-4AOK4O3R.js";
|
|
26
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
27
|
+
import "../../../chunk-BE73NZXB.js";
|
|
28
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
29
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
30
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
31
|
+
import "../../../chunk-WCNR75S2.js";
|
|
32
32
|
import {
|
|
33
33
|
cwd,
|
|
34
34
|
resolvePath
|
|
35
|
-
} from "../../../chunk-
|
|
36
|
-
import "../../../chunk-
|
|
37
|
-
import "../../../chunk-
|
|
35
|
+
} from "../../../chunk-G6FN5VUE.js";
|
|
36
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
37
|
+
import "../../../chunk-GXPKATXW.js";
|
|
38
38
|
import {
|
|
39
39
|
__toESM,
|
|
40
40
|
init_cjs_shims
|
|
41
|
-
} from "../../../chunk-
|
|
41
|
+
} from "../../../chunk-M63RTPGR.js";
|
|
42
42
|
|
|
43
43
|
// src/cli/commands/demo/index.ts
|
|
44
44
|
init_cjs_shims();
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PrintAIPrompt
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-
|
|
24
|
-
import "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
30
|
-
import "../../../chunk-
|
|
31
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-QGJ5DP4W.js";
|
|
4
|
+
import "../../../chunk-IUHH3PST.js";
|
|
5
|
+
import "../../../chunk-Z3ORRLFL.js";
|
|
6
|
+
import "../../../chunk-7P2SWIQY.js";
|
|
7
|
+
import "../../../chunk-76FPU4Y4.js";
|
|
8
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
9
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
10
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
11
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
12
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
13
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
14
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
15
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
16
|
+
import "../../../chunk-23EONB5V.js";
|
|
17
|
+
import "../../../chunk-OK6RFX7A.js";
|
|
18
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
19
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
20
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
21
|
+
import "../../../chunk-4AOK4O3R.js";
|
|
22
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
23
|
+
import "../../../chunk-BE73NZXB.js";
|
|
24
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
25
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
26
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
27
|
+
import "../../../chunk-WCNR75S2.js";
|
|
28
|
+
import "../../../chunk-G6FN5VUE.js";
|
|
29
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
30
|
+
import "../../../chunk-GXPKATXW.js";
|
|
31
|
+
import "../../../chunk-M63RTPGR.js";
|
|
32
32
|
export {
|
|
33
33
|
PrintAIPrompt as default
|
|
34
34
|
};
|
|
@@ -4,32 +4,32 @@ import {
|
|
|
4
4
|
writeCommandDocumentation,
|
|
5
5
|
writeCommandFlagInterface,
|
|
6
6
|
writeCommandUsageExampleFile
|
|
7
|
-
} from "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-
|
|
24
|
-
import "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
30
|
-
import "../../../chunk-
|
|
31
|
-
import "../../../chunk-
|
|
32
|
-
import "../../../chunk-
|
|
7
|
+
} from "../../../chunk-SQR2WUOU.js";
|
|
8
|
+
import "../../../chunk-76FPU4Y4.js";
|
|
9
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
10
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
11
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
12
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
13
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
14
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
15
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
16
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
17
|
+
import "../../../chunk-23EONB5V.js";
|
|
18
|
+
import "../../../chunk-OK6RFX7A.js";
|
|
19
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
20
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
21
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
22
|
+
import "../../../chunk-4AOK4O3R.js";
|
|
23
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
24
|
+
import "../../../chunk-BE73NZXB.js";
|
|
25
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
26
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
27
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
28
|
+
import "../../../chunk-WCNR75S2.js";
|
|
29
|
+
import "../../../chunk-G6FN5VUE.js";
|
|
30
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
31
|
+
import "../../../chunk-GXPKATXW.js";
|
|
32
|
+
import "../../../chunk-M63RTPGR.js";
|
|
33
33
|
export {
|
|
34
34
|
DocsGenerate as default,
|
|
35
35
|
extractCommandData,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/cli/commands/docs/generate.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oCAAoC,CAAA;AAExD,OAAO,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAC,GAAG,EAAE,QAAQ,EAAC,MAAM,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O,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAA;IACvE,IAAI,OAAO,OAAO,CAAC,KAAK,KAAK,QAAQ,EAAE;QACrC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;KACtB;SAAM,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACvC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;KACnC;SAAM;QACL,KAAK,GAAG,WAAW,WAAW,GAAG,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,CAAA;KAC9D;IACD,MAAM,KAAK,CAAC,GAAG,QAAQ,WAAW,CAAC,CAAA;IACnC,MAAM,SAAS,CAAC,GAAG,QAAQ,aAAa,QAAQ,aAAa,EAAE,KAAK,CAAC,CAAA;AACvE,CAAC","sourcesContent":["import Command from '@shopify/cli-kit/node/base-command'\nimport {Command as oclifCommand} from '@oclif/core'\nimport {mkdir, rmdir, writeFile} from '@shopify/cli-kit/node/fs'\nimport {cwd, joinPath} from '@shopify/cli-kit/node/path'\nimport {outputInfo} from '@shopify/cli-kit/node/output'\n\nconst docsPath = joinPath(cwd(), '/docs-shopify.dev/commands')\n\nexport type CommandWithMarkdown = oclifCommand.Loadable & {descriptionWithMarkdown?: string}\n\nexport interface CommandData {\n commandName: string\n fileName: string\n interfaceName: string\n hasTopic: boolean\n topic: string | undefined\n hasFlags: boolean\n}\n\nexport default class DocsGenerate extends Command {\n static description = 'Generate CLI commands documentation'\n static hidden = true\n\n async run(): Promise<void> {\n const commands = this.config.commands as CommandWithMarkdown[]\n\n // Remove all files and recreate the folder. To make sure we don't leave any orphaned files.\n await rmdir(docsPath)\n await mkdir(docsPath)\n\n // Short by length to ensure that we first generate the interfaces for the parent topics to detect hidden ones.\n const sortedCommands = commands\n .sort((ca, cb) => ca.id.length - cb.id.length)\n .filter((command) => !isHidden(command))\n const promises = sortedCommands.flatMap((command) => {\n const commandData = extractCommandData(command)\n return [\n writeCommandFlagInterface(command, commandData),\n writeCommandUsageExampleFile(command, commandData),\n writeCommandDocumentation(command, commandData),\n ]\n })\n\n await Promise.all(promises)\n }\n}\n\n// By default we hide oclif commands that are not part of the Shopify CLI documentation\nconst hiddenTopics: string[] = ['commands', 'help', 'plugins']\n\n// Topics that are included in the Universal commands category\nconst universalTopics: string[] = ['config', 'auth']\n\nfunction isHidden(command: oclifCommand.Loadable) {\n // Some commands rely on the hidden property of the parent topic, but is not returned in the oclif command object\n if (command.hidden) {\n hiddenTopics.push(command.id)\n return true\n }\n\n // User plugins are installed locally and are not part of the Shopify CLI documentation\n if (command.pluginType === 'user') return true\n return hiddenTopics.some((topic) => command.id.startsWith(`${topic}:`))\n}\n\nexport function extractCommandData(command: CommandWithMarkdown) {\n const commandName = command.id.replace(/[:]/g, ' ')\n const fileName = command.id.replace(/[:]/g, '-')\n const interfaceName = command.id.replace(/[:-]/g, '')\n const hasTopic = command.id.includes(':')\n const topic = command.id.split(':')[0]\n const hasFlags = command.flags && Object.keys(command.flags).length > 0\n return {commandName, fileName, interfaceName, hasTopic, topic, hasFlags}\n}\n\n// Generates the documentation for a command and writes it to a file (also a file with an example usage of the command)\nexport async function writeCommandDocumentation(\n command: CommandWithMarkdown,\n {commandName, fileName, interfaceName, hasTopic, topic, hasFlags}: CommandData,\n) {\n const flagDoc = `\n {\n title: 'Flags',\n description: 'The following flags are available for the \\`${commandName}\\` command:',\n type: '${interfaceName}',\n },`\n\n const description = command.descriptionWithMarkdown ?? command.description ?? command.summary\n const previewDescription = command.summary ?? description\n\n const category = hasTopic && !universalTopics.includes(topic!) ? topic : 'Universal commands'\n\n const string = `// This is an autogenerated file. Don't edit this file manually.\nimport {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'\n\nconst data: ReferenceEntityTemplateSchema = {\n name: '${commandName}',\n description: \\`${description?.replace(/`/g, '\\\\`')}\\`,\n overviewPreviewDescription: \\`${previewDescription?.replace(/`/g, '\\\\`')}\\`,\n type: 'command',\n isVisualComponent: false,\n defaultExample: {\n codeblock: {\n tabs: [\n {\n title: '${commandName}',\n code: './examples/${fileName}.example.sh',\n language: 'bash',\n },\n ],\n title: '${commandName}',\n },\n },\n definitions: [${hasFlags ? flagDoc : ''}\n ],\n category: '${category}',\n related: [\n ],\n}\n\nexport default data`\n\n await writeFile(`${docsPath}/${fileName}.doc.ts`, string)\n outputInfo(`Generated docs for ${commandName}`)\n}\n\n// Generates an interface for the flags of a command and writes it to a file\nexport async function writeCommandFlagInterface(\n command: oclifCommand.Loadable,\n {fileName, interfaceName}: CommandData,\n) {\n const flagsDetails = Object.keys(command.flags)\n .map((flagName) => {\n const flag = command.flags[flagName]\n if (!flag) return\n if (flag.hidden) return\n const flagDescription = flag.description || ''\n const char = flag.char ? `-${flag.char}, ` : ''\n const type = flag.type === 'option' ? 'string' : \"''\"\n const value = flag.type === 'option' ? ' <value>' : ''\n const optional = flag.required ? '' : '?'\n const flagContent = ` /**\n * ${flagDescription}\n */\n '${char}--${flagName}${value}'${optional}: ${type}`\n // Example output: '-c, --config <value>'?: string\n return flagContent\n })\n .filter((str) => str && str?.length > 0)\n .join('\\n\\n')\n\n const commandContent = `// This is an autogenerated file. Don't edit this file manually.\nexport interface ${interfaceName} {\n${flagsDetails}\n}\n`\n await mkdir(`${docsPath}/interfaces`)\n await writeFile(`${docsPath}/interfaces/${fileName}.interface.ts`, commandContent)\n}\n\n// Generates a file with an example usage of a command\nexport async function writeCommandUsageExampleFile(command: CommandWithMarkdown, {fileName, commandName}: CommandData) {\n let usage = ''\n const hasFlags = command.flags && Object.keys(command.flags).length > 0\n if (typeof command.usage === 'string') {\n usage = command.usage\n } else if (Array.isArray(command.usage)) {\n usage = command.usage.join('\\n\\n')\n } else {\n usage = `shopify ${commandName}${hasFlags ? ' [flags]' : ''}`\n }\n await mkdir(`${docsPath}/examples`)\n await write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C,CAAA;AACvE,CAAC","sourcesContent":["import Command from '@shopify/cli-kit/node/base-command'\nimport {Command as oclifCommand} from '@oclif/core'\nimport {mkdir, rmdir, writeFile} from '@shopify/cli-kit/node/fs'\nimport {cwd, joinPath} from '@shopify/cli-kit/node/path'\nimport {outputInfo} from '@shopify/cli-kit/node/output'\n\nconst docsPath = joinPath(cwd(), '/docs-shopify.dev/commands')\n\nexport type CommandWithMarkdown = oclifCommand.Loadable & {descriptionWithMarkdown?: string}\n\nexport interface CommandData {\n commandName: string\n fileName: string\n interfaceName: string\n hasTopic: boolean\n topic: string | undefined\n hasFlags: boolean\n}\n\nexport default class DocsGenerate extends Command {\n static description = 'Generate CLI commands documentation'\n static hidden = true\n\n async run(): Promise<void> {\n const commands = this.config.commands as CommandWithMarkdown[]\n\n // Remove all files and recreate the folder. To make sure we don't leave any orphaned files.\n await rmdir(docsPath)\n await mkdir(docsPath)\n\n // Short by length to ensure that we first generate the interfaces for the parent topics to detect hidden ones.\n const sortedCommands = commands\n .sort((ca, cb) => ca.id.length - cb.id.length)\n .filter((command) => !isHidden(command))\n const promises = sortedCommands.flatMap((command) => {\n const commandData = extractCommandData(command)\n return [\n writeCommandFlagInterface(command, commandData),\n writeCommandUsageExampleFile(command, commandData),\n writeCommandDocumentation(command, commandData),\n ]\n })\n\n await Promise.all(promises)\n }\n}\n\n// By default we hide oclif commands that are not part of the Shopify CLI documentation\nconst hiddenTopics: string[] = ['commands', 'help', 'plugins']\n\n// Topics that are included in the general commands category\nconst generalTopics: string[] = ['config', 'auth']\n\nfunction isHidden(command: oclifCommand.Loadable) {\n // Some commands rely on the hidden property of the parent topic, but is not returned in the oclif command object\n if (command.hidden) {\n hiddenTopics.push(command.id)\n return true\n }\n\n // User plugins are installed locally and are not part of the Shopify CLI documentation\n if (command.pluginType === 'user') return true\n return hiddenTopics.some((topic) => command.id.startsWith(`${topic}:`))\n}\n\nexport function extractCommandData(command: CommandWithMarkdown) {\n const commandName = command.id.replace(/[:]/g, ' ')\n const fileName = command.id.replace(/[:]/g, '-')\n const interfaceName = command.id.replace(/[:-]/g, '')\n const hasTopic = command.id.includes(':')\n const topic = command.id.split(':')[0]\n const hasFlags = command.flags && Object.keys(command.flags).length > 0\n return {commandName, fileName, interfaceName, hasTopic, topic, hasFlags}\n}\n\n// Generates the documentation for a command and writes it to a file (also a file with an example usage of the command)\nexport async function writeCommandDocumentation(\n command: CommandWithMarkdown,\n {commandName, fileName, interfaceName, hasTopic, topic, hasFlags}: CommandData,\n) {\n const flagDoc = `\n {\n title: 'Flags',\n description: 'The following flags are available for the \\`${commandName}\\` command:',\n type: '${interfaceName}',\n },`\n\n const description = command.descriptionWithMarkdown ?? command.description ?? command.summary ?? ''\n const cleanDescription = description?.replace(/`/g, '\\\\`').replace(/https:\\/\\/shopify\\.dev/g, '')\n const previewDescription = command.summary ?? description ?? ''\n const cleanPreview = previewDescription.replace(/`/g, '\\\\`').replace(/https:\\/\\/shopify\\.dev/g, '')\n\n const category = hasTopic && !generalTopics.includes(topic!) ? topic : 'general commands'\n\n const string = `// This is an autogenerated file. Don't edit this file manually.\nimport {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'\n\nconst data: ReferenceEntityTemplateSchema = {\n name: '${commandName}',\n description: \\`${cleanDescription}\\`,\n overviewPreviewDescription: \\`${cleanPreview}\\`,\n type: 'command',\n isVisualComponent: false,\n defaultExample: {\n codeblock: {\n tabs: [\n {\n title: '${commandName}',\n code: './examples/${fileName}.example.sh',\n language: 'bash',\n },\n ],\n title: '${commandName}',\n },\n },\n definitions: [${hasFlags ? flagDoc : ''}\n ],\n category: '${category}',\n related: [\n ],\n}\n\nexport default data`\n\n await writeFile(`${docsPath}/${fileName}.doc.ts`, string)\n outputInfo(`Generated docs for ${commandName}`)\n}\n\n// Generates an interface for the flags of a command and writes it to a file\nexport async function writeCommandFlagInterface(\n command: oclifCommand.Loadable,\n {fileName, interfaceName}: CommandData,\n) {\n const flagsDetails = Object.keys(command.flags)\n .map((flagName) => {\n const flag = command.flags[flagName]\n if (!flag) return\n if (flag.hidden) return\n const flagDescription = flag.description || ''\n const char = flag.char ? `-${flag.char}, ` : ''\n const type = flag.type === 'option' ? 'string' : \"''\"\n const value = flag.type === 'option' ? ' <value>' : ''\n const optional = flag.required ? '' : '?'\n // eslint-disable-next-line no-negated-condition\n const envValue = flag.env !== undefined ? ` @environment ${flag.env}` : ''\n const flagContent = ` /**\n * ${flagDescription}\n *${envValue}\n */\n '${char}--${flagName}${value}'${optional}: ${type}`\n // Example output: '-c, --config <value>'?: string\n return flagContent\n })\n .filter((str) => str && str?.length > 0)\n .join('\\n\\n')\n\n const commandContent = `// This is an autogenerated file. Don't edit this file manually.\nexport interface ${interfaceName} {\n${flagsDetails}\n}\n`\n await mkdir(`${docsPath}/interfaces`)\n await writeFile(`${docsPath}/interfaces/${fileName}.interface.ts`, commandContent)\n}\n\n// Generates a file with an example usage of a command\nexport async function writeCommandUsageExampleFile(command: CommandWithMarkdown, {fileName, commandName}: CommandData) {\n let usage = ''\n const hasFlags = command.flags && Object.keys(command.flags).length > 0\n if (typeof command.usage === 'string') {\n usage = command.usage\n } else if (Array.isArray(command.usage)) {\n usage = command.usage.join('\\n\\n')\n } else {\n usage = `shopify ${commandName}${hasFlags ? ' [flags]' : ''}`\n }\n await mkdir(`${docsPath}/examples`)\n await writeFile(`${docsPath}/examples/${fileName}.example.sh`, usage)\n}\n"]}
|
|
@@ -3,42 +3,42 @@ import {
|
|
|
3
3
|
writeCommandDocumentation,
|
|
4
4
|
writeCommandFlagInterface,
|
|
5
5
|
writeCommandUsageExampleFile
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-SQR2WUOU.js";
|
|
7
7
|
import {
|
|
8
8
|
describe,
|
|
9
9
|
globalExpect,
|
|
10
10
|
test,
|
|
11
11
|
vi
|
|
12
|
-
} from "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
12
|
+
} from "../../../chunk-5R5555YE.js";
|
|
13
|
+
import "../../../chunk-76FPU4Y4.js";
|
|
14
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
15
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
16
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
17
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
18
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
19
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
20
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
21
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
22
|
+
import "../../../chunk-23EONB5V.js";
|
|
22
23
|
import {
|
|
23
24
|
writeFile
|
|
24
|
-
} from "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
30
|
-
import "../../../chunk-
|
|
31
|
-
import "../../../chunk-
|
|
32
|
-
import "../../../chunk-
|
|
33
|
-
import "../../../chunk-
|
|
34
|
-
import "../../../chunk-
|
|
35
|
-
import "../../../chunk-
|
|
36
|
-
import "../../../chunk-
|
|
37
|
-
import "../../../chunk-
|
|
38
|
-
import "../../../chunk-566AK3QG.js";
|
|
25
|
+
} from "../../../chunk-OK6RFX7A.js";
|
|
26
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
27
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
28
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
29
|
+
import "../../../chunk-4AOK4O3R.js";
|
|
30
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
31
|
+
import "../../../chunk-BE73NZXB.js";
|
|
32
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
33
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
34
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
35
|
+
import "../../../chunk-WCNR75S2.js";
|
|
36
|
+
import "../../../chunk-G6FN5VUE.js";
|
|
37
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
38
|
+
import "../../../chunk-GXPKATXW.js";
|
|
39
39
|
import {
|
|
40
40
|
init_cjs_shims
|
|
41
|
-
} from "../../../chunk-
|
|
41
|
+
} from "../../../chunk-M63RTPGR.js";
|
|
42
42
|
|
|
43
43
|
// src/cli/commands/docs/generate.test.ts
|
|
44
44
|
init_cjs_shims();
|
|
@@ -58,6 +58,7 @@ var testCommand = {
|
|
|
58
58
|
type: "boolean",
|
|
59
59
|
char: "a",
|
|
60
60
|
description: "another flag description",
|
|
61
|
+
env: "FLAG_ENV",
|
|
61
62
|
allowNo: false
|
|
62
63
|
}
|
|
63
64
|
},
|
|
@@ -91,11 +92,13 @@ describe("writeCommandFlagInterface", () => {
|
|
|
91
92
|
export interface topictestcommand {
|
|
92
93
|
/**
|
|
93
94
|
* flag description
|
|
95
|
+
*
|
|
94
96
|
*/
|
|
95
97
|
'-f, --flag1 <value>'?: string
|
|
96
98
|
|
|
97
99
|
/**
|
|
98
100
|
* another flag description
|
|
101
|
+
* @environment FLAG_ENV
|
|
99
102
|
*/
|
|
100
103
|
'-a, --flag2'?: ''
|
|
101
104
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HelpCommand
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-
|
|
28
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-6IDIGZKI.js";
|
|
4
|
+
import "../../chunk-76FPU4Y4.js";
|
|
5
|
+
import "../../chunk-M2LKXZGR.js";
|
|
6
|
+
import "../../chunk-LKGDG6WW.js";
|
|
7
|
+
import "../../chunk-BKLNHG3A.js";
|
|
8
|
+
import "../../chunk-TMGCRPEZ.js";
|
|
9
|
+
import "../../chunk-ZDPFPYD3.js";
|
|
10
|
+
import "../../chunk-IN5IG3IS.js";
|
|
11
|
+
import "../../chunk-UQNUIOTG.js";
|
|
12
|
+
import "../../chunk-UJNJ5XCL.js";
|
|
13
|
+
import "../../chunk-23EONB5V.js";
|
|
14
|
+
import "../../chunk-OK6RFX7A.js";
|
|
15
|
+
import "../../chunk-FQIRJADJ.js";
|
|
16
|
+
import "../../chunk-FBB6KUZG.js";
|
|
17
|
+
import "../../chunk-OVPEO3GL.js";
|
|
18
|
+
import "../../chunk-4AOK4O3R.js";
|
|
19
|
+
import "../../chunk-FWGRGI4R.js";
|
|
20
|
+
import "../../chunk-BE73NZXB.js";
|
|
21
|
+
import "../../chunk-VNBOO6TJ.js";
|
|
22
|
+
import "../../chunk-QTHWTF4X.js";
|
|
23
|
+
import "../../chunk-RQ24VTW4.js";
|
|
24
|
+
import "../../chunk-WCNR75S2.js";
|
|
25
|
+
import "../../chunk-G6FN5VUE.js";
|
|
26
|
+
import "../../chunk-3JLUTHGR.js";
|
|
27
|
+
import "../../chunk-GXPKATXW.js";
|
|
28
|
+
import "../../chunk-M63RTPGR.js";
|
|
29
29
|
export {
|
|
30
30
|
HelpCommand as default
|
|
31
31
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Init
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-
|
|
24
|
-
import "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-6HKMY2UF.js";
|
|
4
|
+
import "../../../chunk-76FPU4Y4.js";
|
|
5
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
6
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
7
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
8
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
9
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
10
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
11
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
12
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
13
|
+
import "../../../chunk-23EONB5V.js";
|
|
14
|
+
import "../../../chunk-OK6RFX7A.js";
|
|
15
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
16
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
17
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
18
|
+
import "../../../chunk-4AOK4O3R.js";
|
|
19
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
20
|
+
import "../../../chunk-BE73NZXB.js";
|
|
21
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
22
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
23
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
24
|
+
import "../../../chunk-WCNR75S2.js";
|
|
25
|
+
import "../../../chunk-G6FN5VUE.js";
|
|
26
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
27
|
+
import "../../../chunk-GXPKATXW.js";
|
|
28
|
+
import "../../../chunk-M63RTPGR.js";
|
|
29
29
|
export {
|
|
30
30
|
Init as default
|
|
31
31
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KitchenSinkAsync
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-
|
|
24
|
-
import "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-I5U2GOJX.js";
|
|
4
|
+
import "../../../chunk-GZXEPYCR.js";
|
|
5
|
+
import "../../../chunk-76FPU4Y4.js";
|
|
6
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
7
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
8
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
9
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
10
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
11
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
12
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
13
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
14
|
+
import "../../../chunk-23EONB5V.js";
|
|
15
|
+
import "../../../chunk-OK6RFX7A.js";
|
|
16
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
17
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
18
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
19
|
+
import "../../../chunk-4AOK4O3R.js";
|
|
20
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
21
|
+
import "../../../chunk-BE73NZXB.js";
|
|
22
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
23
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
24
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
25
|
+
import "../../../chunk-WCNR75S2.js";
|
|
26
|
+
import "../../../chunk-G6FN5VUE.js";
|
|
27
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
28
|
+
import "../../../chunk-GXPKATXW.js";
|
|
29
|
+
import "../../../chunk-M63RTPGR.js";
|
|
30
30
|
export {
|
|
31
31
|
KitchenSinkAsync as default
|
|
32
32
|
};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KitchenSinkAsync
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-I5U2GOJX.js";
|
|
4
4
|
import {
|
|
5
5
|
asyncTasks
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-GZXEPYCR.js";
|
|
7
7
|
import {
|
|
8
8
|
describe,
|
|
9
9
|
globalExpect,
|
|
10
10
|
test,
|
|
11
11
|
vi
|
|
12
|
-
} from "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-
|
|
21
|
-
import "../../../chunk-
|
|
22
|
-
import "../../../chunk-
|
|
23
|
-
import "../../../chunk-
|
|
24
|
-
import "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
30
|
-
import "../../../chunk-
|
|
31
|
-
import "../../../chunk-
|
|
32
|
-
import "../../../chunk-
|
|
33
|
-
import "../../../chunk-
|
|
34
|
-
import "../../../chunk-
|
|
35
|
-
import "../../../chunk-
|
|
36
|
-
import "../../../chunk-
|
|
12
|
+
} from "../../../chunk-5R5555YE.js";
|
|
13
|
+
import "../../../chunk-76FPU4Y4.js";
|
|
14
|
+
import "../../../chunk-M2LKXZGR.js";
|
|
15
|
+
import "../../../chunk-LKGDG6WW.js";
|
|
16
|
+
import "../../../chunk-BKLNHG3A.js";
|
|
17
|
+
import "../../../chunk-TMGCRPEZ.js";
|
|
18
|
+
import "../../../chunk-ZDPFPYD3.js";
|
|
19
|
+
import "../../../chunk-IN5IG3IS.js";
|
|
20
|
+
import "../../../chunk-UQNUIOTG.js";
|
|
21
|
+
import "../../../chunk-UJNJ5XCL.js";
|
|
22
|
+
import "../../../chunk-23EONB5V.js";
|
|
23
|
+
import "../../../chunk-OK6RFX7A.js";
|
|
24
|
+
import "../../../chunk-FQIRJADJ.js";
|
|
25
|
+
import "../../../chunk-FBB6KUZG.js";
|
|
26
|
+
import "../../../chunk-OVPEO3GL.js";
|
|
27
|
+
import "../../../chunk-4AOK4O3R.js";
|
|
28
|
+
import "../../../chunk-FWGRGI4R.js";
|
|
29
|
+
import "../../../chunk-BE73NZXB.js";
|
|
30
|
+
import "../../../chunk-VNBOO6TJ.js";
|
|
31
|
+
import "../../../chunk-QTHWTF4X.js";
|
|
32
|
+
import "../../../chunk-RQ24VTW4.js";
|
|
33
|
+
import "../../../chunk-WCNR75S2.js";
|
|
34
|
+
import "../../../chunk-G6FN5VUE.js";
|
|
35
|
+
import "../../../chunk-3JLUTHGR.js";
|
|
36
|
+
import "../../../chunk-GXPKATXW.js";
|
|
37
37
|
import {
|
|
38
38
|
init_cjs_shims
|
|
39
|
-
} from "../../../chunk-
|
|
39
|
+
} from "../../../chunk-M63RTPGR.js";
|
|
40
40
|
|
|
41
41
|
// src/cli/commands/kitchen-sink/async.test.ts
|
|
42
42
|
init_cjs_shims();
|