@tyndall/core 0.0.1 → 0.0.3
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/README.md +3 -1
- package/dist/client-router-bootstrap.d.ts +1 -0
- package/dist/client-router-bootstrap.d.ts.map +1 -1
- package/dist/client-router-bootstrap.js +422 -149
- package/dist/config.d.ts +4 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -2
- package/dist/layouts.d.ts +1 -0
- package/dist/layouts.d.ts.map +1 -1
- package/dist/layouts.js +16 -0
- package/dist/manifest.d.ts +68 -0
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +66 -2
- package/dist/page-api.d.ts +27 -0
- package/dist/page-api.d.ts.map +1 -1
- package/dist/page-api.js +67 -0
- package/dist/plugin.d.ts +10 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/route-data.d.ts +7 -0
- package/dist/route-data.d.ts.map +1 -0
- package/dist/route-data.js +5 -0
- package/dist/route-graph.d.ts.map +1 -1
- package/dist/route-graph.js +25 -44
- package/dist/route-utils.d.ts +4 -0
- package/dist/route-utils.d.ts.map +1 -0
- package/dist/route-utils.js +43 -0
- package/dist/router.d.ts +2 -0
- package/dist/router.d.ts.map +1 -1
- package/dist/special-routes.d.ts +14 -0
- package/dist/special-routes.d.ts.map +1 -0
- package/dist/special-routes.js +17 -0
- package/dist/ui-adapter.d.ts +3 -0
- package/dist/ui-adapter.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-data.d.ts","sourceRoot":"","sources":["../src/route-data.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEnD,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,mBAAmB,gBAAgB,CAAC;AACjD,eAAO,MAAM,oBAAoB,mBAAmB,CAAC;AAErD,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,KAAG,MAA2B,CAAC;AAClF,eAAO,MAAM,qBAAqB,GAAI,SAAS,MAAM,KAAG,MAA6B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const ROUTE_DATA_SCRIPT_ID = "__HYPER_ROUTE_DATA__";
|
|
2
|
+
export const ROUTE_DATA_INIT_KEY = "init:server";
|
|
3
|
+
export const ROUTE_DATA_ERROR_KEY = "error:boundary";
|
|
4
|
+
export const routeDataKeyForPage = (routeId) => `page:${routeId}`;
|
|
5
|
+
export const routeDataKeyForLayout = (routeId) => `layout:${routeId}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-graph.d.ts","sourceRoot":"","sources":["../src/route-graph.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAA0C,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"route-graph.d.ts","sourceRoot":"","sources":["../src/route-graph.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAA0C,MAAM,aAAa,CAAC;AAOtF,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAuBD,eAAO,MAAM,gBAAgB,GAAU,SAAS,iBAAiB,KAAG,OAAO,CAAC,UAAU,CA8HrF,CAAC"}
|
package/dist/route-graph.js
CHANGED
|
@@ -3,49 +3,11 @@ import { extname, join, relative, sep } from "node:path";
|
|
|
3
3
|
import { HyperError } from "./errors.js";
|
|
4
4
|
import { loadRouteMeta, mergeRoutePolicies } from "./route-meta.js";
|
|
5
5
|
import { collectRouteLayouts } from "./layouts.js";
|
|
6
|
+
import { parseRouteSegment, segmentsToRouteId } from "./route-utils.js";
|
|
7
|
+
import { resolveSpecialRouteKey } from "./special-routes.js";
|
|
6
8
|
const defaultExtensions = [".tsx", ".ts", ".jsx", ".js"];
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
if (isGroupSegment(segment)) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
if (segment.startsWith("[...") && segment.endsWith("]")) {
|
|
13
|
-
const name = segment.slice(4, -1).trim();
|
|
14
|
-
if (!name) {
|
|
15
|
-
throw new HyperError("ROUTE_INVALID", "Catch-all segment name is required.", {
|
|
16
|
-
segment,
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
return { type: "catchAll", name };
|
|
20
|
-
}
|
|
21
|
-
if (segment.startsWith("[") && segment.endsWith("]")) {
|
|
22
|
-
const name = segment.slice(1, -1).trim();
|
|
23
|
-
if (!name) {
|
|
24
|
-
throw new HyperError("ROUTE_INVALID", "Dynamic segment name is required.", {
|
|
25
|
-
segment,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
return { type: "dynamic", name };
|
|
29
|
-
}
|
|
30
|
-
return { type: "static", value: segment };
|
|
31
|
-
};
|
|
32
|
-
const segmentsToId = (segments) => {
|
|
33
|
-
if (segments.length === 0) {
|
|
34
|
-
return "/";
|
|
35
|
-
}
|
|
36
|
-
return ("/" +
|
|
37
|
-
segments
|
|
38
|
-
.map((segment) => {
|
|
39
|
-
if (segment.type === "static") {
|
|
40
|
-
return segment.value;
|
|
41
|
-
}
|
|
42
|
-
if (segment.type === "dynamic") {
|
|
43
|
-
return `:${segment.name}`;
|
|
44
|
-
}
|
|
45
|
-
return `*${segment.name}`;
|
|
46
|
-
})
|
|
47
|
-
.join("/"));
|
|
48
|
-
};
|
|
9
|
+
const parseSegment = (segment) => parseRouteSegment(segment);
|
|
10
|
+
const segmentsToId = (segments) => segmentsToRouteId(segments);
|
|
49
11
|
const walkFiles = async (dir) => {
|
|
50
12
|
const entries = await readdir(dir, { withFileTypes: true });
|
|
51
13
|
entries.sort((a, b) => a.name.localeCompare(b.name));
|
|
@@ -70,6 +32,7 @@ export const createRouteGraph = async (options) => {
|
|
|
70
32
|
const routes = [];
|
|
71
33
|
const seenIds = new Set();
|
|
72
34
|
const routeMetaFiles = new Map();
|
|
35
|
+
const specialFiles = new Map();
|
|
73
36
|
const routeMetaCache = new Map();
|
|
74
37
|
const extensionRank = (extension) => {
|
|
75
38
|
const index = extensionList.indexOf(extension);
|
|
@@ -104,7 +67,18 @@ export const createRouteGraph = async (options) => {
|
|
|
104
67
|
}
|
|
105
68
|
continue;
|
|
106
69
|
}
|
|
107
|
-
if (
|
|
70
|
+
if (parts.length === 0) {
|
|
71
|
+
const specialKey = resolveSpecialRouteKey(baseName);
|
|
72
|
+
if (specialKey) {
|
|
73
|
+
const rank = extensionRank(extension);
|
|
74
|
+
const existing = specialFiles.get(specialKey);
|
|
75
|
+
if (!existing || rank < existing.rank) {
|
|
76
|
+
specialFiles.set(specialKey, { filePath, rank });
|
|
77
|
+
}
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (baseName.startsWith("_") || baseName.endsWith(".server")) {
|
|
108
82
|
continue;
|
|
109
83
|
}
|
|
110
84
|
const segments = [];
|
|
@@ -153,5 +127,12 @@ export const createRouteGraph = async (options) => {
|
|
|
153
127
|
}
|
|
154
128
|
// Deterministic ordering ensures stable route ids and reproducible builds.
|
|
155
129
|
routes.sort((a, b) => a.id.localeCompare(b.id));
|
|
156
|
-
|
|
130
|
+
const resolvedSpecialFiles = {
|
|
131
|
+
app: specialFiles.get("app")?.filePath,
|
|
132
|
+
document: specialFiles.get("document")?.filePath,
|
|
133
|
+
notFound: specialFiles.get("notFound")?.filePath,
|
|
134
|
+
error: specialFiles.get("error")?.filePath,
|
|
135
|
+
initServer: specialFiles.get("initServer")?.filePath,
|
|
136
|
+
};
|
|
137
|
+
return { routes, specialFiles: resolvedSpecialFiles };
|
|
157
138
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-utils.d.ts","sourceRoot":"","sources":["../src/route-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD,eAAO,MAAM,iBAAiB,GAAI,SAAS,MAAM,KAAG,YAAY,GAAG,IA0BlE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,UAAU,YAAY,EAAE,KAAG,MAkB5D,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HyperError } from "./errors.js";
|
|
2
|
+
const isGroupSegment = (segment) => segment.startsWith("(") && segment.endsWith(")") && segment.length > 2;
|
|
3
|
+
export const parseRouteSegment = (segment) => {
|
|
4
|
+
if (isGroupSegment(segment)) {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
7
|
+
if (segment.startsWith("[...") && segment.endsWith("]")) {
|
|
8
|
+
const name = segment.slice(4, -1).trim();
|
|
9
|
+
if (!name) {
|
|
10
|
+
throw new HyperError("ROUTE_INVALID", "Catch-all segment name is required.", {
|
|
11
|
+
segment,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return { type: "catchAll", name };
|
|
15
|
+
}
|
|
16
|
+
if (segment.startsWith("[") && segment.endsWith("]")) {
|
|
17
|
+
const name = segment.slice(1, -1).trim();
|
|
18
|
+
if (!name) {
|
|
19
|
+
throw new HyperError("ROUTE_INVALID", "Dynamic segment name is required.", {
|
|
20
|
+
segment,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return { type: "dynamic", name };
|
|
24
|
+
}
|
|
25
|
+
return { type: "static", value: segment };
|
|
26
|
+
};
|
|
27
|
+
export const segmentsToRouteId = (segments) => {
|
|
28
|
+
if (segments.length === 0) {
|
|
29
|
+
return "/";
|
|
30
|
+
}
|
|
31
|
+
return ("/" +
|
|
32
|
+
segments
|
|
33
|
+
.map((segment) => {
|
|
34
|
+
if (segment.type === "static") {
|
|
35
|
+
return segment.value;
|
|
36
|
+
}
|
|
37
|
+
if (segment.type === "dynamic") {
|
|
38
|
+
return `:${segment.name}`;
|
|
39
|
+
}
|
|
40
|
+
return `*${segment.name}`;
|
|
41
|
+
})
|
|
42
|
+
.join("/"));
|
|
43
|
+
};
|
package/dist/router.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SpecialRouteFiles } from "./special-routes.js";
|
|
1
2
|
export type RouteSegment = {
|
|
2
3
|
type: "static";
|
|
3
4
|
value: string;
|
|
@@ -18,6 +19,7 @@ export interface RouteRecord {
|
|
|
18
19
|
}
|
|
19
20
|
export interface RouteGraph {
|
|
20
21
|
routes: RouteRecord[];
|
|
22
|
+
specialFiles?: SpecialRouteFiles;
|
|
21
23
|
}
|
|
22
24
|
export interface MatchResult {
|
|
23
25
|
route: RouteRecord;
|
package/dist/router.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GACpB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAElD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,WAAW,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,YAAY,GACpB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAElD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;CAC3C;AAwFD,eAAO,MAAM,UAAU,GAAI,UAAU,MAAM,EAAE,YAAY,UAAU,KAAG,WAAW,GAAG,IAanF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type SpecialRouteKey = "app" | "document" | "notFound" | "error" | "initServer";
|
|
2
|
+
export interface SpecialRouteFiles {
|
|
3
|
+
app?: string;
|
|
4
|
+
document?: string;
|
|
5
|
+
notFound?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
initServer?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const SPECIAL_ROUTE_IDS: {
|
|
10
|
+
readonly notFound: "/_404";
|
|
11
|
+
readonly error: "/_error";
|
|
12
|
+
};
|
|
13
|
+
export declare const resolveSpecialRouteKey: (baseName: string) => SpecialRouteKey | null;
|
|
14
|
+
//# sourceMappingURL=special-routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"special-routes.d.ts","sourceRoot":"","sources":["../src/special-routes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AAEvF,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,sBAAsB,GAAI,UAAU,MAAM,KAAG,eAAe,GAAG,IAO3E,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const SPECIAL_ROUTE_IDS = {
|
|
2
|
+
notFound: "/_404",
|
|
3
|
+
error: "/_error",
|
|
4
|
+
};
|
|
5
|
+
export const resolveSpecialRouteKey = (baseName) => {
|
|
6
|
+
if (baseName === "_app")
|
|
7
|
+
return "app";
|
|
8
|
+
if (baseName === "_document")
|
|
9
|
+
return "document";
|
|
10
|
+
if (baseName === "_404")
|
|
11
|
+
return "notFound";
|
|
12
|
+
if (baseName === "_error")
|
|
13
|
+
return "error";
|
|
14
|
+
if (baseName === "_init.server" || baseName === "init.server")
|
|
15
|
+
return "initServer";
|
|
16
|
+
return null;
|
|
17
|
+
};
|
package/dist/ui-adapter.d.ts
CHANGED
|
@@ -8,15 +8,18 @@ export interface UIAdapterEntryContext {
|
|
|
8
8
|
rootDir?: string;
|
|
9
9
|
entryDir?: string;
|
|
10
10
|
routeRoot?: string;
|
|
11
|
+
entryLayoutFiles?: string[];
|
|
11
12
|
chunks?: Record<string, unknown>;
|
|
12
13
|
ssrAdapter?: string;
|
|
13
14
|
uiOptions?: Record<string, unknown>;
|
|
14
15
|
adapterOptions?: Record<string, unknown>;
|
|
16
|
+
appModule?: string;
|
|
15
17
|
}
|
|
16
18
|
export interface UIAdapterRenderContext {
|
|
17
19
|
routeId: string;
|
|
18
20
|
params?: RouteParams;
|
|
19
21
|
props: Record<string, unknown>;
|
|
22
|
+
routeData?: Record<string, unknown>;
|
|
20
23
|
}
|
|
21
24
|
export interface UIAdapterRenderResult {
|
|
22
25
|
html: string;
|
package/dist/ui-adapter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-adapter.d.ts","sourceRoot":"","sources":["../src/ui-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EA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|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tyndall/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
|
-
"bun": "./
|
|
13
|
+
"bun": "./dist/index.js",
|
|
14
14
|
"default": "./dist/index.js"
|
|
15
15
|
}
|
|
16
16
|
},
|