@modern-js/repo-generator 0.0.0-next-1686218825540 → 0.0.0-next-1686226316243

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 +5 -1
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -122814,6 +122814,9 @@ var require_constants2 = __commonJS({
122814
122814
  ROUTE_SPEC_FILE: function() {
122815
122815
  return ROUTE_SPEC_FILE;
122816
122816
  },
122817
+ NESTED_ROUTE_SPEC_FILE: function() {
122818
+ return NESTED_ROUTE_SPEC_FILE;
122819
+ },
122817
122820
  MAIN_ENTRY_NAME: function() {
122818
122821
  return MAIN_ENTRY_NAME;
122819
122822
  },
@@ -122908,6 +122911,7 @@ var require_constants2 = __commonJS({
122908
122911
  var _export_star = require_export_star();
122909
122912
  _export_star._(require_chainId(), exports);
122910
122913
  var ROUTE_SPEC_FILE = "route.json";
122914
+ var NESTED_ROUTE_SPEC_FILE = "nestedRoutes.json";
122911
122915
  var MAIN_ENTRY_NAME = "main";
122912
122916
  var SERVER_BUNDLE_DIRECTORY = "bundles";
122913
122917
  var SERVER_WORKER_BUNDLE_DIRECTORY = "worker";
@@ -123666,7 +123670,7 @@ var require_project = __commonJS({
123666
123670
  }
123667
123671
  };
123668
123672
  var isApiOnly = (appDirectory, entryDir, apiDir) => __async(exports, null, function* () {
123669
- const existApi = yield _compiled.fs.pathExists(_path.default.join(appDirectory, apiDir !== null && apiDir !== void 0 ? apiDir : "api"));
123673
+ const existApi = yield _compiled.fs.pathExists(apiDir !== null && apiDir !== void 0 ? apiDir : _path.default.join(appDirectory, "api"));
123670
123674
  const existSrc = yield _compiled.fs.pathExists(_path.default.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src"));
123671
123675
  const options = (0, _compiled.minimist)((0, _commands.getArgv)());
123672
123676
  if (options["api-only"]) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1686218825540",
18
+ "version": "0.0.0-next-1686226316243",
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-1686218825540",
33
- "@modern-js/module-generator": "0.0.0-next-1686218825540",
34
- "@modern-js/monorepo-generator": "0.0.0-next-1686218825540",
35
- "@modern-js/mwa-generator": "0.0.0-next-1686218825540",
36
- "@modern-js/doc-generator": "0.0.0-next-1686218825540",
37
- "@modern-js/generator-common": "0.0.0-next-1686218825540",
38
- "@modern-js/generator-plugin": "0.0.0-next-1686218825540",
39
- "@modern-js/generator-utils": "0.0.0-next-1686218825540",
40
- "@modern-js/utils": "0.0.0-next-1686218825540",
41
- "@scripts/build": "0.0.0-next-1686218825540",
42
- "@scripts/jest-config": "0.0.0-next-1686218825540"
32
+ "@modern-js/base-generator": "0.0.0-next-1686226316243",
33
+ "@modern-js/generator-common": "0.0.0-next-1686226316243",
34
+ "@modern-js/generator-plugin": "0.0.0-next-1686226316243",
35
+ "@modern-js/generator-utils": "0.0.0-next-1686226316243",
36
+ "@modern-js/module-generator": "0.0.0-next-1686226316243",
37
+ "@modern-js/monorepo-generator": "0.0.0-next-1686226316243",
38
+ "@modern-js/mwa-generator": "0.0.0-next-1686226316243",
39
+ "@modern-js/doc-generator": "0.0.0-next-1686226316243",
40
+ "@scripts/build": "0.0.0-next-1686226316243",
41
+ "@scripts/jest-config": "0.0.0-next-1686226316243",
42
+ "@modern-js/utils": "0.0.0-next-1686226316243"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {