@modern-js/repo-generator 1.2.1 → 1.2.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.
- package/dist/js/node/main.js +10 -6
- package/package.json +4 -5
package/dist/js/node/main.js
CHANGED
@@ -110938,19 +110938,23 @@ var GeneratorPlugin = /*#__PURE__*/function () {
|
|
110938
110938
|
|
110939
110939
|
case 3:
|
110940
110940
|
pkgJSON = _context.sent;
|
110941
|
-
_context.next =
|
110941
|
+
_context.next = 9;
|
110942
110942
|
break;
|
110943
110943
|
|
110944
110944
|
case 6:
|
110945
|
-
|
110945
|
+
_context.next = 8;
|
110946
|
+
return package_json_default()(plugin.toLowerCase(), {
|
110946
110947
|
registryUrl: registry
|
110947
110948
|
});
|
110948
110949
|
|
110949
|
-
case
|
110950
|
+
case 8:
|
110951
|
+
pkgJSON = _context.sent;
|
110952
|
+
|
110953
|
+
case 9:
|
110950
110954
|
_pkgJSON = pkgJSON, meta = _pkgJSON.meta;
|
110951
110955
|
|
110952
110956
|
if (meta) {
|
110953
|
-
_context.next =
|
110957
|
+
_context.next = 12;
|
110954
110958
|
break;
|
110955
110959
|
}
|
110956
110960
|
|
@@ -110958,7 +110962,7 @@ var GeneratorPlugin = /*#__PURE__*/function () {
|
|
110958
110962
|
plugin: plugin
|
110959
110963
|
}));
|
110960
110964
|
|
110961
|
-
case
|
110965
|
+
case 12:
|
110962
110966
|
if (meta.extend) {
|
110963
110967
|
_this.extendPlugin[meta.extend] = [].concat(_toConsumableArray(_this.extendPlugin[meta.extend] || []), [plugin]);
|
110964
110968
|
} else if (meta.type && meta.key) {
|
@@ -110967,7 +110971,7 @@ var GeneratorPlugin = /*#__PURE__*/function () {
|
|
110967
110971
|
})]);
|
110968
110972
|
}
|
110969
110973
|
|
110970
|
-
case
|
110974
|
+
case 13:
|
110971
110975
|
case "end":
|
110972
110976
|
return _context.stop();
|
110973
110977
|
}
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.2.
|
14
|
+
"version": "1.2.2",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"main": "./dist/js/node/main.js",
|
17
17
|
"files": [
|
@@ -32,14 +32,14 @@
|
|
32
32
|
"@modern-js/monorepo-generator": "^1.2.1",
|
33
33
|
"@modern-js/mwa-generator": "^1.2.1",
|
34
34
|
"@modern-js/base-generator": "^1.2.1",
|
35
|
-
"@modern-js/generator-plugin": "^1.1.
|
35
|
+
"@modern-js/generator-plugin": "^1.1.1",
|
36
36
|
"@types/jest": "^26",
|
37
37
|
"@types/lodash": "^4.14.168",
|
38
38
|
"@types/node": "^14",
|
39
39
|
"lodash": "^4.17.21",
|
40
40
|
"typescript": "^4",
|
41
41
|
"@modern-js/module-tools": "^1.1.3",
|
42
|
-
"@modern-js/plugin-testing": "^1.2.
|
42
|
+
"@modern-js/plugin-testing": "^1.2.0"
|
43
43
|
},
|
44
44
|
"sideEffects": false,
|
45
45
|
"modernConfig": {
|
@@ -57,6 +57,5 @@
|
|
57
57
|
"build": "modern build",
|
58
58
|
"build:csmith": "csmith-tools build",
|
59
59
|
"test": "modern test --passWithNoTests"
|
60
|
-
}
|
61
|
-
"readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
60
|
+
}
|
62
61
|
}
|