@modern-js/monorepo-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.
Files changed (2) hide show
  1. package/dist/index.js +3 -9
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -136316,17 +136316,12 @@ var require_commands = __commonJS({
136316
136316
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
136317
136317
  var commands_exports = {};
136318
136318
  __export2(commands_exports, {
136319
- getArgv: () => getArgv,
136320
136319
  getCommand: () => getCommand,
136321
136320
  isDevCommand: () => isDevCommand
136322
136321
  });
136323
136322
  module2.exports = __toCommonJS2(commands_exports);
136324
- var getArgv = () => {
136325
- var _a2;
136326
- return (((_a2 = process.env.MODERN_ARGV) == null ? void 0 : _a2.split(" ")) || process.argv).slice(2);
136327
- };
136328
136323
  var getCommand = () => {
136329
- const args = getArgv();
136324
+ const args = process.argv.slice(2);
136330
136325
  const command = args[0];
136331
136326
  return command;
136332
136327
  };
@@ -139023,16 +139018,15 @@ var require_analyzeProject2 = __commonJS({
139023
139018
  });
139024
139019
  module2.exports = __toCommonJS2(analyzeProject_exports);
139025
139020
  var path3 = __toESM2(require("path"));
139026
- var import_commands = require_commands();
139027
139021
  var import_compiled = require_compiled2();
139028
139022
  var isApiOnly = (appDirectory, entryDir) => __async2(void 0, null, function* () {
139029
139023
  const srcDir = path3.join(appDirectory, entryDir != null ? entryDir : "src");
139030
139024
  const existSrc = yield import_compiled.fs.pathExists(srcDir);
139031
- const options = (0, import_compiled.minimist)((0, import_commands.getArgv)());
139025
+ const options = (0, import_compiled.minimist)(process.argv.slice(2));
139032
139026
  return !existSrc || Boolean(options["api-only"]);
139033
139027
  });
139034
139028
  var isWebOnly = () => __async2(void 0, null, function* () {
139035
- const options = (0, import_compiled.minimist)((0, import_commands.getArgv)());
139029
+ const options = (0, import_compiled.minimist)(process.argv.slice(2));
139036
139030
  return Boolean(options["web-only"]);
139037
139031
  });
139038
139032
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-next-1680093705168",
14
+ "version": "0.0.0-next-1680098769946",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
@@ -27,14 +27,14 @@
27
27
  "@types/node": "^14",
28
28
  "jest": "^29",
29
29
  "typescript": "^4",
30
- "@modern-js/generator-utils": "0.0.0-next-1680093705168",
31
- "@modern-js/base-generator": "0.0.0-next-1680093705168",
32
- "@modern-js/plugin-i18n": "0.0.0-next-1680093705168",
33
- "@modern-js/packages-generator": "0.0.0-next-1680093705168",
34
- "@modern-js/changeset-generator": "0.0.0-next-1680093705168",
35
- "@modern-js/generator-common": "0.0.0-next-1680093705168",
36
- "@scripts/build": "0.0.0-next-1680093705168",
37
- "@scripts/jest-config": "0.0.0-next-1680093705168"
30
+ "@modern-js/base-generator": "0.0.0-next-1680098769946",
31
+ "@modern-js/changeset-generator": "0.0.0-next-1680098769946",
32
+ "@modern-js/generator-common": "0.0.0-next-1680098769946",
33
+ "@modern-js/plugin-i18n": "0.0.0-next-1680098769946",
34
+ "@modern-js/generator-utils": "0.0.0-next-1680098769946",
35
+ "@modern-js/packages-generator": "0.0.0-next-1680098769946",
36
+ "@scripts/build": "0.0.0-next-1680098769946",
37
+ "@scripts/jest-config": "0.0.0-next-1680098769946"
38
38
  },
39
39
  "sideEffects": false,
40
40
  "publishConfig": {