@modern-js/repo-generator 0.0.0-next-1686813930651 → 0.0.0-next-1686834137560

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 +16 -7
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -122652,6 +122652,8 @@ var require_chainId = __commonJS({
122652
122652
  SVG: "svg",
122653
122653
  /** Rule for pug */
122654
122654
  PUG: "pug",
122655
+ /** Rule for Vue */
122656
+ VUE: "vue",
122655
122657
  /** Rule for toml */
122656
122658
  TOML: "toml",
122657
122659
  /** Rule for yaml */
@@ -122682,6 +122684,8 @@ var require_chainId = __commonJS({
122682
122684
  URL: "url",
122683
122685
  /** pug-loader */
122684
122686
  PUG: "pug",
122687
+ /** vue-loader */
122688
+ VUE: "vue",
122685
122689
  /** file-loader */
122686
122690
  FILE: "file",
122687
122691
  /** @svgr/webpack */
@@ -122751,12 +122755,16 @@ var require_chainId = __commonJS({
122751
122755
  BUNDLE_ANALYZER: "bundle-analyze",
122752
122756
  /** BottomTemplatePlugin */
122753
122757
  BOTTOM_TEMPLATE: "bottom-template",
122754
- /** HtmlCrossOriginPlugin */
122755
- HTML_CROSS_ORIGIN: "html-cross-origin",
122758
+ /** HtmlTagsPlugin */
122759
+ HTML_TAGS: "html-tags",
122756
122760
  /** HtmlNoncePlugin */
122757
122761
  HTML_NONCE: "html-nonce",
122762
+ /** HtmlCrossOriginPlugin */
122763
+ HTML_CROSS_ORIGIN: "html-cross-origin",
122758
122764
  /** MiniCssExtractPlugin */
122759
122765
  MINI_CSS_EXTRACT: "mini-css-extract",
122766
+ /** VueLoaderPlugin */
122767
+ VUE_LOADER_PLUGIN: "vue-loader-plugin",
122760
122768
  /** ReactFastRefreshPlugin */
122761
122769
  REACT_FAST_REFRESH: "react-fast-refresh",
122762
122770
  /** ProvidePlugin for node polyfill */
@@ -122770,9 +122778,7 @@ var require_chainId = __commonJS({
122770
122778
  /** HtmlAsyncChunkPlugin */
122771
122779
  HTML_ASYNC_CHUNK: "html-async-chunk",
122772
122780
  /** SWC_POLYFILL_CHECKER */
122773
- SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
122774
- /** HtmlTagsPlugin */
122775
- HTML_TAGS: "html-tags"
122781
+ SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
122776
122782
  },
122777
122783
  /** Predefined minimizers */
122778
122784
  MINIMIZER: {
@@ -123429,6 +123435,7 @@ var require_project = __commonJS({
123429
123435
  });
123430
123436
  var _interop_require_default = require_interop_require_default();
123431
123437
  var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
123438
+ var _pkgup = /* @__PURE__ */ _interop_require_default._(require_pkg_up2());
123432
123439
  var _commands = require_commands();
123433
123440
  var _compiled = require_compiled();
123434
123441
  var _common = require_common3();
@@ -123468,8 +123475,10 @@ var require_project = __commonJS({
123468
123475
  return Boolean(options["web-only"]);
123469
123476
  });
123470
123477
  var isBeyondReact17 = (cwd) => {
123471
- const pkgPath = _path.default.join(cwd, "package.json");
123472
- if (!_compiled.fs.existsSync(pkgPath)) {
123478
+ const pkgPath = _pkgup.default.sync({
123479
+ cwd
123480
+ });
123481
+ if (!pkgPath) {
123473
123482
  return false;
123474
123483
  }
123475
123484
  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": "0.0.0-next-1686813930651",
18
+ "version": "0.0.0-next-1686834137560",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -29,17 +29,17 @@
29
29
  "@types/node": "^14",
30
30
  "jest": "^29",
31
31
  "typescript": "^5",
32
- "@modern-js/base-generator": "0.0.0-next-1686813930651",
33
- "@modern-js/generator-common": "0.0.0-next-1686813930651",
34
- "@modern-js/generator-plugin": "0.0.0-next-1686813930651",
35
- "@modern-js/generator-utils": "0.0.0-next-1686813930651",
36
- "@modern-js/module-generator": "0.0.0-next-1686813930651",
37
- "@modern-js/monorepo-generator": "0.0.0-next-1686813930651",
38
- "@modern-js/mwa-generator": "0.0.0-next-1686813930651",
39
- "@scripts/build": "0.0.0-next-1686813930651",
40
- "@modern-js/doc-generator": "0.0.0-next-1686813930651",
41
- "@scripts/jest-config": "0.0.0-next-1686813930651",
42
- "@modern-js/utils": "0.0.0-next-1686813930651"
32
+ "@modern-js/base-generator": "0.0.0-next-1686834137560",
33
+ "@modern-js/generator-plugin": "0.0.0-next-1686834137560",
34
+ "@modern-js/generator-common": "0.0.0-next-1686834137560",
35
+ "@modern-js/generator-utils": "0.0.0-next-1686834137560",
36
+ "@modern-js/module-generator": "0.0.0-next-1686834137560",
37
+ "@modern-js/monorepo-generator": "0.0.0-next-1686834137560",
38
+ "@modern-js/mwa-generator": "0.0.0-next-1686834137560",
39
+ "@modern-js/doc-generator": "0.0.0-next-1686834137560",
40
+ "@modern-js/utils": "0.0.0-next-1686834137560",
41
+ "@scripts/build": "0.0.0-next-1686834137560",
42
+ "@scripts/jest-config": "0.0.0-next-1686834137560"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {