@modern-js/monorepo-generator 3.1.22 → 3.1.23

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 +18 -7
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -115349,10 +115349,14 @@ var require_chainId = __commonJS({
115349
115349
  SVG: "svg",
115350
115350
  /** Rule for pug */
115351
115351
  PUG: "pug",
115352
+ /** Rule for Vue */
115353
+ VUE: "vue",
115352
115354
  /** Rule for toml */
115353
115355
  TOML: "toml",
115354
115356
  /** Rule for yaml */
115355
115357
  YAML: "yaml",
115358
+ /** Rule for wasm */
115359
+ WASM: "wasm",
115356
115360
  /** Rule for bff */
115357
115361
  JS_BFF_API: "js-bff-api"
115358
115362
  },
@@ -115379,6 +115383,8 @@ var require_chainId = __commonJS({
115379
115383
  URL: "url",
115380
115384
  /** pug-loader */
115381
115385
  PUG: "pug",
115386
+ /** vue-loader */
115387
+ VUE: "vue",
115382
115388
  /** file-loader */
115383
115389
  FILE: "file",
115384
115390
  /** @svgr/webpack */
@@ -115448,12 +115454,16 @@ var require_chainId = __commonJS({
115448
115454
  BUNDLE_ANALYZER: "bundle-analyze",
115449
115455
  /** BottomTemplatePlugin */
115450
115456
  BOTTOM_TEMPLATE: "bottom-template",
115451
- /** HtmlCrossOriginPlugin */
115452
- HTML_CROSS_ORIGIN: "html-cross-origin",
115457
+ /** HtmlTagsPlugin */
115458
+ HTML_TAGS: "html-tags",
115453
115459
  /** HtmlNoncePlugin */
115454
115460
  HTML_NONCE: "html-nonce",
115461
+ /** HtmlCrossOriginPlugin */
115462
+ HTML_CROSS_ORIGIN: "html-cross-origin",
115455
115463
  /** MiniCssExtractPlugin */
115456
115464
  MINI_CSS_EXTRACT: "mini-css-extract",
115465
+ /** VueLoaderPlugin */
115466
+ VUE_LOADER_PLUGIN: "vue-loader-plugin",
115457
115467
  /** ReactFastRefreshPlugin */
115458
115468
  REACT_FAST_REFRESH: "react-fast-refresh",
115459
115469
  /** ProvidePlugin for node polyfill */
@@ -115467,9 +115477,7 @@ var require_chainId = __commonJS({
115467
115477
  /** HtmlAsyncChunkPlugin */
115468
115478
  HTML_ASYNC_CHUNK: "html-async-chunk",
115469
115479
  /** SWC_POLYFILL_CHECKER */
115470
- SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
115471
- /** HtmlTagsPlugin */
115472
- HTML_TAGS: "html-tags"
115480
+ SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
115473
115481
  },
115474
115482
  /** Predefined minimizers */
115475
115483
  MINIMIZER: {
@@ -116126,6 +116134,7 @@ var require_project = __commonJS({
116126
116134
  });
116127
116135
  var _interop_require_default = require_interop_require_default();
116128
116136
  var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
116137
+ var _pkgup = /* @__PURE__ */ _interop_require_default._(require_pkg_up2());
116129
116138
  var _commands = require_commands();
116130
116139
  var _compiled = require_compiled();
116131
116140
  var _common = require_common3();
@@ -116165,8 +116174,10 @@ var require_project = __commonJS({
116165
116174
  return Boolean(options["web-only"]);
116166
116175
  });
116167
116176
  var isBeyondReact17 = (cwd) => {
116168
- const pkgPath = _path.default.join(cwd, "package.json");
116169
- if (!_compiled.fs.existsSync(pkgPath)) {
116177
+ const pkgPath = _pkgup.default.sync({
116178
+ cwd
116179
+ });
116180
+ if (!pkgPath) {
116170
116181
  return false;
116171
116182
  }
116172
116183
  const pkgInfo = JSON.parse(_compiled.fs.readFileSync(pkgPath, "utf8"));
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.1.22",
18
+ "version": "3.1.23",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -30,14 +30,14 @@
30
30
  "@types/node": "^14",
31
31
  "jest": "^29",
32
32
  "typescript": "^5",
33
- "@modern-js/base-generator": "3.1.22",
34
- "@modern-js/generator-utils": "3.1.22",
35
- "@modern-js/plugin-i18n": "2.23.0",
36
- "@modern-js/packages-generator": "3.1.22",
37
- "@modern-js/generator-common": "3.1.22",
38
- "@modern-js/changeset-generator": "3.1.22",
39
- "@scripts/jest-config": "2.23.0",
40
- "@scripts/build": "2.23.0"
33
+ "@modern-js/base-generator": "3.1.23",
34
+ "@modern-js/plugin-i18n": "2.23.1",
35
+ "@modern-js/packages-generator": "3.1.23",
36
+ "@modern-js/generator-utils": "3.1.23",
37
+ "@modern-js/generator-common": "3.1.23",
38
+ "@modern-js/changeset-generator": "3.1.23",
39
+ "@scripts/build": "2.23.1",
40
+ "@scripts/jest-config": "2.23.1"
41
41
  },
42
42
  "sideEffects": false,
43
43
  "publishConfig": {