@modern-js/repo-generator 0.0.0-next-1688525051843 → 0.0.0-next-1688565990542
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 +0 -44
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -124640,49 +124640,6 @@ var require_prettyInstructions = __commonJS({
|
|
|
124640
124640
|
}
|
|
124641
124641
|
});
|
|
124642
124642
|
|
|
124643
|
-
// ../../../toolkit/utils/dist/cjs/cli/print.js
|
|
124644
|
-
var require_print = __commonJS({
|
|
124645
|
-
"../../../toolkit/utils/dist/cjs/cli/print.js"(exports) {
|
|
124646
|
-
"use strict";
|
|
124647
|
-
Object.defineProperty(exports, "__esModule", {
|
|
124648
|
-
value: true
|
|
124649
|
-
});
|
|
124650
|
-
Object.defineProperty(exports, "printBuildError", {
|
|
124651
|
-
enumerable: true,
|
|
124652
|
-
get: function() {
|
|
124653
|
-
return printBuildError;
|
|
124654
|
-
}
|
|
124655
|
-
});
|
|
124656
|
-
var _compiled = require_compiled();
|
|
124657
|
-
var _logger = require_logger2();
|
|
124658
|
-
function printBuildError(err) {
|
|
124659
|
-
const message = err != null && err.message;
|
|
124660
|
-
const stack = err != null && err.stack;
|
|
124661
|
-
if (stack && typeof message === "string" && message.indexOf("from Terser") !== -1) {
|
|
124662
|
-
try {
|
|
124663
|
-
const matched = /(.+)\[(.+):(.+),(.+)\]\[.+\]/.exec(stack);
|
|
124664
|
-
if (!matched) {
|
|
124665
|
-
throw new Error("Using errors for control flow is bad.");
|
|
124666
|
-
}
|
|
124667
|
-
const problemPath = matched[2];
|
|
124668
|
-
const line = matched[3];
|
|
124669
|
-
const column = matched[4];
|
|
124670
|
-
_logger.logger.error(`Failed to minify the code from this file:
|
|
124671
|
-
|
|
124672
|
-
${_compiled.chalk.yellow(` ${problemPath}:${line}${column !== "0" ? ":" + column : ""}`)}
|
|
124673
|
-
`);
|
|
124674
|
-
} catch (ignored) {
|
|
124675
|
-
_logger.logger.error(`Failed to minify the bundle. ${err}
|
|
124676
|
-
`);
|
|
124677
|
-
}
|
|
124678
|
-
} else {
|
|
124679
|
-
_logger.logger.error((message || err) + "\n");
|
|
124680
|
-
}
|
|
124681
|
-
_logger.logger.log();
|
|
124682
|
-
}
|
|
124683
|
-
}
|
|
124684
|
-
});
|
|
124685
|
-
|
|
124686
124643
|
// ../../../toolkit/utils/dist/cjs/cli/require.js
|
|
124687
124644
|
var require_require = __commonJS({
|
|
124688
124645
|
"../../../toolkit/utils/dist/cjs/cli/require.js"(exports, module2) {
|
|
@@ -124915,7 +124872,6 @@ var require_cli = __commonJS({
|
|
|
124915
124872
|
_export_star._(require_pathSerializer(), exports);
|
|
124916
124873
|
_export_star._(require_port(), exports);
|
|
124917
124874
|
_export_star._(require_prettyInstructions(), exports);
|
|
124918
|
-
_export_star._(require_print(), exports);
|
|
124919
124875
|
_export_star._(require_require(), exports);
|
|
124920
124876
|
_export_star._(require_runtimeExports(), exports);
|
|
124921
124877
|
_export_star._(require_watch(), exports);
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-1688565990542",
|
|
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-
|
|
33
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
34
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
35
|
-
"@modern-js/generator
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@modern-js/monorepo-generator": "0.0.0-next-
|
|
38
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
39
|
-
"@
|
|
40
|
-
"@modern-js/
|
|
41
|
-
"@scripts/
|
|
42
|
-
"@
|
|
32
|
+
"@modern-js/base-generator": "0.0.0-next-1688565990542",
|
|
33
|
+
"@modern-js/generator-common": "0.0.0-next-1688565990542",
|
|
34
|
+
"@modern-js/generator-plugin": "0.0.0-next-1688565990542",
|
|
35
|
+
"@modern-js/module-generator": "0.0.0-next-1688565990542",
|
|
36
|
+
"@modern-js/generator-utils": "0.0.0-next-1688565990542",
|
|
37
|
+
"@modern-js/monorepo-generator": "0.0.0-next-1688565990542",
|
|
38
|
+
"@modern-js/mwa-generator": "0.0.0-next-1688565990542",
|
|
39
|
+
"@scripts/build": "0.0.0-next-1688565990542",
|
|
40
|
+
"@modern-js/doc-generator": "0.0.0-next-1688565990542",
|
|
41
|
+
"@scripts/jest-config": "0.0.0-next-1688565990542",
|
|
42
|
+
"@modern-js/utils": "0.0.0-next-1688565990542"
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
45
|
"publishConfig": {
|