@reckona/mreact-router 0.0.196 → 0.0.197
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/boundaries.d.ts +66 -0
- package/dist/boundaries.d.ts.map +1 -0
- package/dist/boundaries.js +168 -0
- package/dist/boundaries.js.map +1 -0
- package/dist/build.d.ts +3 -0
- package/dist/build.d.ts.map +1 -1
- package/dist/build.js +18 -1
- package/dist/build.js.map +1 -1
- package/dist/cli-options.d.ts +1 -0
- package/dist/cli-options.d.ts.map +1 -1
- package/dist/cli-options.js +30 -0
- package/dist/cli-options.js.map +1 -1
- package/dist/cli.js +16 -0
- package/dist/cli.js.map +1 -1
- package/dist/client-route-inference.d.ts +1 -1
- package/dist/client-route-inference.d.ts.map +1 -1
- package/dist/client-route-inference.js.map +1 -1
- package/dist/client.d.ts +11 -6
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +411 -22
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/boundaries.ts +285 -0
- package/src/build.ts +25 -1
- package/src/cli-options.ts +36 -1
- package/src/cli.ts +23 -0
- package/src/client-route-inference.ts +3 -0
- package/src/client.ts +647 -40
- package/src/index.ts +24 -5
package/src/index.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
export { buildApp, packageAwsLambdaArtifact, packageCloudflarePagesArtifact } from "./build.js";
|
|
2
2
|
export { assetHref, assetPreloadLinks } from "./assets.js";
|
|
3
|
+
export {
|
|
4
|
+
analyzeAppBoundaries,
|
|
5
|
+
createBoundaryReport,
|
|
6
|
+
formatBoundaryReport,
|
|
7
|
+
formatBoundaryReportJson,
|
|
8
|
+
} from "./boundaries.js";
|
|
9
|
+
export type {
|
|
10
|
+
AnalyzeAppBoundariesOptions,
|
|
11
|
+
BoundaryReport,
|
|
12
|
+
BoundaryReportComponent,
|
|
13
|
+
BoundaryReportRoute,
|
|
14
|
+
BoundaryReportSummary,
|
|
15
|
+
CreateBoundaryReportInput,
|
|
16
|
+
CreateBoundaryReportRouteInput,
|
|
17
|
+
} from "./boundaries.js";
|
|
3
18
|
export { cacheControl, createMemoryRouteCache, revalidatePath } from "./cache.js";
|
|
4
19
|
export { deleteCookie, parseCookieHeader, serializeCookie, setCookie } from "./cookies.js";
|
|
5
20
|
export { defineMessages, detectLocale } from "./i18n.js";
|
|
@@ -275,10 +290,7 @@ export type {
|
|
|
275
290
|
AppRouterResponseHookContext,
|
|
276
291
|
RenderAppRequestOptions,
|
|
277
292
|
} from "./render.js";
|
|
278
|
-
export {
|
|
279
|
-
parseTraceContext,
|
|
280
|
-
traceContextFromRequest,
|
|
281
|
-
} from "./trace.js";
|
|
293
|
+
export { parseTraceContext, traceContextFromRequest } from "./trace.js";
|
|
282
294
|
export type {
|
|
283
295
|
RouterInstrumentation,
|
|
284
296
|
RouterMiddlewareEndInstrumentationEvent,
|
|
@@ -308,7 +320,14 @@ export type {
|
|
|
308
320
|
StartServerOptions,
|
|
309
321
|
} from "./serve.js";
|
|
310
322
|
export { matchRoute, scanAppRoutes } from "./routes.js";
|
|
311
|
-
export type {
|
|
323
|
+
export type {
|
|
324
|
+
CachedClientRouteSource,
|
|
325
|
+
ClientRouteComponent,
|
|
326
|
+
ClientRouteComponentClassification,
|
|
327
|
+
ClientRouteComponentOrigin,
|
|
328
|
+
ClientRouteInferenceCache,
|
|
329
|
+
ClientRouteInferenceDiagnostic,
|
|
330
|
+
} from "./client.js";
|
|
312
331
|
export type { RouteMatcher, ScanAppRoutesOptions } from "./routes.js";
|
|
313
332
|
export type { AppFileConvention } from "./file-conventions.js";
|
|
314
333
|
export type {
|