@modern-js/module-tools-docs 2.0.2 → 2.2.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.
Files changed (313) hide show
  1. package/doc_build/api/config/build-config.html +332 -0
  2. package/doc_build/api/config/build-preset.html +43 -0
  3. package/doc_build/api/config/design-system.html +103 -0
  4. package/doc_build/api/config/plugins.html +7 -0
  5. package/doc_build/api/config/testing.html +21 -0
  6. package/doc_build/api/index.html +1 -0
  7. package/doc_build/api/plugin-api/plugin-hooks.html +113 -0
  8. package/doc_build/en/api/config/build-config.html +316 -0
  9. package/doc_build/en/api/config/build-preset.html +43 -0
  10. package/doc_build/en/api/config/design-system.html +117 -0
  11. package/doc_build/en/api/config/plugins.html +7 -0
  12. package/doc_build/en/api/config/testing.html +21 -0
  13. package/doc_build/en/api/index.html +1 -0
  14. package/doc_build/en/api/plugin-api/plugin-hooks.html +113 -0
  15. package/doc_build/en/guide/advance/asset.html +25 -0
  16. package/doc_build/en/guide/advance/build-umd.html +32 -0
  17. package/doc_build/en/guide/advance/copy.html +42 -0
  18. package/doc_build/en/guide/advance/external-dependency.html +31 -0
  19. package/doc_build/en/guide/advance/in-depth-about-build.html +112 -0
  20. package/doc_build/en/guide/advance/in-depth-about-dev-command.html +12 -0
  21. package/doc_build/en/guide/advance/theme-config.html +29 -0
  22. package/doc_build/en/guide/basic/before-getting-started.html +89 -0
  23. package/doc_build/en/guide/basic/command-preview.html +63 -0
  24. package/doc_build/en/guide/basic/modify-output-product.html +98 -0
  25. package/doc_build/en/guide/basic/publish-your-project.html +50 -0
  26. package/doc_build/en/guide/basic/test-your-project.html +31 -0
  27. package/doc_build/en/guide/basic/use-micro-generator.html +29 -0
  28. package/doc_build/en/guide/basic/using-storybook.html +66 -0
  29. package/doc_build/en/guide/best-practices/components.html +111 -0
  30. package/doc_build/en/guide/intro/getting-started.html +36 -0
  31. package/doc_build/en/guide/intro/welcome.html +13 -0
  32. package/doc_build/en/guide/intro/why-module-engineering-solution.html +9 -0
  33. package/doc_build/en/index.html +1 -0
  34. package/doc_build/en/plugins/guide/getting-started.html +15 -0
  35. package/doc_build/en/plugins/guide/plugin-object.html +14 -0
  36. package/doc_build/en/plugins/guide/setup-function.html +30 -0
  37. package/doc_build/en/plugins/official-list/overview.html +3 -0
  38. package/doc_build/guide/advance/asset.html +25 -0
  39. package/doc_build/guide/advance/build-umd.html +32 -0
  40. package/doc_build/guide/advance/copy.html +42 -0
  41. package/doc_build/guide/advance/external-dependency.html +31 -0
  42. package/doc_build/guide/advance/in-depth-about-build.html +112 -0
  43. package/doc_build/guide/advance/in-depth-about-dev-command.html +14 -0
  44. package/doc_build/guide/advance/theme-config.html +28 -0
  45. package/doc_build/guide/basic/before-getting-started.html +89 -0
  46. package/doc_build/guide/basic/command-preview.html +63 -0
  47. package/doc_build/guide/basic/modify-output-product.html +97 -0
  48. package/doc_build/guide/basic/publish-your-project.html +52 -0
  49. package/doc_build/guide/basic/test-your-project.html +32 -0
  50. package/doc_build/guide/basic/use-micro-generator.html +27 -0
  51. package/doc_build/guide/basic/using-storybook.html +67 -0
  52. package/doc_build/guide/best-practices/components.html +111 -0
  53. package/doc_build/guide/intro/getting-started.html +39 -0
  54. package/doc_build/guide/intro/welcome.html +13 -0
  55. package/doc_build/guide/intro/why-module-engineering-solution.html +9 -0
  56. package/doc_build/index.html +1 -0
  57. package/doc_build/plugins/guide/getting-started.html +15 -0
  58. package/doc_build/plugins/guide/plugin-object.html +14 -0
  59. package/doc_build/plugins/guide/setup-function.html +30 -0
  60. package/doc_build/plugins/official-list/overview.html +3 -0
  61. package/doc_build/static/css/main.edaad072.css +1 -0
  62. package/doc_build/static/js/1607.70af642a.js +2 -0
  63. package/doc_build/static/js/1607.70af642a.js.LICENSE.txt +23 -0
  64. package/doc_build/static/js/async/3799.e31e8293.js +1 -0
  65. package/doc_build/static/js/async/8652.6fbf1cb7.js +1 -0
  66. package/doc_build/static/js/async/en_api_config_build-config.367a5701.js +1 -0
  67. package/doc_build/static/js/async/en_api_config_build-preset.0d78b268.js +1 -0
  68. package/doc_build/static/js/async/en_api_config_design-system.b28d6723.js +1 -0
  69. package/doc_build/static/js/async/en_api_config_plugins.fc95fb77.js +1 -0
  70. package/doc_build/static/js/async/en_api_config_testing.8bc7f316.js +1 -0
  71. package/doc_build/static/js/async/en_api_index.669f0a56.js +1 -0
  72. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.60d0260c.js +1 -0
  73. package/doc_build/static/js/async/en_guide_advance_asset.5ff1d623.js +1 -0
  74. package/doc_build/static/js/async/en_guide_advance_build-umd.c254ed46.js +1 -0
  75. package/doc_build/static/js/async/en_guide_advance_copy.45c0a51d.js +1 -0
  76. package/doc_build/static/js/async/en_guide_advance_external-dependency.a52d3247.js +1 -0
  77. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.51bf3569.js +1 -0
  78. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.aec0b4e1.js +1 -0
  79. package/doc_build/static/js/async/en_guide_advance_theme-config.db0ad9fc.js +1 -0
  80. package/doc_build/static/js/async/en_guide_basic_before-getting-started.a22fc49a.js +1 -0
  81. package/doc_build/static/js/async/en_guide_basic_command-preview.1707ed29.js +1 -0
  82. package/doc_build/static/js/async/en_guide_basic_modify-output-product.ad453d13.js +1 -0
  83. package/doc_build/static/js/async/en_guide_basic_publish-your-project.08c5112f.js +1 -0
  84. package/doc_build/static/js/async/en_guide_basic_test-your-project.f5f6b204.js +1 -0
  85. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.56325139.js +1 -0
  86. package/doc_build/static/js/async/en_guide_basic_using-storybook.9d721554.js +1 -0
  87. package/doc_build/static/js/async/en_guide_best-practices_components.45155af9.js +1 -0
  88. package/doc_build/static/js/async/en_guide_intro_getting-started.f8682be3.js +1 -0
  89. package/doc_build/static/js/async/en_guide_intro_welcome.9cc45924.js +1 -0
  90. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.7f2dae5c.js +1 -0
  91. package/doc_build/static/js/async/en_index.7bd869c4.js +1 -0
  92. package/doc_build/static/js/async/en_plugins_guide_getting-started.b850249c.js +1 -0
  93. package/doc_build/static/js/async/en_plugins_guide_plugin-object.bf6c6221.js +1 -0
  94. package/doc_build/static/js/async/en_plugins_guide_setup-function.80a2bd97.js +1 -0
  95. package/doc_build/static/js/async/en_plugins_official-list_overview.84e5cea0.js +1 -0
  96. package/doc_build/static/js/async/zh_api_config_build-config.048fd5ec.js +1 -0
  97. package/doc_build/static/js/async/zh_api_config_build-preset.7c13584d.js +1 -0
  98. package/doc_build/static/js/async/zh_api_config_design-system.1eecd474.js +1 -0
  99. package/doc_build/static/js/async/zh_api_config_plugins.c22dc4be.js +1 -0
  100. package/doc_build/static/js/async/zh_api_config_testing.a9888eed.js +1 -0
  101. package/doc_build/static/js/async/zh_api_index.22957707.js +1 -0
  102. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.a4d81bf6.js +1 -0
  103. package/doc_build/static/js/async/zh_guide_advance_asset.5b936003.js +1 -0
  104. package/doc_build/static/js/async/zh_guide_advance_build-umd.b6d541ff.js +1 -0
  105. package/doc_build/static/js/async/zh_guide_advance_copy.21a1aea4.js +1 -0
  106. package/doc_build/static/js/async/zh_guide_advance_external-dependency.c7cf5d4b.js +1 -0
  107. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.64e795f3.js +1 -0
  108. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.168ce7dd.js +1 -0
  109. package/doc_build/static/js/async/zh_guide_advance_theme-config.b9570109.js +1 -0
  110. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.6b06b54a.js +1 -0
  111. package/doc_build/static/js/async/zh_guide_basic_command-preview.1199124a.js +1 -0
  112. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.8ccbc8d1.js +1 -0
  113. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.bf11b1c4.js +1 -0
  114. package/doc_build/static/js/async/zh_guide_basic_test-your-project.ae52c47a.js +1 -0
  115. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.a091d57d.js +1 -0
  116. package/doc_build/static/js/async/zh_guide_basic_using-storybook.27829e44.js +1 -0
  117. package/doc_build/static/js/async/zh_guide_best-practices_components.7454d916.js +1 -0
  118. package/doc_build/static/js/async/zh_guide_intro_getting-started.a4c00d9a.js +1 -0
  119. package/doc_build/static/js/async/zh_guide_intro_welcome.71c3fe16.js +1 -0
  120. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.6f8b5ff6.js +1 -0
  121. package/doc_build/static/js/async/zh_index.c19f9dcf.js +1 -0
  122. package/doc_build/static/js/async/zh_plugins_guide_getting-started.099dfaea.js +1 -0
  123. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.963289d5.js +1 -0
  124. package/doc_build/static/js/async/zh_plugins_guide_setup-function.67d07b91.js +1 -0
  125. package/doc_build/static/js/async/zh_plugins_official-list_overview.a7635714.js +1 -0
  126. package/doc_build/static/js/lib-lodash.c5845536.js +1 -0
  127. package/doc_build/static/js/lib-polyfill.b3038509.js +1 -0
  128. package/doc_build/static/js/lib-react.d41ace5e.js +2 -0
  129. package/doc_build/static/js/lib-react.d41ace5e.js.LICENSE.txt +29 -0
  130. package/doc_build/static/js/main.2d3257a4.js +1 -0
  131. package/doc_build/static/search_index.json +1 -0
  132. package/docs/en/api/config/build-config.md +15 -5
  133. package/docs/en/api/config/build-preset.md +3 -2
  134. package/docs/en/api/config/design-system.md +623 -615
  135. package/docs/en/api/config/plugins.md +2 -2
  136. package/docs/en/api/config/testing.md +2 -1
  137. package/docs/en/guide/advance/asset.mdx +0 -4
  138. package/docs/en/guide/advance/build-umd.mdx +3 -3
  139. package/docs/en/guide/advance/in-depth-about-build.md +14 -13
  140. package/docs/en/guide/advance/in-depth-about-dev-command.md +2 -1
  141. package/docs/en/guide/basic/before-getting-started.md +16 -9
  142. package/docs/en/guide/basic/command-preview.md +2 -2
  143. package/docs/en/guide/basic/modify-output-product.md +65 -69
  144. package/docs/en/guide/basic/test-your-project.mdx +1 -3
  145. package/docs/en/guide/basic/use-micro-generator.md +4 -0
  146. package/docs/en/guide/basic/using-storybook.mdx +1 -13
  147. package/docs/en/plugins/guide/getting-started.mdx +2 -2
  148. package/docs/en/plugins/guide/plugin-object.mdx +5 -5
  149. package/docs/zh/api/config/build-config.md +18 -6
  150. package/docs/zh/api/config/build-preset.md +3 -2
  151. package/docs/zh/api/config/design-system.md +2 -2
  152. package/docs/zh/api/config/plugins.md +2 -2
  153. package/docs/zh/api/config/testing.md +3 -2
  154. package/docs/zh/guide/advance/asset.mdx +0 -5
  155. package/docs/zh/guide/advance/build-umd.mdx +3 -3
  156. package/docs/zh/guide/advance/in-depth-about-build.md +14 -13
  157. package/docs/zh/guide/advance/in-depth-about-dev-command.md +2 -1
  158. package/docs/zh/guide/basic/before-getting-started.md +15 -8
  159. package/docs/zh/guide/basic/command-preview.md +2 -2
  160. package/docs/zh/guide/basic/modify-output-product.md +17 -19
  161. package/docs/zh/guide/basic/test-your-project.mdx +1 -3
  162. package/docs/zh/guide/basic/use-micro-generator.md +5 -1
  163. package/docs/zh/guide/basic/using-storybook.mdx +9 -19
  164. package/docs/zh/guide/intro/getting-started.md +1 -1
  165. package/docs/zh/plugins/guide/getting-started.mdx +2 -2
  166. package/docs/zh/plugins/guide/plugin-object.mdx +5 -5
  167. package/modern.config.ts +11 -5
  168. package/package.json +3 -3
  169. package/LICENSE +0 -144
  170. package/doc_build/html/main/index.html +0 -16
  171. package/doc_build/route.json +0 -10
  172. package/doc_build/static/css/main.css +0 -3370
  173. package/doc_build/static/css/main.css.map +0 -1
  174. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +0 -85
  175. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +0 -1
  176. package/doc_build/static/js/async/api_.js +0 -56
  177. package/doc_build/static/js/async/api_.js.map +0 -1
  178. package/doc_build/static/js/async/api_config_build-config.js +0 -11309
  179. package/doc_build/static/js/async/api_config_build-config.js.map +0 -1
  180. package/doc_build/static/js/async/api_config_build-preset.js +0 -7849
  181. package/doc_build/static/js/async/api_config_build-preset.js.map +0 -1
  182. package/doc_build/static/js/async/api_config_design-system.js +0 -48708
  183. package/doc_build/static/js/async/api_config_design-system.js.map +0 -1
  184. package/doc_build/static/js/async/api_config_plugins.js +0 -1492
  185. package/doc_build/static/js/async/api_config_plugins.js.map +0 -1
  186. package/doc_build/static/js/async/api_config_testing.js +0 -2130
  187. package/doc_build/static/js/async/api_config_testing.js.map +0 -1
  188. package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js +0 -14394
  189. package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js.map +0 -1
  190. package/doc_build/static/js/async/en_.js +0 -85
  191. package/doc_build/static/js/async/en_.js.map +0 -1
  192. package/doc_build/static/js/async/en_api_.js +0 -55
  193. package/doc_build/static/js/async/en_api_.js.map +0 -1
  194. package/doc_build/static/js/async/en_api_config_build-config.js +0 -8363
  195. package/doc_build/static/js/async/en_api_config_build-config.js.map +0 -1
  196. package/doc_build/static/js/async/en_api_config_build-preset.js +0 -7845
  197. package/doc_build/static/js/async/en_api_config_build-preset.js.map +0 -1
  198. package/doc_build/static/js/async/en_api_config_design-system.js +0 -16345
  199. package/doc_build/static/js/async/en_api_config_design-system.js.map +0 -1
  200. package/doc_build/static/js/async/en_api_config_plugins.js +0 -1492
  201. package/doc_build/static/js/async/en_api_config_plugins.js.map +0 -1
  202. package/doc_build/static/js/async/en_api_config_testing.js +0 -2137
  203. package/doc_build/static/js/async/en_api_config_testing.js.map +0 -1
  204. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +0 -14362
  205. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +0 -1
  206. package/doc_build/static/js/async/en_guide_advance_asset.js +0 -3997
  207. package/doc_build/static/js/async/en_guide_advance_asset.js.map +0 -1
  208. package/doc_build/static/js/async/en_guide_advance_build-umd.js +0 -9861
  209. package/doc_build/static/js/async/en_guide_advance_build-umd.js.map +0 -1
  210. package/doc_build/static/js/async/en_guide_advance_copy.js +0 -6539
  211. package/doc_build/static/js/async/en_guide_advance_copy.js.map +0 -1
  212. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +0 -3810
  213. package/doc_build/static/js/async/en_guide_advance_external-dependency.js.map +0 -1
  214. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +0 -5046
  215. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +0 -1
  216. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +0 -150
  217. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +0 -1
  218. package/doc_build/static/js/async/en_guide_advance_theme-config.js +0 -2484
  219. package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +0 -1
  220. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +0 -3671
  221. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +0 -1
  222. package/doc_build/static/js/async/en_guide_basic_command-preview.js +0 -3961
  223. package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +0 -1
  224. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +0 -2970
  225. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +0 -1
  226. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +0 -2182
  227. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +0 -1
  228. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +0 -3892
  229. package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +0 -1
  230. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +0 -168
  231. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +0 -1
  232. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +0 -4762
  233. package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +0 -1
  234. package/doc_build/static/js/async/en_guide_best-practices_components.js +0 -21388
  235. package/doc_build/static/js/async/en_guide_best-practices_components.js.map +0 -1
  236. package/doc_build/static/js/async/en_guide_intro_getting-started.js +0 -1906
  237. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +0 -1
  238. package/doc_build/static/js/async/en_guide_intro_welcome.js +0 -148
  239. package/doc_build/static/js/async/en_guide_intro_welcome.js.map +0 -1
  240. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +0 -92
  241. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +0 -1
  242. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +0 -2560
  243. package/doc_build/static/js/async/en_plugins_guide_getting-started.js.map +0 -1
  244. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +0 -4177
  245. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js.map +0 -1
  246. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +0 -3819
  247. package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +0 -1
  248. package/doc_build/static/js/async/en_plugins_official-list_overview.js +0 -70
  249. package/doc_build/static/js/async/en_plugins_official-list_overview.js.map +0 -1
  250. package/doc_build/static/js/async/guide_advance_asset.js +0 -3997
  251. package/doc_build/static/js/async/guide_advance_asset.js.map +0 -1
  252. package/doc_build/static/js/async/guide_advance_build-umd.js +0 -9863
  253. package/doc_build/static/js/async/guide_advance_build-umd.js.map +0 -1
  254. package/doc_build/static/js/async/guide_advance_copy.js +0 -6539
  255. package/doc_build/static/js/async/guide_advance_copy.js.map +0 -1
  256. package/doc_build/static/js/async/guide_advance_external-dependency.js +0 -3812
  257. package/doc_build/static/js/async/guide_advance_external-dependency.js.map +0 -1
  258. package/doc_build/static/js/async/guide_advance_in-depth-about-build.js +0 -5046
  259. package/doc_build/static/js/async/guide_advance_in-depth-about-build.js.map +0 -1
  260. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js +0 -152
  261. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js.map +0 -1
  262. package/doc_build/static/js/async/guide_advance_theme-config.js +0 -2475
  263. package/doc_build/static/js/async/guide_advance_theme-config.js.map +0 -1
  264. package/doc_build/static/js/async/guide_basic_before-getting-started.js +0 -3662
  265. package/doc_build/static/js/async/guide_basic_before-getting-started.js.map +0 -1
  266. package/doc_build/static/js/async/guide_basic_command-preview.js +0 -3793
  267. package/doc_build/static/js/async/guide_basic_command-preview.js.map +0 -1
  268. package/doc_build/static/js/async/guide_basic_modify-output-product.js +0 -2949
  269. package/doc_build/static/js/async/guide_basic_modify-output-product.js.map +0 -1
  270. package/doc_build/static/js/async/guide_basic_publish-your-project.js +0 -2243
  271. package/doc_build/static/js/async/guide_basic_publish-your-project.js.map +0 -1
  272. package/doc_build/static/js/async/guide_basic_test-your-project.js +0 -3892
  273. package/doc_build/static/js/async/guide_basic_test-your-project.js.map +0 -1
  274. package/doc_build/static/js/async/guide_basic_use-micro-generator.js +0 -172
  275. package/doc_build/static/js/async/guide_basic_use-micro-generator.js.map +0 -1
  276. package/doc_build/static/js/async/guide_basic_using-storybook.js +0 -4762
  277. package/doc_build/static/js/async/guide_basic_using-storybook.js.map +0 -1
  278. package/doc_build/static/js/async/guide_best-practices_components.js +0 -21088
  279. package/doc_build/static/js/async/guide_best-practices_components.js.map +0 -1
  280. package/doc_build/static/js/async/guide_intro_getting-started.js +0 -1782
  281. package/doc_build/static/js/async/guide_intro_getting-started.js.map +0 -1
  282. package/doc_build/static/js/async/guide_intro_welcome.js +0 -148
  283. package/doc_build/static/js/async/guide_intro_welcome.js.map +0 -1
  284. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js +0 -92
  285. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js.map +0 -1
  286. package/doc_build/static/js/async/index.js +0 -85
  287. package/doc_build/static/js/async/index.js.map +0 -1
  288. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +0 -447
  289. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +0 -1
  290. package/doc_build/static/js/async/plugins_guide_getting-started.js +0 -2608
  291. package/doc_build/static/js/async/plugins_guide_getting-started.js.map +0 -1
  292. package/doc_build/static/js/async/plugins_guide_plugin-object.js +0 -4173
  293. package/doc_build/static/js/async/plugins_guide_plugin-object.js.map +0 -1
  294. package/doc_build/static/js/async/plugins_guide_setup-function.js +0 -3819
  295. package/doc_build/static/js/async/plugins_guide_setup-function.js.map +0 -1
  296. package/doc_build/static/js/async/plugins_official-list_overview.js +0 -70
  297. package/doc_build/static/js/async/plugins_official-list_overview.js.map +0 -1
  298. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js +0 -6656
  299. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js.map +0 -1
  300. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js +0 -54
  301. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js.map +0 -1
  302. package/doc_build/static/js/builder-runtime.js +0 -1375
  303. package/doc_build/static/js/builder-runtime.js.map +0 -1
  304. package/doc_build/static/js/lib-lodash.js +0 -4907
  305. package/doc_build/static/js/lib-lodash.js.map +0 -1
  306. package/doc_build/static/js/lib-polyfill.js +0 -24769
  307. package/doc_build/static/js/lib-polyfill.js.map +0 -1
  308. package/doc_build/static/js/lib-react.js +0 -39510
  309. package/doc_build/static/js/lib-react.js.map +0 -1
  310. package/doc_build/static/js/main.js +0 -9237
  311. package/doc_build/static/js/main.js.map +0 -1
  312. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +0 -8532
  313. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +0 -1
@@ -1,3961 +0,0 @@
1
- "use strict";
2
- (self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["en_guide_basic_command-preview"],{
3
-
4
- /***/ "./docs/en/guide/basic/command-preview.md":
5
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
-
7
- __webpack_require__.r(__webpack_exports__);
8
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
- /* harmony export */ "CH": function() { return /* binding */ CH; },
10
- /* harmony export */ "chCodeConfig": function() { return /* binding */ chCodeConfig; },
11
- /* harmony export */ "content": function() { return /* binding */ content; },
12
- /* harmony export */ "frontmatter": function() { return /* binding */ frontmatter; },
13
- /* harmony export */ "title": function() { return /* binding */ title; },
14
- /* harmony export */ "toc": function() { return /* binding */ toc; }
15
- /* harmony export */ });
16
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");
17
- /* harmony import */ var _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@code-hike+mdx@0.7.4_react@18.2.0/node_modules/@code-hike/mdx/dist/components.esm.mjs");
18
- /*@jsxRuntime automatic @jsxImportSource react*/
19
-
20
-
21
- var CH = {
22
- annotations: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.annotations,
23
- Code: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Code
24
- };
25
- var chCodeConfig = {
26
- "staticMediaQuery": "not screen, (max-width: 768px)",
27
- "theme": {
28
- "name": "nord",
29
- "type": "dark",
30
- "semanticHighlighting": true,
31
- "colors": {
32
- "focusBorder": "#3b4252",
33
- "foreground": "#d8dee9",
34
- "activityBar.background": "#2e3440",
35
- "activityBar.dropBackground": "#3b4252",
36
- "activityBar.foreground": "#d8dee9",
37
- "activityBar.activeBorder": "#88c0d0",
38
- "activityBar.activeBackground": "#3b4252",
39
- "activityBarBadge.background": "#88c0d0",
40
- "activityBarBadge.foreground": "#2e3440",
41
- "badge.foreground": "#2e3440",
42
- "badge.background": "#88c0d0",
43
- "button.background": "#88c0d0ee",
44
- "button.foreground": "#2e3440",
45
- "button.hoverBackground": "#88c0d0",
46
- "button.secondaryBackground": "#434c5e",
47
- "button.secondaryForeground": "#d8dee9",
48
- "button.secondaryHoverBackground": "#4c566a",
49
- "charts.red": "#bf616a",
50
- "charts.blue": "#81a1c1",
51
- "charts.yellow": "#ebcb8b",
52
- "charts.orange": "#d08770",
53
- "charts.green": "#a3be8c",
54
- "charts.purple": "#b48ead",
55
- "charts.foreground": "#d8dee9",
56
- "charts.lines": "#88c0d0",
57
- "debugConsole.infoForeground": "#88c0d0",
58
- "debugConsole.warningForeground": "#ebcb8b",
59
- "debugConsole.errorForeground": "#bf616a",
60
- "debugConsole.sourceForeground": "#616e88",
61
- "debugConsoleInputIcon.foreground": "#81a1c1",
62
- "debugExceptionWidget.background": "#4c566a",
63
- "debugExceptionWidget.border": "#2e3440",
64
- "debugToolBar.background": "#3b4252",
65
- "descriptionForeground": "#d8dee9e6",
66
- "diffEditor.insertedTextBackground": "#81a1c133",
67
- "diffEditor.removedTextBackground": "#bf616a4d",
68
- "dropdown.background": "#3b4252",
69
- "dropdown.border": "#3b4252",
70
- "dropdown.foreground": "#d8dee9",
71
- "editorActiveLineNumber.foreground": "#d8dee9cc",
72
- "editorCursor.foreground": "#d8dee9",
73
- "editorHint.border": "#ebcb8b00",
74
- "editorHint.foreground": "#ebcb8b",
75
- "editorIndentGuide.background": "#434c5eb3",
76
- "editorIndentGuide.activeBackground": "#4c566a",
77
- "editorInlayHint.background": "#434c5e",
78
- "editorInlayHint.foreground": "#d8dee9",
79
- "editorLineNumber.foreground": "#4c566a",
80
- "editorLineNumber.activeForeground": "#d8dee9",
81
- "editorWhitespace.foreground": "#4c566ab3",
82
- "editorWidget.background": "#2e3440",
83
- "editorWidget.border": "#3b4252",
84
- "editor.background": "#2e3440",
85
- "editor.foreground": "#d8dee9",
86
- "editor.hoverHighlightBackground": "#3b4252",
87
- "editor.findMatchBackground": "#88c0d066",
88
- "editor.findMatchHighlightBackground": "#88c0d033",
89
- "editor.findRangeHighlightBackground": "#88c0d033",
90
- "editor.lineHighlightBackground": "#3b4252",
91
- "editor.lineHighlightBorder": "#3b4252",
92
- "editor.inactiveSelectionBackground": "#434c5ecc",
93
- "editor.inlineValuesBackground": "#4c566a",
94
- "editor.inlineValuesForeground": "#eceff4",
95
- "editor.selectionBackground": "#434c5ecc",
96
- "editor.selectionHighlightBackground": "#434c5ecc",
97
- "editor.rangeHighlightBackground": "#434c5e52",
98
- "editor.wordHighlightBackground": "#81a1c166",
99
- "editor.wordHighlightStrongBackground": "#81a1c199",
100
- "editor.stackFrameHighlightBackground": "#5e81ac",
101
- "editor.focusedStackFrameHighlightBackground": "#5e81ac",
102
- "editorError.foreground": "#bf616a",
103
- "editorError.border": "#bf616a00",
104
- "editorWarning.foreground": "#ebcb8b",
105
- "editorWarning.border": "#ebcb8b00",
106
- "editorBracketMatch.background": "#2e344000",
107
- "editorBracketMatch.border": "#88c0d0",
108
- "editorBracketHighlight.foreground1": "#8fbcbb",
109
- "editorBracketHighlight.foreground2": "#88c0d0",
110
- "editorBracketHighlight.foreground3": "#81a1c1",
111
- "editorBracketHighlight.foreground4": "#5e81ac",
112
- "editorBracketHighlight.foreground5": "#8fbcbb",
113
- "editorBracketHighlight.foreground6": "#88c0d0",
114
- "editorBracketHighlight.unexpectedBracket.foreground": "#bf616a",
115
- "editorCodeLens.foreground": "#4c566a",
116
- "editorGroup.background": "#2e3440",
117
- "editorGroup.border": "#3b425201",
118
- "editorGroup.dropBackground": "#3b425299",
119
- "editorGroupHeader.border": "#3b425200",
120
- "editorGroupHeader.noTabsBackground": "#2e3440",
121
- "editorGroupHeader.tabsBackground": "#2e3440",
122
- "editorGroupHeader.tabsBorder": "#3b425200",
123
- "editorGutter.background": "#2e3440",
124
- "editorGutter.modifiedBackground": "#ebcb8b",
125
- "editorGutter.addedBackground": "#a3be8c",
126
- "editorGutter.deletedBackground": "#bf616a",
127
- "editorHoverWidget.background": "#3b4252",
128
- "editorHoverWidget.border": "#3b4252",
129
- "editorLink.activeForeground": "#88c0d0",
130
- "editorMarkerNavigation.background": "#5e81acc0",
131
- "editorMarkerNavigationError.background": "#bf616ac0",
132
- "editorMarkerNavigationWarning.background": "#ebcb8bc0",
133
- "editorOverviewRuler.border": "#3b4252",
134
- "editorOverviewRuler.currentContentForeground": "#3b4252",
135
- "editorOverviewRuler.incomingContentForeground": "#3b4252",
136
- "editorOverviewRuler.findMatchForeground": "#88c0d066",
137
- "editorOverviewRuler.rangeHighlightForeground": "#88c0d066",
138
- "editorOverviewRuler.selectionHighlightForeground": "#88c0d066",
139
- "editorOverviewRuler.wordHighlightForeground": "#88c0d066",
140
- "editorOverviewRuler.wordHighlightStrongForeground": "#88c0d066",
141
- "editorOverviewRuler.modifiedForeground": "#ebcb8b",
142
- "editorOverviewRuler.addedForeground": "#a3be8c",
143
- "editorOverviewRuler.deletedForeground": "#bf616a",
144
- "editorOverviewRuler.errorForeground": "#bf616a",
145
- "editorOverviewRuler.warningForeground": "#ebcb8b",
146
- "editorOverviewRuler.infoForeground": "#81a1c1",
147
- "editorRuler.foreground": "#434c5e",
148
- "editorSuggestWidget.background": "#2e3440",
149
- "editorSuggestWidget.border": "#3b4252",
150
- "editorSuggestWidget.foreground": "#d8dee9",
151
- "editorSuggestWidget.focusHighlightForeground": "#88c0d0",
152
- "editorSuggestWidget.highlightForeground": "#88c0d0",
153
- "editorSuggestWidget.selectedBackground": "#434c5e",
154
- "editorSuggestWidget.selectedForeground": "#d8dee9",
155
- "extensionButton.prominentForeground": "#d8dee9",
156
- "extensionButton.prominentBackground": "#434c5e",
157
- "extensionButton.prominentHoverBackground": "#4c566a",
158
- "errorForeground": "#bf616a",
159
- "gitDecoration.modifiedResourceForeground": "#ebcb8b",
160
- "gitDecoration.deletedResourceForeground": "#bf616a",
161
- "gitDecoration.untrackedResourceForeground": "#a3be8c",
162
- "gitDecoration.ignoredResourceForeground": "#d8dee966",
163
- "gitDecoration.conflictingResourceForeground": "#5e81ac",
164
- "gitDecoration.submoduleResourceForeground": "#8fbcbb",
165
- "gitDecoration.stageDeletedResourceForeground": "#bf616a",
166
- "gitDecoration.stageModifiedResourceForeground": "#ebcb8b",
167
- "input.background": "#3b4252",
168
- "input.foreground": "#d8dee9",
169
- "input.placeholderForeground": "#d8dee999",
170
- "input.border": "#3b4252",
171
- "inputOption.activeBackground": "#5e81ac",
172
- "inputOption.activeBorder": "#5e81ac",
173
- "inputOption.activeForeground": "#eceff4",
174
- "inputValidation.errorBackground": "#bf616a",
175
- "inputValidation.errorBorder": "#bf616a",
176
- "inputValidation.infoBackground": "#81a1c1",
177
- "inputValidation.infoBorder": "#81a1c1",
178
- "inputValidation.warningBackground": "#d08770",
179
- "inputValidation.warningBorder": "#d08770",
180
- "keybindingLabel.background": "#4c566a",
181
- "keybindingLabel.border": "#4c566a",
182
- "keybindingLabel.bottomBorder": "#4c566a",
183
- "keybindingLabel.foreground": "#d8dee9",
184
- "list.activeSelectionBackground": "#88c0d0",
185
- "list.activeSelectionForeground": "#2e3440",
186
- "list.inactiveSelectionBackground": "#434c5e",
187
- "list.inactiveSelectionForeground": "#d8dee9",
188
- "list.inactiveFocusBackground": "#434c5ecc",
189
- "list.hoverForeground": "#eceff4",
190
- "list.focusForeground": "#d8dee9",
191
- "list.focusBackground": "#88c0d099",
192
- "list.focusHighlightForeground": "#eceff4",
193
- "list.hoverBackground": "#3b4252",
194
- "list.dropBackground": "#88c0d099",
195
- "list.highlightForeground": "#88c0d0",
196
- "list.errorForeground": "#bf616a",
197
- "list.warningForeground": "#ebcb8b",
198
- "merge.currentHeaderBackground": "#81a1c166",
199
- "merge.currentContentBackground": "#81a1c14d",
200
- "merge.incomingHeaderBackground": "#8fbcbb66",
201
- "merge.incomingContentBackground": "#8fbcbb4d",
202
- "merge.border": "#3b425200",
203
- "minimap.background": "#2e3440",
204
- "minimap.errorHighlight": "#bf616acc",
205
- "minimap.findMatchHighlight": "#88c0d0",
206
- "minimap.selectionHighlight": "#88c0d0cc",
207
- "minimap.warningHighlight": "#ebcb8bcc",
208
- "minimapGutter.addedBackground": "#a3be8c",
209
- "minimapGutter.deletedBackground": "#bf616a",
210
- "minimapGutter.modifiedBackground": "#ebcb8b",
211
- "minimapSlider.activeBackground": "#434c5eaa",
212
- "minimapSlider.background": "#434c5e99",
213
- "minimapSlider.hoverBackground": "#434c5eaa",
214
- "notification.background": "#3b4252",
215
- "notification.buttonBackground": "#434c5e",
216
- "notification.buttonForeground": "#d8dee9",
217
- "notification.buttonHoverBackground": "#4c566a",
218
- "notification.errorBackground": "#bf616a",
219
- "notification.errorForeground": "#2e3440",
220
- "notification.foreground": "#d8dee9",
221
- "notification.infoBackground": "#88c0d0",
222
- "notification.infoForeground": "#2e3440",
223
- "notification.warningBackground": "#ebcb8b",
224
- "notification.warningForeground": "#2e3440",
225
- "notificationCenter.border": "#3b425200",
226
- "notificationCenterHeader.background": "#2e3440",
227
- "notificationCenterHeader.foreground": "#88c0d0",
228
- "notificationLink.foreground": "#88c0d0",
229
- "notifications.background": "#3b4252",
230
- "notifications.border": "#2e3440",
231
- "notifications.foreground": "#d8dee9",
232
- "notificationToast.border": "#3b425200",
233
- "panel.background": "#2e3440",
234
- "panel.border": "#3b4252",
235
- "panelTitle.activeBorder": "#88c0d000",
236
- "panelTitle.activeForeground": "#88c0d0",
237
- "panelTitle.inactiveForeground": "#d8dee9",
238
- "peekView.border": "#4c566a",
239
- "peekViewEditor.background": "#2e3440",
240
- "peekViewEditorGutter.background": "#2e3440",
241
- "peekViewEditor.matchHighlightBackground": "#88c0d04d",
242
- "peekViewResult.background": "#2e3440",
243
- "peekViewResult.fileForeground": "#88c0d0",
244
- "peekViewResult.lineForeground": "#d8dee966",
245
- "peekViewResult.matchHighlightBackground": "#88c0d0cc",
246
- "peekViewResult.selectionBackground": "#434c5e",
247
- "peekViewResult.selectionForeground": "#d8dee9",
248
- "peekViewTitle.background": "#3b4252",
249
- "peekViewTitleDescription.foreground": "#d8dee9",
250
- "peekViewTitleLabel.foreground": "#88c0d0",
251
- "pickerGroup.border": "#3b4252",
252
- "pickerGroup.foreground": "#88c0d0",
253
- "progressBar.background": "#88c0d0",
254
- "quickInputList.focusBackground": "#88c0d0",
255
- "quickInputList.focusForeground": "#2e3440",
256
- "sash.hoverBorder": "#88c0d0",
257
- "scrollbar.shadow": "#00000066",
258
- "scrollbarSlider.activeBackground": "#434c5eaa",
259
- "scrollbarSlider.background": "#434c5e99",
260
- "scrollbarSlider.hoverBackground": "#434c5eaa",
261
- "selection.background": "#88c0d099",
262
- "sideBar.background": "#2e3440",
263
- "sideBar.foreground": "#d8dee9",
264
- "sideBar.border": "#3b4252",
265
- "sideBarSectionHeader.background": "#3b4252",
266
- "sideBarSectionHeader.foreground": "#d8dee9",
267
- "sideBarTitle.foreground": "#d8dee9",
268
- "statusBar.background": "#3b4252",
269
- "statusBar.debuggingBackground": "#5e81ac",
270
- "statusBar.debuggingForeground": "#d8dee9",
271
- "statusBar.noFolderForeground": "#d8dee9",
272
- "statusBar.noFolderBackground": "#3b4252",
273
- "statusBar.foreground": "#d8dee9",
274
- "statusBarItem.activeBackground": "#4c566a",
275
- "statusBarItem.hoverBackground": "#434c5e",
276
- "statusBarItem.prominentBackground": "#3b4252",
277
- "statusBarItem.prominentHoverBackground": "#434c5e",
278
- "statusBarItem.errorBackground": "#3b4252",
279
- "statusBarItem.errorForeground": "#bf616a",
280
- "statusBarItem.warningBackground": "#ebcb8b",
281
- "statusBarItem.warningForeground": "#2e3440",
282
- "statusBar.border": "#3b425200",
283
- "tab.activeBackground": "#3b4252",
284
- "tab.activeForeground": "#d8dee9",
285
- "tab.border": "#3b425200",
286
- "tab.activeBorder": "#88c0d000",
287
- "tab.unfocusedActiveBorder": "#88c0d000",
288
- "tab.inactiveBackground": "#2e3440",
289
- "tab.inactiveForeground": "#d8dee966",
290
- "tab.unfocusedActiveForeground": "#d8dee999",
291
- "tab.unfocusedInactiveForeground": "#d8dee966",
292
- "tab.hoverBackground": "#3b4252cc",
293
- "tab.unfocusedHoverBackground": "#3b4252b3",
294
- "tab.hoverBorder": "#88c0d000",
295
- "tab.unfocusedHoverBorder": "#88c0d000",
296
- "tab.activeBorderTop": "#88c0d000",
297
- "tab.unfocusedActiveBorderTop": "#88c0d000",
298
- "tab.lastPinnedBorder": "#4c566a",
299
- "terminal.background": "#2e3440",
300
- "terminal.foreground": "#d8dee9",
301
- "terminal.ansiBlack": "#3b4252",
302
- "terminal.ansiRed": "#bf616a",
303
- "terminal.ansiGreen": "#a3be8c",
304
- "terminal.ansiYellow": "#ebcb8b",
305
- "terminal.ansiBlue": "#81a1c1",
306
- "terminal.ansiMagenta": "#b48ead",
307
- "terminal.ansiCyan": "#88c0d0",
308
- "terminal.ansiWhite": "#e5e9f0",
309
- "terminal.ansiBrightBlack": "#4c566a",
310
- "terminal.ansiBrightRed": "#bf616a",
311
- "terminal.ansiBrightGreen": "#a3be8c",
312
- "terminal.ansiBrightYellow": "#ebcb8b",
313
- "terminal.ansiBrightBlue": "#81a1c1",
314
- "terminal.ansiBrightMagenta": "#b48ead",
315
- "terminal.ansiBrightCyan": "#8fbcbb",
316
- "terminal.ansiBrightWhite": "#eceff4",
317
- "terminal.tab.activeBorder": "#88c0d0",
318
- "textBlockQuote.background": "#3b4252",
319
- "textBlockQuote.border": "#81a1c1",
320
- "textCodeBlock.background": "#4c566a",
321
- "textLink.activeForeground": "#88c0d0",
322
- "textLink.foreground": "#88c0d0",
323
- "textPreformat.foreground": "#8fbcbb",
324
- "textSeparator.foreground": "#eceff4",
325
- "titleBar.activeBackground": "#2e3440",
326
- "titleBar.activeForeground": "#d8dee9",
327
- "titleBar.border": "#2e344000",
328
- "titleBar.inactiveBackground": "#2e3440",
329
- "titleBar.inactiveForeground": "#d8dee966",
330
- "tree.indentGuidesStroke": "#616e88",
331
- "walkThrough.embeddedEditorBackground": "#2e3440",
332
- "welcomePage.buttonBackground": "#434c5e",
333
- "welcomePage.buttonHoverBackground": "#4c566a",
334
- "widget.shadow": "#00000066"
335
- },
336
- "tokenColors": [{
337
- "settings": {
338
- "foreground": "#d8dee9ff",
339
- "background": "#2e3440ff"
340
- }
341
- }, {
342
- "scope": "emphasis",
343
- "settings": {
344
- "fontStyle": "italic"
345
- }
346
- }, {
347
- "scope": "strong",
348
- "settings": {
349
- "fontStyle": "bold"
350
- }
351
- }, {
352
- "name": "Comment",
353
- "scope": "comment",
354
- "settings": {
355
- "foreground": "#616E88"
356
- }
357
- }, {
358
- "name": "Constant Character",
359
- "scope": "constant.character",
360
- "settings": {
361
- "foreground": "#EBCB8B"
362
- }
363
- }, {
364
- "name": "Constant Character Escape",
365
- "scope": "constant.character.escape",
366
- "settings": {
367
- "foreground": "#EBCB8B"
368
- }
369
- }, {
370
- "name": "Constant Language",
371
- "scope": "constant.language",
372
- "settings": {
373
- "foreground": "#81A1C1"
374
- }
375
- }, {
376
- "name": "Constant Numeric",
377
- "scope": "constant.numeric",
378
- "settings": {
379
- "foreground": "#B48EAD"
380
- }
381
- }, {
382
- "name": "Constant Regexp",
383
- "scope": "constant.regexp",
384
- "settings": {
385
- "foreground": "#EBCB8B"
386
- }
387
- }, {
388
- "name": "Entity Name Class/Type",
389
- "scope": ["entity.name.class", "entity.name.type.class"],
390
- "settings": {
391
- "foreground": "#8FBCBB"
392
- }
393
- }, {
394
- "name": "Entity Name Function",
395
- "scope": "entity.name.function",
396
- "settings": {
397
- "foreground": "#88C0D0"
398
- }
399
- }, {
400
- "name": "Entity Name Tag",
401
- "scope": "entity.name.tag",
402
- "settings": {
403
- "foreground": "#81A1C1"
404
- }
405
- }, {
406
- "name": "Entity Other Attribute Name",
407
- "scope": "entity.other.attribute-name",
408
- "settings": {
409
- "foreground": "#8FBCBB"
410
- }
411
- }, {
412
- "name": "Entity Other Inherited Class",
413
- "scope": "entity.other.inherited-class",
414
- "settings": {
415
- "fontStyle": "bold",
416
- "foreground": "#8FBCBB"
417
- }
418
- }, {
419
- "name": "Invalid Deprecated",
420
- "scope": "invalid.deprecated",
421
- "settings": {
422
- "foreground": "#D8DEE9",
423
- "background": "#EBCB8B"
424
- }
425
- }, {
426
- "name": "Invalid Illegal",
427
- "scope": "invalid.illegal",
428
- "settings": {
429
- "foreground": "#D8DEE9",
430
- "background": "#BF616A"
431
- }
432
- }, {
433
- "name": "Keyword",
434
- "scope": "keyword",
435
- "settings": {
436
- "foreground": "#81A1C1"
437
- }
438
- }, {
439
- "name": "Keyword Operator",
440
- "scope": "keyword.operator",
441
- "settings": {
442
- "foreground": "#81A1C1"
443
- }
444
- }, {
445
- "name": "Keyword Other New",
446
- "scope": "keyword.other.new",
447
- "settings": {
448
- "foreground": "#81A1C1"
449
- }
450
- }, {
451
- "name": "Markup Bold",
452
- "scope": "markup.bold",
453
- "settings": {
454
- "fontStyle": "bold"
455
- }
456
- }, {
457
- "name": "Markup Changed",
458
- "scope": "markup.changed",
459
- "settings": {
460
- "foreground": "#EBCB8B"
461
- }
462
- }, {
463
- "name": "Markup Deleted",
464
- "scope": "markup.deleted",
465
- "settings": {
466
- "foreground": "#BF616A"
467
- }
468
- }, {
469
- "name": "Markup Inserted",
470
- "scope": "markup.inserted",
471
- "settings": {
472
- "foreground": "#A3BE8C"
473
- }
474
- }, {
475
- "name": "Meta Preprocessor",
476
- "scope": "meta.preprocessor",
477
- "settings": {
478
- "foreground": "#5E81AC"
479
- }
480
- }, {
481
- "name": "Punctuation",
482
- "scope": "punctuation",
483
- "settings": {
484
- "foreground": "#ECEFF4"
485
- }
486
- }, {
487
- "name": "Punctuation Definition Parameters",
488
- "scope": ["punctuation.definition.method-parameters", "punctuation.definition.function-parameters", "punctuation.definition.parameters"],
489
- "settings": {
490
- "foreground": "#ECEFF4"
491
- }
492
- }, {
493
- "name": "Punctuation Definition Tag",
494
- "scope": "punctuation.definition.tag",
495
- "settings": {
496
- "foreground": "#81A1C1"
497
- }
498
- }, {
499
- "name": "Punctuation Definition Comment",
500
- "scope": ["punctuation.definition.comment", "punctuation.end.definition.comment", "punctuation.start.definition.comment"],
501
- "settings": {
502
- "foreground": "#616E88"
503
- }
504
- }, {
505
- "name": "Punctuation Section",
506
- "scope": "punctuation.section",
507
- "settings": {
508
- "foreground": "#ECEFF4"
509
- }
510
- }, {
511
- "name": "Punctuation Section Embedded",
512
- "scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
513
- "settings": {
514
- "foreground": "#81A1C1"
515
- }
516
- }, {
517
- "name": "Punctuation Terminator",
518
- "scope": "punctuation.terminator",
519
- "settings": {
520
- "foreground": "#81A1C1"
521
- }
522
- }, {
523
- "name": "Punctuation Variable",
524
- "scope": "punctuation.definition.variable",
525
- "settings": {
526
- "foreground": "#81A1C1"
527
- }
528
- }, {
529
- "name": "Storage",
530
- "scope": "storage",
531
- "settings": {
532
- "foreground": "#81A1C1"
533
- }
534
- }, {
535
- "name": "String",
536
- "scope": "string",
537
- "settings": {
538
- "foreground": "#A3BE8C"
539
- }
540
- }, {
541
- "name": "String Regexp",
542
- "scope": "string.regexp",
543
- "settings": {
544
- "foreground": "#EBCB8B"
545
- }
546
- }, {
547
- "name": "Support Class",
548
- "scope": "support.class",
549
- "settings": {
550
- "foreground": "#8FBCBB"
551
- }
552
- }, {
553
- "name": "Support Constant",
554
- "scope": "support.constant",
555
- "settings": {
556
- "foreground": "#81A1C1"
557
- }
558
- }, {
559
- "name": "Support Function",
560
- "scope": "support.function",
561
- "settings": {
562
- "foreground": "#88C0D0"
563
- }
564
- }, {
565
- "name": "Support Function Construct",
566
- "scope": "support.function.construct",
567
- "settings": {
568
- "foreground": "#81A1C1"
569
- }
570
- }, {
571
- "name": "Support Type",
572
- "scope": "support.type",
573
- "settings": {
574
- "foreground": "#8FBCBB"
575
- }
576
- }, {
577
- "name": "Support Type Exception",
578
- "scope": "support.type.exception",
579
- "settings": {
580
- "foreground": "#8FBCBB"
581
- }
582
- }, {
583
- "name": "Token Debug",
584
- "scope": "token.debug-token",
585
- "settings": {
586
- "foreground": "#b48ead"
587
- }
588
- }, {
589
- "name": "Token Error",
590
- "scope": "token.error-token",
591
- "settings": {
592
- "foreground": "#bf616a"
593
- }
594
- }, {
595
- "name": "Token Info",
596
- "scope": "token.info-token",
597
- "settings": {
598
- "foreground": "#88c0d0"
599
- }
600
- }, {
601
- "name": "Token Warning",
602
- "scope": "token.warn-token",
603
- "settings": {
604
- "foreground": "#ebcb8b"
605
- }
606
- }, {
607
- "name": "Variable",
608
- "scope": "variable.other",
609
- "settings": {
610
- "foreground": "#D8DEE9"
611
- }
612
- }, {
613
- "name": "Variable Language",
614
- "scope": "variable.language",
615
- "settings": {
616
- "foreground": "#81A1C1"
617
- }
618
- }, {
619
- "name": "Variable Parameter",
620
- "scope": "variable.parameter",
621
- "settings": {
622
- "foreground": "#D8DEE9"
623
- }
624
- }, {
625
- "name": "[C/CPP] Punctuation Separator Pointer-Access",
626
- "scope": "punctuation.separator.pointer-access.c",
627
- "settings": {
628
- "foreground": "#81A1C1"
629
- }
630
- }, {
631
- "name": "[C/CPP] Meta Preprocessor Include",
632
- "scope": ["source.c meta.preprocessor.include", "source.c string.quoted.other.lt-gt.include"],
633
- "settings": {
634
- "foreground": "#8FBCBB"
635
- }
636
- }, {
637
- "name": "[C/CPP] Conditional Directive",
638
- "scope": ["source.cpp keyword.control.directive.conditional", "source.cpp punctuation.definition.directive", "source.c keyword.control.directive.conditional", "source.c punctuation.definition.directive"],
639
- "settings": {
640
- "foreground": "#5E81AC",
641
- "fontStyle": "bold"
642
- }
643
- }, {
644
- "name": "[CSS] Constant Other Color RGB Value",
645
- "scope": "source.css constant.other.color.rgb-value",
646
- "settings": {
647
- "foreground": "#B48EAD"
648
- }
649
- }, {
650
- "name": "[CSS](Function) Meta Property-Value",
651
- "scope": "source.css meta.property-value",
652
- "settings": {
653
- "foreground": "#88C0D0"
654
- }
655
- }, {
656
- "name": "[CSS] Media Queries",
657
- "scope": ["source.css keyword.control.at-rule.media", "source.css keyword.control.at-rule.media punctuation.definition.keyword"],
658
- "settings": {
659
- "foreground": "#D08770"
660
- }
661
- }, {
662
- "name": "[CSS] Punctuation Definition Keyword",
663
- "scope": "source.css punctuation.definition.keyword",
664
- "settings": {
665
- "foreground": "#81A1C1"
666
- }
667
- }, {
668
- "name": "[CSS] Support Type Property Name",
669
- "scope": "source.css support.type.property-name",
670
- "settings": {
671
- "foreground": "#D8DEE9"
672
- }
673
- }, {
674
- "name": "[diff] Meta Range Context",
675
- "scope": "source.diff meta.diff.range.context",
676
- "settings": {
677
- "foreground": "#8FBCBB"
678
- }
679
- }, {
680
- "name": "[diff] Meta Header From-File",
681
- "scope": "source.diff meta.diff.header.from-file",
682
- "settings": {
683
- "foreground": "#8FBCBB"
684
- }
685
- }, {
686
- "name": "[diff] Punctuation Definition From-File",
687
- "scope": "source.diff punctuation.definition.from-file",
688
- "settings": {
689
- "foreground": "#8FBCBB"
690
- }
691
- }, {
692
- "name": "[diff] Punctuation Definition Range",
693
- "scope": "source.diff punctuation.definition.range",
694
- "settings": {
695
- "foreground": "#8FBCBB"
696
- }
697
- }, {
698
- "name": "[diff] Punctuation Definition Separator",
699
- "scope": "source.diff punctuation.definition.separator",
700
- "settings": {
701
- "foreground": "#81A1C1"
702
- }
703
- }, {
704
- "name": "[Elixir](JakeBecker.elixir-ls) module names",
705
- "scope": "entity.name.type.module.elixir",
706
- "settings": {
707
- "foreground": "#8FBCBB"
708
- }
709
- }, {
710
- "name": "[Elixir](JakeBecker.elixir-ls) module attributes",
711
- "scope": "variable.other.readwrite.module.elixir",
712
- "settings": {
713
- "foreground": "#D8DEE9",
714
- "fontStyle": "bold"
715
- }
716
- }, {
717
- "name": "[Elixir](JakeBecker.elixir-ls) atoms",
718
- "scope": "constant.other.symbol.elixir",
719
- "settings": {
720
- "foreground": "#D8DEE9",
721
- "fontStyle": "bold"
722
- }
723
- }, {
724
- "name": "[Elixir](JakeBecker.elixir-ls) modules",
725
- "scope": "variable.other.constant.elixir",
726
- "settings": {
727
- "foreground": "#8FBCBB"
728
- }
729
- }, {
730
- "name": "[Go] String Format Placeholder",
731
- "scope": "source.go constant.other.placeholder.go",
732
- "settings": {
733
- "foreground": "#EBCB8B"
734
- }
735
- }, {
736
- "name": "[Java](JavaDoc) Comment Block Documentation HTML Entities",
737
- "scope": "source.java comment.block.documentation.javadoc punctuation.definition.entity.html",
738
- "settings": {
739
- "foreground": "#81A1C1"
740
- }
741
- }, {
742
- "name": "[Java](JavaDoc) Constant Other",
743
- "scope": "source.java constant.other",
744
- "settings": {
745
- "foreground": "#D8DEE9"
746
- }
747
- }, {
748
- "name": "[Java](JavaDoc) Keyword Other Documentation",
749
- "scope": "source.java keyword.other.documentation",
750
- "settings": {
751
- "foreground": "#8FBCBB"
752
- }
753
- }, {
754
- "name": "[Java](JavaDoc) Keyword Other Documentation Author",
755
- "scope": "source.java keyword.other.documentation.author.javadoc",
756
- "settings": {
757
- "foreground": "#8FBCBB"
758
- }
759
- }, {
760
- "name": "[Java](JavaDoc) Keyword Other Documentation Directive/Custom",
761
- "scope": ["source.java keyword.other.documentation.directive", "source.java keyword.other.documentation.custom"],
762
- "settings": {
763
- "foreground": "#8FBCBB"
764
- }
765
- }, {
766
- "name": "[Java](JavaDoc) Keyword Other Documentation See",
767
- "scope": "source.java keyword.other.documentation.see.javadoc",
768
- "settings": {
769
- "foreground": "#8FBCBB"
770
- }
771
- }, {
772
- "name": "[Java] Meta Method-Call",
773
- "scope": "source.java meta.method-call meta.method",
774
- "settings": {
775
- "foreground": "#88C0D0"
776
- }
777
- }, {
778
- "name": "[Java](JavaDoc) Meta Tag Template Link",
779
- "scope": ["source.java meta.tag.template.link.javadoc", "source.java string.other.link.title.javadoc"],
780
- "settings": {
781
- "foreground": "#8FBCBB"
782
- }
783
- }, {
784
- "name": "[Java](JavaDoc) Meta Tag Template Value",
785
- "scope": "source.java meta.tag.template.value.javadoc",
786
- "settings": {
787
- "foreground": "#88C0D0"
788
- }
789
- }, {
790
- "name": "[Java](JavaDoc) Punctuation Definition Keyword",
791
- "scope": "source.java punctuation.definition.keyword.javadoc",
792
- "settings": {
793
- "foreground": "#8FBCBB"
794
- }
795
- }, {
796
- "name": "[Java](JavaDoc) Punctuation Definition Tag",
797
- "scope": ["source.java punctuation.definition.tag.begin.javadoc", "source.java punctuation.definition.tag.end.javadoc"],
798
- "settings": {
799
- "foreground": "#616E88"
800
- }
801
- }, {
802
- "name": "[Java] Storage Modifier Import",
803
- "scope": "source.java storage.modifier.import",
804
- "settings": {
805
- "foreground": "#8FBCBB"
806
- }
807
- }, {
808
- "name": "[Java] Storage Modifier Package",
809
- "scope": "source.java storage.modifier.package",
810
- "settings": {
811
- "foreground": "#8FBCBB"
812
- }
813
- }, {
814
- "name": "[Java] Storage Type",
815
- "scope": "source.java storage.type",
816
- "settings": {
817
- "foreground": "#8FBCBB"
818
- }
819
- }, {
820
- "name": "[Java] Storage Type Annotation",
821
- "scope": "source.java storage.type.annotation",
822
- "settings": {
823
- "foreground": "#D08770"
824
- }
825
- }, {
826
- "name": "[Java] Storage Type Generic",
827
- "scope": "source.java storage.type.generic",
828
- "settings": {
829
- "foreground": "#8FBCBB"
830
- }
831
- }, {
832
- "name": "[Java] Storage Type Primitive",
833
- "scope": "source.java storage.type.primitive",
834
- "settings": {
835
- "foreground": "#81A1C1"
836
- }
837
- }, {
838
- "name": "[JavaScript] Decorator",
839
- "scope": ["source.js punctuation.decorator", "source.js meta.decorator variable.other.readwrite", "source.js meta.decorator entity.name.function"],
840
- "settings": {
841
- "foreground": "#D08770"
842
- }
843
- }, {
844
- "name": "[JavaScript] Meta Object-Literal Key",
845
- "scope": "source.js meta.object-literal.key",
846
- "settings": {
847
- "foreground": "#88C0D0"
848
- }
849
- }, {
850
- "name": "[JavaScript](JSDoc) Storage Type Class",
851
- "scope": "source.js storage.type.class.jsdoc",
852
- "settings": {
853
- "foreground": "#8FBCBB"
854
- }
855
- }, {
856
- "name": "[JavaScript] String Template Literals Punctuation",
857
- "scope": ["source.js string.quoted.template punctuation.quasi.element.begin", "source.js string.quoted.template punctuation.quasi.element.end", "source.js string.template punctuation.definition.template-expression"],
858
- "settings": {
859
- "foreground": "#81A1C1"
860
- }
861
- }, {
862
- "name": "[JavaScript] Interpolated String Template Punctuation Functions",
863
- "scope": "source.js string.quoted.template meta.method-call.with-arguments",
864
- "settings": {
865
- "foreground": "#ECEFF4"
866
- }
867
- }, {
868
- "name": "[JavaScript] String Template Literal Variable",
869
- "scope": ["source.js string.template meta.template.expression support.variable.property", "source.js string.template meta.template.expression variable.other.object"],
870
- "settings": {
871
- "foreground": "#D8DEE9"
872
- }
873
- }, {
874
- "name": "[JavaScript] Support Type Primitive",
875
- "scope": "source.js support.type.primitive",
876
- "settings": {
877
- "foreground": "#81A1C1"
878
- }
879
- }, {
880
- "name": "[JavaScript] Variable Other Object",
881
- "scope": "source.js variable.other.object",
882
- "settings": {
883
- "foreground": "#D8DEE9"
884
- }
885
- }, {
886
- "name": "[JavaScript] Variable Other Read-Write Alias",
887
- "scope": "source.js variable.other.readwrite.alias",
888
- "settings": {
889
- "foreground": "#8FBCBB"
890
- }
891
- }, {
892
- "name": "[JavaScript] Parentheses in Template Strings",
893
- "scope": ["source.js meta.embedded.line meta.brace.square", "source.js meta.embedded.line meta.brace.round", "source.js string.quoted.template meta.brace.square", "source.js string.quoted.template meta.brace.round"],
894
- "settings": {
895
- "foreground": "#ECEFF4"
896
- }
897
- }, {
898
- "name": "[HTML] Constant Character Entity",
899
- "scope": "text.html.basic constant.character.entity.html",
900
- "settings": {
901
- "foreground": "#EBCB8B"
902
- }
903
- }, {
904
- "name": "[HTML] Constant Other Inline-Data",
905
- "scope": "text.html.basic constant.other.inline-data",
906
- "settings": {
907
- "foreground": "#D08770",
908
- "fontStyle": "italic"
909
- }
910
- }, {
911
- "name": "[HTML] Meta Tag SGML Doctype",
912
- "scope": "text.html.basic meta.tag.sgml.doctype",
913
- "settings": {
914
- "foreground": "#5E81AC"
915
- }
916
- }, {
917
- "name": "[HTML] Punctuation Definition Entity",
918
- "scope": "text.html.basic punctuation.definition.entity",
919
- "settings": {
920
- "foreground": "#81A1C1"
921
- }
922
- }, {
923
- "name": "[INI] Entity Name Section Group-Title",
924
- "scope": "source.properties entity.name.section.group-title.ini",
925
- "settings": {
926
- "foreground": "#88C0D0"
927
- }
928
- }, {
929
- "name": "[INI] Punctuation Separator Key-Value",
930
- "scope": "source.properties punctuation.separator.key-value.ini",
931
- "settings": {
932
- "foreground": "#81A1C1"
933
- }
934
- }, {
935
- "name": "[Markdown] Markup Fenced Code Block",
936
- "scope": ["text.html.markdown markup.fenced_code.block", "text.html.markdown markup.fenced_code.block punctuation.definition"],
937
- "settings": {
938
- "foreground": "#8FBCBB"
939
- }
940
- }, {
941
- "name": "[Markdown] Markup Heading",
942
- "scope": "markup.heading",
943
- "settings": {
944
- "foreground": "#88C0D0"
945
- }
946
- }, {
947
- "name": "[Markdown] Markup Inline",
948
- "scope": ["text.html.markdown markup.inline.raw", "text.html.markdown markup.inline.raw punctuation.definition.raw"],
949
- "settings": {
950
- "foreground": "#8FBCBB"
951
- }
952
- }, {
953
- "name": "[Markdown] Markup Italic",
954
- "scope": "text.html.markdown markup.italic",
955
- "settings": {
956
- "fontStyle": "italic"
957
- }
958
- }, {
959
- "name": "[Markdown] Markup Link",
960
- "scope": "text.html.markdown markup.underline.link",
961
- "settings": {
962
- "fontStyle": "underline"
963
- }
964
- }, {
965
- "name": "[Markdown] Markup List Numbered/Unnumbered",
966
- "scope": "text.html.markdown beginning.punctuation.definition.list",
967
- "settings": {
968
- "foreground": "#81A1C1"
969
- }
970
- }, {
971
- "name": "[Markdown] Markup Quote Punctuation Definition",
972
- "scope": "text.html.markdown beginning.punctuation.definition.quote",
973
- "settings": {
974
- "foreground": "#8FBCBB"
975
- }
976
- }, {
977
- "name": "[Markdown] Markup Quote Punctuation Definition",
978
- "scope": "text.html.markdown markup.quote",
979
- "settings": {
980
- "foreground": "#616E88"
981
- }
982
- }, {
983
- "name": "[Markdown] Markup Math Constant",
984
- "scope": "text.html.markdown constant.character.math.tex",
985
- "settings": {
986
- "foreground": "#81A1C1"
987
- }
988
- }, {
989
- "name": "[Markdown] Markup Math Definition Marker",
990
- "scope": ["text.html.markdown punctuation.definition.math.begin", "text.html.markdown punctuation.definition.math.end"],
991
- "settings": {
992
- "foreground": "#5E81AC"
993
- }
994
- }, {
995
- "name": "[Markdown] Markup Math Function Definition Marker",
996
- "scope": "text.html.markdown punctuation.definition.function.math.tex",
997
- "settings": {
998
- "foreground": "#88C0D0"
999
- }
1000
- }, {
1001
- "name": "[Markdown] Markup Math Operator",
1002
- "scope": "text.html.markdown punctuation.math.operator.latex",
1003
- "settings": {
1004
- "foreground": "#81A1C1"
1005
- }
1006
- }, {
1007
- "name": "[Markdown] Punctuation Definition Heading",
1008
- "scope": "text.html.markdown punctuation.definition.heading",
1009
- "settings": {
1010
- "foreground": "#81A1C1"
1011
- }
1012
- }, {
1013
- "name": "[Markdown] Punctuation Definition Constant/String",
1014
- "scope": ["text.html.markdown punctuation.definition.constant", "text.html.markdown punctuation.definition.string"],
1015
- "settings": {
1016
- "foreground": "#81A1C1"
1017
- }
1018
- }, {
1019
- "name": "[Markdown] String Other Link Description/Title",
1020
- "scope": ["text.html.markdown constant.other.reference.link", "text.html.markdown string.other.link.description", "text.html.markdown string.other.link.title"],
1021
- "settings": {
1022
- "foreground": "#88C0D0"
1023
- }
1024
- }, {
1025
- "name": "[Perl] Perl Sigils",
1026
- "scope": "source.perl punctuation.definition.variable",
1027
- "settings": {
1028
- "foreground": "#D8DEE9"
1029
- }
1030
- }, {
1031
- "name": "[PHP] Meta Function-Call Object",
1032
- "scope": ["source.php meta.function-call", "source.php meta.function-call.object"],
1033
- "settings": {
1034
- "foreground": "#88C0D0"
1035
- }
1036
- }, {
1037
- "name": "[Python] Decorator",
1038
- "scope": ["source.python entity.name.function.decorator", "source.python meta.function.decorator support.type"],
1039
- "settings": {
1040
- "foreground": "#D08770"
1041
- }
1042
- }, {
1043
- "name": "[Python] Function Call",
1044
- "scope": "source.python meta.function-call.generic",
1045
- "settings": {
1046
- "foreground": "#88C0D0"
1047
- }
1048
- }, {
1049
- "name": "[Python] Support Type",
1050
- "scope": "source.python support.type",
1051
- "settings": {
1052
- "foreground": "#88C0D0"
1053
- }
1054
- }, {
1055
- "name": "[Python] Function Parameter",
1056
- "scope": ["source.python variable.parameter.function.language"],
1057
- "settings": {
1058
- "foreground": "#D8DEE9"
1059
- }
1060
- }, {
1061
- "name": "[Python] Function Parameter Special",
1062
- "scope": ["source.python meta.function.parameters variable.parameter.function.language.special.self"],
1063
- "settings": {
1064
- "foreground": "#81A1C1"
1065
- }
1066
- }, {
1067
- "name": "[Rust] Entity types",
1068
- "scope": "source.rust entity.name.type",
1069
- "settings": {
1070
- "foreground": "#8FBCBB"
1071
- }
1072
- }, {
1073
- "name": "[Rust] Macro",
1074
- "scope": "source.rust meta.macro entity.name.function",
1075
- "settings": {
1076
- "fontStyle": "bold",
1077
- "foreground": "#88C0D0"
1078
- }
1079
- }, {
1080
- "name": "[Rust] Attributes",
1081
- "scope": ["source.rust meta.attribute", "source.rust meta.attribute punctuation", "source.rust meta.attribute keyword.operator"],
1082
- "settings": {
1083
- "foreground": "#5E81AC"
1084
- }
1085
- }, {
1086
- "name": "[Rust] Traits",
1087
- "scope": "source.rust entity.name.type.trait",
1088
- "settings": {
1089
- "fontStyle": "bold"
1090
- }
1091
- }, {
1092
- "name": "[Rust] Interpolation Bracket Curly",
1093
- "scope": "source.rust punctuation.definition.interpolation",
1094
- "settings": {
1095
- "foreground": "#EBCB8B"
1096
- }
1097
- }, {
1098
- "name": "[SCSS] Punctuation Definition Interpolation Bracket Curly",
1099
- "scope": ["source.css.scss punctuation.definition.interpolation.begin.bracket.curly", "source.css.scss punctuation.definition.interpolation.end.bracket.curly"],
1100
- "settings": {
1101
- "foreground": "#81A1C1"
1102
- }
1103
- }, {
1104
- "name": "[SCSS] Variable Interpolation",
1105
- "scope": "source.css.scss variable.interpolation",
1106
- "settings": {
1107
- "foreground": "#D8DEE9",
1108
- "fontStyle": "italic"
1109
- }
1110
- }, {
1111
- "name": "[TypeScript] Decorators",
1112
- "scope": ["source.ts punctuation.decorator", "source.ts meta.decorator variable.other.readwrite", "source.ts meta.decorator entity.name.function", "source.tsx punctuation.decorator", "source.tsx meta.decorator variable.other.readwrite", "source.tsx meta.decorator entity.name.function"],
1113
- "settings": {
1114
- "foreground": "#D08770"
1115
- }
1116
- }, {
1117
- "name": "[TypeScript] Object-literal keys",
1118
- "scope": ["source.ts meta.object-literal.key", "source.tsx meta.object-literal.key"],
1119
- "settings": {
1120
- "foreground": "#D8DEE9"
1121
- }
1122
- }, {
1123
- "name": "[TypeScript] Object-literal functions",
1124
- "scope": ["source.ts meta.object-literal.key entity.name.function", "source.tsx meta.object-literal.key entity.name.function"],
1125
- "settings": {
1126
- "foreground": "#88C0D0"
1127
- }
1128
- }, {
1129
- "name": "[TypeScript] Type/Class",
1130
- "scope": ["source.ts support.class", "source.ts support.type", "source.ts entity.name.type", "source.ts entity.name.class", "source.tsx support.class", "source.tsx support.type", "source.tsx entity.name.type", "source.tsx entity.name.class"],
1131
- "settings": {
1132
- "foreground": "#8FBCBB"
1133
- }
1134
- }, {
1135
- "name": "[TypeScript] Static Class Support",
1136
- "scope": ["source.ts support.constant.math", "source.ts support.constant.dom", "source.ts support.constant.json", "source.tsx support.constant.math", "source.tsx support.constant.dom", "source.tsx support.constant.json"],
1137
- "settings": {
1138
- "foreground": "#8FBCBB"
1139
- }
1140
- }, {
1141
- "name": "[TypeScript] Variables",
1142
- "scope": ["source.ts support.variable", "source.tsx support.variable"],
1143
- "settings": {
1144
- "foreground": "#D8DEE9"
1145
- }
1146
- }, {
1147
- "name": "[TypeScript] Parentheses in Template Strings",
1148
- "scope": ["source.ts meta.embedded.line meta.brace.square", "source.ts meta.embedded.line meta.brace.round", "source.tsx meta.embedded.line meta.brace.square", "source.tsx meta.embedded.line meta.brace.round"],
1149
- "settings": {
1150
- "foreground": "#ECEFF4"
1151
- }
1152
- }, {
1153
- "name": "[XML] Entity Name Tag Namespace",
1154
- "scope": "text.xml entity.name.tag.namespace",
1155
- "settings": {
1156
- "foreground": "#8FBCBB"
1157
- }
1158
- }, {
1159
- "name": "[XML] Keyword Other Doctype",
1160
- "scope": "text.xml keyword.other.doctype",
1161
- "settings": {
1162
- "foreground": "#5E81AC"
1163
- }
1164
- }, {
1165
- "name": "[XML] Meta Tag Preprocessor",
1166
- "scope": "text.xml meta.tag.preprocessor entity.name.tag",
1167
- "settings": {
1168
- "foreground": "#5E81AC"
1169
- }
1170
- }, {
1171
- "name": "[XML] Entity Name Tag Namespace",
1172
- "scope": ["text.xml string.unquoted.cdata", "text.xml string.unquoted.cdata punctuation.definition.string"],
1173
- "settings": {
1174
- "foreground": "#D08770",
1175
- "fontStyle": "italic"
1176
- }
1177
- }, {
1178
- "name": "[YAML] Entity Name Tag",
1179
- "scope": "source.yaml entity.name.tag",
1180
- "settings": {
1181
- "foreground": "#8FBCBB"
1182
- }
1183
- }]
1184
- },
1185
- "autoImport": true,
1186
- "showCopyButton": true,
1187
- "skipLanguages": [],
1188
- "filepath": "/Users/bytedance/modern.js/website/module-tools/docs/en/guide/basic/command-preview.md"
1189
- };
1190
- var frontmatter = {
1191
- "sidebar_position": 2
1192
- };
1193
- var toc = [{
1194
- "id": "modern-build",
1195
- "text": "modern build",
1196
- "depth": 2
1197
- }, {
1198
- "id": "modern-new",
1199
- "text": "modern new",
1200
- "depth": 2
1201
- }, {
1202
- "id": "modern-dev",
1203
- "text": "modern dev",
1204
- "depth": 2
1205
- }, {
1206
- "id": "modern-test",
1207
- "text": "modern test",
1208
- "depth": 2
1209
- }, {
1210
- "id": "modern-lint",
1211
- "text": "modern lint",
1212
- "depth": 2
1213
- }, {
1214
- "id": "-modern-change",
1215
- "text": "-modern change",
1216
- "depth": 2
1217
- }, {
1218
- "id": "modern-pre",
1219
- "text": "modern pre",
1220
- "depth": 2
1221
- }, {
1222
- "id": "modern-bump",
1223
- "text": "modern bump",
1224
- "depth": 2
1225
- }, {
1226
- "id": "modern-release",
1227
- "text": "modern release",
1228
- "depth": 2
1229
- }, {
1230
- "id": "modern-gen-release-note",
1231
- "text": "modern gen-release-note",
1232
- "depth": 2
1233
- }, {
1234
- "id": "modern-upgrade",
1235
- "text": "modern upgrade",
1236
- "depth": 2
1237
- }];
1238
- var title = "Command Preview";
1239
- var content = "\"---\\nsidebar_position: 2\\n---\\n\\n# Command Preview\\n\\nCommands available for module engineering projects.\\n\\n## `modern build`\\n\\n```bash\\nUsage: modern build [options]\\n\\nBuild module command\\n\\nOptions:\\n -w, --watch Build code in listening mode\\n --tsconfig [tsconfig] Specify the path to the tsconfig.json file (default:\\n \\\". /tsconfig.json\\\")\\n --platform [platform] Build products for all or specified platforms\\n --no-dts disables DTS type file generation and type checking\\n --no-clear disables automatic clearing of product output directories\\n -h, --help Show information about the current command\\n```\\n\\nWhen you want to start a project build, you can execute the `modern build` command. When using this command, we can:\\n\\n- When wanting to start a build in watch mode, use the `--watch` option.\\n- When you want to specify the path to the TypeScript configuration file read by the project build, use `-build --tsconfig . /path/config.json` option. This option overrides all [`buildConfig`](/api/config/build-config) configurations in [`dts.tsconfigPath`](/api/config/build-config).\\n- The `-no-dts` option can be used when the DTS type file generation and type checking behavior of the project needs to be turned off. **Note: The generation of type files depends on the results of type checking. If type checking is turned off, then type files will not be generated either**.\\n- The `--no-clear` option can be used when the automatic clearing of the product output directory needs to be turned off.\\n\\nIn addition to the above, module projects also support `platform` build mode, which can be used to perform build tasks for other tools. For example, it is currently officially supported to start a Storybook build task to generate Storybook products by executing the `modern build --platform` or `modern build --platform storybook` commands after installing the `@modern-js/plugin-storybook` plugin.\\n\\n:::tip{title=Note}\\nWhen executing a Storybook build, it needs to read the project's build product. So **when running the `modern build --platform` command to start a Storybook build, run `modern build` once to ensure that the source build product exists**.\\n:::\\n\\n## `modern new`\\n\\n```bash\\nUsage: modern new [options]\\n\\nExecute the generator in a modular project scenario\\n\\nOptions:\\n -d, --debug Enable Debug mode, print debug log messages (default: false)\\n -c, --config <config> Generators run default configuration (JSON string)\\n --dist-tag <tag> Generator uses a special version of npm Tag\\n --registry customize npm Registry during generator runtime\\n -h, --help display help for command\\n```\\n\\nThe `modern new` command is used to start the microgenerator functionality, which enables features for the project that are not provided by default.\\n\\nThe following features can currently be enabled.\\n\\n- Storybook debugging\\n- Tailwind CSS support\\n- Modern.js Runtime API\\n\\nYou can learn more about these features in the [Using the micro generator](/guide/basic/use-micro-generator) section.\\n\\n## `modern dev`\\n\\n```bash\\nUsage: modern dev [options]\\n\\nLocal development commands\\n\\nOptions:\\n -h, --help display help for command\\n\\nCommands:\\n[dev-tools-subCommand]\\n```\\n\\nThe module engineering solution provides the ability to use debugging tools, which can be started with the `modern dev` command. Note, however, that no debugging-related plugins are provided by default, so executing `modern dev` will prompt: _\\\"No dev tools found available \\\"_.\\n\\nThe officially supported debugging tool is [Storybook](https://storybook.js.org/), so you can run `modern dev` or `modern dev storybook` to execute it after you run `modern new` to enable it.\\n\\n## `modern test`\\n\\n```bash\\nUsage: modern test [options]\\n\\nOptions:\\n -h, --help display help for command\\n```\\n\\nThe `modern test` command will automatically run the `src/tests/*.test.(js|ts|jsx|tsx)` file as a test case.\\n\\n## `modern lint`\\n\\n```bash\\nUsage: modern lint [options] [. .files]\\n\\nlint and fix source files\\n\\nOptions:\\n --no-fix disable auto fix source file\\n -h, --help display help for command\\n```\\n\\nRun [ESLint](https://eslint.org/) to check the syntax of the code. Usually, we only need to check the part of the code that was changed in this commit with [lint-staged](https://github.com/okonet/lint-staged) during the `-git commit` phase.\\n\\n- The `-no-fix` argument turns off the ability to automatically fix lint error code.\\n\\n## `-modern change`\\n\\n```bash\\nUsage: modern change [options]\\n\\nCreate a changeset\\n\\nOptions:\\n --empty Create an empty changeset (default: false)\\n --open Open the created changeset in the editor (default: false)\\n -h, --help display help for command\\n```\\n\\nThe `modern change` command is used to generate the required Markdown file for [changesets](https://github.com/changesets/changesets).\\n\\n## `modern pre`\\n\\n```bash\\nUsage: modern pre [options] <enter|exit> [tag]\\n\\nEntering and exiting pre-publishing mode\\n\\nOptions:\\n -h, --help display help for command\\n```\\n\\nYou can use the `modern pre` command to [pre-release](https://github.com/atlassian/changesets/blob/main/docs/prereleases.md) a version before the official release.\\n\\n## `modern bump`\\n\\n```bash\\nUsage: modern bump [options]\\n\\nUse changesets to automatically update releases and changelogs\\n\\nOptions:\\n --canary Create a pre-release for testing (default: false)\\n --preid <tag> Specify an identifier when versioning a pre-release (default: \\\"next\\\")\\n --snapshot Create a special version for testing (default: false)\\n -h, --help display help for command\\n```\\n\\nModify the version number in `package.json` according to the Markdown file of the changelog generated by [changesets](https://github.com/changesets/changesets), and generate the `CHANGELOG.md` file.\\n\\n## `modern release`\\n\\n```bash\\nUsage: modern release [options]\\n\\nRelease npm packages\\n\\nOptions:\\n --tag <tag> Release npm packages with a specific tag (default: \\\"\\\")\\n --ignore-scripts release ignores the scripts command in package.json, only supported in pnpm monorepo\\n (default: \\\"\\\")\\n -h, --help display help for command\\n```\\n\\nThe `-modern release` command releases the module to the [npm Registry](https://www.npmjs.com/).\\n\\n- The `-tag` argument specifies the specific [dist tags](https://docs.npmjs.com/adding-dist-tags-to-packages) to be used for the release.\\n\\n## `modern gen-release-note`\\n\\n```bash\\nUsage: modern gen-release-note [options]\\n\\nGenerate Release Note based on current repository changeset information\\n\\nOptions:\\n --repo <repo> The name of the repository to generate the Pull Request link, e.g.: modern-js-dev/modern.js\\n --custom <cumtom> Custom Release Note generation function\\n -h, --help display help for command\\n```\\n\\nAutomatically generate [Release Note](https://en.wikipedia.org/wiki/Release_notes) based on the changeset information of the current repository.\\n\\n:::tip{title=Note}\\nneeds to be executed before the `bump` command.\\n:::\\n\\n## `modern upgrade`\\n\\n```bash\\nUsage: modern upgrade [options]\\n\\nUpgrade Modern.js to the latest version\\n\\nOptions:\\n --registry <registry> customize npm registry (default: \\\"\\\")\\n -d,--debug Enable Debug mode to print debug log messages (default: false)\\n --cwd <cwd> project path (default: \\\"\\\")\\n -h, --help display help for command\\n```\\n\\nThe `modern upgrade` command is used to upgrade the project Modern.js related dependencies to the latest version.\\n\\nExecuting the command `npx modern upgrade` in the project root directory will update the Modern.js dependencies in `package.json` of the currently executing project to the latest version by default.\\n\\ncommand is provided in `@modern-js/module-tools` version **>= 1.17.0**, previous versions can be upgraded using `npx @modern-js/upgrade`.\\n\"";
1240
- function _createMdxContent(props) {
1241
- var _components = Object.assign({
1242
- h1: "h1",
1243
- a: "a",
1244
- p: "p",
1245
- h2: "h2",
1246
- code: "code",
1247
- ul: "ul",
1248
- li: "li",
1249
- strong: "strong",
1250
- div: "div",
1251
- em: "em"
1252
- }, props.components);
1253
- if (!CH) _missingMdxReference("CH", false, "11:1-24:4");
1254
- if (!CH.Code) _missingMdxReference("CH.Code", true, "11:1-24:4");
1255
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1256
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
1257
- id: "command-preview",
1258
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1259
- className: "header-anchor",
1260
- "aria-hidden": "true",
1261
- href: "#command-preview",
1262
- children: "#"
1263
- }), "Command Preview"]
1264
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1265
- children: "Commands available for module engineering projects."
1266
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1267
- id: "modern-build",
1268
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1269
- className: "header-anchor",
1270
- "aria-hidden": "true",
1271
- href: "#modern-build",
1272
- children: "#"
1273
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1274
- children: "modern build"
1275
- })]
1276
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1277
- codeConfig: chCodeConfig,
1278
- northPanel: {
1279
- "tabs": [""],
1280
- "active": "",
1281
- "heightRatio": 1
1282
- },
1283
- files: [{
1284
- "name": "",
1285
- "focus": "",
1286
- "code": {
1287
- "lines": [{
1288
- "tokens": [{
1289
- "content": "Usage: modern build ",
1290
- "props": {
1291
- "style": {
1292
- "color": "#D8DEE9FF"
1293
- }
1294
- }
1295
- }, {
1296
- "content": "[",
1297
- "props": {
1298
- "style": {
1299
- "color": "#ECEFF4"
1300
- }
1301
- }
1302
- }, {
1303
- "content": "options",
1304
- "props": {
1305
- "style": {
1306
- "color": "#D8DEE9FF"
1307
- }
1308
- }
1309
- }, {
1310
- "content": "]",
1311
- "props": {
1312
- "style": {
1313
- "color": "#ECEFF4"
1314
- }
1315
- }
1316
- }]
1317
- }, {
1318
- "tokens": []
1319
- }, {
1320
- "tokens": [{
1321
- "content": "Build module ",
1322
- "props": {
1323
- "style": {
1324
- "color": "#D8DEE9FF"
1325
- }
1326
- }
1327
- }, {
1328
- "content": "command",
1329
- "props": {
1330
- "style": {
1331
- "color": "#88C0D0"
1332
- }
1333
- }
1334
- }]
1335
- }, {
1336
- "tokens": []
1337
- }, {
1338
- "tokens": [{
1339
- "content": "Options:",
1340
- "props": {
1341
- "style": {
1342
- "color": "#D8DEE9FF"
1343
- }
1344
- }
1345
- }]
1346
- }, {
1347
- "tokens": [{
1348
- "content": " -w, --watch Build code ",
1349
- "props": {
1350
- "style": {
1351
- "color": "#D8DEE9FF"
1352
- }
1353
- }
1354
- }, {
1355
- "content": "in",
1356
- "props": {
1357
- "style": {
1358
- "color": "#81A1C1"
1359
- }
1360
- }
1361
- }, {
1362
- "content": " listening mode",
1363
- "props": {
1364
- "style": {
1365
- "color": "#D8DEE9FF"
1366
- }
1367
- }
1368
- }]
1369
- }, {
1370
- "tokens": [{
1371
- "content": " --tsconfig ",
1372
- "props": {
1373
- "style": {
1374
- "color": "#D8DEE9FF"
1375
- }
1376
- }
1377
- }, {
1378
- "content": "[",
1379
- "props": {
1380
- "style": {
1381
- "color": "#ECEFF4"
1382
- }
1383
- }
1384
- }, {
1385
- "content": "tsconfig",
1386
- "props": {
1387
- "style": {
1388
- "color": "#D8DEE9FF"
1389
- }
1390
- }
1391
- }, {
1392
- "content": "]",
1393
- "props": {
1394
- "style": {
1395
- "color": "#ECEFF4"
1396
- }
1397
- }
1398
- }, {
1399
- "content": " Specify the path to the tsconfig.json file ",
1400
- "props": {
1401
- "style": {
1402
- "color": "#D8DEE9FF"
1403
- }
1404
- }
1405
- }, {
1406
- "content": "(",
1407
- "props": {
1408
- "style": {
1409
- "color": "#ECEFF4"
1410
- }
1411
- }
1412
- }, {
1413
- "content": "default:",
1414
- "props": {
1415
- "style": {
1416
- "color": "#D8DEE9FF"
1417
- }
1418
- }
1419
- }]
1420
- }, {
1421
- "tokens": [{
1422
- "content": " ",
1423
- "props": {
1424
- "style": {
1425
- "color": "#D8DEE9FF"
1426
- }
1427
- }
1428
- }, {
1429
- "content": "\"",
1430
- "props": {
1431
- "style": {
1432
- "color": "#ECEFF4"
1433
- }
1434
- }
1435
- }, {
1436
- "content": ". /tsconfig.json",
1437
- "props": {
1438
- "style": {
1439
- "color": "#A3BE8C"
1440
- }
1441
- }
1442
- }, {
1443
- "content": "\"",
1444
- "props": {
1445
- "style": {
1446
- "color": "#ECEFF4"
1447
- }
1448
- }
1449
- }, {
1450
- "content": ")",
1451
- "props": {
1452
- "style": {
1453
- "color": "#ECEFF4"
1454
- }
1455
- }
1456
- }]
1457
- }, {
1458
- "tokens": [{
1459
- "content": " --platform ",
1460
- "props": {
1461
- "style": {
1462
- "color": "#D8DEE9FF"
1463
- }
1464
- }
1465
- }, {
1466
- "content": "[",
1467
- "props": {
1468
- "style": {
1469
- "color": "#ECEFF4"
1470
- }
1471
- }
1472
- }, {
1473
- "content": "platform",
1474
- "props": {
1475
- "style": {
1476
- "color": "#D8DEE9FF"
1477
- }
1478
- }
1479
- }, {
1480
- "content": "]",
1481
- "props": {
1482
- "style": {
1483
- "color": "#ECEFF4"
1484
- }
1485
- }
1486
- }, {
1487
- "content": " Build products ",
1488
- "props": {
1489
- "style": {
1490
- "color": "#D8DEE9FF"
1491
- }
1492
- }
1493
- }, {
1494
- "content": "for",
1495
- "props": {
1496
- "style": {
1497
- "color": "#81A1C1"
1498
- }
1499
- }
1500
- }, {
1501
- "content": " all or specified platforms",
1502
- "props": {
1503
- "style": {
1504
- "color": "#D8DEE9FF"
1505
- }
1506
- }
1507
- }]
1508
- }, {
1509
- "tokens": [{
1510
- "content": " --no-dts disables DTS ",
1511
- "props": {
1512
- "style": {
1513
- "color": "#D8DEE9FF"
1514
- }
1515
- }
1516
- }, {
1517
- "content": "type",
1518
- "props": {
1519
- "style": {
1520
- "color": "#88C0D0"
1521
- }
1522
- }
1523
- }, {
1524
- "content": " file generation and ",
1525
- "props": {
1526
- "style": {
1527
- "color": "#D8DEE9FF"
1528
- }
1529
- }
1530
- }, {
1531
- "content": "type",
1532
- "props": {
1533
- "style": {
1534
- "color": "#88C0D0"
1535
- }
1536
- }
1537
- }, {
1538
- "content": " checking",
1539
- "props": {
1540
- "style": {
1541
- "color": "#D8DEE9FF"
1542
- }
1543
- }
1544
- }]
1545
- }, {
1546
- "tokens": [{
1547
- "content": " --no-clear disables automatic clearing of product output directories",
1548
- "props": {
1549
- "style": {
1550
- "color": "#D8DEE9FF"
1551
- }
1552
- }
1553
- }]
1554
- }, {
1555
- "tokens": [{
1556
- "content": " -h, --help Show information about the current ",
1557
- "props": {
1558
- "style": {
1559
- "color": "#D8DEE9FF"
1560
- }
1561
- }
1562
- }, {
1563
- "content": "command",
1564
- "props": {
1565
- "style": {
1566
- "color": "#88C0D0"
1567
- }
1568
- }
1569
- }]
1570
- }],
1571
- "lang": "bash"
1572
- },
1573
- "annotations": []
1574
- }]
1575
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1576
- children: ["When you want to start a project build, you can execute the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1577
- children: "modern build"
1578
- }), " command. When using this command, we can:"]
1579
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1580
- children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1581
- children: ["When wanting to start a build in watch mode, use the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1582
- children: "--watch"
1583
- }), " option."]
1584
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1585
- children: ["When you want to specify the path to the TypeScript configuration file read by the project build, use ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1586
- children: "-build --tsconfig . /path/config.json"
1587
- }), " option. This option overrides all ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1588
- href: "/en/api/config/build-config.html",
1589
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1590
- children: "buildConfig"
1591
- })
1592
- }), " configurations in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1593
- href: "/en/api/config/build-config.html",
1594
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1595
- children: "dts.tsconfigPath"
1596
- })
1597
- }), "."]
1598
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1599
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1600
- children: "-no-dts"
1601
- }), " option can be used when the DTS type file generation and type checking behavior of the project needs to be turned off. ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1602
- children: "Note: The generation of type files depends on the results of type checking. If type checking is turned off, then type files will not be generated either"
1603
- }), "."]
1604
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1605
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1606
- children: "--no-clear"
1607
- }), " option can be used when the automatic clearing of the product output directory needs to be turned off."]
1608
- }), "\n"]
1609
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1610
- children: ["In addition to the above, module projects also support ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1611
- children: "platform"
1612
- }), " build mode, which can be used to perform build tasks for other tools. For example, it is currently officially supported to start a Storybook build task to generate Storybook products by executing the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1613
- children: "modern build --platform"
1614
- }), " or ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1615
- children: "modern build --platform storybook"
1616
- }), " commands after installing the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1617
- children: "@modern-js/plugin-storybook"
1618
- }), " plugin."]
1619
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.div, {
1620
- className: "modern-directive tip",
1621
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1622
- className: "modern-directive-title",
1623
- children: "Note"
1624
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.div, {
1625
- className: "island-directive-content",
1626
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1627
- children: ["When executing a Storybook build, it needs to read the project's build product. So ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.strong, {
1628
- children: ["when running the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1629
- children: "modern build --platform"
1630
- }), " command to start a Storybook build, run ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1631
- children: "modern build"
1632
- }), " once to ensure that the source build product exists"]
1633
- }), "."]
1634
- })
1635
- })]
1636
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1637
- id: "modern-new",
1638
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1639
- className: "header-anchor",
1640
- "aria-hidden": "true",
1641
- href: "#modern-new",
1642
- children: "#"
1643
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1644
- children: "modern new"
1645
- })]
1646
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1647
- codeConfig: chCodeConfig,
1648
- northPanel: {
1649
- "tabs": [""],
1650
- "active": "",
1651
- "heightRatio": 1
1652
- },
1653
- files: [{
1654
- "name": "",
1655
- "focus": "",
1656
- "code": {
1657
- "lines": [{
1658
- "tokens": [{
1659
- "content": "Usage: modern new ",
1660
- "props": {
1661
- "style": {
1662
- "color": "#D8DEE9FF"
1663
- }
1664
- }
1665
- }, {
1666
- "content": "[",
1667
- "props": {
1668
- "style": {
1669
- "color": "#ECEFF4"
1670
- }
1671
- }
1672
- }, {
1673
- "content": "options",
1674
- "props": {
1675
- "style": {
1676
- "color": "#D8DEE9FF"
1677
- }
1678
- }
1679
- }, {
1680
- "content": "]",
1681
- "props": {
1682
- "style": {
1683
- "color": "#ECEFF4"
1684
- }
1685
- }
1686
- }]
1687
- }, {
1688
- "tokens": []
1689
- }, {
1690
- "tokens": [{
1691
- "content": "Execute the generator ",
1692
- "props": {
1693
- "style": {
1694
- "color": "#D8DEE9FF"
1695
- }
1696
- }
1697
- }, {
1698
- "content": "in",
1699
- "props": {
1700
- "style": {
1701
- "color": "#81A1C1"
1702
- }
1703
- }
1704
- }, {
1705
- "content": " a modular project scenario",
1706
- "props": {
1707
- "style": {
1708
- "color": "#D8DEE9FF"
1709
- }
1710
- }
1711
- }]
1712
- }, {
1713
- "tokens": []
1714
- }, {
1715
- "tokens": [{
1716
- "content": "Options:",
1717
- "props": {
1718
- "style": {
1719
- "color": "#D8DEE9FF"
1720
- }
1721
- }
1722
- }]
1723
- }, {
1724
- "tokens": [{
1725
- "content": " -d, --debug Enable Debug mode, print debug log messages ",
1726
- "props": {
1727
- "style": {
1728
- "color": "#D8DEE9FF"
1729
- }
1730
- }
1731
- }, {
1732
- "content": "(",
1733
- "props": {
1734
- "style": {
1735
- "color": "#ECEFF4"
1736
- }
1737
- }
1738
- }, {
1739
- "content": "default: false",
1740
- "props": {
1741
- "style": {
1742
- "color": "#D8DEE9FF"
1743
- }
1744
- }
1745
- }, {
1746
- "content": ")",
1747
- "props": {
1748
- "style": {
1749
- "color": "#ECEFF4"
1750
- }
1751
- }
1752
- }]
1753
- }, {
1754
- "tokens": [{
1755
- "content": " -c, --config ",
1756
- "props": {
1757
- "style": {
1758
- "color": "#D8DEE9FF"
1759
- }
1760
- }
1761
- }, {
1762
- "content": "<",
1763
- "props": {
1764
- "style": {
1765
- "color": "#81A1C1"
1766
- }
1767
- }
1768
- }, {
1769
- "content": "config",
1770
- "props": {
1771
- "style": {
1772
- "color": "#D8DEE9FF"
1773
- }
1774
- }
1775
- }, {
1776
- "content": ">",
1777
- "props": {
1778
- "style": {
1779
- "color": "#81A1C1"
1780
- }
1781
- }
1782
- }, {
1783
- "content": " Generators run default configuration ",
1784
- "props": {
1785
- "style": {
1786
- "color": "#D8DEE9FF"
1787
- }
1788
- }
1789
- }, {
1790
- "content": "(",
1791
- "props": {
1792
- "style": {
1793
- "color": "#ECEFF4"
1794
- }
1795
- }
1796
- }, {
1797
- "content": "JSON string",
1798
- "props": {
1799
- "style": {
1800
- "color": "#D8DEE9FF"
1801
- }
1802
- }
1803
- }, {
1804
- "content": ")",
1805
- "props": {
1806
- "style": {
1807
- "color": "#ECEFF4"
1808
- }
1809
- }
1810
- }]
1811
- }, {
1812
- "tokens": [{
1813
- "content": " --dist-tag ",
1814
- "props": {
1815
- "style": {
1816
- "color": "#D8DEE9FF"
1817
- }
1818
- }
1819
- }, {
1820
- "content": "<",
1821
- "props": {
1822
- "style": {
1823
- "color": "#81A1C1"
1824
- }
1825
- }
1826
- }, {
1827
- "content": "tag",
1828
- "props": {
1829
- "style": {
1830
- "color": "#D8DEE9FF"
1831
- }
1832
- }
1833
- }, {
1834
- "content": ">",
1835
- "props": {
1836
- "style": {
1837
- "color": "#81A1C1"
1838
- }
1839
- }
1840
- }, {
1841
- "content": " Generator uses a special version of npm Tag",
1842
- "props": {
1843
- "style": {
1844
- "color": "#D8DEE9FF"
1845
- }
1846
- }
1847
- }]
1848
- }, {
1849
- "tokens": [{
1850
- "content": " --registry customize npm Registry during generator runtime",
1851
- "props": {
1852
- "style": {
1853
- "color": "#D8DEE9FF"
1854
- }
1855
- }
1856
- }]
1857
- }, {
1858
- "tokens": [{
1859
- "content": " -h, --help display ",
1860
- "props": {
1861
- "style": {
1862
- "color": "#D8DEE9FF"
1863
- }
1864
- }
1865
- }, {
1866
- "content": "help",
1867
- "props": {
1868
- "style": {
1869
- "color": "#88C0D0"
1870
- }
1871
- }
1872
- }, {
1873
- "content": " ",
1874
- "props": {
1875
- "style": {
1876
- "color": "#D8DEE9FF"
1877
- }
1878
- }
1879
- }, {
1880
- "content": "for",
1881
- "props": {
1882
- "style": {
1883
- "color": "#81A1C1"
1884
- }
1885
- }
1886
- }, {
1887
- "content": " ",
1888
- "props": {
1889
- "style": {
1890
- "color": "#D8DEE9FF"
1891
- }
1892
- }
1893
- }, {
1894
- "content": "command",
1895
- "props": {
1896
- "style": {
1897
- "color": "#88C0D0"
1898
- }
1899
- }
1900
- }]
1901
- }],
1902
- "lang": "bash"
1903
- },
1904
- "annotations": []
1905
- }]
1906
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1907
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1908
- children: "modern new"
1909
- }), " command is used to start the microgenerator functionality, which enables features for the project that are not provided by default."]
1910
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1911
- children: "The following features can currently be enabled."
1912
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1913
- children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1914
- children: "Storybook debugging"
1915
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1916
- children: "Tailwind CSS support"
1917
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1918
- children: "Modern.js Runtime API"
1919
- }), "\n"]
1920
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1921
- children: ["You can learn more about these features in the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1922
- href: "/en/guide/basic/use-micro-generator.html",
1923
- children: "Using the micro generator"
1924
- }), " section."]
1925
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1926
- id: "modern-dev",
1927
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1928
- className: "header-anchor",
1929
- "aria-hidden": "true",
1930
- href: "#modern-dev",
1931
- children: "#"
1932
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1933
- children: "modern dev"
1934
- })]
1935
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1936
- codeConfig: chCodeConfig,
1937
- northPanel: {
1938
- "tabs": [""],
1939
- "active": "",
1940
- "heightRatio": 1
1941
- },
1942
- files: [{
1943
- "name": "",
1944
- "focus": "",
1945
- "code": {
1946
- "lines": [{
1947
- "tokens": [{
1948
- "content": "Usage: modern dev ",
1949
- "props": {
1950
- "style": {
1951
- "color": "#D8DEE9FF"
1952
- }
1953
- }
1954
- }, {
1955
- "content": "[",
1956
- "props": {
1957
- "style": {
1958
- "color": "#ECEFF4"
1959
- }
1960
- }
1961
- }, {
1962
- "content": "options",
1963
- "props": {
1964
- "style": {
1965
- "color": "#D8DEE9FF"
1966
- }
1967
- }
1968
- }, {
1969
- "content": "]",
1970
- "props": {
1971
- "style": {
1972
- "color": "#ECEFF4"
1973
- }
1974
- }
1975
- }]
1976
- }, {
1977
- "tokens": []
1978
- }, {
1979
- "tokens": [{
1980
- "content": "Local development commands",
1981
- "props": {
1982
- "style": {
1983
- "color": "#D8DEE9FF"
1984
- }
1985
- }
1986
- }]
1987
- }, {
1988
- "tokens": []
1989
- }, {
1990
- "tokens": [{
1991
- "content": "Options:",
1992
- "props": {
1993
- "style": {
1994
- "color": "#D8DEE9FF"
1995
- }
1996
- }
1997
- }]
1998
- }, {
1999
- "tokens": [{
2000
- "content": " -h, --help display ",
2001
- "props": {
2002
- "style": {
2003
- "color": "#D8DEE9FF"
2004
- }
2005
- }
2006
- }, {
2007
- "content": "help",
2008
- "props": {
2009
- "style": {
2010
- "color": "#88C0D0"
2011
- }
2012
- }
2013
- }, {
2014
- "content": " ",
2015
- "props": {
2016
- "style": {
2017
- "color": "#D8DEE9FF"
2018
- }
2019
- }
2020
- }, {
2021
- "content": "for",
2022
- "props": {
2023
- "style": {
2024
- "color": "#81A1C1"
2025
- }
2026
- }
2027
- }, {
2028
- "content": " ",
2029
- "props": {
2030
- "style": {
2031
- "color": "#D8DEE9FF"
2032
- }
2033
- }
2034
- }, {
2035
- "content": "command",
2036
- "props": {
2037
- "style": {
2038
- "color": "#88C0D0"
2039
- }
2040
- }
2041
- }]
2042
- }, {
2043
- "tokens": []
2044
- }, {
2045
- "tokens": [{
2046
- "content": "Commands:",
2047
- "props": {
2048
- "style": {
2049
- "color": "#D8DEE9FF"
2050
- }
2051
- }
2052
- }]
2053
- }, {
2054
- "tokens": [{
2055
- "content": "[",
2056
- "props": {
2057
- "style": {
2058
- "color": "#ECEFF4"
2059
- }
2060
- }
2061
- }, {
2062
- "content": "dev-tools-subCommand",
2063
- "props": {
2064
- "style": {
2065
- "color": "#D8DEE9FF"
2066
- }
2067
- }
2068
- }, {
2069
- "content": "]",
2070
- "props": {
2071
- "style": {
2072
- "color": "#ECEFF4"
2073
- }
2074
- }
2075
- }]
2076
- }],
2077
- "lang": "bash"
2078
- },
2079
- "annotations": []
2080
- }]
2081
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2082
- children: ["The module engineering solution provides the ability to use debugging tools, which can be started with the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2083
- children: "modern dev"
2084
- }), " command. Note, however, that no debugging-related plugins are provided by default, so executing ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2085
- children: "modern dev"
2086
- }), " will prompt: ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.em, {
2087
- children: "\"No dev tools found available \""
2088
- }), "."]
2089
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2090
- children: ["The officially supported debugging tool is ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2091
- href: "https://storybook.js.org/",
2092
- children: "Storybook"
2093
- }), ", so you can run ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2094
- children: "modern dev"
2095
- }), " or ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2096
- children: "modern dev storybook"
2097
- }), " to execute it after you run ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2098
- children: "modern new"
2099
- }), " to enable it."]
2100
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2101
- id: "modern-test",
2102
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2103
- className: "header-anchor",
2104
- "aria-hidden": "true",
2105
- href: "#modern-test",
2106
- children: "#"
2107
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2108
- children: "modern test"
2109
- })]
2110
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2111
- codeConfig: chCodeConfig,
2112
- northPanel: {
2113
- "tabs": [""],
2114
- "active": "",
2115
- "heightRatio": 1
2116
- },
2117
- files: [{
2118
- "name": "",
2119
- "focus": "",
2120
- "code": {
2121
- "lines": [{
2122
- "tokens": [{
2123
- "content": "Usage: modern ",
2124
- "props": {
2125
- "style": {
2126
- "color": "#D8DEE9FF"
2127
- }
2128
- }
2129
- }, {
2130
- "content": "test",
2131
- "props": {
2132
- "style": {
2133
- "color": "#88C0D0"
2134
- }
2135
- }
2136
- }, {
2137
- "content": " ",
2138
- "props": {
2139
- "style": {
2140
- "color": "#D8DEE9FF"
2141
- }
2142
- }
2143
- }, {
2144
- "content": "[",
2145
- "props": {
2146
- "style": {
2147
- "color": "#ECEFF4"
2148
- }
2149
- }
2150
- }, {
2151
- "content": "options",
2152
- "props": {
2153
- "style": {
2154
- "color": "#D8DEE9FF"
2155
- }
2156
- }
2157
- }, {
2158
- "content": "]",
2159
- "props": {
2160
- "style": {
2161
- "color": "#ECEFF4"
2162
- }
2163
- }
2164
- }]
2165
- }, {
2166
- "tokens": []
2167
- }, {
2168
- "tokens": [{
2169
- "content": "Options:",
2170
- "props": {
2171
- "style": {
2172
- "color": "#D8DEE9FF"
2173
- }
2174
- }
2175
- }]
2176
- }, {
2177
- "tokens": [{
2178
- "content": " -h, --help display ",
2179
- "props": {
2180
- "style": {
2181
- "color": "#D8DEE9FF"
2182
- }
2183
- }
2184
- }, {
2185
- "content": "help",
2186
- "props": {
2187
- "style": {
2188
- "color": "#88C0D0"
2189
- }
2190
- }
2191
- }, {
2192
- "content": " ",
2193
- "props": {
2194
- "style": {
2195
- "color": "#D8DEE9FF"
2196
- }
2197
- }
2198
- }, {
2199
- "content": "for",
2200
- "props": {
2201
- "style": {
2202
- "color": "#81A1C1"
2203
- }
2204
- }
2205
- }, {
2206
- "content": " ",
2207
- "props": {
2208
- "style": {
2209
- "color": "#D8DEE9FF"
2210
- }
2211
- }
2212
- }, {
2213
- "content": "command",
2214
- "props": {
2215
- "style": {
2216
- "color": "#88C0D0"
2217
- }
2218
- }
2219
- }]
2220
- }],
2221
- "lang": "bash"
2222
- },
2223
- "annotations": []
2224
- }]
2225
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2226
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2227
- children: "modern test"
2228
- }), " command will automatically run the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2229
- children: "src/tests/*.test.(js|ts|jsx|tsx)"
2230
- }), " file as a test case."]
2231
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2232
- id: "modern-lint",
2233
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2234
- className: "header-anchor",
2235
- "aria-hidden": "true",
2236
- href: "#modern-lint",
2237
- children: "#"
2238
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2239
- children: "modern lint"
2240
- })]
2241
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2242
- codeConfig: chCodeConfig,
2243
- northPanel: {
2244
- "tabs": [""],
2245
- "active": "",
2246
- "heightRatio": 1
2247
- },
2248
- files: [{
2249
- "name": "",
2250
- "focus": "",
2251
- "code": {
2252
- "lines": [{
2253
- "tokens": [{
2254
- "content": "Usage: modern lint ",
2255
- "props": {
2256
- "style": {
2257
- "color": "#D8DEE9FF"
2258
- }
2259
- }
2260
- }, {
2261
- "content": "[",
2262
- "props": {
2263
- "style": {
2264
- "color": "#ECEFF4"
2265
- }
2266
- }
2267
- }, {
2268
- "content": "options",
2269
- "props": {
2270
- "style": {
2271
- "color": "#D8DEE9FF"
2272
- }
2273
- }
2274
- }, {
2275
- "content": "]",
2276
- "props": {
2277
- "style": {
2278
- "color": "#ECEFF4"
2279
- }
2280
- }
2281
- }, {
2282
- "content": " ",
2283
- "props": {
2284
- "style": {
2285
- "color": "#D8DEE9FF"
2286
- }
2287
- }
2288
- }, {
2289
- "content": "[",
2290
- "props": {
2291
- "style": {
2292
- "color": "#ECEFF4"
2293
- }
2294
- }
2295
- }, {
2296
- "content": ". .files",
2297
- "props": {
2298
- "style": {
2299
- "color": "#D8DEE9FF"
2300
- }
2301
- }
2302
- }, {
2303
- "content": "]",
2304
- "props": {
2305
- "style": {
2306
- "color": "#ECEFF4"
2307
- }
2308
- }
2309
- }]
2310
- }, {
2311
- "tokens": []
2312
- }, {
2313
- "tokens": [{
2314
- "content": "lint and fix ",
2315
- "props": {
2316
- "style": {
2317
- "color": "#D8DEE9FF"
2318
- }
2319
- }
2320
- }, {
2321
- "content": "source",
2322
- "props": {
2323
- "style": {
2324
- "color": "#88C0D0"
2325
- }
2326
- }
2327
- }, {
2328
- "content": " files",
2329
- "props": {
2330
- "style": {
2331
- "color": "#D8DEE9FF"
2332
- }
2333
- }
2334
- }]
2335
- }, {
2336
- "tokens": []
2337
- }, {
2338
- "tokens": [{
2339
- "content": "Options:",
2340
- "props": {
2341
- "style": {
2342
- "color": "#D8DEE9FF"
2343
- }
2344
- }
2345
- }]
2346
- }, {
2347
- "tokens": [{
2348
- "content": " --no-fix disable auto fix ",
2349
- "props": {
2350
- "style": {
2351
- "color": "#D8DEE9FF"
2352
- }
2353
- }
2354
- }, {
2355
- "content": "source",
2356
- "props": {
2357
- "style": {
2358
- "color": "#88C0D0"
2359
- }
2360
- }
2361
- }, {
2362
- "content": " file",
2363
- "props": {
2364
- "style": {
2365
- "color": "#D8DEE9FF"
2366
- }
2367
- }
2368
- }]
2369
- }, {
2370
- "tokens": [{
2371
- "content": " -h, --help display ",
2372
- "props": {
2373
- "style": {
2374
- "color": "#D8DEE9FF"
2375
- }
2376
- }
2377
- }, {
2378
- "content": "help",
2379
- "props": {
2380
- "style": {
2381
- "color": "#88C0D0"
2382
- }
2383
- }
2384
- }, {
2385
- "content": " ",
2386
- "props": {
2387
- "style": {
2388
- "color": "#D8DEE9FF"
2389
- }
2390
- }
2391
- }, {
2392
- "content": "for",
2393
- "props": {
2394
- "style": {
2395
- "color": "#81A1C1"
2396
- }
2397
- }
2398
- }, {
2399
- "content": " ",
2400
- "props": {
2401
- "style": {
2402
- "color": "#D8DEE9FF"
2403
- }
2404
- }
2405
- }, {
2406
- "content": "command",
2407
- "props": {
2408
- "style": {
2409
- "color": "#88C0D0"
2410
- }
2411
- }
2412
- }]
2413
- }],
2414
- "lang": "bash"
2415
- },
2416
- "annotations": []
2417
- }]
2418
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2419
- children: ["Run ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2420
- href: "https://eslint.org/",
2421
- children: "ESLint"
2422
- }), " to check the syntax of the code. Usually, we only need to check the part of the code that was changed in this commit with ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2423
- href: "https://github.com/okonet/lint-staged",
2424
- children: "lint-staged"
2425
- }), " during the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2426
- children: "-git commit"
2427
- }), " phase."]
2428
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
2429
- children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
2430
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2431
- children: "-no-fix"
2432
- }), " argument turns off the ability to automatically fix lint error code."]
2433
- }), "\n"]
2434
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2435
- id: "-modern-change",
2436
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2437
- className: "header-anchor",
2438
- "aria-hidden": "true",
2439
- href: "#-modern-change",
2440
- children: "#"
2441
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2442
- children: "-modern change"
2443
- })]
2444
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2445
- codeConfig: chCodeConfig,
2446
- northPanel: {
2447
- "tabs": [""],
2448
- "active": "",
2449
- "heightRatio": 1
2450
- },
2451
- files: [{
2452
- "name": "",
2453
- "focus": "",
2454
- "code": {
2455
- "lines": [{
2456
- "tokens": [{
2457
- "content": "Usage: modern change ",
2458
- "props": {
2459
- "style": {
2460
- "color": "#D8DEE9FF"
2461
- }
2462
- }
2463
- }, {
2464
- "content": "[",
2465
- "props": {
2466
- "style": {
2467
- "color": "#ECEFF4"
2468
- }
2469
- }
2470
- }, {
2471
- "content": "options",
2472
- "props": {
2473
- "style": {
2474
- "color": "#D8DEE9FF"
2475
- }
2476
- }
2477
- }, {
2478
- "content": "]",
2479
- "props": {
2480
- "style": {
2481
- "color": "#ECEFF4"
2482
- }
2483
- }
2484
- }]
2485
- }, {
2486
- "tokens": []
2487
- }, {
2488
- "tokens": [{
2489
- "content": "Create a changeset",
2490
- "props": {
2491
- "style": {
2492
- "color": "#D8DEE9FF"
2493
- }
2494
- }
2495
- }]
2496
- }, {
2497
- "tokens": []
2498
- }, {
2499
- "tokens": [{
2500
- "content": "Options:",
2501
- "props": {
2502
- "style": {
2503
- "color": "#D8DEE9FF"
2504
- }
2505
- }
2506
- }]
2507
- }, {
2508
- "tokens": [{
2509
- "content": " --empty Create an empty changeset ",
2510
- "props": {
2511
- "style": {
2512
- "color": "#D8DEE9FF"
2513
- }
2514
- }
2515
- }, {
2516
- "content": "(",
2517
- "props": {
2518
- "style": {
2519
- "color": "#ECEFF4"
2520
- }
2521
- }
2522
- }, {
2523
- "content": "default: false",
2524
- "props": {
2525
- "style": {
2526
- "color": "#D8DEE9FF"
2527
- }
2528
- }
2529
- }, {
2530
- "content": ")",
2531
- "props": {
2532
- "style": {
2533
- "color": "#ECEFF4"
2534
- }
2535
- }
2536
- }]
2537
- }, {
2538
- "tokens": [{
2539
- "content": " --open Open the created changeset ",
2540
- "props": {
2541
- "style": {
2542
- "color": "#D8DEE9FF"
2543
- }
2544
- }
2545
- }, {
2546
- "content": "in",
2547
- "props": {
2548
- "style": {
2549
- "color": "#81A1C1"
2550
- }
2551
- }
2552
- }, {
2553
- "content": " the editor ",
2554
- "props": {
2555
- "style": {
2556
- "color": "#D8DEE9FF"
2557
- }
2558
- }
2559
- }, {
2560
- "content": "(",
2561
- "props": {
2562
- "style": {
2563
- "color": "#ECEFF4"
2564
- }
2565
- }
2566
- }, {
2567
- "content": "default: false",
2568
- "props": {
2569
- "style": {
2570
- "color": "#D8DEE9FF"
2571
- }
2572
- }
2573
- }, {
2574
- "content": ")",
2575
- "props": {
2576
- "style": {
2577
- "color": "#ECEFF4"
2578
- }
2579
- }
2580
- }]
2581
- }, {
2582
- "tokens": [{
2583
- "content": " -h, --help display ",
2584
- "props": {
2585
- "style": {
2586
- "color": "#D8DEE9FF"
2587
- }
2588
- }
2589
- }, {
2590
- "content": "help",
2591
- "props": {
2592
- "style": {
2593
- "color": "#88C0D0"
2594
- }
2595
- }
2596
- }, {
2597
- "content": " ",
2598
- "props": {
2599
- "style": {
2600
- "color": "#D8DEE9FF"
2601
- }
2602
- }
2603
- }, {
2604
- "content": "for",
2605
- "props": {
2606
- "style": {
2607
- "color": "#81A1C1"
2608
- }
2609
- }
2610
- }, {
2611
- "content": " ",
2612
- "props": {
2613
- "style": {
2614
- "color": "#D8DEE9FF"
2615
- }
2616
- }
2617
- }, {
2618
- "content": "command",
2619
- "props": {
2620
- "style": {
2621
- "color": "#88C0D0"
2622
- }
2623
- }
2624
- }]
2625
- }],
2626
- "lang": "bash"
2627
- },
2628
- "annotations": []
2629
- }]
2630
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2631
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2632
- children: "modern change"
2633
- }), " command is used to generate the required Markdown file for ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2634
- href: "https://github.com/changesets/changesets",
2635
- children: "changesets"
2636
- }), "."]
2637
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2638
- id: "modern-pre",
2639
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2640
- className: "header-anchor",
2641
- "aria-hidden": "true",
2642
- href: "#modern-pre",
2643
- children: "#"
2644
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2645
- children: "modern pre"
2646
- })]
2647
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2648
- codeConfig: chCodeConfig,
2649
- northPanel: {
2650
- "tabs": [""],
2651
- "active": "",
2652
- "heightRatio": 1
2653
- },
2654
- files: [{
2655
- "name": "",
2656
- "focus": "",
2657
- "code": {
2658
- "lines": [{
2659
- "tokens": [{
2660
- "content": "Usage: modern pre ",
2661
- "props": {
2662
- "style": {
2663
- "color": "#D8DEE9FF"
2664
- }
2665
- }
2666
- }, {
2667
- "content": "[",
2668
- "props": {
2669
- "style": {
2670
- "color": "#ECEFF4"
2671
- }
2672
- }
2673
- }, {
2674
- "content": "options",
2675
- "props": {
2676
- "style": {
2677
- "color": "#D8DEE9FF"
2678
- }
2679
- }
2680
- }, {
2681
- "content": "]",
2682
- "props": {
2683
- "style": {
2684
- "color": "#ECEFF4"
2685
- }
2686
- }
2687
- }, {
2688
- "content": " ",
2689
- "props": {
2690
- "style": {
2691
- "color": "#D8DEE9FF"
2692
- }
2693
- }
2694
- }, {
2695
- "content": "<",
2696
- "props": {
2697
- "style": {
2698
- "color": "#81A1C1"
2699
- }
2700
- }
2701
- }, {
2702
- "content": "enter",
2703
- "props": {
2704
- "style": {
2705
- "color": "#D8DEE9FF"
2706
- }
2707
- }
2708
- }, {
2709
- "content": "|",
2710
- "props": {
2711
- "style": {
2712
- "color": "#81A1C1"
2713
- }
2714
- }
2715
- }, {
2716
- "content": "exit",
2717
- "props": {
2718
- "style": {
2719
- "color": "#D8DEE9FF"
2720
- }
2721
- }
2722
- }, {
2723
- "content": ">",
2724
- "props": {
2725
- "style": {
2726
- "color": "#81A1C1"
2727
- }
2728
- }
2729
- }, {
2730
- "content": " ",
2731
- "props": {
2732
- "style": {
2733
- "color": "#D8DEE9FF"
2734
- }
2735
- }
2736
- }, {
2737
- "content": "[",
2738
- "props": {
2739
- "style": {
2740
- "color": "#ECEFF4"
2741
- }
2742
- }
2743
- }, {
2744
- "content": "tag",
2745
- "props": {
2746
- "style": {
2747
- "color": "#D8DEE9FF"
2748
- }
2749
- }
2750
- }, {
2751
- "content": "]",
2752
- "props": {
2753
- "style": {
2754
- "color": "#ECEFF4"
2755
- }
2756
- }
2757
- }]
2758
- }, {
2759
- "tokens": []
2760
- }, {
2761
- "tokens": [{
2762
- "content": "Entering and exiting pre-publishing mode",
2763
- "props": {
2764
- "style": {
2765
- "color": "#D8DEE9FF"
2766
- }
2767
- }
2768
- }]
2769
- }, {
2770
- "tokens": []
2771
- }, {
2772
- "tokens": [{
2773
- "content": "Options:",
2774
- "props": {
2775
- "style": {
2776
- "color": "#D8DEE9FF"
2777
- }
2778
- }
2779
- }]
2780
- }, {
2781
- "tokens": [{
2782
- "content": " -h, --help display ",
2783
- "props": {
2784
- "style": {
2785
- "color": "#D8DEE9FF"
2786
- }
2787
- }
2788
- }, {
2789
- "content": "help",
2790
- "props": {
2791
- "style": {
2792
- "color": "#88C0D0"
2793
- }
2794
- }
2795
- }, {
2796
- "content": " ",
2797
- "props": {
2798
- "style": {
2799
- "color": "#D8DEE9FF"
2800
- }
2801
- }
2802
- }, {
2803
- "content": "for",
2804
- "props": {
2805
- "style": {
2806
- "color": "#81A1C1"
2807
- }
2808
- }
2809
- }, {
2810
- "content": " ",
2811
- "props": {
2812
- "style": {
2813
- "color": "#D8DEE9FF"
2814
- }
2815
- }
2816
- }, {
2817
- "content": "command",
2818
- "props": {
2819
- "style": {
2820
- "color": "#88C0D0"
2821
- }
2822
- }
2823
- }]
2824
- }],
2825
- "lang": "bash"
2826
- },
2827
- "annotations": []
2828
- }]
2829
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2830
- children: ["You can use the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2831
- children: "modern pre"
2832
- }), " command to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2833
- href: "https://github.com/atlassian/changesets/blob/main/docs/prereleases.md",
2834
- children: "pre-release"
2835
- }), " a version before the official release."]
2836
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
2837
- id: "modern-bump",
2838
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2839
- className: "header-anchor",
2840
- "aria-hidden": "true",
2841
- href: "#modern-bump",
2842
- children: "#"
2843
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2844
- children: "modern bump"
2845
- })]
2846
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2847
- codeConfig: chCodeConfig,
2848
- northPanel: {
2849
- "tabs": [""],
2850
- "active": "",
2851
- "heightRatio": 1
2852
- },
2853
- files: [{
2854
- "name": "",
2855
- "focus": "",
2856
- "code": {
2857
- "lines": [{
2858
- "tokens": [{
2859
- "content": "Usage: modern bump ",
2860
- "props": {
2861
- "style": {
2862
- "color": "#D8DEE9FF"
2863
- }
2864
- }
2865
- }, {
2866
- "content": "[",
2867
- "props": {
2868
- "style": {
2869
- "color": "#ECEFF4"
2870
- }
2871
- }
2872
- }, {
2873
- "content": "options",
2874
- "props": {
2875
- "style": {
2876
- "color": "#D8DEE9FF"
2877
- }
2878
- }
2879
- }, {
2880
- "content": "]",
2881
- "props": {
2882
- "style": {
2883
- "color": "#ECEFF4"
2884
- }
2885
- }
2886
- }]
2887
- }, {
2888
- "tokens": []
2889
- }, {
2890
- "tokens": [{
2891
- "content": "Use changesets to automatically update releases and changelogs",
2892
- "props": {
2893
- "style": {
2894
- "color": "#D8DEE9FF"
2895
- }
2896
- }
2897
- }]
2898
- }, {
2899
- "tokens": []
2900
- }, {
2901
- "tokens": [{
2902
- "content": "Options:",
2903
- "props": {
2904
- "style": {
2905
- "color": "#D8DEE9FF"
2906
- }
2907
- }
2908
- }]
2909
- }, {
2910
- "tokens": [{
2911
- "content": " --canary Create a pre-release ",
2912
- "props": {
2913
- "style": {
2914
- "color": "#D8DEE9FF"
2915
- }
2916
- }
2917
- }, {
2918
- "content": "for",
2919
- "props": {
2920
- "style": {
2921
- "color": "#81A1C1"
2922
- }
2923
- }
2924
- }, {
2925
- "content": " testing ",
2926
- "props": {
2927
- "style": {
2928
- "color": "#D8DEE9FF"
2929
- }
2930
- }
2931
- }, {
2932
- "content": "(",
2933
- "props": {
2934
- "style": {
2935
- "color": "#ECEFF4"
2936
- }
2937
- }
2938
- }, {
2939
- "content": "default: false",
2940
- "props": {
2941
- "style": {
2942
- "color": "#D8DEE9FF"
2943
- }
2944
- }
2945
- }, {
2946
- "content": ")",
2947
- "props": {
2948
- "style": {
2949
- "color": "#ECEFF4"
2950
- }
2951
- }
2952
- }]
2953
- }, {
2954
- "tokens": [{
2955
- "content": " --preid ",
2956
- "props": {
2957
- "style": {
2958
- "color": "#D8DEE9FF"
2959
- }
2960
- }
2961
- }, {
2962
- "content": "<",
2963
- "props": {
2964
- "style": {
2965
- "color": "#81A1C1"
2966
- }
2967
- }
2968
- }, {
2969
- "content": "tag",
2970
- "props": {
2971
- "style": {
2972
- "color": "#D8DEE9FF"
2973
- }
2974
- }
2975
- }, {
2976
- "content": ">",
2977
- "props": {
2978
- "style": {
2979
- "color": "#81A1C1"
2980
- }
2981
- }
2982
- }, {
2983
- "content": " Specify an identifier when versioning a pre-release ",
2984
- "props": {
2985
- "style": {
2986
- "color": "#D8DEE9FF"
2987
- }
2988
- }
2989
- }, {
2990
- "content": "(",
2991
- "props": {
2992
- "style": {
2993
- "color": "#ECEFF4"
2994
- }
2995
- }
2996
- }, {
2997
- "content": "default: ",
2998
- "props": {
2999
- "style": {
3000
- "color": "#D8DEE9FF"
3001
- }
3002
- }
3003
- }, {
3004
- "content": "\"",
3005
- "props": {
3006
- "style": {
3007
- "color": "#ECEFF4"
3008
- }
3009
- }
3010
- }, {
3011
- "content": "next",
3012
- "props": {
3013
- "style": {
3014
- "color": "#A3BE8C"
3015
- }
3016
- }
3017
- }, {
3018
- "content": "\"",
3019
- "props": {
3020
- "style": {
3021
- "color": "#ECEFF4"
3022
- }
3023
- }
3024
- }, {
3025
- "content": ")",
3026
- "props": {
3027
- "style": {
3028
- "color": "#ECEFF4"
3029
- }
3030
- }
3031
- }]
3032
- }, {
3033
- "tokens": [{
3034
- "content": " --snapshot Create a special version ",
3035
- "props": {
3036
- "style": {
3037
- "color": "#D8DEE9FF"
3038
- }
3039
- }
3040
- }, {
3041
- "content": "for",
3042
- "props": {
3043
- "style": {
3044
- "color": "#81A1C1"
3045
- }
3046
- }
3047
- }, {
3048
- "content": " testing ",
3049
- "props": {
3050
- "style": {
3051
- "color": "#D8DEE9FF"
3052
- }
3053
- }
3054
- }, {
3055
- "content": "(",
3056
- "props": {
3057
- "style": {
3058
- "color": "#ECEFF4"
3059
- }
3060
- }
3061
- }, {
3062
- "content": "default: false",
3063
- "props": {
3064
- "style": {
3065
- "color": "#D8DEE9FF"
3066
- }
3067
- }
3068
- }, {
3069
- "content": ")",
3070
- "props": {
3071
- "style": {
3072
- "color": "#ECEFF4"
3073
- }
3074
- }
3075
- }]
3076
- }, {
3077
- "tokens": [{
3078
- "content": " -h, --help display ",
3079
- "props": {
3080
- "style": {
3081
- "color": "#D8DEE9FF"
3082
- }
3083
- }
3084
- }, {
3085
- "content": "help",
3086
- "props": {
3087
- "style": {
3088
- "color": "#88C0D0"
3089
- }
3090
- }
3091
- }, {
3092
- "content": " ",
3093
- "props": {
3094
- "style": {
3095
- "color": "#D8DEE9FF"
3096
- }
3097
- }
3098
- }, {
3099
- "content": "for",
3100
- "props": {
3101
- "style": {
3102
- "color": "#81A1C1"
3103
- }
3104
- }
3105
- }, {
3106
- "content": " ",
3107
- "props": {
3108
- "style": {
3109
- "color": "#D8DEE9FF"
3110
- }
3111
- }
3112
- }, {
3113
- "content": "command",
3114
- "props": {
3115
- "style": {
3116
- "color": "#88C0D0"
3117
- }
3118
- }
3119
- }]
3120
- }],
3121
- "lang": "bash"
3122
- },
3123
- "annotations": []
3124
- }]
3125
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3126
- children: ["Modify the version number in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3127
- children: "package.json"
3128
- }), " according to the Markdown file of the changelog generated by ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3129
- href: "https://github.com/changesets/changesets",
3130
- children: "changesets"
3131
- }), ", and generate the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3132
- children: "CHANGELOG.md"
3133
- }), " file."]
3134
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
3135
- id: "modern-release",
3136
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3137
- className: "header-anchor",
3138
- "aria-hidden": "true",
3139
- href: "#modern-release",
3140
- children: "#"
3141
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3142
- children: "modern release"
3143
- })]
3144
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3145
- codeConfig: chCodeConfig,
3146
- northPanel: {
3147
- "tabs": [""],
3148
- "active": "",
3149
- "heightRatio": 1
3150
- },
3151
- files: [{
3152
- "name": "",
3153
- "focus": "",
3154
- "code": {
3155
- "lines": [{
3156
- "tokens": [{
3157
- "content": "Usage: modern release ",
3158
- "props": {
3159
- "style": {
3160
- "color": "#D8DEE9FF"
3161
- }
3162
- }
3163
- }, {
3164
- "content": "[",
3165
- "props": {
3166
- "style": {
3167
- "color": "#ECEFF4"
3168
- }
3169
- }
3170
- }, {
3171
- "content": "options",
3172
- "props": {
3173
- "style": {
3174
- "color": "#D8DEE9FF"
3175
- }
3176
- }
3177
- }, {
3178
- "content": "]",
3179
- "props": {
3180
- "style": {
3181
- "color": "#ECEFF4"
3182
- }
3183
- }
3184
- }]
3185
- }, {
3186
- "tokens": []
3187
- }, {
3188
- "tokens": [{
3189
- "content": "Release npm packages",
3190
- "props": {
3191
- "style": {
3192
- "color": "#D8DEE9FF"
3193
- }
3194
- }
3195
- }]
3196
- }, {
3197
- "tokens": []
3198
- }, {
3199
- "tokens": [{
3200
- "content": "Options:",
3201
- "props": {
3202
- "style": {
3203
- "color": "#D8DEE9FF"
3204
- }
3205
- }
3206
- }]
3207
- }, {
3208
- "tokens": [{
3209
- "content": " --tag ",
3210
- "props": {
3211
- "style": {
3212
- "color": "#D8DEE9FF"
3213
- }
3214
- }
3215
- }, {
3216
- "content": "<",
3217
- "props": {
3218
- "style": {
3219
- "color": "#81A1C1"
3220
- }
3221
- }
3222
- }, {
3223
- "content": "tag",
3224
- "props": {
3225
- "style": {
3226
- "color": "#D8DEE9FF"
3227
- }
3228
- }
3229
- }, {
3230
- "content": ">",
3231
- "props": {
3232
- "style": {
3233
- "color": "#81A1C1"
3234
- }
3235
- }
3236
- }, {
3237
- "content": " Release npm packages with a specific tag ",
3238
- "props": {
3239
- "style": {
3240
- "color": "#D8DEE9FF"
3241
- }
3242
- }
3243
- }, {
3244
- "content": "(",
3245
- "props": {
3246
- "style": {
3247
- "color": "#ECEFF4"
3248
- }
3249
- }
3250
- }, {
3251
- "content": "default: ",
3252
- "props": {
3253
- "style": {
3254
- "color": "#D8DEE9FF"
3255
- }
3256
- }
3257
- }, {
3258
- "content": "\"\"",
3259
- "props": {
3260
- "style": {
3261
- "color": "#ECEFF4"
3262
- }
3263
- }
3264
- }, {
3265
- "content": ")",
3266
- "props": {
3267
- "style": {
3268
- "color": "#ECEFF4"
3269
- }
3270
- }
3271
- }]
3272
- }, {
3273
- "tokens": [{
3274
- "content": " --ignore-scripts release ignores the scripts ",
3275
- "props": {
3276
- "style": {
3277
- "color": "#D8DEE9FF"
3278
- }
3279
- }
3280
- }, {
3281
- "content": "command",
3282
- "props": {
3283
- "style": {
3284
- "color": "#88C0D0"
3285
- }
3286
- }
3287
- }, {
3288
- "content": " ",
3289
- "props": {
3290
- "style": {
3291
- "color": "#D8DEE9FF"
3292
- }
3293
- }
3294
- }, {
3295
- "content": "in",
3296
- "props": {
3297
- "style": {
3298
- "color": "#81A1C1"
3299
- }
3300
- }
3301
- }, {
3302
- "content": " package.json, only supported ",
3303
- "props": {
3304
- "style": {
3305
- "color": "#D8DEE9FF"
3306
- }
3307
- }
3308
- }, {
3309
- "content": "in",
3310
- "props": {
3311
- "style": {
3312
- "color": "#81A1C1"
3313
- }
3314
- }
3315
- }, {
3316
- "content": " pnpm monorepo",
3317
- "props": {
3318
- "style": {
3319
- "color": "#D8DEE9FF"
3320
- }
3321
- }
3322
- }]
3323
- }, {
3324
- "tokens": [{
3325
- "content": " ",
3326
- "props": {
3327
- "style": {
3328
- "color": "#D8DEE9FF"
3329
- }
3330
- }
3331
- }, {
3332
- "content": "(",
3333
- "props": {
3334
- "style": {
3335
- "color": "#ECEFF4"
3336
- }
3337
- }
3338
- }, {
3339
- "content": "default: ",
3340
- "props": {
3341
- "style": {
3342
- "color": "#D8DEE9FF"
3343
- }
3344
- }
3345
- }, {
3346
- "content": "\"\"",
3347
- "props": {
3348
- "style": {
3349
- "color": "#ECEFF4"
3350
- }
3351
- }
3352
- }, {
3353
- "content": ")",
3354
- "props": {
3355
- "style": {
3356
- "color": "#ECEFF4"
3357
- }
3358
- }
3359
- }]
3360
- }, {
3361
- "tokens": [{
3362
- "content": " -h, --help display ",
3363
- "props": {
3364
- "style": {
3365
- "color": "#D8DEE9FF"
3366
- }
3367
- }
3368
- }, {
3369
- "content": "help",
3370
- "props": {
3371
- "style": {
3372
- "color": "#88C0D0"
3373
- }
3374
- }
3375
- }, {
3376
- "content": " ",
3377
- "props": {
3378
- "style": {
3379
- "color": "#D8DEE9FF"
3380
- }
3381
- }
3382
- }, {
3383
- "content": "for",
3384
- "props": {
3385
- "style": {
3386
- "color": "#81A1C1"
3387
- }
3388
- }
3389
- }, {
3390
- "content": " ",
3391
- "props": {
3392
- "style": {
3393
- "color": "#D8DEE9FF"
3394
- }
3395
- }
3396
- }, {
3397
- "content": "command",
3398
- "props": {
3399
- "style": {
3400
- "color": "#88C0D0"
3401
- }
3402
- }
3403
- }]
3404
- }],
3405
- "lang": "bash"
3406
- },
3407
- "annotations": []
3408
- }]
3409
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3410
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3411
- children: "-modern release"
3412
- }), " command releases the module to the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3413
- href: "https://www.npmjs.com/",
3414
- children: "npm Registry"
3415
- }), "."]
3416
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
3417
- children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
3418
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3419
- children: "-tag"
3420
- }), " argument specifies the specific ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3421
- href: "https://docs.npmjs.com/adding-dist-tags-to-packages",
3422
- children: "dist tags"
3423
- }), " to be used for the release."]
3424
- }), "\n"]
3425
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
3426
- id: "modern-gen-release-note",
3427
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3428
- className: "header-anchor",
3429
- "aria-hidden": "true",
3430
- href: "#modern-gen-release-note",
3431
- children: "#"
3432
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3433
- children: "modern gen-release-note"
3434
- })]
3435
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3436
- codeConfig: chCodeConfig,
3437
- northPanel: {
3438
- "tabs": [""],
3439
- "active": "",
3440
- "heightRatio": 1
3441
- },
3442
- files: [{
3443
- "name": "",
3444
- "focus": "",
3445
- "code": {
3446
- "lines": [{
3447
- "tokens": [{
3448
- "content": "Usage: modern gen-release-note ",
3449
- "props": {
3450
- "style": {
3451
- "color": "#D8DEE9FF"
3452
- }
3453
- }
3454
- }, {
3455
- "content": "[",
3456
- "props": {
3457
- "style": {
3458
- "color": "#ECEFF4"
3459
- }
3460
- }
3461
- }, {
3462
- "content": "options",
3463
- "props": {
3464
- "style": {
3465
- "color": "#D8DEE9FF"
3466
- }
3467
- }
3468
- }, {
3469
- "content": "]",
3470
- "props": {
3471
- "style": {
3472
- "color": "#ECEFF4"
3473
- }
3474
- }
3475
- }]
3476
- }, {
3477
- "tokens": []
3478
- }, {
3479
- "tokens": [{
3480
- "content": "Generate Release Note based on current repository changeset information",
3481
- "props": {
3482
- "style": {
3483
- "color": "#D8DEE9FF"
3484
- }
3485
- }
3486
- }]
3487
- }, {
3488
- "tokens": []
3489
- }, {
3490
- "tokens": [{
3491
- "content": "Options:",
3492
- "props": {
3493
- "style": {
3494
- "color": "#D8DEE9FF"
3495
- }
3496
- }
3497
- }]
3498
- }, {
3499
- "tokens": [{
3500
- "content": " --repo ",
3501
- "props": {
3502
- "style": {
3503
- "color": "#D8DEE9FF"
3504
- }
3505
- }
3506
- }, {
3507
- "content": "<",
3508
- "props": {
3509
- "style": {
3510
- "color": "#81A1C1"
3511
- }
3512
- }
3513
- }, {
3514
- "content": "repo",
3515
- "props": {
3516
- "style": {
3517
- "color": "#D8DEE9FF"
3518
- }
3519
- }
3520
- }, {
3521
- "content": ">",
3522
- "props": {
3523
- "style": {
3524
- "color": "#81A1C1"
3525
- }
3526
- }
3527
- }, {
3528
- "content": " The name of the repository to generate the Pull Request link, e.g.: modern-js-dev/modern.js",
3529
- "props": {
3530
- "style": {
3531
- "color": "#D8DEE9FF"
3532
- }
3533
- }
3534
- }]
3535
- }, {
3536
- "tokens": [{
3537
- "content": " --custom ",
3538
- "props": {
3539
- "style": {
3540
- "color": "#D8DEE9FF"
3541
- }
3542
- }
3543
- }, {
3544
- "content": "<",
3545
- "props": {
3546
- "style": {
3547
- "color": "#81A1C1"
3548
- }
3549
- }
3550
- }, {
3551
- "content": "cumtom",
3552
- "props": {
3553
- "style": {
3554
- "color": "#D8DEE9FF"
3555
- }
3556
- }
3557
- }, {
3558
- "content": ">",
3559
- "props": {
3560
- "style": {
3561
- "color": "#81A1C1"
3562
- }
3563
- }
3564
- }, {
3565
- "content": " Custom Release Note generation function",
3566
- "props": {
3567
- "style": {
3568
- "color": "#D8DEE9FF"
3569
- }
3570
- }
3571
- }]
3572
- }, {
3573
- "tokens": [{
3574
- "content": " -h, --help display ",
3575
- "props": {
3576
- "style": {
3577
- "color": "#D8DEE9FF"
3578
- }
3579
- }
3580
- }, {
3581
- "content": "help",
3582
- "props": {
3583
- "style": {
3584
- "color": "#88C0D0"
3585
- }
3586
- }
3587
- }, {
3588
- "content": " ",
3589
- "props": {
3590
- "style": {
3591
- "color": "#D8DEE9FF"
3592
- }
3593
- }
3594
- }, {
3595
- "content": "for",
3596
- "props": {
3597
- "style": {
3598
- "color": "#81A1C1"
3599
- }
3600
- }
3601
- }, {
3602
- "content": " ",
3603
- "props": {
3604
- "style": {
3605
- "color": "#D8DEE9FF"
3606
- }
3607
- }
3608
- }, {
3609
- "content": "command",
3610
- "props": {
3611
- "style": {
3612
- "color": "#88C0D0"
3613
- }
3614
- }
3615
- }]
3616
- }],
3617
- "lang": "bash"
3618
- },
3619
- "annotations": []
3620
- }]
3621
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3622
- children: ["Automatically generate ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3623
- href: "https://en.wikipedia.org/wiki/Release_notes",
3624
- children: "Release Note"
3625
- }), " based on the changeset information of the current repository."]
3626
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.div, {
3627
- className: "modern-directive tip",
3628
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3629
- className: "modern-directive-title",
3630
- children: "Note"
3631
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.div, {
3632
- className: "island-directive-content",
3633
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3634
- children: ["needs to be executed before the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3635
- children: "bump"
3636
- }), " command."]
3637
- })
3638
- })]
3639
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
3640
- id: "modern-upgrade",
3641
- children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
3642
- className: "header-anchor",
3643
- "aria-hidden": "true",
3644
- href: "#modern-upgrade",
3645
- children: "#"
3646
- }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3647
- children: "modern upgrade"
3648
- })]
3649
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
3650
- codeConfig: chCodeConfig,
3651
- northPanel: {
3652
- "tabs": [""],
3653
- "active": "",
3654
- "heightRatio": 1
3655
- },
3656
- files: [{
3657
- "name": "",
3658
- "focus": "",
3659
- "code": {
3660
- "lines": [{
3661
- "tokens": [{
3662
- "content": "Usage: modern upgrade ",
3663
- "props": {
3664
- "style": {
3665
- "color": "#D8DEE9FF"
3666
- }
3667
- }
3668
- }, {
3669
- "content": "[",
3670
- "props": {
3671
- "style": {
3672
- "color": "#ECEFF4"
3673
- }
3674
- }
3675
- }, {
3676
- "content": "options",
3677
- "props": {
3678
- "style": {
3679
- "color": "#D8DEE9FF"
3680
- }
3681
- }
3682
- }, {
3683
- "content": "]",
3684
- "props": {
3685
- "style": {
3686
- "color": "#ECEFF4"
3687
- }
3688
- }
3689
- }]
3690
- }, {
3691
- "tokens": []
3692
- }, {
3693
- "tokens": [{
3694
- "content": "Upgrade Modern.js to the latest version",
3695
- "props": {
3696
- "style": {
3697
- "color": "#D8DEE9FF"
3698
- }
3699
- }
3700
- }]
3701
- }, {
3702
- "tokens": []
3703
- }, {
3704
- "tokens": [{
3705
- "content": "Options:",
3706
- "props": {
3707
- "style": {
3708
- "color": "#D8DEE9FF"
3709
- }
3710
- }
3711
- }]
3712
- }, {
3713
- "tokens": [{
3714
- "content": " --registry ",
3715
- "props": {
3716
- "style": {
3717
- "color": "#D8DEE9FF"
3718
- }
3719
- }
3720
- }, {
3721
- "content": "<",
3722
- "props": {
3723
- "style": {
3724
- "color": "#81A1C1"
3725
- }
3726
- }
3727
- }, {
3728
- "content": "registry",
3729
- "props": {
3730
- "style": {
3731
- "color": "#D8DEE9FF"
3732
- }
3733
- }
3734
- }, {
3735
- "content": ">",
3736
- "props": {
3737
- "style": {
3738
- "color": "#81A1C1"
3739
- }
3740
- }
3741
- }, {
3742
- "content": " customize npm registry ",
3743
- "props": {
3744
- "style": {
3745
- "color": "#D8DEE9FF"
3746
- }
3747
- }
3748
- }, {
3749
- "content": "(",
3750
- "props": {
3751
- "style": {
3752
- "color": "#ECEFF4"
3753
- }
3754
- }
3755
- }, {
3756
- "content": "default: ",
3757
- "props": {
3758
- "style": {
3759
- "color": "#D8DEE9FF"
3760
- }
3761
- }
3762
- }, {
3763
- "content": "\"\"",
3764
- "props": {
3765
- "style": {
3766
- "color": "#ECEFF4"
3767
- }
3768
- }
3769
- }, {
3770
- "content": ")",
3771
- "props": {
3772
- "style": {
3773
- "color": "#ECEFF4"
3774
- }
3775
- }
3776
- }]
3777
- }, {
3778
- "tokens": [{
3779
- "content": " -d,--debug Enable Debug mode to print debug log messages ",
3780
- "props": {
3781
- "style": {
3782
- "color": "#D8DEE9FF"
3783
- }
3784
- }
3785
- }, {
3786
- "content": "(",
3787
- "props": {
3788
- "style": {
3789
- "color": "#ECEFF4"
3790
- }
3791
- }
3792
- }, {
3793
- "content": "default: false",
3794
- "props": {
3795
- "style": {
3796
- "color": "#D8DEE9FF"
3797
- }
3798
- }
3799
- }, {
3800
- "content": ")",
3801
- "props": {
3802
- "style": {
3803
- "color": "#ECEFF4"
3804
- }
3805
- }
3806
- }]
3807
- }, {
3808
- "tokens": [{
3809
- "content": " --cwd ",
3810
- "props": {
3811
- "style": {
3812
- "color": "#D8DEE9FF"
3813
- }
3814
- }
3815
- }, {
3816
- "content": "<",
3817
- "props": {
3818
- "style": {
3819
- "color": "#81A1C1"
3820
- }
3821
- }
3822
- }, {
3823
- "content": "cwd",
3824
- "props": {
3825
- "style": {
3826
- "color": "#D8DEE9FF"
3827
- }
3828
- }
3829
- }, {
3830
- "content": ">",
3831
- "props": {
3832
- "style": {
3833
- "color": "#81A1C1"
3834
- }
3835
- }
3836
- }, {
3837
- "content": " project path ",
3838
- "props": {
3839
- "style": {
3840
- "color": "#D8DEE9FF"
3841
- }
3842
- }
3843
- }, {
3844
- "content": "(",
3845
- "props": {
3846
- "style": {
3847
- "color": "#ECEFF4"
3848
- }
3849
- }
3850
- }, {
3851
- "content": "default: ",
3852
- "props": {
3853
- "style": {
3854
- "color": "#D8DEE9FF"
3855
- }
3856
- }
3857
- }, {
3858
- "content": "\"\"",
3859
- "props": {
3860
- "style": {
3861
- "color": "#ECEFF4"
3862
- }
3863
- }
3864
- }, {
3865
- "content": ")",
3866
- "props": {
3867
- "style": {
3868
- "color": "#ECEFF4"
3869
- }
3870
- }
3871
- }]
3872
- }, {
3873
- "tokens": [{
3874
- "content": " -h, --help display ",
3875
- "props": {
3876
- "style": {
3877
- "color": "#D8DEE9FF"
3878
- }
3879
- }
3880
- }, {
3881
- "content": "help",
3882
- "props": {
3883
- "style": {
3884
- "color": "#88C0D0"
3885
- }
3886
- }
3887
- }, {
3888
- "content": " ",
3889
- "props": {
3890
- "style": {
3891
- "color": "#D8DEE9FF"
3892
- }
3893
- }
3894
- }, {
3895
- "content": "for",
3896
- "props": {
3897
- "style": {
3898
- "color": "#81A1C1"
3899
- }
3900
- }
3901
- }, {
3902
- "content": " ",
3903
- "props": {
3904
- "style": {
3905
- "color": "#D8DEE9FF"
3906
- }
3907
- }
3908
- }, {
3909
- "content": "command",
3910
- "props": {
3911
- "style": {
3912
- "color": "#88C0D0"
3913
- }
3914
- }
3915
- }]
3916
- }],
3917
- "lang": "bash"
3918
- },
3919
- "annotations": []
3920
- }]
3921
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3922
- children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3923
- children: "modern upgrade"
3924
- }), " command is used to upgrade the project Modern.js related dependencies to the latest version."]
3925
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3926
- children: ["Executing the command ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3927
- children: "npx modern upgrade"
3928
- }), " in the project root directory will update the Modern.js dependencies in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3929
- children: "package.json"
3930
- }), " of the currently executing project to the latest version by default."]
3931
- }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3932
- children: ["command is provided in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3933
- children: "@modern-js/module-tools"
3934
- }), " version ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
3935
- children: ">= 1.17.0"
3936
- }), ", previous versions can be upgraded using ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3937
- children: "npx @modern-js/upgrade"
3938
- }), "."]
3939
- })]
3940
- });
3941
- }
3942
- function MDXContent() {
3943
- var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3944
- var _ref = props.components || {},
3945
- MDXLayout = _ref.wrapper;
3946
- return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
3947
- children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
3948
- })) : _createMdxContent(props);
3949
- }
3950
- _c = MDXContent;
3951
- /* harmony default export */ __webpack_exports__["default"] = (MDXContent);
3952
- function _missingMdxReference(id, component, place) {
3953
- throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/modern.js/website/module-tools/docs/en/guide/basic/command-preview.md`" : ""));
3954
- }
3955
- var _c;
3956
- __webpack_require__.$Refresh$.register(_c, "MDXContent");
3957
-
3958
- /***/ })
3959
-
3960
- }]);
3961
- //# sourceMappingURL=en_guide_basic_command-preview.js.map