@markless/router 0.3.2 → 0.4.0
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/dist/index.d.ts +3 -3
- package/dist/vite.js +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ interface LinkNavigationProps {
|
|
|
148
148
|
}
|
|
149
149
|
type DefaultLinkProps = {
|
|
150
150
|
readonly href?: string;
|
|
151
|
-
readonly children?:
|
|
151
|
+
readonly children?: __MarklessTypeService.Child;
|
|
152
152
|
readonly class?: string;
|
|
153
153
|
readonly id?: string;
|
|
154
154
|
readonly target?: string;
|
|
@@ -182,10 +182,10 @@ type RuntimeHttpEvent = {
|
|
|
182
182
|
};
|
|
183
183
|
declare function __marklessCreateHttpContext<Params extends object = Readonly<Record<string, string>>, Locals extends object = AppLocals>(event: RuntimeHttpEvent): EndpointHttpContext<Params, Locals>;
|
|
184
184
|
declare const Html: ((props: {
|
|
185
|
-
readonly children?:
|
|
185
|
+
readonly children?: __MarklessTypeService.Child;
|
|
186
186
|
}) => unknown) & {
|
|
187
187
|
renderSsr(props?: {
|
|
188
|
-
readonly children?:
|
|
188
|
+
readonly children?: __MarklessTypeService.Child;
|
|
189
189
|
}): {
|
|
190
190
|
html: string;
|
|
191
191
|
elementCount: number;
|
package/dist/vite.js
CHANGED
|
@@ -7,7 +7,7 @@ import { existsSync } from "node:fs";
|
|
|
7
7
|
import { nitro } from "nitro/vite";
|
|
8
8
|
import { sortUserPlugins } from "vite";
|
|
9
9
|
import { symbolVirtualModuleSourceFile } from "@markless/bundler/preload";
|
|
10
|
-
import { parseModule } from "
|
|
10
|
+
import { parseModule } from "yuku-tsrx";
|
|
11
11
|
import { mkdir, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
12
12
|
import { toHtml } from "hast-util-to-html";
|
|
13
13
|
import { HastReader, createMdxHastHandle, defineHastPlugin, dropHandle, materializeHastTree, resolveHastSubscriptions, serializeHandle, visitHastHandle } from "satteri";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markless/router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Markless router: client-side navigation with SSR streaming and build-time preload maps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -57,18 +57,18 @@
|
|
|
57
57
|
"provenance": true
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@tsrx/core": "^0.1.58",
|
|
61
60
|
"@virtualstate/navigation": "1.0.1-alpha.212",
|
|
62
61
|
"hast-util-to-html": "^9.0.5",
|
|
63
62
|
"nitro": "3.0.260429-beta",
|
|
64
63
|
"pathe": "^2.0.3",
|
|
65
64
|
"satteri": "0.6.3",
|
|
66
65
|
"ufo": "^1.6.4",
|
|
67
|
-
"
|
|
68
|
-
"@markless/
|
|
66
|
+
"yuku-tsrx": "0.1.3",
|
|
67
|
+
"@markless/bundler": "0.4.0",
|
|
68
|
+
"@markless/web": "0.4.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@markless/analyzer": "0.
|
|
71
|
+
"@markless/analyzer": "0.4.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"vite": "8.0.16"
|