@real-router/ssr-data-plugin 0.1.9 → 0.1.10
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/cjs/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare module "@real-router/core" {
|
|
|
12
12
|
interface Router {
|
|
13
13
|
getRouteData: (state?: State) => unknown;
|
|
14
14
|
}
|
|
15
|
-
}
|
|
15
|
+
} //# sourceMappingURL=index.d.ts.map
|
|
16
16
|
//#endregion
|
|
17
17
|
export { type DataLoaderFn, type DataLoaderMap, ssrDataPluginFactory };
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/types.ts","../../src/factory.ts","../../src/index.ts"],"mappings":";;;KAEY,YAAA,IAAgB,MAAA,EAAQ,MAAA,KAAW,OAAA;AAAA,KAEnC,aAAA,GAAgB,MAAA,SAAe,YAAA;;;iBCG3B,oBAAA,CAAqB,OAAA,EAAS,aAAA,GAAgB,aAAA;;;;YCAlD,MAAA;IACR,YAAA,GAAe,KAAA,GAAQ,KAAA;EAAA;AAAA"}
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -12,7 +12,7 @@ declare module "@real-router/core" {
|
|
|
12
12
|
interface Router {
|
|
13
13
|
getRouteData: (state?: State) => unknown;
|
|
14
14
|
}
|
|
15
|
-
}
|
|
15
|
+
} //# sourceMappingURL=index.d.ts.map
|
|
16
16
|
//#endregion
|
|
17
17
|
export { type DataLoaderFn, type DataLoaderMap, ssrDataPluginFactory };
|
|
18
18
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/types.ts","../../src/factory.ts","../../src/index.ts"],"mappings":";;;KAEY,YAAA,IAAgB,MAAA,EAAQ,MAAA,KAAW,OAAA;AAAA,KAEnC,aAAA,GAAgB,MAAA,SAAe,YAAA;;;iBCG3B,oBAAA,CAAqB,OAAA,EAAS,aAAA,GAAgB,aAAA;;;;YCAlD,MAAA;IACR,YAAA,GAAe,KAAA,GAAQ,KAAA;EAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@real-router/ssr-data-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "SSR per-route data loading plugin for Real-Router",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -36,10 +36,12 @@
|
|
|
36
36
|
"homepage": "https://github.com/greydragon888/real-router",
|
|
37
37
|
"sideEffects": false,
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@real-router/core": "^0.
|
|
39
|
+
"@real-router/core": "^0.46.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"test": "vitest",
|
|
43
|
+
"test:properties": "vitest run --config vitest.config.properties.mts",
|
|
44
|
+
"test:stress": "vitest --config vitest.config.stress.mts --run",
|
|
43
45
|
"build": "tsdown --config-loader unrun",
|
|
44
46
|
"type-check": "tsc --noEmit",
|
|
45
47
|
"lint": "eslint --cache --ext .ts src/ tests/ --fix --max-warnings 0",
|