@cedarjs/vite 3.0.0-canary.13594 → 3.0.0-canary.13596
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function cedarVitestPreset():
|
|
1
|
+
export declare function cedarVitestPreset(): any[];
|
|
2
2
|
//# sourceMappingURL=vite-plugin-cedar-vitest-api-preset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite-plugin-cedar-vitest-api-preset.d.ts","sourceRoot":"","sources":["../../src/api/vite-plugin-cedar-vitest-api-preset.ts"],"names":[],"mappings":"AAQA,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"vite-plugin-cedar-vitest-api-preset.d.ts","sourceRoot":"","sources":["../../src/api/vite-plugin-cedar-vitest-api-preset.ts"],"names":[],"mappings":"AAQA,wBAAgB,iBAAiB,UAOhC"}
|
package/dist/cjs/lib/entries.js
CHANGED
|
@@ -27,8 +27,7 @@ var import_dist = require("@cedarjs/structure/dist/index.js");
|
|
|
27
27
|
var import_utils = require("../utils.js");
|
|
28
28
|
function getEntries() {
|
|
29
29
|
const entries = {};
|
|
30
|
-
const
|
|
31
|
-
const routes = rwProject.getRouter().routes;
|
|
30
|
+
const routes = (0, import_dist.getProject)().getRouter().routes;
|
|
32
31
|
const pages = routes.map((route) => route.page);
|
|
33
32
|
for (const page of pages) {
|
|
34
33
|
entries[page.constName] = (0, import_project_config.ensurePosixPath)((0, import_project_config.importStatementPath)(page.path));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../src/lib/entries.ts"],"names":[],"mappings":"AAWA,wBAAgB,UAAU,
|
|
1
|
+
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../src/lib/entries.ts"],"names":[],"mappings":"AAWA,wBAAgB,UAAU,2BAyBzB;AAED,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAI1E"}
|
package/dist/lib/entries.js
CHANGED
|
@@ -7,8 +7,7 @@ import { getProject } from "@cedarjs/structure/dist/index.js";
|
|
|
7
7
|
import { makeFilePath } from "../utils.js";
|
|
8
8
|
function getEntries() {
|
|
9
9
|
const entries = {};
|
|
10
|
-
const
|
|
11
|
-
const routes = rwProject.getRouter().routes;
|
|
10
|
+
const routes = getProject().getRouter().routes;
|
|
12
11
|
const pages = routes.map((route) => route.page);
|
|
13
12
|
for (const page of pages) {
|
|
14
13
|
entries[page.constName] = ensurePosixPath(importStatementPath(page.path));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/vite",
|
|
3
|
-
"version": "3.0.0-canary.
|
|
3
|
+
"version": "3.0.0-canary.13596+e3364d309",
|
|
4
4
|
"description": "Vite configuration package for CedarJS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"@babel/generator": "7.29.1",
|
|
65
65
|
"@babel/parser": "7.29.0",
|
|
66
66
|
"@babel/traverse": "7.29.0",
|
|
67
|
-
"@cedarjs/auth": "3.0.0-canary.
|
|
68
|
-
"@cedarjs/babel-config": "3.0.0-canary.
|
|
69
|
-
"@cedarjs/cookie-jar": "3.0.0-canary.
|
|
70
|
-
"@cedarjs/internal": "3.0.0-canary.
|
|
71
|
-
"@cedarjs/project-config": "3.0.0-canary.
|
|
72
|
-
"@cedarjs/server-store": "3.0.0-canary.
|
|
73
|
-
"@cedarjs/testing": "3.0.0-canary.
|
|
74
|
-
"@cedarjs/web": "3.0.0-canary.
|
|
67
|
+
"@cedarjs/auth": "3.0.0-canary.13596",
|
|
68
|
+
"@cedarjs/babel-config": "3.0.0-canary.13596",
|
|
69
|
+
"@cedarjs/cookie-jar": "3.0.0-canary.13596",
|
|
70
|
+
"@cedarjs/internal": "3.0.0-canary.13596",
|
|
71
|
+
"@cedarjs/project-config": "3.0.0-canary.13596",
|
|
72
|
+
"@cedarjs/server-store": "3.0.0-canary.13596",
|
|
73
|
+
"@cedarjs/testing": "3.0.0-canary.13596",
|
|
74
|
+
"@cedarjs/web": "3.0.0-canary.13596",
|
|
75
75
|
"@swc/core": "1.15.18",
|
|
76
76
|
"@vitejs/plugin-react": "4.7.0",
|
|
77
77
|
"@whatwg-node/fetch": "0.10.13",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "e3364d3098475cbd73b315c90f60845f69838bc1"
|
|
120
120
|
}
|