@cedarjs/internal 2.0.1-rc.2 → 2.0.2-next.24

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.
@@ -37,10 +37,10 @@ var import_node_path = __toESM(require("node:path"), 1);
37
37
  var import_ansis = __toESM(require("ansis"), 1);
38
38
  var import_project_config = require("@cedarjs/project-config");
39
39
  var import_util = require("@cedarjs/router/dist/util");
40
- var import_dist = require("@cedarjs/structure/dist/index.js");
40
+ var import_structure = require("@cedarjs/structure");
41
41
  function getDuplicateRoutes() {
42
42
  const duplicateRoutes = [];
43
- const allRoutes = (0, import_dist.getProject)((0, import_project_config.getPaths)().base).router.routes;
43
+ const allRoutes = (0, import_structure.getProject)((0, import_project_config.getPaths)().base).router.routes;
44
44
  const uniqueNames = new Set(
45
45
  allRoutes.filter((route) => route.name !== void 0).map((route) => route.name)
46
46
  );
@@ -78,7 +78,7 @@ function warningForDuplicateRoutes() {
78
78
  return message.trimEnd();
79
79
  }
80
80
  const getProjectRoutes = () => {
81
- const rwProject = (0, import_dist.getProject)((0, import_project_config.getPaths)().base);
81
+ const rwProject = (0, import_structure.getProject)((0, import_project_config.getPaths)().base);
82
82
  const routes = rwProject.getRouter().routes;
83
83
  return routes.map((route) => {
84
84
  const { matchRegexString, routeParams } = route.isNotFound ? { matchRegexString: null, routeParams: null } : (0, import_util.getRouteRegexAndParams)(route.path);
package/dist/routes.js CHANGED
@@ -2,7 +2,7 @@ import path from "node:path";
2
2
  import ansis from "ansis";
3
3
  import { getPaths, getRouteHookForPage } from "@cedarjs/project-config";
4
4
  import { getRouteRegexAndParams } from "@cedarjs/router/dist/util";
5
- import { getProject } from "@cedarjs/structure/dist/index.js";
5
+ import { getProject } from "@cedarjs/structure";
6
6
  function getDuplicateRoutes() {
7
7
  const duplicateRoutes = [];
8
8
  const allRoutes = getProject(getPaths().base).router.routes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/internal",
3
- "version": "2.0.1-rc.2",
3
+ "version": "2.0.2-next.24+7d862a743",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -140,10 +140,10 @@
140
140
  "@babel/plugin-transform-typescript": "^7.26.8",
141
141
  "@babel/runtime-corejs3": "7.27.6",
142
142
  "@babel/traverse": "7.27.4",
143
- "@cedarjs/babel-config": "2.0.1-rc.2",
144
- "@cedarjs/graphql-server": "2.0.1-rc.2",
145
- "@cedarjs/project-config": "2.0.1-rc.2",
146
- "@cedarjs/router": "2.0.1-rc.2",
143
+ "@cedarjs/babel-config": "2.0.2-next.24+7d862a743",
144
+ "@cedarjs/graphql-server": "2.0.2-next.24+7d862a743",
145
+ "@cedarjs/project-config": "2.0.2-next.24+7d862a743",
146
+ "@cedarjs/router": "2.0.2-next.24+7d862a743",
147
147
  "@graphql-codegen/add": "4.0.1",
148
148
  "@graphql-codegen/cli": "3.3.1",
149
149
  "@graphql-codegen/client-preset": "4.3.3",
@@ -172,11 +172,11 @@
172
172
  "systeminformation": "5.23.8",
173
173
  "termi-link": "1.1.0",
174
174
  "ts-node": "10.9.2",
175
- "typescript": "5.9.2"
175
+ "typescript": "5.9.3"
176
176
  },
177
177
  "devDependencies": {
178
178
  "@arethetypeswrong/cli": "0.18.2",
179
- "@cedarjs/framework-tools": "2.0.1-rc.2",
179
+ "@cedarjs/framework-tools": "2.0.2-next.24",
180
180
  "@types/fs-extra": "11.0.4",
181
181
  "concurrently": "8.2.2",
182
182
  "graphql-tag": "2.12.6",
@@ -187,5 +187,5 @@
187
187
  "publishConfig": {
188
188
  "access": "public"
189
189
  },
190
- "gitHead": "730b259c974f822005234ac851d6b9c7f9256a0e"
190
+ "gitHead": "7d862a7432fd0821b6da7194f2fd88f3d4adb1a0"
191
191
  }