@modern-js/repo-generator 0.0.0-next-1680093705168 → 0.0.0-next-1680098769946
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 +3 -9
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -135312,17 +135312,12 @@ var require_commands = __commonJS({
|
|
|
135312
135312
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
135313
135313
|
var commands_exports = {};
|
|
135314
135314
|
__export2(commands_exports, {
|
|
135315
|
-
getArgv: () => getArgv,
|
|
135316
135315
|
getCommand: () => getCommand,
|
|
135317
135316
|
isDevCommand: () => isDevCommand
|
|
135318
135317
|
});
|
|
135319
135318
|
module2.exports = __toCommonJS2(commands_exports);
|
|
135320
|
-
var getArgv = () => {
|
|
135321
|
-
var _a2;
|
|
135322
|
-
return (((_a2 = process.env.MODERN_ARGV) == null ? void 0 : _a2.split(" ")) || process.argv).slice(2);
|
|
135323
|
-
};
|
|
135324
135319
|
var getCommand = () => {
|
|
135325
|
-
const args =
|
|
135320
|
+
const args = process.argv.slice(2);
|
|
135326
135321
|
const command = args[0];
|
|
135327
135322
|
return command;
|
|
135328
135323
|
};
|
|
@@ -138019,16 +138014,15 @@ var require_analyzeProject2 = __commonJS({
|
|
|
138019
138014
|
});
|
|
138020
138015
|
module2.exports = __toCommonJS2(analyzeProject_exports);
|
|
138021
138016
|
var path9 = __toESM2(require("path"));
|
|
138022
|
-
var import_commands = require_commands();
|
|
138023
138017
|
var import_compiled = require_compiled2();
|
|
138024
138018
|
var isApiOnly = (appDirectory, entryDir) => __async2(void 0, null, function* () {
|
|
138025
138019
|
const srcDir = path9.join(appDirectory, entryDir != null ? entryDir : "src");
|
|
138026
138020
|
const existSrc = yield import_compiled.fs.pathExists(srcDir);
|
|
138027
|
-
const options = (0, import_compiled.minimist)(
|
|
138021
|
+
const options = (0, import_compiled.minimist)(process.argv.slice(2));
|
|
138028
138022
|
return !existSrc || Boolean(options["api-only"]);
|
|
138029
138023
|
});
|
|
138030
138024
|
var isWebOnly = () => __async2(void 0, null, function* () {
|
|
138031
|
-
const options = (0, import_compiled.minimist)(
|
|
138025
|
+
const options = (0, import_compiled.minimist)(process.argv.slice(2));
|
|
138032
138026
|
return Boolean(options["web-only"]);
|
|
138033
138027
|
});
|
|
138034
138028
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-1680098769946",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"@types/node": "^14",
|
|
27
27
|
"jest": "^29",
|
|
28
28
|
"typescript": "^4",
|
|
29
|
-
"@modern-js/
|
|
30
|
-
"@modern-js/generator
|
|
31
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
32
|
-
"@modern-js/generator-utils": "0.0.0-next-
|
|
33
|
-
"@modern-js/
|
|
34
|
-
"@modern-js/
|
|
35
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
36
|
-
"@modern-js/doc-generator": "0.0.0-next-
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
29
|
+
"@modern-js/generator-common": "0.0.0-next-1680098769946",
|
|
30
|
+
"@modern-js/base-generator": "0.0.0-next-1680098769946",
|
|
31
|
+
"@modern-js/generator-plugin": "0.0.0-next-1680098769946",
|
|
32
|
+
"@modern-js/generator-utils": "0.0.0-next-1680098769946",
|
|
33
|
+
"@modern-js/monorepo-generator": "0.0.0-next-1680098769946",
|
|
34
|
+
"@modern-js/module-generator": "0.0.0-next-1680098769946",
|
|
35
|
+
"@modern-js/mwa-generator": "0.0.0-next-1680098769946",
|
|
36
|
+
"@modern-js/doc-generator": "0.0.0-next-1680098769946",
|
|
37
|
+
"@scripts/build": "0.0.0-next-1680098769946",
|
|
38
|
+
"@modern-js/utils": "0.0.0-next-1680098769946",
|
|
39
|
+
"@scripts/jest-config": "0.0.0-next-1680098769946"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"publishConfig": {
|