@modern-js/repo-generator 0.0.0-next-20230920070140 → 0.0.0-next-20230920091340

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 (2) hide show
  1. package/dist/index.js +21 -7
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -124142,6 +124142,8 @@ var require_chainId2 = __commonJS({
124142
124142
  STYLE: "style-loader",
124143
124143
  /** postcss-loader */
124144
124144
  POSTCSS: "postcss",
124145
+ /** markdown-loader */
124146
+ MARKDOWN: "markdown",
124145
124147
  /** ignore-css-loader */
124146
124148
  IGNORE_CSS: "ignore-css",
124147
124149
  /** css-modules-typescript-loader */
@@ -124155,7 +124157,9 @@ var require_chainId2 = __commonJS({
124155
124157
  /** builder-plugin-image-compress svgo-loader */
124156
124158
  SVGO: "svgo",
124157
124159
  /** builder-plugin-imagex */
124158
- IMAGEX: "imagex"
124160
+ IMAGEX: "imagex",
124161
+ /** storybook-react-docgen */
124162
+ REACT_DOCGEN: "react-docgen"
124159
124163
  },
124160
124164
  /** Predefined plugins */
124161
124165
  PLUGIN: {
@@ -124222,9 +124226,7 @@ var require_chainId2 = __commonJS({
124222
124226
  /** HtmlAsyncChunkPlugin */
124223
124227
  HTML_ASYNC_CHUNK: "html-async-chunk",
124224
124228
  /** SWC_POLYFILL_CHECKER */
124225
- SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
124226
- /** RouterPlugin */
124227
- ROUTER_MANIFEST: "route-plugin"
124229
+ SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
124228
124230
  },
124229
124231
  /** Predefined minimizers */
124230
124232
  MINIMIZER: {
@@ -125298,7 +125300,7 @@ var require_logger3 = __commonJS({
125298
125300
  },
125299
125301
  success: {
125300
125302
  color: "green",
125301
- label: "success",
125303
+ label: "Success",
125302
125304
  level: "info"
125303
125305
  },
125304
125306
  warn: {
@@ -145541,6 +145543,7 @@ var ZH_LOCALE2 = {
145541
145543
  test: "启用「单元测试 / 集成测试」功能",
145542
145544
  e2e_test: "启用「E2E 测试」功能",
145543
145545
  storybook: "启用「Storybook」",
145546
+ storybookV7: "启用「Storybook」V7",
145544
145547
  runtime_api: "启用「Runtime API」",
145545
145548
  mwa_storybook: "启用「Visual Testing (Storybook)」模式",
145546
145549
  ssg: "启用「SSG」功能",
@@ -145640,6 +145643,7 @@ var EN_LOCALE2 = {
145640
145643
  test: "Enable Unit Test / Integration Test",
145641
145644
  e2e_test: "Enable E2E Test",
145642
145645
  storybook: "Enable Storybook",
145646
+ storybookV7: "Enable Storybook V7",
145643
145647
  runtime_api: "Enable Runtime API",
145644
145648
  mwa_storybook: "Enable Visual Testing (Storybook)",
145645
145649
  ssg: "Enable SSG",
@@ -146070,6 +146074,7 @@ var ActionFunction;
146070
146074
  ActionFunction2["Test"] = "test";
146071
146075
  ActionFunction2["E2ETest"] = "e2e_test";
146072
146076
  ActionFunction2["Storybook"] = "storybook";
146077
+ ActionFunction2["StorybookV7"] = "storybookV7";
146073
146078
  ActionFunction2["RuntimeApi"] = "runtimeApi";
146074
146079
  ActionFunction2["SSG"] = "ssg";
146075
146080
  ActionFunction2["Polyfill"] = "polyfill";
@@ -146103,6 +146108,7 @@ var ActionFunctionText = {
146103
146108
  [ActionFunction.Test]: () => i18n2.t(localeKeys2.action.function.test),
146104
146109
  [ActionFunction.E2ETest]: () => i18n2.t(localeKeys2.action.function.e2e_test),
146105
146110
  [ActionFunction.Storybook]: () => i18n2.t(localeKeys2.action.function.storybook),
146111
+ [ActionFunction.StorybookV7]: () => i18n2.t(localeKeys2.action.function.storybookV7),
146106
146112
  [ActionFunction.RuntimeApi]: () => i18n2.t(localeKeys2.action.function.runtime_api),
146107
146113
  [ActionFunction.SSG]: () => i18n2.t(localeKeys2.action.function.ssg),
146108
146114
  [ActionFunction.Polyfill]: () => i18n2.t(localeKeys2.action.function.polyfill),
@@ -146135,7 +146141,8 @@ var MWAActionFunctions = [
146135
146141
  ActionFunction.Test,
146136
146142
  ActionFunction.Polyfill,
146137
146143
  ActionFunction.Proxy,
146138
- ActionFunction.Storybook
146144
+ ActionFunction.Storybook,
146145
+ ActionFunction.StorybookV7
146139
146146
  ];
146140
146147
  var MWAActionElements = [
146141
146148
  ActionElement.Entry,
@@ -146234,6 +146241,7 @@ var MWAActionFunctionsDevDependencies = {
146234
146241
  [ActionFunction.SSG]: "@modern-js/plugin-ssg",
146235
146242
  [ActionFunction.Test]: "@modern-js/plugin-testing",
146236
146243
  [ActionFunction.Storybook]: "@modern-js/plugin-storybook",
146244
+ [ActionFunction.StorybookV7]: "@modern-js/storybook",
146237
146245
  [ActionFunction.Proxy]: "@modern-js/plugin-proxy",
146238
146246
  [ActionFunction.TailwindCSS]: "tailwindcss",
146239
146247
  [ActionFunction.SWC]: "@modern-js/plugin-swc",
@@ -146266,6 +146274,7 @@ var MWANewActionGenerators = {
146266
146274
  [ActionFunction.MicroFrontend]: "@modern-js/dependence-generator",
146267
146275
  [ActionFunction.Test]: "@modern-js/test-generator",
146268
146276
  [ActionFunction.Storybook]: "@modern-js/dependence-generator",
146277
+ [ActionFunction.StorybookV7]: "@modern-js/storybook-generator-next",
146269
146278
  [ActionFunction.SSG]: "@modern-js/ssg-generator",
146270
146279
  [ActionFunction.Polyfill]: "@modern-js/dependence-generator",
146271
146280
  [ActionFunction.Proxy]: "@modern-js/dependence-generator",
@@ -146286,6 +146295,7 @@ var MWANewActionPluginName = {
146286
146295
  [ActionFunction.MicroFrontend]: "garfishPlugin",
146287
146296
  [ActionFunction.Test]: "testPlugin",
146288
146297
  [ActionFunction.Storybook]: "storybookPlugin",
146298
+ [ActionFunction.StorybookV7]: "storybookFramework",
146289
146299
  [ActionFunction.SSG]: "ssgPlugin",
146290
146300
  [ActionFunction.Polyfill]: "polyfillPlugin",
146291
146301
  [ActionFunction.Proxy]: "proxyPlugin",
@@ -146305,6 +146315,7 @@ var MWANewActionPluginDependence = {
146305
146315
  [ActionFunction.MicroFrontend]: "@modern-js/plugin-garfish",
146306
146316
  [ActionFunction.Test]: "@modern-js/plugin-testing",
146307
146317
  [ActionFunction.Storybook]: "@modern-js/plugin-storybook",
146318
+ [ActionFunction.StorybookV7]: "@modern-js/storybook",
146308
146319
  [ActionFunction.SSG]: "@modern-js/plugin-ssg",
146309
146320
  [ActionFunction.Polyfill]: "@modern-js/plugin-polyfill",
146310
146321
  [ActionFunction.Proxy]: "@modern-js/plugin-proxy",
@@ -146393,6 +146404,7 @@ var ModuleNewActionGenerators = {
146393
146404
  [ActionFunction.Test]: "@modern-js/module-test-generator",
146394
146405
  [ActionFunction.TailwindCSS]: "@modern-js/tailwindcss-generator",
146395
146406
  [ActionFunction.Storybook]: "@modern-js/storybook-generator",
146407
+ [ActionFunction.StorybookV7]: "@modern-js/storybook-generator-next",
146396
146408
  [ActionFunction.RuntimeApi]: "@modern-js/dependence-generator"
146397
146409
  }
146398
146410
  };
@@ -146400,6 +146412,7 @@ var ModuleNewActionPluginName = {
146400
146412
  [ActionType.Function]: {
146401
146413
  [ActionFunction.TailwindCSS]: "tailwindcssPlugin",
146402
146414
  [ActionFunction.Storybook]: "storybookPlugin",
146415
+ [ActionFunction.StorybookV7]: "storybookFramework",
146403
146416
  [ActionFunction.Test]: "testPlugin"
146404
146417
  }
146405
146418
  };
@@ -146407,7 +146420,8 @@ var ModuleNewActionPluginDependence = {
146407
146420
  [ActionType.Function]: {
146408
146421
  [ActionFunction.Test]: "@modern-js/plugin-testing",
146409
146422
  [ActionFunction.TailwindCSS]: "@modern-js/plugin-tailwindcss",
146410
- [ActionFunction.Storybook]: "@modern-js/plugin-storybook"
146423
+ [ActionFunction.Storybook]: "@modern-js/plugin-storybook",
146424
+ [ActionFunction.StorybookV7]: "@modern-js/storybook"
146411
146425
  }
146412
146426
  };
146413
146427
 
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20230920070140",
18
+ "version": "0.0.0-next-20230920091340",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -29,16 +29,16 @@
29
29
  "@types/node": "^14",
30
30
  "jest": "^29",
31
31
  "typescript": "^5",
32
- "@modern-js/base-generator": "0.0.0-next-20230920070140",
33
- "@modern-js/generator-common": "0.0.0-next-20230920070140",
34
- "@modern-js/module-generator": "0.0.0-next-20230920070140",
35
- "@modern-js/monorepo-generator": "0.0.0-next-20230920070140",
36
- "@modern-js/mwa-generator": "0.0.0-next-20230920070140",
37
- "@modern-js/utils": "0.0.0-next-20230920070140",
38
- "@modern-js/generator-plugin": "0.0.0-next-20230920070140",
39
- "@modern-js/generator-utils": "0.0.0-next-20230920070140",
40
- "@scripts/build": "0.0.0-next-20230920070140",
41
- "@scripts/jest-config": "0.0.0-next-20230920070140"
32
+ "@modern-js/generator-common": "0.0.0-next-20230920091340",
33
+ "@modern-js/module-generator": "0.0.0-next-20230920091340",
34
+ "@modern-js/monorepo-generator": "0.0.0-next-20230920091340",
35
+ "@modern-js/mwa-generator": "0.0.0-next-20230920091340",
36
+ "@modern-js/utils": "0.0.0-next-20230920091340",
37
+ "@modern-js/generator-utils": "0.0.0-next-20230920091340",
38
+ "@modern-js/generator-plugin": "0.0.0-next-20230920091340",
39
+ "@modern-js/base-generator": "0.0.0-next-20230920091340",
40
+ "@scripts/jest-config": "0.0.0-next-20230920091340",
41
+ "@scripts/build": "0.0.0-next-20230920091340"
42
42
  },
43
43
  "sideEffects": false,
44
44
  "publishConfig": {