@modern-js/module-tools-docs 2.0.0-beta.4 → 2.0.2

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 (342) hide show
  1. package/.eslintrc.js +13 -0
  2. package/doc_build/html/main/index.html +16 -0
  3. package/doc_build/route.json +10 -0
  4. package/doc_build/static/css/main.css +3370 -0
  5. package/doc_build/static/css/main.css.map +1 -0
  6. 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 +85 -0
  7. 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 +1 -0
  8. package/doc_build/static/js/async/api_.js +56 -0
  9. package/doc_build/static/js/async/api_.js.map +1 -0
  10. package/doc_build/static/js/async/api_config_build-config.js +11309 -0
  11. package/doc_build/static/js/async/api_config_build-config.js.map +1 -0
  12. package/doc_build/static/js/async/api_config_build-preset.js +7849 -0
  13. package/doc_build/static/js/async/api_config_build-preset.js.map +1 -0
  14. package/doc_build/static/js/async/api_config_design-system.js +48708 -0
  15. package/doc_build/static/js/async/api_config_design-system.js.map +1 -0
  16. package/doc_build/static/js/async/api_config_plugins.js +1492 -0
  17. package/doc_build/static/js/async/api_config_plugins.js.map +1 -0
  18. package/doc_build/static/js/async/api_config_testing.js +2130 -0
  19. package/doc_build/static/js/async/api_config_testing.js.map +1 -0
  20. package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js +14394 -0
  21. package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js.map +1 -0
  22. package/doc_build/static/js/async/en_.js +85 -0
  23. package/doc_build/static/js/async/en_.js.map +1 -0
  24. package/doc_build/static/js/async/en_api_.js +55 -0
  25. package/doc_build/static/js/async/en_api_.js.map +1 -0
  26. package/doc_build/static/js/async/en_api_config_build-config.js +8363 -0
  27. package/doc_build/static/js/async/en_api_config_build-config.js.map +1 -0
  28. package/doc_build/static/js/async/en_api_config_build-preset.js +7845 -0
  29. package/doc_build/static/js/async/en_api_config_build-preset.js.map +1 -0
  30. package/doc_build/static/js/async/en_api_config_design-system.js +16345 -0
  31. package/doc_build/static/js/async/en_api_config_design-system.js.map +1 -0
  32. package/doc_build/static/js/async/en_api_config_plugins.js +1492 -0
  33. package/doc_build/static/js/async/en_api_config_plugins.js.map +1 -0
  34. package/doc_build/static/js/async/en_api_config_testing.js +2137 -0
  35. package/doc_build/static/js/async/en_api_config_testing.js.map +1 -0
  36. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +14362 -0
  37. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +1 -0
  38. package/doc_build/static/js/async/en_guide_advance_asset.js +3997 -0
  39. package/doc_build/static/js/async/en_guide_advance_asset.js.map +1 -0
  40. package/doc_build/static/js/async/en_guide_advance_build-umd.js +9861 -0
  41. package/doc_build/static/js/async/en_guide_advance_build-umd.js.map +1 -0
  42. package/doc_build/static/js/async/en_guide_advance_copy.js +6539 -0
  43. package/doc_build/static/js/async/en_guide_advance_copy.js.map +1 -0
  44. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +3810 -0
  45. package/doc_build/static/js/async/en_guide_advance_external-dependency.js.map +1 -0
  46. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +5046 -0
  47. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +1 -0
  48. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +150 -0
  49. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +1 -0
  50. package/doc_build/static/js/async/en_guide_advance_theme-config.js +2484 -0
  51. package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +1 -0
  52. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +3671 -0
  53. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +1 -0
  54. package/doc_build/static/js/async/en_guide_basic_command-preview.js +3961 -0
  55. package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +1 -0
  56. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +2970 -0
  57. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +1 -0
  58. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +2182 -0
  59. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +1 -0
  60. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +3892 -0
  61. package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +1 -0
  62. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +168 -0
  63. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +1 -0
  64. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +4762 -0
  65. package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +1 -0
  66. package/doc_build/static/js/async/en_guide_best-practices_components.js +21388 -0
  67. package/doc_build/static/js/async/en_guide_best-practices_components.js.map +1 -0
  68. package/doc_build/static/js/async/en_guide_intro_getting-started.js +1906 -0
  69. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -0
  70. package/doc_build/static/js/async/en_guide_intro_welcome.js +148 -0
  71. package/doc_build/static/js/async/en_guide_intro_welcome.js.map +1 -0
  72. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +92 -0
  73. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +1 -0
  74. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +2560 -0
  75. package/doc_build/static/js/async/en_plugins_guide_getting-started.js.map +1 -0
  76. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +4177 -0
  77. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js.map +1 -0
  78. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +3819 -0
  79. package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +1 -0
  80. package/doc_build/static/js/async/en_plugins_official-list_overview.js +70 -0
  81. package/doc_build/static/js/async/en_plugins_official-list_overview.js.map +1 -0
  82. package/doc_build/static/js/async/guide_advance_asset.js +3997 -0
  83. package/doc_build/static/js/async/guide_advance_asset.js.map +1 -0
  84. package/doc_build/static/js/async/guide_advance_build-umd.js +9863 -0
  85. package/doc_build/static/js/async/guide_advance_build-umd.js.map +1 -0
  86. package/doc_build/static/js/async/guide_advance_copy.js +6539 -0
  87. package/doc_build/static/js/async/guide_advance_copy.js.map +1 -0
  88. package/doc_build/static/js/async/guide_advance_external-dependency.js +3812 -0
  89. package/doc_build/static/js/async/guide_advance_external-dependency.js.map +1 -0
  90. package/doc_build/static/js/async/guide_advance_in-depth-about-build.js +5046 -0
  91. package/doc_build/static/js/async/guide_advance_in-depth-about-build.js.map +1 -0
  92. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js +152 -0
  93. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js.map +1 -0
  94. package/doc_build/static/js/async/guide_advance_theme-config.js +2475 -0
  95. package/doc_build/static/js/async/guide_advance_theme-config.js.map +1 -0
  96. package/doc_build/static/js/async/guide_basic_before-getting-started.js +3662 -0
  97. package/doc_build/static/js/async/guide_basic_before-getting-started.js.map +1 -0
  98. package/doc_build/static/js/async/guide_basic_command-preview.js +3793 -0
  99. package/doc_build/static/js/async/guide_basic_command-preview.js.map +1 -0
  100. package/doc_build/static/js/async/guide_basic_modify-output-product.js +2949 -0
  101. package/doc_build/static/js/async/guide_basic_modify-output-product.js.map +1 -0
  102. package/doc_build/static/js/async/guide_basic_publish-your-project.js +2243 -0
  103. package/doc_build/static/js/async/guide_basic_publish-your-project.js.map +1 -0
  104. package/doc_build/static/js/async/guide_basic_test-your-project.js +3892 -0
  105. package/doc_build/static/js/async/guide_basic_test-your-project.js.map +1 -0
  106. package/doc_build/static/js/async/guide_basic_use-micro-generator.js +172 -0
  107. package/doc_build/static/js/async/guide_basic_use-micro-generator.js.map +1 -0
  108. package/doc_build/static/js/async/guide_basic_using-storybook.js +4762 -0
  109. package/doc_build/static/js/async/guide_basic_using-storybook.js.map +1 -0
  110. package/doc_build/static/js/async/guide_best-practices_components.js +21088 -0
  111. package/doc_build/static/js/async/guide_best-practices_components.js.map +1 -0
  112. package/doc_build/static/js/async/guide_intro_getting-started.js +1782 -0
  113. package/doc_build/static/js/async/guide_intro_getting-started.js.map +1 -0
  114. package/doc_build/static/js/async/guide_intro_welcome.js +148 -0
  115. package/doc_build/static/js/async/guide_intro_welcome.js.map +1 -0
  116. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js +92 -0
  117. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js.map +1 -0
  118. package/doc_build/static/js/async/index.js +85 -0
  119. package/doc_build/static/js/async/index.js.map +1 -0
  120. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +447 -0
  121. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +1 -0
  122. package/doc_build/static/js/async/plugins_guide_getting-started.js +2608 -0
  123. package/doc_build/static/js/async/plugins_guide_getting-started.js.map +1 -0
  124. package/doc_build/static/js/async/plugins_guide_plugin-object.js +4173 -0
  125. package/doc_build/static/js/async/plugins_guide_plugin-object.js.map +1 -0
  126. package/doc_build/static/js/async/plugins_guide_setup-function.js +3819 -0
  127. package/doc_build/static/js/async/plugins_guide_setup-function.js.map +1 -0
  128. package/doc_build/static/js/async/plugins_official-list_overview.js +70 -0
  129. package/doc_build/static/js/async/plugins_official-list_overview.js.map +1 -0
  130. 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 +6656 -0
  131. 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 +1 -0
  132. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js +54 -0
  133. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js.map +1 -0
  134. package/doc_build/static/js/builder-runtime.js +1375 -0
  135. package/doc_build/static/js/builder-runtime.js.map +1 -0
  136. package/doc_build/static/js/lib-lodash.js +4907 -0
  137. package/doc_build/static/js/lib-lodash.js.map +1 -0
  138. package/doc_build/static/js/lib-polyfill.js +24769 -0
  139. package/doc_build/static/js/lib-polyfill.js.map +1 -0
  140. package/doc_build/static/js/lib-react.js +39510 -0
  141. package/doc_build/static/js/lib-react.js.map +1 -0
  142. package/doc_build/static/js/main.js +9237 -0
  143. package/doc_build/static/js/main.js.map +1 -0
  144. 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 +8532 -0
  145. 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 +1 -0
  146. package/docs/en/api/config/_category_.json +4 -0
  147. package/docs/en/api/{build-config.md → config/build-config.md} +201 -108
  148. package/docs/en/api/{build-preset.md → config/build-preset.md} +65 -46
  149. package/docs/{zh/api → en/api/config}/design-system.md +130 -127
  150. package/docs/en/api/config/plugins.md +18 -0
  151. package/docs/en/api/{test.md → config/testing.md} +21 -12
  152. package/docs/en/api/index.md +3 -1
  153. package/docs/en/api/plugin-api/_category_.json +4 -0
  154. package/docs/en/api/plugin-api/plugin-hooks.md +501 -0
  155. package/docs/en/guide/advance/_category_.json +4 -0
  156. package/docs/en/guide/advance/asset.mdx +48 -31
  157. package/docs/en/guide/advance/build-umd.mdx +91 -83
  158. package/docs/en/guide/advance/copy.md +33 -30
  159. package/docs/en/guide/advance/external-dependency.mdx +27 -23
  160. package/docs/en/guide/advance/in-depth-about-build.md +61 -55
  161. package/docs/en/guide/advance/in-depth-about-dev-command.md +7 -4
  162. package/docs/en/guide/advance/theme-config.mdx +80 -0
  163. package/docs/en/guide/basic/_category_.json +4 -0
  164. package/docs/en/guide/basic/before-getting-started.md +29 -24
  165. package/docs/en/guide/basic/command-preview.md +20 -16
  166. package/docs/en/guide/basic/modify-output-product.md +45 -37
  167. package/docs/en/guide/basic/publish-your-project.md +21 -19
  168. package/docs/en/guide/basic/test-your-project.mdx +23 -18
  169. package/docs/en/guide/basic/use-micro-generator.md +15 -8
  170. package/docs/en/guide/basic/using-storybook.mdx +29 -26
  171. package/docs/en/guide/best-practices/_category_.json +4 -0
  172. package/docs/en/guide/best-practices/components.mdx +789 -0
  173. package/docs/en/guide/intro/_category_.json +4 -0
  174. package/docs/en/guide/intro/getting-started.md +11 -6
  175. package/docs/en/guide/intro/welcome.md +4 -0
  176. package/docs/en/guide/intro/why-module-engineering-solution.md +5 -1
  177. package/docs/en/index.md +15 -20
  178. package/docs/en/plugins/guide/_category_.json +4 -0
  179. package/docs/en/plugins/guide/getting-started.mdx +84 -0
  180. package/docs/en/plugins/guide/plugin-object.mdx +85 -0
  181. package/docs/en/plugins/guide/setup-function.mdx +117 -0
  182. package/docs/en/plugins/official-list/_category_.json +4 -0
  183. package/docs/en/plugins/official-list/overview.md +6 -0
  184. package/docs/zh/api/config/_category_.json +4 -0
  185. package/docs/zh/api/config/build-config.md +669 -0
  186. package/docs/zh/api/{build-preset.md → config/build-preset.md} +49 -36
  187. package/docs/zh/api/config/design-system.md +1166 -0
  188. package/docs/zh/api/config/plugins.md +18 -0
  189. package/docs/zh/api/{testing.md → config/testing.md} +18 -13
  190. package/docs/zh/api/index.md +5 -1
  191. package/docs/zh/api/plugin-api/_category_.json +4 -0
  192. package/docs/zh/api/plugin-api/plugin-hooks.md +501 -0
  193. package/docs/zh/guide/advance/_category_.json +4 -0
  194. package/docs/zh/guide/advance/asset.mdx +48 -31
  195. package/docs/zh/guide/advance/build-umd.mdx +91 -74
  196. package/docs/zh/guide/advance/copy.md +33 -30
  197. package/docs/zh/guide/advance/external-dependency.mdx +28 -24
  198. package/docs/zh/guide/advance/in-depth-about-build.md +60 -55
  199. package/docs/zh/guide/advance/in-depth-about-dev-command.md +7 -4
  200. package/docs/zh/guide/advance/theme-config.mdx +78 -0
  201. package/docs/zh/guide/basic/_category_.json +4 -0
  202. package/docs/zh/guide/basic/before-getting-started.md +28 -23
  203. package/docs/zh/guide/basic/command-preview.md +19 -15
  204. package/docs/zh/guide/basic/modify-output-product.md +45 -38
  205. package/docs/zh/guide/basic/publish-your-project.md +22 -17
  206. package/docs/zh/guide/basic/test-your-project.mdx +24 -18
  207. package/docs/zh/guide/basic/use-micro-generator.md +12 -9
  208. package/docs/zh/guide/basic/using-storybook.mdx +29 -24
  209. package/docs/zh/guide/best-practices/_category_.json +4 -0
  210. package/docs/zh/guide/best-practices/components.mdx +793 -0
  211. package/docs/zh/guide/intro/_category_.json +4 -0
  212. package/docs/zh/guide/intro/getting-started.md +12 -6
  213. package/docs/zh/guide/intro/welcome.md +4 -0
  214. package/docs/zh/guide/intro/why-module-engineering-solution.md +5 -1
  215. package/docs/zh/index.md +3 -2
  216. package/docs/zh/plugins/guide/_category_.json +4 -0
  217. package/docs/zh/plugins/guide/getting-started.mdx +84 -0
  218. package/docs/zh/plugins/guide/plugin-object.mdx +85 -0
  219. package/docs/zh/plugins/guide/setup-function.mdx +117 -0
  220. package/docs/zh/plugins/official-list/_category_.json +4 -0
  221. package/docs/zh/plugins/official-list/overview.md +5 -0
  222. package/modern.config.ts +119 -0
  223. package/package.json +8 -6
  224. package/{docs/.island/styles → theme}/index.css +0 -1
  225. package/theme/index.ts +4 -0
  226. package/tsconfig.json +7 -0
  227. package/docs/.island/config.ts +0 -245
  228. package/docs/.island/dist/404.html +0 -41
  229. package/docs/.island/dist/assets/before-getting-started.1b82b538.js +0 -87
  230. package/docs/.island/dist/assets/before-getting-started.582a31cc.js +0 -87
  231. package/docs/.island/dist/assets/build-config.72eb0918.js +0 -804
  232. package/docs/.island/dist/assets/build-config.d8bb1658.js +0 -809
  233. package/docs/.island/dist/assets/build-preset.96805d7d.js +0 -256
  234. package/docs/.island/dist/assets/build-preset.c20dcd40.js +0 -256
  235. package/docs/.island/dist/assets/build-your-ui.7f349247.js +0 -2
  236. package/docs/.island/dist/assets/build-your-ui.a8361604.js +0 -2
  237. package/docs/.island/dist/assets/command-preview.2d45fc82.js +0 -264
  238. package/docs/.island/dist/assets/command-preview.dc51b953.js +0 -264
  239. package/docs/.island/dist/assets/components.esm.03560353.js +0 -9
  240. package/docs/.island/dist/assets/design-system.86694ff5.js +0 -1254
  241. package/docs/.island/dist/assets/design-system.c4745cce.js +0 -639
  242. package/docs/.island/dist/assets/dev.1d326a37.js +0 -37
  243. package/docs/.island/dist/assets/dev.1fd06000.js +0 -37
  244. package/docs/.island/dist/assets/down.f35427d3.svg +0 -1
  245. package/docs/.island/dist/assets/extension.12299fd6.js +0 -2
  246. package/docs/.island/dist/assets/extension.96dc63a4.js +0 -2
  247. package/docs/.island/dist/assets/getting-started.40e9218d.js +0 -117
  248. package/docs/.island/dist/assets/getting-started.b1ed3f10.js +0 -114
  249. package/docs/.island/dist/assets/github.3bf8ccee.svg +0 -1
  250. package/docs/.island/dist/assets/index.2b2347ea.js +0 -33
  251. package/docs/.island/dist/assets/index.6cef6f5f.js +0 -4
  252. package/docs/.island/dist/assets/index.cb118238.js +0 -36
  253. package/docs/.island/dist/assets/index.ccb6ce27.js +0 -4
  254. package/docs/.island/dist/assets/island_inject.11a12ecc.js +0 -1
  255. package/docs/.island/dist/assets/island_inject.b13deaee.js +0 -1
  256. package/docs/.island/dist/assets/loading.8c9bb911.svg +0 -1
  257. package/docs/.island/dist/assets/modify-output-product.7f6bff35.js +0 -100
  258. package/docs/.island/dist/assets/modify-output-product.b91eff1f.js +0 -100
  259. package/docs/.island/dist/assets/moon.6b705924.svg +0 -3
  260. package/docs/.island/dist/assets/plugin.895932d8.js +0 -42
  261. package/docs/.island/dist/assets/plugin.d2fbc531.js +0 -42
  262. package/docs/.island/dist/assets/publish-your-project.21b8309f.js +0 -164
  263. package/docs/.island/dist/assets/publish-your-project.8d398b17.js +0 -166
  264. package/docs/.island/dist/assets/right.89674cd7.svg +0 -1
  265. package/docs/.island/dist/assets/search.0aea6901.svg +0 -1
  266. package/docs/.island/dist/assets/search.1c85d17c.js +0 -3
  267. package/docs/.island/dist/assets/search.484eca11.js +0 -222
  268. package/docs/.island/dist/assets/search.54fca8d0.js +0 -3
  269. package/docs/.island/dist/assets/style.09015a4b.css +0 -1
  270. package/docs/.island/dist/assets/style.2e5f7bc2.css +0 -1970
  271. package/docs/.island/dist/assets/sun.841dac10.svg +0 -11
  272. package/docs/.island/dist/assets/test-your-project.18bd4582.js +0 -190
  273. package/docs/.island/dist/assets/test-your-project.f53bebf7.js +0 -190
  274. package/docs/.island/dist/assets/test.0da1f99f.js +0 -67
  275. package/docs/.island/dist/assets/test.0e81f002.js +0 -66
  276. package/docs/.island/dist/assets/translator.b1077c44.svg +0 -1
  277. package/docs/.island/dist/assets/use-micro-generator.7d9e4016.js +0 -60
  278. package/docs/.island/dist/assets/use-micro-generator.db5520c1.js +0 -60
  279. package/docs/.island/dist/assets/using-storybook.57ea6b77.js +0 -260
  280. package/docs/.island/dist/assets/using-storybook.a2212f2e.js +0 -260
  281. package/docs/.island/dist/assets/welcome.0449a9c8.js +0 -13
  282. package/docs/.island/dist/assets/welcome.a8448931.js +0 -13
  283. package/docs/.island/dist/assets/why-module-engineering-solution.6ae8c0e3.js +0 -26
  284. package/docs/.island/dist/assets/why-module-engineering-solution.c9a45cbd.js +0 -26
  285. package/docs/.island/dist/chunk-COLCRJ2V.js +0 -1
  286. package/docs/.island/dist/chunk-K5FMOYDC.js +0 -10
  287. package/docs/.island/dist/chunk-WE42KMYS.js +0 -26
  288. package/docs/.island/dist/client-entry.js +0 -3
  289. package/docs/.island/dist/en/api/build-config.html +0 -344
  290. package/docs/.island/dist/en/api/build-preset.html +0 -82
  291. package/docs/.island/dist/en/api/design-system.html +0 -155
  292. package/docs/.island/dist/en/api/dev.html +0 -45
  293. package/docs/.island/dist/en/api/index.html +0 -41
  294. package/docs/.island/dist/en/api/plugin.html +0 -48
  295. package/docs/.island/dist/en/api/test.html +0 -58
  296. package/docs/.island/dist/en/guide/before-getting-started.html +0 -127
  297. package/docs/.island/dist/en/guide/build-your-ui.html +0 -41
  298. package/docs/.island/dist/en/guide/command-preview.html +0 -100
  299. package/docs/.island/dist/en/guide/extension.html +0 -41
  300. package/docs/.island/dist/en/guide/getting-started.html +0 -76
  301. package/docs/.island/dist/en/guide/modify-output-product.html +0 -140
  302. package/docs/.island/dist/en/guide/publish-your-project.html +0 -91
  303. package/docs/.island/dist/en/guide/test-your-project.html +0 -72
  304. package/docs/.island/dist/en/guide/use-micro-generator.html +0 -65
  305. package/docs/.island/dist/en/guide/using-storybook.html +0 -113
  306. package/docs/.island/dist/en/guide/welcome.html +0 -53
  307. package/docs/.island/dist/en/guide/why-module-engineering-solution.html +0 -49
  308. package/docs/.island/dist/en/index.html +0 -42
  309. package/docs/.island/dist/react-dom.js +0 -1
  310. package/docs/.island/dist/react-dom_client.js +0 -1
  311. package/docs/.island/dist/react.js +0 -1
  312. package/docs/.island/dist/react_jsx-runtime.js +0 -10
  313. package/docs/.island/dist/ssr-manifest.json +0 -57
  314. package/docs/.island/dist/test-result.png +0 -0
  315. package/docs/.island/dist/why-module-solution.png +0 -0
  316. package/docs/.island/dist/zh/api/build-config.html +0 -347
  317. package/docs/.island/dist/zh/api/build-preset.html +0 -82
  318. package/docs/.island/dist/zh/api/design-system.html +0 -149
  319. package/docs/.island/dist/zh/api/dev.html +0 -46
  320. package/docs/.island/dist/zh/api/index.html +0 -41
  321. package/docs/.island/dist/zh/api/plugin.html +0 -48
  322. package/docs/.island/dist/zh/api/test.html +0 -59
  323. package/docs/.island/dist/zh/guide/before-getting-started.html +0 -127
  324. package/docs/.island/dist/zh/guide/build-your-ui.html +0 -41
  325. package/docs/.island/dist/zh/guide/command-preview.html +0 -100
  326. package/docs/.island/dist/zh/guide/extension.html +0 -41
  327. package/docs/.island/dist/zh/guide/getting-started.html +0 -79
  328. package/docs/.island/dist/zh/guide/modify-output-product.html +0 -140
  329. package/docs/.island/dist/zh/guide/publish-your-project.html +0 -92
  330. package/docs/.island/dist/zh/guide/test-your-project.html +0 -72
  331. package/docs/.island/dist/zh/guide/use-micro-generator.html +0 -65
  332. package/docs/.island/dist/zh/guide/using-storybook.html +0 -114
  333. package/docs/.island/dist/zh/guide/welcome.html +0 -53
  334. package/docs/.island/dist/zh/guide/why-module-engineering-solution.html +0 -49
  335. package/docs/.island/dist/zh/index.html +0 -42
  336. package/docs/.island/index.html +0 -39
  337. package/docs/en/api/design-system.md +0 -524
  338. package/docs/en/api/dev.md +0 -32
  339. package/docs/en/api/plugin.md +0 -34
  340. package/docs/zh/api/build-config.md +0 -570
  341. package/docs/zh/api/dev.md +0 -33
  342. package/docs/zh/api/plugins.md +0 -108
@@ -0,0 +1,2243 @@
1
+ "use strict";
2
+ (self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["guide_basic_publish-your-project"],{
3
+
4
+ /***/ "./docs/zh/guide/basic/publish-your-project.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/zh/guide/basic/publish-your-project.md"
1189
+ };
1190
+ var frontmatter = {
1191
+ "sidebar_position": 7
1192
+ };
1193
+ var toc = [{
1194
+ "id": "跟踪变更",
1195
+ "text": "跟踪变更",
1196
+ "depth": 2
1197
+ }, {
1198
+ "id": "版本更新",
1199
+ "text": "版本更新",
1200
+ "depth": 2
1201
+ }, {
1202
+ "id": "发布",
1203
+ "text": "发布",
1204
+ "depth": 2
1205
+ }, {
1206
+ "id": "预发布",
1207
+ "text": "预发布",
1208
+ "depth": 2
1209
+ }];
1210
+ var title = "\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03";
1211
+ var content = "\"---\\nsidebar_position: 7\\n---\\n\\n# 版本管理与发布\\n\\n一个 npm 类型的模块项目发布流程包含了两个阶段:\\n\\n- 第一阶段是在开发期间,开发者需要提供一个变更文件来记录需要发布的变动;\\n- 第二阶段是在发布期间,Module Tools 可以收集所有的变更文件来更新版本、更新发布日志,并发布新的包到 [npm Registry](https://www.npmjs.com/) 上。\\n\\n## 跟踪变更\\n\\n**当项目发生变化的时候需要将变化的内容记录下来**。项目发生的变化一般是指:\\n\\n- 新功能\\n- 修复问题\\n- 配置文件修改\\n- ...\\n\\n当这些变化一旦完成后,需要通过以下命令来对当前的变化进行记录:\\n\\n- [`modern change`](/guide/basic/command-preview#modern-change)\\n\\n执行 `modern change` 命令后会向开发者提出几个问题,并根据开发者的回答生成变更记录。变更记录文件包含了版本变化的类型和其描述,该文件会被提交到 git 仓库中。\\n\\n```bash\\n$ npx modern change\\n🦋 What kind of change is this for module-example? (current version is 0.1.0) · patch\\n🦋 Please enter a summary for this change (this will be in the changelogs). Submit empty line to open external editor\\n🦋 Summary · publish test\\n🦋 === Releasing the following packages ===\\n🦋 [Patch]\\n🦋 module\\n🦋 Is this your desired changeset? (Y/n) · true\\n🦋 Changeset added! - you can now commit it\\n🦋\\n🦋 If you want to modify or expand on the changeset summary, you can find it here\\n🦋 info /xxxxxx/module/.changeset/brave-dryers-agree.md\\n```\\n\\n当执行成功后,生成的包含变更记录的 Markdown 文件会保存在项目的 `.changeset` 目录下面。其内容类似下面这样:\\n\\n```markdown .changeset/brave-dryers-agree.md\\n---\\n'module-example': patch\\n---\\n\\npublish test\\n```\\n\\n## 版本更新\\n\\n当需要更新项目版本的时候,执行以下命令:\\n\\n- [`modern bump`](/guide/basic/command-preview#modern-bump)\\n\\n执行 `modern bump` 将会基于 `.changeset/` 目录下记录了变更的 Markdown 文件内容来修改 `package.json` 中的版本号,同时生成 `CHANGELOG.md` 文件。**而当版本更新完成后,这些记录变更的 Markdown 文件也会被删除,也可说这些 Markdown 文件被“消耗”掉了**。\\n\\n```markdown CHANGELOG.md\\n# module\\n\\n## 0.1.1\\n\\n### Patch Changes\\n\\n- publish test\\n```\\n\\n## 发布\\n\\n发布项目可以执行以下命令:\\n\\n- [`modern publish`](/guide/basic/command-preview#modern-release)\\n\\n`modern release` 命令可以将项目发布到 npm Registry。\\n\\n此时发布的是 `latest` 版本,也可以说是正式版本。如果想要修改 `dist-tag`,可以通过 `modern release --tag` 命令来指定。例如:\\n\\n```bash\\nmodern release --tag beta\\n```\\n\\n但是如果希望将当前项目的版本号也修改为预发布的版本号,则需要使用 `modern pre` 命令。\\n\\n> 所谓 `dist-tag`,可以理解:为当前发布的版本打标签。一般来说,默认发布的版本对应的 `dist-tag` 为 `latest`,因此可以把 `latest` 认为是正式版本的 `dist-tag`。\\n\\n## 预发布\\n\\n当需要在正式发布之前进行预发布,则需要执行以下命令:\\n\\n- [`modern pre`](/guide/basic/command-preview#modern-pre)\\n\\n首先 `modern pre enter <tag>` 进入预发布模式,`<tag>` 可以与发布项目的时候使用 `modern release --tag` 命令指定的 `tag` 一致。\\n\\n```bash\\n$ npx modern pre enter next\\n🦋 success Entered pre mode with tag next\\n🦋 info Run `changeset version` to version packages with prerelease versions\\n✨ Done in 5.30s.\\n```\\n\\n接着可以使用 `modern bump` 命令更新具体的版本号,**此时不会真正的“消耗”记录变更的 Markdown 文件**:\\n\\n```bash\\n$ npx modern bump\\n🦋 warn ===============================IMPORTANT!===============================\\n🦋 warn You are in prerelease mode\\n🦋 warn If you meant to do a normal release you should revert these changes and run `changeset pre exit`\\n🦋 warn You can then run `changeset version` again to do a normal release\\n🦋 warn ----------------------------------------------------------------------\\n🦋 All files have been updated. Review them and commit at your leisure\\n```\\n\\n然后可以看到 `package.json` 中更新的版本号会类似这样:`0.1.2-next.0`。\\n\\n最后,**如果不需要再进行预发布,则一定要执行 `modern pre exit` 命令**,这样可以退出预发布状态,并且当再次执行 `modern bump` 命令的时候,就可以发布正式的版本。\\n\"";
1212
+ function _createMdxContent(props) {
1213
+ var _components = Object.assign({
1214
+ h1: "h1",
1215
+ a: "a",
1216
+ p: "p",
1217
+ ul: "ul",
1218
+ li: "li",
1219
+ h2: "h2",
1220
+ strong: "strong",
1221
+ code: "code",
1222
+ blockquote: "blockquote"
1223
+ }, props.components);
1224
+ if (!CH) _missingMdxReference("CH", false, "27:1-40:4");
1225
+ if (!CH.Code) _missingMdxReference("CH.Code", true, "27:1-40:4");
1226
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1227
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
1228
+ id: "版本管理与发布",
1229
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1230
+ className: "header-anchor",
1231
+ "aria-hidden": "true",
1232
+ href: "#版本管理与发布",
1233
+ children: "#"
1234
+ }), "版本管理与发布"]
1235
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1236
+ children: "一个 npm 类型的模块项目发布流程包含了两个阶段:"
1237
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1238
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1239
+ children: "第一阶段是在开发期间,开发者需要提供一个变更文件来记录需要发布的变动;"
1240
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1241
+ children: ["第二阶段是在发布期间,Module Tools 可以收集所有的变更文件来更新版本、更新发布日志,并发布新的包到 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1242
+ href: "https://www.npmjs.com/",
1243
+ children: "npm Registry"
1244
+ }), " 上。"]
1245
+ }), "\n"]
1246
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1247
+ id: "跟踪变更",
1248
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1249
+ className: "header-anchor",
1250
+ "aria-hidden": "true",
1251
+ href: "#跟踪变更",
1252
+ children: "#"
1253
+ }), "跟踪变更"]
1254
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1255
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1256
+ children: "当项目发生变化的时候需要将变化的内容记录下来"
1257
+ }), "。项目发生的变化一般是指:"]
1258
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1259
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1260
+ children: "新功能"
1261
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1262
+ children: "修复问题"
1263
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1264
+ children: "配置文件修改"
1265
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1266
+ children: "..."
1267
+ }), "\n"]
1268
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1269
+ children: "当这些变化一旦完成后,需要通过以下命令来对当前的变化进行记录:"
1270
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1271
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1272
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1273
+ href: "/guide/basic/command-preview#modern-change.html",
1274
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1275
+ children: "modern change"
1276
+ })
1277
+ })
1278
+ }), "\n"]
1279
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1280
+ children: ["执行 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1281
+ children: "modern change"
1282
+ }), " 命令后会向开发者提出几个问题,并根据开发者的回答生成变更记录。变更记录文件包含了版本变化的类型和其描述,该文件会被提交到 git 仓库中。"]
1283
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1284
+ codeConfig: chCodeConfig,
1285
+ northPanel: {
1286
+ "tabs": [""],
1287
+ "active": "",
1288
+ "heightRatio": 1
1289
+ },
1290
+ files: [{
1291
+ "name": "",
1292
+ "focus": "",
1293
+ "code": {
1294
+ "lines": [{
1295
+ "tokens": [{
1296
+ "content": "$ npx modern change",
1297
+ "props": {
1298
+ "style": {
1299
+ "color": "#D8DEE9FF"
1300
+ }
1301
+ }
1302
+ }]
1303
+ }, {
1304
+ "tokens": [{
1305
+ "content": "🦋 What kind of change is this ",
1306
+ "props": {
1307
+ "style": {
1308
+ "color": "#D8DEE9FF"
1309
+ }
1310
+ }
1311
+ }, {
1312
+ "content": "for",
1313
+ "props": {
1314
+ "style": {
1315
+ "color": "#81A1C1"
1316
+ }
1317
+ }
1318
+ }, {
1319
+ "content": " module-example",
1320
+ "props": {
1321
+ "style": {
1322
+ "color": "#D8DEE9FF"
1323
+ }
1324
+ }
1325
+ }, {
1326
+ "content": "?",
1327
+ "props": {
1328
+ "style": {
1329
+ "color": "#81A1C1"
1330
+ }
1331
+ }
1332
+ }, {
1333
+ "content": " ",
1334
+ "props": {
1335
+ "style": {
1336
+ "color": "#D8DEE9FF"
1337
+ }
1338
+ }
1339
+ }, {
1340
+ "content": "(",
1341
+ "props": {
1342
+ "style": {
1343
+ "color": "#ECEFF4"
1344
+ }
1345
+ }
1346
+ }, {
1347
+ "content": "current version is 0.1.0",
1348
+ "props": {
1349
+ "style": {
1350
+ "color": "#D8DEE9FF"
1351
+ }
1352
+ }
1353
+ }, {
1354
+ "content": ")",
1355
+ "props": {
1356
+ "style": {
1357
+ "color": "#ECEFF4"
1358
+ }
1359
+ }
1360
+ }, {
1361
+ "content": " · patch",
1362
+ "props": {
1363
+ "style": {
1364
+ "color": "#D8DEE9FF"
1365
+ }
1366
+ }
1367
+ }]
1368
+ }, {
1369
+ "tokens": [{
1370
+ "content": "🦋 Please enter a summary ",
1371
+ "props": {
1372
+ "style": {
1373
+ "color": "#D8DEE9FF"
1374
+ }
1375
+ }
1376
+ }, {
1377
+ "content": "for",
1378
+ "props": {
1379
+ "style": {
1380
+ "color": "#81A1C1"
1381
+ }
1382
+ }
1383
+ }, {
1384
+ "content": " ",
1385
+ "props": {
1386
+ "style": {
1387
+ "color": "#D8DEE9FF"
1388
+ }
1389
+ }
1390
+ }, {
1391
+ "content": "this change (this will be",
1392
+ "props": {
1393
+ "style": {
1394
+ "color": "#D8DEE9"
1395
+ }
1396
+ }
1397
+ }, {
1398
+ "content": " ",
1399
+ "props": {
1400
+ "style": {
1401
+ "color": "#D8DEE9FF"
1402
+ }
1403
+ }
1404
+ }, {
1405
+ "content": "in",
1406
+ "props": {
1407
+ "style": {
1408
+ "color": "#81A1C1"
1409
+ }
1410
+ }
1411
+ }, {
1412
+ "content": " the changelogs). Submit empty line to open external editor",
1413
+ "props": {
1414
+ "style": {
1415
+ "color": "#D8DEE9FF"
1416
+ }
1417
+ }
1418
+ }]
1419
+ }, {
1420
+ "tokens": [{
1421
+ "content": "🦋 Summary · publish ",
1422
+ "props": {
1423
+ "style": {
1424
+ "color": "#D8DEE9FF"
1425
+ }
1426
+ }
1427
+ }, {
1428
+ "content": "test",
1429
+ "props": {
1430
+ "style": {
1431
+ "color": "#88C0D0"
1432
+ }
1433
+ }
1434
+ }]
1435
+ }, {
1436
+ "tokens": [{
1437
+ "content": "🦋 === Releasing the following packages ===",
1438
+ "props": {
1439
+ "style": {
1440
+ "color": "#D8DEE9FF"
1441
+ }
1442
+ }
1443
+ }]
1444
+ }, {
1445
+ "tokens": [{
1446
+ "content": "🦋 ",
1447
+ "props": {
1448
+ "style": {
1449
+ "color": "#D8DEE9FF"
1450
+ }
1451
+ }
1452
+ }, {
1453
+ "content": "[",
1454
+ "props": {
1455
+ "style": {
1456
+ "color": "#ECEFF4"
1457
+ }
1458
+ }
1459
+ }, {
1460
+ "content": "Patch",
1461
+ "props": {
1462
+ "style": {
1463
+ "color": "#D8DEE9FF"
1464
+ }
1465
+ }
1466
+ }, {
1467
+ "content": "]",
1468
+ "props": {
1469
+ "style": {
1470
+ "color": "#ECEFF4"
1471
+ }
1472
+ }
1473
+ }]
1474
+ }, {
1475
+ "tokens": [{
1476
+ "content": "🦋 module",
1477
+ "props": {
1478
+ "style": {
1479
+ "color": "#D8DEE9FF"
1480
+ }
1481
+ }
1482
+ }]
1483
+ }, {
1484
+ "tokens": [{
1485
+ "content": "🦋 Is this your desired changeset",
1486
+ "props": {
1487
+ "style": {
1488
+ "color": "#D8DEE9FF"
1489
+ }
1490
+ }
1491
+ }, {
1492
+ "content": "?",
1493
+ "props": {
1494
+ "style": {
1495
+ "color": "#81A1C1"
1496
+ }
1497
+ }
1498
+ }, {
1499
+ "content": " ",
1500
+ "props": {
1501
+ "style": {
1502
+ "color": "#D8DEE9FF"
1503
+ }
1504
+ }
1505
+ }, {
1506
+ "content": "(",
1507
+ "props": {
1508
+ "style": {
1509
+ "color": "#ECEFF4"
1510
+ }
1511
+ }
1512
+ }, {
1513
+ "content": "Y/n",
1514
+ "props": {
1515
+ "style": {
1516
+ "color": "#D8DEE9FF"
1517
+ }
1518
+ }
1519
+ }, {
1520
+ "content": ")",
1521
+ "props": {
1522
+ "style": {
1523
+ "color": "#ECEFF4"
1524
+ }
1525
+ }
1526
+ }, {
1527
+ "content": " · ",
1528
+ "props": {
1529
+ "style": {
1530
+ "color": "#D8DEE9FF"
1531
+ }
1532
+ }
1533
+ }, {
1534
+ "content": "true",
1535
+ "props": {
1536
+ "style": {
1537
+ "color": "#88C0D0"
1538
+ }
1539
+ }
1540
+ }]
1541
+ }, {
1542
+ "tokens": [{
1543
+ "content": "🦋 Changeset added",
1544
+ "props": {
1545
+ "style": {
1546
+ "color": "#D8DEE9FF"
1547
+ }
1548
+ }
1549
+ }, {
1550
+ "content": "!",
1551
+ "props": {
1552
+ "style": {
1553
+ "color": "#81A1C1"
1554
+ }
1555
+ }
1556
+ }, {
1557
+ "content": " - you can now commit it",
1558
+ "props": {
1559
+ "style": {
1560
+ "color": "#D8DEE9FF"
1561
+ }
1562
+ }
1563
+ }]
1564
+ }, {
1565
+ "tokens": [{
1566
+ "content": "🦋",
1567
+ "props": {
1568
+ "style": {
1569
+ "color": "#D8DEE9FF"
1570
+ }
1571
+ }
1572
+ }]
1573
+ }, {
1574
+ "tokens": [{
1575
+ "content": "🦋 If you want to modify or expand on the changeset summary, you can find it here",
1576
+ "props": {
1577
+ "style": {
1578
+ "color": "#D8DEE9FF"
1579
+ }
1580
+ }
1581
+ }]
1582
+ }, {
1583
+ "tokens": [{
1584
+ "content": "🦋 info /xxxxxx/module/.changeset/brave-dryers-agree.md",
1585
+ "props": {
1586
+ "style": {
1587
+ "color": "#D8DEE9FF"
1588
+ }
1589
+ }
1590
+ }]
1591
+ }],
1592
+ "lang": "bash"
1593
+ },
1594
+ "annotations": []
1595
+ }]
1596
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1597
+ children: ["当执行成功后,生成的包含变更记录的 Markdown 文件会保存在项目的 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1598
+ children: ".changeset"
1599
+ }), " 目录下面。其内容类似下面这样:"]
1600
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1601
+ codeConfig: chCodeConfig,
1602
+ northPanel: {
1603
+ "tabs": [".changeset/brave-dryers-agree.md"],
1604
+ "active": ".changeset/brave-dryers-agree.md",
1605
+ "heightRatio": 1
1606
+ },
1607
+ files: [{
1608
+ "name": ".changeset/brave-dryers-agree.md",
1609
+ "focus": "",
1610
+ "code": {
1611
+ "lines": [{
1612
+ "tokens": [{
1613
+ "content": "---",
1614
+ "props": {
1615
+ "style": {
1616
+ "color": "#D8DEE9FF"
1617
+ }
1618
+ }
1619
+ }]
1620
+ }, {
1621
+ "tokens": [{
1622
+ "content": "'",
1623
+ "props": {
1624
+ "style": {
1625
+ "color": "#81A1C1"
1626
+ }
1627
+ }
1628
+ }, {
1629
+ "content": "module-example",
1630
+ "props": {
1631
+ "style": {
1632
+ "color": "#A3BE8C"
1633
+ }
1634
+ }
1635
+ }, {
1636
+ "content": "'",
1637
+ "props": {
1638
+ "style": {
1639
+ "color": "#81A1C1"
1640
+ }
1641
+ }
1642
+ }, {
1643
+ "content": ":",
1644
+ "props": {
1645
+ "style": {
1646
+ "color": "#ECEFF4"
1647
+ }
1648
+ }
1649
+ }, {
1650
+ "content": " ",
1651
+ "props": {
1652
+ "style": {
1653
+ "color": "#D8DEE9FF"
1654
+ }
1655
+ }
1656
+ }, {
1657
+ "content": "patch",
1658
+ "props": {
1659
+ "style": {
1660
+ "color": "#A3BE8C"
1661
+ }
1662
+ }
1663
+ }]
1664
+ }, {
1665
+ "tokens": [{
1666
+ "content": "---",
1667
+ "props": {
1668
+ "style": {
1669
+ "color": "#D8DEE9FF"
1670
+ }
1671
+ }
1672
+ }]
1673
+ }, {
1674
+ "tokens": []
1675
+ }, {
1676
+ "tokens": [{
1677
+ "content": "publish test",
1678
+ "props": {
1679
+ "style": {
1680
+ "color": "#D8DEE9FF"
1681
+ }
1682
+ }
1683
+ }]
1684
+ }],
1685
+ "lang": "markdown"
1686
+ },
1687
+ "annotations": []
1688
+ }]
1689
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1690
+ id: "版本更新",
1691
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1692
+ className: "header-anchor",
1693
+ "aria-hidden": "true",
1694
+ href: "#版本更新",
1695
+ children: "#"
1696
+ }), "版本更新"]
1697
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1698
+ children: "当需要更新项目版本的时候,执行以下命令:"
1699
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1700
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1701
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1702
+ href: "/guide/basic/command-preview#modern-bump.html",
1703
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1704
+ children: "modern bump"
1705
+ })
1706
+ })
1707
+ }), "\n"]
1708
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1709
+ children: ["执行 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1710
+ children: "modern bump"
1711
+ }), " 将会基于 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1712
+ children: ".changeset/"
1713
+ }), " 目录下记录了变更的 Markdown 文件内容来修改 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1714
+ children: "package.json"
1715
+ }), " 中的版本号,同时生成 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1716
+ children: "CHANGELOG.md"
1717
+ }), " 文件。", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1718
+ children: "而当版本更新完成后,这些记录变更的 Markdown 文件也会被删除,也可说这些 Markdown 文件被“消耗”掉了"
1719
+ }), "。"]
1720
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1721
+ codeConfig: chCodeConfig,
1722
+ northPanel: {
1723
+ "tabs": ["CHANGELOG.md"],
1724
+ "active": "CHANGELOG.md",
1725
+ "heightRatio": 1
1726
+ },
1727
+ files: [{
1728
+ "name": "CHANGELOG.md",
1729
+ "focus": "",
1730
+ "code": {
1731
+ "lines": [{
1732
+ "tokens": [{
1733
+ "content": "#",
1734
+ "props": {
1735
+ "style": {
1736
+ "color": "#81A1C1"
1737
+ }
1738
+ }
1739
+ }, {
1740
+ "content": " module",
1741
+ "props": {
1742
+ "style": {
1743
+ "color": "#88C0D0"
1744
+ }
1745
+ }
1746
+ }]
1747
+ }, {
1748
+ "tokens": []
1749
+ }, {
1750
+ "tokens": [{
1751
+ "content": "##",
1752
+ "props": {
1753
+ "style": {
1754
+ "color": "#81A1C1"
1755
+ }
1756
+ }
1757
+ }, {
1758
+ "content": " 0.1.1",
1759
+ "props": {
1760
+ "style": {
1761
+ "color": "#88C0D0"
1762
+ }
1763
+ }
1764
+ }]
1765
+ }, {
1766
+ "tokens": []
1767
+ }, {
1768
+ "tokens": [{
1769
+ "content": "###",
1770
+ "props": {
1771
+ "style": {
1772
+ "color": "#81A1C1"
1773
+ }
1774
+ }
1775
+ }, {
1776
+ "content": " Patch Changes",
1777
+ "props": {
1778
+ "style": {
1779
+ "color": "#88C0D0"
1780
+ }
1781
+ }
1782
+ }]
1783
+ }, {
1784
+ "tokens": []
1785
+ }, {
1786
+ "tokens": [{
1787
+ "content": "-",
1788
+ "props": {
1789
+ "style": {
1790
+ "color": "#ECEFF4"
1791
+ }
1792
+ }
1793
+ }, {
1794
+ "content": " publish test",
1795
+ "props": {
1796
+ "style": {
1797
+ "color": "#D8DEE9FF"
1798
+ }
1799
+ }
1800
+ }]
1801
+ }],
1802
+ "lang": "markdown"
1803
+ },
1804
+ "annotations": []
1805
+ }]
1806
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1807
+ id: "发布",
1808
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1809
+ className: "header-anchor",
1810
+ "aria-hidden": "true",
1811
+ href: "#发布",
1812
+ children: "#"
1813
+ }), "发布"]
1814
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1815
+ children: "发布项目可以执行以下命令:"
1816
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1817
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1818
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1819
+ href: "/guide/basic/command-preview#modern-release.html",
1820
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1821
+ children: "modern publish"
1822
+ })
1823
+ })
1824
+ }), "\n"]
1825
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1826
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1827
+ children: "modern release"
1828
+ }), " 命令可以将项目发布到 npm Registry。"]
1829
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1830
+ children: ["此时发布的是 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1831
+ children: "latest"
1832
+ }), " 版本,也可以说是正式版本。如果想要修改 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1833
+ children: "dist-tag"
1834
+ }), ",可以通过 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1835
+ children: "modern release --tag"
1836
+ }), " 命令来指定。例如:"]
1837
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1838
+ codeConfig: chCodeConfig,
1839
+ northPanel: {
1840
+ "tabs": [""],
1841
+ "active": "",
1842
+ "heightRatio": 1
1843
+ },
1844
+ files: [{
1845
+ "name": "",
1846
+ "focus": "",
1847
+ "code": {
1848
+ "lines": [{
1849
+ "tokens": [{
1850
+ "content": "modern release --tag beta",
1851
+ "props": {
1852
+ "style": {
1853
+ "color": "#D8DEE9FF"
1854
+ }
1855
+ }
1856
+ }]
1857
+ }],
1858
+ "lang": "bash"
1859
+ },
1860
+ "annotations": []
1861
+ }]
1862
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1863
+ children: ["但是如果希望将当前项目的版本号也修改为预发布的版本号,则需要使用 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1864
+ children: "modern pre"
1865
+ }), " 命令。"]
1866
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.blockquote, {
1867
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1868
+ children: ["所谓 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1869
+ children: "dist-tag"
1870
+ }), ",可以理解:为当前发布的版本打标签。一般来说,默认发布的版本对应的 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1871
+ children: "dist-tag"
1872
+ }), " 为 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1873
+ children: "latest"
1874
+ }), ",因此可以把 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1875
+ children: "latest"
1876
+ }), " 认为是正式版本的 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1877
+ children: "dist-tag"
1878
+ }), "。"]
1879
+ }), "\n"]
1880
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1881
+ id: "预发布",
1882
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1883
+ className: "header-anchor",
1884
+ "aria-hidden": "true",
1885
+ href: "#预发布",
1886
+ children: "#"
1887
+ }), "预发布"]
1888
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1889
+ children: "当需要在正式发布之前进行预发布,则需要执行以下命令:"
1890
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1891
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1892
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1893
+ href: "/guide/basic/command-preview#modern-pre.html",
1894
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1895
+ children: "modern pre"
1896
+ })
1897
+ })
1898
+ }), "\n"]
1899
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1900
+ children: ["首先 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1901
+ children: "modern pre enter <tag>"
1902
+ }), " 进入预发布模式,", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1903
+ children: "<tag>"
1904
+ }), " 可以与发布项目的时候使用 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1905
+ children: "modern release --tag"
1906
+ }), " 命令指定的 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1907
+ children: "tag"
1908
+ }), " 一致。"]
1909
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1910
+ codeConfig: chCodeConfig,
1911
+ northPanel: {
1912
+ "tabs": [""],
1913
+ "active": "",
1914
+ "heightRatio": 1
1915
+ },
1916
+ files: [{
1917
+ "name": "",
1918
+ "focus": "",
1919
+ "code": {
1920
+ "lines": [{
1921
+ "tokens": [{
1922
+ "content": "$ npx modern pre enter next",
1923
+ "props": {
1924
+ "style": {
1925
+ "color": "#D8DEE9FF"
1926
+ }
1927
+ }
1928
+ }]
1929
+ }, {
1930
+ "tokens": [{
1931
+ "content": "🦋 success Entered pre mode with tag next",
1932
+ "props": {
1933
+ "style": {
1934
+ "color": "#D8DEE9FF"
1935
+ }
1936
+ }
1937
+ }]
1938
+ }, {
1939
+ "tokens": [{
1940
+ "content": "🦋 info Run ",
1941
+ "props": {
1942
+ "style": {
1943
+ "color": "#D8DEE9FF"
1944
+ }
1945
+ }
1946
+ }, {
1947
+ "content": "`",
1948
+ "props": {
1949
+ "style": {
1950
+ "color": "#ECEFF4"
1951
+ }
1952
+ }
1953
+ }, {
1954
+ "content": "changeset version",
1955
+ "props": {
1956
+ "style": {
1957
+ "color": "#A3BE8C"
1958
+ }
1959
+ }
1960
+ }, {
1961
+ "content": "`",
1962
+ "props": {
1963
+ "style": {
1964
+ "color": "#ECEFF4"
1965
+ }
1966
+ }
1967
+ }, {
1968
+ "content": " to version packages with prerelease versions",
1969
+ "props": {
1970
+ "style": {
1971
+ "color": "#D8DEE9FF"
1972
+ }
1973
+ }
1974
+ }]
1975
+ }, {
1976
+ "tokens": [{
1977
+ "content": "✨ Done ",
1978
+ "props": {
1979
+ "style": {
1980
+ "color": "#D8DEE9FF"
1981
+ }
1982
+ }
1983
+ }, {
1984
+ "content": "in",
1985
+ "props": {
1986
+ "style": {
1987
+ "color": "#81A1C1"
1988
+ }
1989
+ }
1990
+ }, {
1991
+ "content": " 5.30s.",
1992
+ "props": {
1993
+ "style": {
1994
+ "color": "#D8DEE9FF"
1995
+ }
1996
+ }
1997
+ }]
1998
+ }],
1999
+ "lang": "bash"
2000
+ },
2001
+ "annotations": []
2002
+ }]
2003
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2004
+ children: ["接着可以使用 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2005
+ children: "modern bump"
2006
+ }), " 命令更新具体的版本号,", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
2007
+ children: "此时不会真正的“消耗”记录变更的 Markdown 文件"
2008
+ }), ":"]
2009
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
2010
+ codeConfig: chCodeConfig,
2011
+ northPanel: {
2012
+ "tabs": [""],
2013
+ "active": "",
2014
+ "heightRatio": 1
2015
+ },
2016
+ files: [{
2017
+ "name": "",
2018
+ "focus": "",
2019
+ "code": {
2020
+ "lines": [{
2021
+ "tokens": [{
2022
+ "content": "$ npx modern bump",
2023
+ "props": {
2024
+ "style": {
2025
+ "color": "#D8DEE9FF"
2026
+ }
2027
+ }
2028
+ }]
2029
+ }, {
2030
+ "tokens": [{
2031
+ "content": "🦋 warn ===============================IMPORTANT",
2032
+ "props": {
2033
+ "style": {
2034
+ "color": "#D8DEE9FF"
2035
+ }
2036
+ }
2037
+ }, {
2038
+ "content": "!",
2039
+ "props": {
2040
+ "style": {
2041
+ "color": "#81A1C1"
2042
+ }
2043
+ }
2044
+ }, {
2045
+ "content": "===============================",
2046
+ "props": {
2047
+ "style": {
2048
+ "color": "#D8DEE9FF"
2049
+ }
2050
+ }
2051
+ }]
2052
+ }, {
2053
+ "tokens": [{
2054
+ "content": "🦋 warn You are ",
2055
+ "props": {
2056
+ "style": {
2057
+ "color": "#D8DEE9FF"
2058
+ }
2059
+ }
2060
+ }, {
2061
+ "content": "in",
2062
+ "props": {
2063
+ "style": {
2064
+ "color": "#81A1C1"
2065
+ }
2066
+ }
2067
+ }, {
2068
+ "content": " prerelease mode",
2069
+ "props": {
2070
+ "style": {
2071
+ "color": "#D8DEE9FF"
2072
+ }
2073
+ }
2074
+ }]
2075
+ }, {
2076
+ "tokens": [{
2077
+ "content": "🦋 warn If you meant to ",
2078
+ "props": {
2079
+ "style": {
2080
+ "color": "#D8DEE9FF"
2081
+ }
2082
+ }
2083
+ }, {
2084
+ "content": "do",
2085
+ "props": {
2086
+ "style": {
2087
+ "color": "#81A1C1"
2088
+ }
2089
+ }
2090
+ }, {
2091
+ "content": " a normal release you should revert these changes and run ",
2092
+ "props": {
2093
+ "style": {
2094
+ "color": "#D8DEE9FF"
2095
+ }
2096
+ }
2097
+ }, {
2098
+ "content": "`",
2099
+ "props": {
2100
+ "style": {
2101
+ "color": "#ECEFF4"
2102
+ }
2103
+ }
2104
+ }, {
2105
+ "content": "changeset pre exit",
2106
+ "props": {
2107
+ "style": {
2108
+ "color": "#A3BE8C"
2109
+ }
2110
+ }
2111
+ }, {
2112
+ "content": "`",
2113
+ "props": {
2114
+ "style": {
2115
+ "color": "#ECEFF4"
2116
+ }
2117
+ }
2118
+ }]
2119
+ }, {
2120
+ "tokens": [{
2121
+ "content": "🦋 warn You can ",
2122
+ "props": {
2123
+ "style": {
2124
+ "color": "#D8DEE9FF"
2125
+ }
2126
+ }
2127
+ }, {
2128
+ "content": "then",
2129
+ "props": {
2130
+ "style": {
2131
+ "color": "#81A1C1"
2132
+ }
2133
+ }
2134
+ }, {
2135
+ "content": " run ",
2136
+ "props": {
2137
+ "style": {
2138
+ "color": "#D8DEE9FF"
2139
+ }
2140
+ }
2141
+ }, {
2142
+ "content": "`",
2143
+ "props": {
2144
+ "style": {
2145
+ "color": "#ECEFF4"
2146
+ }
2147
+ }
2148
+ }, {
2149
+ "content": "changeset version",
2150
+ "props": {
2151
+ "style": {
2152
+ "color": "#A3BE8C"
2153
+ }
2154
+ }
2155
+ }, {
2156
+ "content": "`",
2157
+ "props": {
2158
+ "style": {
2159
+ "color": "#ECEFF4"
2160
+ }
2161
+ }
2162
+ }, {
2163
+ "content": " again to ",
2164
+ "props": {
2165
+ "style": {
2166
+ "color": "#D8DEE9FF"
2167
+ }
2168
+ }
2169
+ }, {
2170
+ "content": "do",
2171
+ "props": {
2172
+ "style": {
2173
+ "color": "#81A1C1"
2174
+ }
2175
+ }
2176
+ }, {
2177
+ "content": " a normal release",
2178
+ "props": {
2179
+ "style": {
2180
+ "color": "#D8DEE9FF"
2181
+ }
2182
+ }
2183
+ }]
2184
+ }, {
2185
+ "tokens": [{
2186
+ "content": "🦋 warn ----------------------------------------------------------------------",
2187
+ "props": {
2188
+ "style": {
2189
+ "color": "#D8DEE9FF"
2190
+ }
2191
+ }
2192
+ }]
2193
+ }, {
2194
+ "tokens": [{
2195
+ "content": "🦋 All files have been updated. Review them and commit at your leisure",
2196
+ "props": {
2197
+ "style": {
2198
+ "color": "#D8DEE9FF"
2199
+ }
2200
+ }
2201
+ }]
2202
+ }],
2203
+ "lang": "bash"
2204
+ },
2205
+ "annotations": []
2206
+ }]
2207
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2208
+ children: ["然后可以看到 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2209
+ children: "package.json"
2210
+ }), " 中更新的版本号会类似这样:", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2211
+ children: "0.1.2-next.0"
2212
+ }), "。"]
2213
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2214
+ children: ["最后,", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.strong, {
2215
+ children: ["如果不需要再进行预发布,则一定要执行 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2216
+ children: "modern pre exit"
2217
+ }), " 命令"]
2218
+ }), ",这样可以退出预发布状态,并且当再次执行 ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2219
+ children: "modern bump"
2220
+ }), " 命令的时候,就可以发布正式的版本。"]
2221
+ })]
2222
+ });
2223
+ }
2224
+ function MDXContent() {
2225
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2226
+ var _ref = props.components || {},
2227
+ MDXLayout = _ref.wrapper;
2228
+ return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
2229
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
2230
+ })) : _createMdxContent(props);
2231
+ }
2232
+ _c = MDXContent;
2233
+ /* harmony default export */ __webpack_exports__["default"] = (MDXContent);
2234
+ function _missingMdxReference(id, component, place) {
2235
+ 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/zh/guide/basic/publish-your-project.md`" : ""));
2236
+ }
2237
+ var _c;
2238
+ __webpack_require__.$Refresh$.register(_c, "MDXContent");
2239
+
2240
+ /***/ })
2241
+
2242
+ }]);
2243
+ //# sourceMappingURL=guide_basic_publish-your-project.js.map