@modern-js/repo-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.
- package/dist/index.js +18 -7
- package/package.json +12 -12
package/dist/index.js
CHANGED
@@ -122652,10 +122652,14 @@ 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 */
|
122658
122660
|
YAML: "yaml",
|
122661
|
+
/** Rule for wasm */
|
122662
|
+
WASM: "wasm",
|
122659
122663
|
/** Rule for bff */
|
122660
122664
|
JS_BFF_API: "js-bff-api"
|
122661
122665
|
},
|
@@ -122682,6 +122686,8 @@ var require_chainId = __commonJS({
|
|
122682
122686
|
URL: "url",
|
122683
122687
|
/** pug-loader */
|
122684
122688
|
PUG: "pug",
|
122689
|
+
/** vue-loader */
|
122690
|
+
VUE: "vue",
|
122685
122691
|
/** file-loader */
|
122686
122692
|
FILE: "file",
|
122687
122693
|
/** @svgr/webpack */
|
@@ -122751,12 +122757,16 @@ var require_chainId = __commonJS({
|
|
122751
122757
|
BUNDLE_ANALYZER: "bundle-analyze",
|
122752
122758
|
/** BottomTemplatePlugin */
|
122753
122759
|
BOTTOM_TEMPLATE: "bottom-template",
|
122754
|
-
/**
|
122755
|
-
|
122760
|
+
/** HtmlTagsPlugin */
|
122761
|
+
HTML_TAGS: "html-tags",
|
122756
122762
|
/** HtmlNoncePlugin */
|
122757
122763
|
HTML_NONCE: "html-nonce",
|
122764
|
+
/** HtmlCrossOriginPlugin */
|
122765
|
+
HTML_CROSS_ORIGIN: "html-cross-origin",
|
122758
122766
|
/** MiniCssExtractPlugin */
|
122759
122767
|
MINI_CSS_EXTRACT: "mini-css-extract",
|
122768
|
+
/** VueLoaderPlugin */
|
122769
|
+
VUE_LOADER_PLUGIN: "vue-loader-plugin",
|
122760
122770
|
/** ReactFastRefreshPlugin */
|
122761
122771
|
REACT_FAST_REFRESH: "react-fast-refresh",
|
122762
122772
|
/** ProvidePlugin for node polyfill */
|
@@ -122770,9 +122780,7 @@ var require_chainId = __commonJS({
|
|
122770
122780
|
/** HtmlAsyncChunkPlugin */
|
122771
122781
|
HTML_ASYNC_CHUNK: "html-async-chunk",
|
122772
122782
|
/** SWC_POLYFILL_CHECKER */
|
122773
|
-
SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
|
122774
|
-
/** HtmlTagsPlugin */
|
122775
|
-
HTML_TAGS: "html-tags"
|
122783
|
+
SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin"
|
122776
122784
|
},
|
122777
122785
|
/** Predefined minimizers */
|
122778
122786
|
MINIMIZER: {
|
@@ -123429,6 +123437,7 @@ var require_project = __commonJS({
|
|
123429
123437
|
});
|
123430
123438
|
var _interop_require_default = require_interop_require_default();
|
123431
123439
|
var _path = /* @__PURE__ */ _interop_require_default._(require("path"));
|
123440
|
+
var _pkgup = /* @__PURE__ */ _interop_require_default._(require_pkg_up2());
|
123432
123441
|
var _commands = require_commands();
|
123433
123442
|
var _compiled = require_compiled();
|
123434
123443
|
var _common = require_common3();
|
@@ -123468,8 +123477,10 @@ var require_project = __commonJS({
|
|
123468
123477
|
return Boolean(options["web-only"]);
|
123469
123478
|
});
|
123470
123479
|
var isBeyondReact17 = (cwd) => {
|
123471
|
-
const pkgPath =
|
123472
|
-
|
123480
|
+
const pkgPath = _pkgup.default.sync({
|
123481
|
+
cwd
|
123482
|
+
});
|
123483
|
+
if (!pkgPath) {
|
123473
123484
|
return false;
|
123474
123485
|
}
|
123475
123486
|
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.
|
18
|
+
"version": "3.1.23",
|
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/generator-common": "3.1.
|
33
|
-
"@modern-js/module-generator": "3.1.
|
34
|
-
"@modern-js/monorepo-generator": "3.1.
|
35
|
-
"@modern-js/mwa-generator": "3.1.
|
36
|
-
"@modern-js/doc-generator": "3.1.
|
37
|
-
"@modern-js/utils": "2.23.
|
38
|
-
"@modern-js/generator-plugin": "3.1.
|
39
|
-
"@modern-js/
|
40
|
-
"@
|
41
|
-
"@scripts/
|
42
|
-
"@
|
32
|
+
"@modern-js/generator-common": "3.1.23",
|
33
|
+
"@modern-js/module-generator": "3.1.23",
|
34
|
+
"@modern-js/monorepo-generator": "3.1.23",
|
35
|
+
"@modern-js/mwa-generator": "3.1.23",
|
36
|
+
"@modern-js/doc-generator": "3.1.23",
|
37
|
+
"@modern-js/utils": "2.23.1",
|
38
|
+
"@modern-js/generator-plugin": "3.1.23",
|
39
|
+
"@modern-js/generator-utils": "3.1.23",
|
40
|
+
"@scripts/jest-config": "2.23.1",
|
41
|
+
"@scripts/build": "2.23.1",
|
42
|
+
"@modern-js/base-generator": "3.1.23"
|
43
43
|
},
|
44
44
|
"sideEffects": false,
|
45
45
|
"publishConfig": {
|