@flight-framework/core 0.2.5 → 0.3.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.
Files changed (137) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +346 -0
  3. package/dist/actions/index.js +1 -1
  4. package/dist/adapters/index.js +1 -1
  5. package/dist/cache/index.js +1 -1
  6. package/dist/{chunk-FSJNOPYE.js → chunk-2JVEH76V.js} +3 -3
  7. package/dist/chunk-2JVEH76V.js.map +1 -0
  8. package/dist/{chunk-3ZSSRE6M.js → chunk-2R23X5Z3.js} +2 -2
  9. package/dist/chunk-2R23X5Z3.js.map +1 -0
  10. package/dist/{chunk-VPFMHGEV.js → chunk-3N5ZBVZJ.js} +2 -2
  11. package/dist/chunk-3N5ZBVZJ.js.map +1 -0
  12. package/dist/{chunk-2F2QU6RC.js → chunk-3UQJE3XZ.js} +2 -2
  13. package/dist/chunk-3UQJE3XZ.js.map +1 -0
  14. package/dist/{chunk-PDW5WCMW.js → chunk-5XHOLZBJ.js} +2 -2
  15. package/dist/chunk-5XHOLZBJ.js.map +1 -0
  16. package/dist/{chunk-MDQNNIHH.js → chunk-65JYF3DJ.js} +2 -2
  17. package/dist/chunk-65JYF3DJ.js.map +1 -0
  18. package/dist/{chunk-K2CQZPCG.js → chunk-6GI6HFSQ.js} +2 -2
  19. package/dist/chunk-6GI6HFSQ.js.map +1 -0
  20. package/dist/{chunk-PVUMB632.js → chunk-A2QRUBVE.js} +2 -2
  21. package/dist/chunk-A2QRUBVE.js.map +1 -0
  22. package/dist/{chunk-W6D62JCI.js → chunk-A4TKWQBU.js} +2 -2
  23. package/dist/chunk-A4TKWQBU.js.map +1 -0
  24. package/dist/{chunk-GCQZ4FHI.js → chunk-ARBKF6VI.js} +2 -2
  25. package/dist/{chunk-GCQZ4FHI.js.map → chunk-ARBKF6VI.js.map} +1 -1
  26. package/dist/{chunk-ZVC3ZWLM.js → chunk-B2LPSCES.js} +2 -2
  27. package/dist/chunk-B2LPSCES.js.map +1 -0
  28. package/dist/{chunk-62C7LX2E.js → chunk-CKJHJPKQ.js} +2 -2
  29. package/dist/chunk-CKJHJPKQ.js.map +1 -0
  30. package/dist/{chunk-RSVA2EYO.js → chunk-CNY3ZUVG.js} +2 -2
  31. package/dist/chunk-CNY3ZUVG.js.map +1 -0
  32. package/dist/{chunk-IXMD5QH2.js → chunk-EHVUAFNH.js} +2 -2
  33. package/dist/chunk-EHVUAFNH.js.map +1 -0
  34. package/dist/{chunk-P6WSBVDT.js → chunk-FRAH5QNY.js} +4 -4
  35. package/dist/chunk-FRAH5QNY.js.map +1 -0
  36. package/dist/{chunk-MQQLYWZZ.js → chunk-GNS2FGPC.js} +2 -2
  37. package/dist/chunk-GNS2FGPC.js.map +1 -0
  38. package/dist/{chunk-TASAT7KB.js → chunk-HNPO6LFW.js} +2 -2
  39. package/dist/chunk-HNPO6LFW.js.map +1 -0
  40. package/dist/{chunk-KWFX6WHG.js → chunk-JFUKVWSO.js} +2 -2
  41. package/dist/chunk-JFUKVWSO.js.map +1 -0
  42. package/dist/{chunk-NWMJYTMB.js → chunk-LAKHYTHL.js} +3 -3
  43. package/dist/chunk-LAKHYTHL.js.map +1 -0
  44. package/dist/{chunk-R7SQAREQ.js → chunk-LKOPJ3GS.js} +2 -2
  45. package/dist/chunk-LKOPJ3GS.js.map +1 -0
  46. package/dist/{chunk-WOEIJWGJ.js → chunk-NZS2YJ43.js} +2 -2
  47. package/dist/chunk-NZS2YJ43.js.map +1 -0
  48. package/dist/{chunk-3QP3E7HS.js → chunk-OZ3EXPLE.js} +2 -2
  49. package/dist/chunk-OZ3EXPLE.js.map +1 -0
  50. package/dist/{chunk-YHEVHRLH.js → chunk-OZBPR27I.js} +2 -2
  51. package/dist/chunk-OZBPR27I.js.map +1 -0
  52. package/dist/{chunk-T4Z4HM4W.js → chunk-PAVI5W6M.js} +3 -3
  53. package/dist/chunk-PAVI5W6M.js.map +1 -0
  54. package/dist/{chunk-XSY5AAXT.js → chunk-PO7IHPFF.js} +2 -2
  55. package/dist/chunk-PO7IHPFF.js.map +1 -0
  56. package/dist/{chunk-SUILH4ID.js → chunk-QK6UEQ75.js} +2 -2
  57. package/dist/chunk-QK6UEQ75.js.map +1 -0
  58. package/dist/{chunk-WFAWAHJH.js → chunk-UFWGOJL7.js} +2 -2
  59. package/dist/chunk-UFWGOJL7.js.map +1 -0
  60. package/dist/{chunk-54HPVE7N.js → chunk-UGTETAJ2.js} +2 -2
  61. package/dist/chunk-UGTETAJ2.js.map +1 -0
  62. package/dist/{chunk-LBYDTULN.js → chunk-UL4Q5CIJ.js} +5 -5
  63. package/dist/chunk-UL4Q5CIJ.js.map +1 -0
  64. package/dist/{chunk-XOIYNY4I.js → chunk-VNO2YUVD.js} +2 -2
  65. package/dist/chunk-VNO2YUVD.js.map +1 -0
  66. package/dist/{chunk-ZIE56LCA.js → chunk-XU6MRYG2.js} +3 -3
  67. package/dist/chunk-XU6MRYG2.js.map +1 -0
  68. package/dist/{chunk-6BDCTUQY.js → chunk-YNTMYL36.js} +3 -3
  69. package/dist/chunk-YNTMYL36.js.map +1 -0
  70. package/dist/config/index.js +1 -1
  71. package/dist/errors/index.js +2 -2
  72. package/dist/file-router/index.js +1 -1
  73. package/dist/file-router/streaming-hints.js +1 -1
  74. package/dist/handlers/index.js +1 -1
  75. package/dist/index.js +30 -30
  76. package/dist/index.js.map +1 -1
  77. package/dist/islands/index.js +1 -1
  78. package/dist/middleware/index.js +1 -1
  79. package/dist/react/index.js +2 -2
  80. package/dist/react/index.js.map +1 -1
  81. package/dist/render/index.js +1 -1
  82. package/dist/router/index.js +1 -1
  83. package/dist/rsc/adapters/index.js +4 -4
  84. package/dist/rsc/adapters/preact.js +1 -1
  85. package/dist/rsc/adapters/react.js +1 -1
  86. package/dist/rsc/adapters/solid.js +1 -1
  87. package/dist/rsc/adapters/vue.js +1 -1
  88. package/dist/rsc/boundaries.js +1 -1
  89. package/dist/rsc/context.js +1 -1
  90. package/dist/rsc/index.js +11 -11
  91. package/dist/rsc/legacy.js +1 -1
  92. package/dist/rsc/payload.js +1 -1
  93. package/dist/rsc/plugins/esbuild.js +2 -2
  94. package/dist/rsc/plugins/index.js +4 -4
  95. package/dist/rsc/plugins/rollup.js +2 -2
  96. package/dist/rsc/renderer.js +3 -3
  97. package/dist/rsc/stream.js +1 -1
  98. package/dist/rsc/vite-plugin.js +2 -2
  99. package/dist/server/index.js +4 -4
  100. package/dist/streaming/adapters/index.js +1 -1
  101. package/dist/streaming/conditional.js +1 -1
  102. package/dist/streaming/index.js +1 -1
  103. package/dist/streaming/observability.js +2 -2
  104. package/dist/streaming/priority.js +1 -1
  105. package/dist/utils/index.js +1 -1
  106. package/package.json +207 -207
  107. package/dist/chunk-2F2QU6RC.js.map +0 -1
  108. package/dist/chunk-3QP3E7HS.js.map +0 -1
  109. package/dist/chunk-3ZSSRE6M.js.map +0 -1
  110. package/dist/chunk-54HPVE7N.js.map +0 -1
  111. package/dist/chunk-62C7LX2E.js.map +0 -1
  112. package/dist/chunk-6BDCTUQY.js.map +0 -1
  113. package/dist/chunk-FSJNOPYE.js.map +0 -1
  114. package/dist/chunk-IXMD5QH2.js.map +0 -1
  115. package/dist/chunk-K2CQZPCG.js.map +0 -1
  116. package/dist/chunk-KWFX6WHG.js.map +0 -1
  117. package/dist/chunk-LBYDTULN.js.map +0 -1
  118. package/dist/chunk-MDQNNIHH.js.map +0 -1
  119. package/dist/chunk-MQQLYWZZ.js.map +0 -1
  120. package/dist/chunk-NWMJYTMB.js.map +0 -1
  121. package/dist/chunk-P6WSBVDT.js.map +0 -1
  122. package/dist/chunk-PDW5WCMW.js.map +0 -1
  123. package/dist/chunk-PVUMB632.js.map +0 -1
  124. package/dist/chunk-R7SQAREQ.js.map +0 -1
  125. package/dist/chunk-RSVA2EYO.js.map +0 -1
  126. package/dist/chunk-SUILH4ID.js.map +0 -1
  127. package/dist/chunk-T4Z4HM4W.js.map +0 -1
  128. package/dist/chunk-TASAT7KB.js.map +0 -1
  129. package/dist/chunk-VPFMHGEV.js.map +0 -1
  130. package/dist/chunk-W6D62JCI.js.map +0 -1
  131. package/dist/chunk-WFAWAHJH.js.map +0 -1
  132. package/dist/chunk-WOEIJWGJ.js.map +0 -1
  133. package/dist/chunk-XOIYNY4I.js.map +0 -1
  134. package/dist/chunk-XSY5AAXT.js.map +0 -1
  135. package/dist/chunk-YHEVHRLH.js.map +0 -1
  136. package/dist/chunk-ZIE56LCA.js.map +0 -1
  137. package/dist/chunk-ZVC3ZWLM.js.map +0 -1
package/dist/rsc/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import '../chunk-63SCEXD7.js';
2
- export { acceptsJson, createServerContext, deleteCookie, getHeader, getHeaders, getPreferredLanguage, getRedirectInfo, isAjaxRequest, isBotRequest, isMutationRequest, isNotFoundError, isRedirectError, notFound, redirect, setCacheControl, setCookie, supportsStreaming } from '../chunk-62C7LX2E.js';
3
- export { FlightStreamError, consumeFlightStream, createFlightResponse, createFlightStream, createFlightStreamFromArray, createHybridResponse, createStreamController, mergeFlightStreams, parseFlightStream, parseFlightStreamSync, prettyPrintChunks, transformFlightStream } from '../chunk-PVUMB632.js';
4
- export { FlightRenderer, createRenderer, renderServerComponent, renderServerComponentStreaming } from '../chunk-P6WSBVDT.js';
5
- export { FlightPayloadError, FlightSerializationError, clientRef, createActionChunk, createClientChunk, createErrorChunk, createHintChunk, createServerChunk, deserialize, fragment, generateChunkId, h, isFlightElement, resetChunkIdCounter, serialize, suspense, text, toFlightElement } from '../chunk-K2CQZPCG.js';
6
- export { composeComponents, createAsyncComponent, createClientBoundary, createRenderContext, deserializeProps, executeServerComponent, isNotFoundError as legacyIsNotFoundError, isRedirectError as legacyIsRedirectError, notFound as legacyNotFound, redirect as legacyRedirect, revalidatePath, revalidateTag, serializeProps, serverFetch, withErrorBoundary } from '../chunk-3ZSSRE6M.js';
7
- export { flightRSC } from '../chunk-ZIE56LCA.js';
8
- export { BoundaryRegistry, CLIENT_REFERENCE, SERVER_REFERENCE, analyzeModule, createClientReference, createServerReference, detectAsyncComponents, detectBoundaryType, detectInlineServerActions, getReferenceId, globalRegistry, hasUseClientDirective, hasUseServerDirective, isClientReference, isServerReference, registerClientComponent, registerServerAction } from '../chunk-PDW5WCMW.js';
2
+ export { acceptsJson, createServerContext, deleteCookie, getHeader, getHeaders, getPreferredLanguage, getRedirectInfo, isAjaxRequest, isBotRequest, isMutationRequest, isNotFoundError, isRedirectError, notFound, redirect, setCacheControl, setCookie, supportsStreaming } from '../chunk-CKJHJPKQ.js';
3
+ export { FlightStreamError, consumeFlightStream, createFlightResponse, createFlightStream, createFlightStreamFromArray, createHybridResponse, createStreamController, mergeFlightStreams, parseFlightStream, parseFlightStreamSync, prettyPrintChunks, transformFlightStream } from '../chunk-A2QRUBVE.js';
4
+ export { FlightRenderer, createRenderer, renderServerComponent, renderServerComponentStreaming } from '../chunk-FRAH5QNY.js';
5
+ export { FlightPayloadError, FlightSerializationError, clientRef, createActionChunk, createClientChunk, createErrorChunk, createHintChunk, createServerChunk, deserialize, fragment, generateChunkId, h, isFlightElement, resetChunkIdCounter, serialize, suspense, text, toFlightElement } from '../chunk-6GI6HFSQ.js';
6
+ export { composeComponents, createAsyncComponent, createClientBoundary, createRenderContext, deserializeProps, executeServerComponent, isNotFoundError as legacyIsNotFoundError, isRedirectError as legacyIsRedirectError, notFound as legacyNotFound, redirect as legacyRedirect, revalidatePath, revalidateTag, serializeProps, serverFetch, withErrorBoundary } from '../chunk-2R23X5Z3.js';
7
+ export { flightRSC } from '../chunk-XU6MRYG2.js';
8
+ export { BoundaryRegistry, CLIENT_REFERENCE, SERVER_REFERENCE, analyzeModule, createClientReference, createServerReference, detectAsyncComponents, detectBoundaryType, detectInlineServerActions, getReferenceId, globalRegistry, hasUseClientDirective, hasUseServerDirective, isClientReference, isServerReference, registerClientComponent, registerServerAction } from '../chunk-5XHOLZBJ.js';
9
9
  import '../chunk-Y22AMGTM.js';
10
- export { createReactAdapter, createReactConsumer, markAsClientComponent } from '../chunk-TASAT7KB.js';
11
- import '../chunk-2F2QU6RC.js';
12
- import '../chunk-VPFMHGEV.js';
13
- import '../chunk-MDQNNIHH.js';
10
+ export { createReactAdapter, createReactConsumer, markAsClientComponent } from '../chunk-HNPO6LFW.js';
11
+ import '../chunk-3UQJE3XZ.js';
12
+ import '../chunk-3N5ZBVZJ.js';
13
+ import '../chunk-65JYF3DJ.js';
14
14
  //# sourceMappingURL=index.js.map
15
15
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { composeComponents, createAsyncComponent, createClientBoundary, createRenderContext, deserializeProps, executeServerComponent, isNotFoundError, isRedirectError, notFound, redirect, revalidatePath, revalidateTag, serializeProps, serverFetch, withErrorBoundary } from '../chunk-3ZSSRE6M.js';
1
+ export { composeComponents, createAsyncComponent, createClientBoundary, createRenderContext, deserializeProps, executeServerComponent, isNotFoundError, isRedirectError, notFound, redirect, revalidatePath, revalidateTag, serializeProps, serverFetch, withErrorBoundary } from '../chunk-2R23X5Z3.js';
2
2
  //# sourceMappingURL=legacy.js.map
3
3
  //# sourceMappingURL=legacy.js.map
@@ -1,3 +1,3 @@
1
- export { FlightPayloadError, FlightSerializationError, clientRef, createActionChunk, createClientChunk, createErrorChunk, createHintChunk, createServerChunk, deserialize, fragment, generateChunkId, h, isFlightElement, resetChunkIdCounter, serialize, suspense, text, toFlightElement } from '../chunk-K2CQZPCG.js';
1
+ export { FlightPayloadError, FlightSerializationError, clientRef, createActionChunk, createClientChunk, createErrorChunk, createHintChunk, createServerChunk, deserialize, fragment, generateChunkId, h, isFlightElement, resetChunkIdCounter, serialize, suspense, text, toFlightElement } from '../chunk-6GI6HFSQ.js';
2
2
  //# sourceMappingURL=payload.js.map
3
3
  //# sourceMappingURL=payload.js.map
@@ -1,4 +1,4 @@
1
- export { esbuild_default as default, flightRSCEsbuild } from '../../chunk-T4Z4HM4W.js';
2
- import '../../chunk-PDW5WCMW.js';
1
+ export { esbuild_default as default, flightRSCEsbuild } from '../../chunk-PAVI5W6M.js';
2
+ import '../../chunk-5XHOLZBJ.js';
3
3
  //# sourceMappingURL=esbuild.js.map
4
4
  //# sourceMappingURL=esbuild.js.map
@@ -1,6 +1,6 @@
1
- export { flightRSCEsbuild } from '../../chunk-T4Z4HM4W.js';
2
- export { flightRSCRollup } from '../../chunk-NWMJYTMB.js';
3
- export { flightRSC as flightRSCVite } from '../../chunk-ZIE56LCA.js';
4
- import '../../chunk-PDW5WCMW.js';
1
+ export { flightRSCEsbuild } from '../../chunk-PAVI5W6M.js';
2
+ export { flightRSCRollup } from '../../chunk-LAKHYTHL.js';
3
+ export { flightRSC as flightRSCVite } from '../../chunk-XU6MRYG2.js';
4
+ import '../../chunk-5XHOLZBJ.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { rollup_default as default, flightRSCRollup } from '../../chunk-NWMJYTMB.js';
2
- import '../../chunk-PDW5WCMW.js';
1
+ export { rollup_default as default, flightRSCRollup } from '../../chunk-LAKHYTHL.js';
2
+ import '../../chunk-5XHOLZBJ.js';
3
3
  //# sourceMappingURL=rollup.js.map
4
4
  //# sourceMappingURL=rollup.js.map
@@ -1,5 +1,5 @@
1
- export { FlightRenderer, createRenderer, renderServerComponent, renderServerComponentStreaming } from '../chunk-P6WSBVDT.js';
2
- import '../chunk-K2CQZPCG.js';
3
- import '../chunk-PDW5WCMW.js';
1
+ export { FlightRenderer, createRenderer, renderServerComponent, renderServerComponentStreaming } from '../chunk-FRAH5QNY.js';
2
+ import '../chunk-6GI6HFSQ.js';
3
+ import '../chunk-5XHOLZBJ.js';
4
4
  //# sourceMappingURL=renderer.js.map
5
5
  //# sourceMappingURL=renderer.js.map
@@ -1,3 +1,3 @@
1
- export { FlightStreamError, consumeFlightStream, createFlightResponse, createFlightStream, createFlightStreamFromArray, createHybridResponse, createStreamController, mergeFlightStreams, parseFlightStream, parseFlightStreamSync, prettyPrintChunks, transformFlightStream } from '../chunk-PVUMB632.js';
1
+ export { FlightStreamError, consumeFlightStream, createFlightResponse, createFlightStream, createFlightStreamFromArray, createHybridResponse, createStreamController, mergeFlightStreams, parseFlightStream, parseFlightStreamSync, prettyPrintChunks, transformFlightStream } from '../chunk-A2QRUBVE.js';
2
2
  //# sourceMappingURL=stream.js.map
3
3
  //# sourceMappingURL=stream.js.map
@@ -1,4 +1,4 @@
1
- export { vite_plugin_default as default, flightRSC } from '../chunk-ZIE56LCA.js';
2
- import '../chunk-PDW5WCMW.js';
1
+ export { vite_plugin_default as default, flightRSC } from '../chunk-XU6MRYG2.js';
2
+ import '../chunk-5XHOLZBJ.js';
3
3
  //# sourceMappingURL=vite-plugin.js.map
4
4
  //# sourceMappingURL=vite-plugin.js.map
@@ -1,6 +1,6 @@
1
- export { createServer, getRuntime, isFlightServer } from '../chunk-LBYDTULN.js';
2
- import '../chunk-IXMD5QH2.js';
3
- import '../chunk-GCQZ4FHI.js';
4
- import '../chunk-KWFX6WHG.js';
1
+ export { createServer, getRuntime, isFlightServer } from '../chunk-UL4Q5CIJ.js';
2
+ import '../chunk-EHVUAFNH.js';
3
+ import '../chunk-ARBKF6VI.js';
4
+ import '../chunk-JFUKVWSO.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { createHTMXStreamAdapter, createReactStreamAdapter, createSolidStreamAdapter, createStreamAdapter, createSvelteStreamAdapter, createVueStreamAdapter } from '../../chunk-MQQLYWZZ.js';
1
+ export { createHTMXStreamAdapter, createReactStreamAdapter, createSolidStreamAdapter, createStreamAdapter, createSvelteStreamAdapter, createVueStreamAdapter } from '../../chunk-GNS2FGPC.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { DEFAULT_BOT_PATTERNS, addStreamingHeaders, createConditionalStreamer, createStaticResponse, createStreamingResponse, isBot, isSlowConnection, prefersNoStream, streamIf, supportsStreaming } from '../chunk-XOIYNY4I.js';
1
+ export { DEFAULT_BOT_PATTERNS, addStreamingHeaders, createConditionalStreamer, createStaticResponse, createStreamingResponse, isBot, isSlowConnection, prefersNoStream, streamIf, supportsStreaming } from '../chunk-VNO2YUVD.js';
2
2
  //# sourceMappingURL=conditional.js.map
3
3
  //# sourceMappingURL=conditional.js.map
@@ -1,3 +1,3 @@
1
- export { createLazyContent, createStreamingResponse, createStreamingSSR, renderWithStreaming, streamParallel, streamSequential } from '../chunk-RSVA2EYO.js';
1
+ export { createLazyContent, createStreamingResponse, createStreamingSSR, renderWithStreaming, streamParallel, streamSequential } from '../chunk-CNY3ZUVG.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { MetricsAggregator, createHttpObserver, createInstrumentedStream, createLoggerObserver } from '../chunk-6BDCTUQY.js';
2
- import '../chunk-RSVA2EYO.js';
1
+ export { MetricsAggregator, createHttpObserver, createInstrumentedStream, createLoggerObserver } from '../chunk-YNTMYL36.js';
2
+ import '../chunk-CNY3ZUVG.js';
3
3
  //# sourceMappingURL=observability.js.map
4
4
  //# sourceMappingURL=observability.js.map
@@ -1,3 +1,3 @@
1
- export { streamWithPriority, validateDependencies } from '../chunk-WOEIJWGJ.js';
1
+ export { streamWithPriority, validateDependencies } from '../chunk-NZS2YJ43.js';
2
2
  //# sourceMappingURL=priority.js.map
3
3
  //# sourceMappingURL=priority.js.map
@@ -1,4 +1,4 @@
1
1
  import '../chunk-PL37KFRJ.js';
2
- export { getEnvironment, isBrowser, isDevelopment, isProduction, isServer, isTest } from '../chunk-YHEVHRLH.js';
2
+ export { getEnvironment, isBrowser, isDevelopment, isProduction, isServer, isTest } from '../chunk-OZBPR27I.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,210 +1,210 @@
1
1
  {
2
- "name": "@flight-framework/core",
3
- "version": "0.2.5",
4
- "description": "Core primitives for Flight Framework - routing, rendering, caching",
5
- "keywords": [
6
- "flight",
7
- "framework",
8
- "core",
9
- "ssr",
10
- "routing"
11
- ],
12
- "license": "MIT",
13
- "author": "Flight Contributors",
14
- "type": "module",
15
- "exports": {
16
- ".": {
17
- "types": "./dist/index.d.ts",
18
- "import": "./dist/index.js"
19
- },
20
- "./errors": {
21
- "types": "./dist/errors/index.d.ts",
22
- "import": "./dist/errors/index.js"
23
- },
24
- "./react": {
25
- "types": "./dist/react/index.d.ts",
26
- "import": "./dist/react/index.js"
27
- },
28
- "./utils": {
29
- "types": "./dist/utils/index.d.ts",
30
- "import": "./dist/utils/index.js"
31
- },
32
- "./router": {
33
- "types": "./dist/router/index.d.ts",
34
- "import": "./dist/router/index.js"
35
- },
36
- "./render": {
37
- "types": "./dist/render/index.d.ts",
38
- "import": "./dist/render/index.js"
39
- },
40
- "./cache": {
41
- "types": "./dist/cache/index.d.ts",
42
- "import": "./dist/cache/index.js"
43
- },
44
- "./middleware": {
45
- "types": "./dist/middleware/index.d.ts",
46
- "import": "./dist/middleware/index.js"
47
- },
48
- "./config": {
49
- "types": "./dist/config/index.d.ts",
50
- "import": "./dist/config/index.js"
51
- },
52
- "./adapters": {
53
- "types": "./dist/adapters/index.d.ts",
54
- "import": "./dist/adapters/index.js"
55
- },
56
- "./server": {
57
- "types": "./dist/server/index.d.ts",
58
- "import": "./dist/server/index.js"
59
- },
60
- "./file-router": {
61
- "types": "./dist/file-router/index.d.ts",
62
- "import": "./dist/file-router/index.js"
63
- },
64
- "./actions": {
65
- "types": "./dist/actions/index.d.ts",
66
- "import": "./dist/actions/index.js"
67
- },
68
- "./actions/middleware": {
69
- "types": "./dist/actions/middleware.d.ts",
70
- "import": "./dist/actions/middleware.js"
71
- },
72
- "./actions/streaming": {
73
- "types": "./dist/actions/streaming.d.ts",
74
- "import": "./dist/actions/streaming.js"
75
- },
76
- "./actions/queue": {
77
- "types": "./dist/actions/queue.d.ts",
78
- "import": "./dist/actions/queue.js"
79
- },
80
- "./handlers": {
81
- "types": "./dist/handlers/index.d.ts",
82
- "import": "./dist/handlers/index.js"
83
- },
84
- "./streaming": {
85
- "types": "./dist/streaming/index.d.ts",
86
- "import": "./dist/streaming/index.js"
87
- },
88
- "./streaming/priority": {
89
- "types": "./dist/streaming/priority.d.ts",
90
- "import": "./dist/streaming/priority.js"
91
- },
92
- "./streaming/observability": {
93
- "types": "./dist/streaming/observability.d.ts",
94
- "import": "./dist/streaming/observability.js"
95
- },
96
- "./streaming/conditional": {
97
- "types": "./dist/streaming/conditional.d.ts",
98
- "import": "./dist/streaming/conditional.js"
99
- },
100
- "./streaming/adapters": {
101
- "types": "./dist/streaming/adapters/index.d.ts",
102
- "import": "./dist/streaming/adapters/index.js"
103
- },
104
- "./islands": {
105
- "types": "./dist/islands/index.d.ts",
106
- "import": "./dist/islands/index.js"
107
- },
108
- "./file-router/streaming-hints": {
109
- "types": "./dist/file-router/streaming-hints.d.ts",
110
- "import": "./dist/file-router/streaming-hints.js"
111
- },
112
- "./rsc": {
113
- "types": "./dist/rsc/index.d.ts",
114
- "import": "./dist/rsc/index.js"
115
- },
116
- "./rsc/payload": {
117
- "types": "./dist/rsc/payload.d.ts",
118
- "import": "./dist/rsc/payload.js"
119
- },
120
- "./rsc/boundaries": {
121
- "types": "./dist/rsc/boundaries.d.ts",
122
- "import": "./dist/rsc/boundaries.js"
123
- },
124
- "./rsc/context": {
125
- "types": "./dist/rsc/context.d.ts",
126
- "import": "./dist/rsc/context.js"
127
- },
128
- "./rsc/stream": {
129
- "types": "./dist/rsc/stream.d.ts",
130
- "import": "./dist/rsc/stream.js"
131
- },
132
- "./rsc/renderer": {
133
- "types": "./dist/rsc/renderer.d.ts",
134
- "import": "./dist/rsc/renderer.js"
135
- },
136
- "./rsc/vite-plugin": {
137
- "types": "./dist/rsc/vite-plugin.d.ts",
138
- "import": "./dist/rsc/vite-plugin.js"
139
- },
140
- "./rsc/adapters": {
141
- "types": "./dist/rsc/adapters/index.d.ts",
142
- "import": "./dist/rsc/adapters/index.js"
143
- },
144
- "./rsc/adapters/react": {
145
- "types": "./dist/rsc/adapters/react.d.ts",
146
- "import": "./dist/rsc/adapters/react.js"
147
- },
148
- "./rsc/adapters/vue": {
149
- "types": "./dist/rsc/adapters/vue.d.ts",
150
- "import": "./dist/rsc/adapters/vue.js"
151
- },
152
- "./rsc/adapters/solid": {
153
- "types": "./dist/rsc/adapters/solid.d.ts",
154
- "import": "./dist/rsc/adapters/solid.js"
155
- },
156
- "./rsc/adapters/preact": {
157
- "types": "./dist/rsc/adapters/preact.d.ts",
158
- "import": "./dist/rsc/adapters/preact.js"
159
- },
160
- "./rsc/plugins": {
161
- "types": "./dist/rsc/plugins/index.d.ts",
162
- "import": "./dist/rsc/plugins/index.js"
163
- },
164
- "./rsc/plugins/esbuild": {
165
- "types": "./dist/rsc/plugins/esbuild.d.ts",
166
- "import": "./dist/rsc/plugins/esbuild.js"
167
- },
168
- "./rsc/plugins/rollup": {
169
- "types": "./dist/rsc/plugins/rollup.d.ts",
170
- "import": "./dist/rsc/plugins/rollup.js"
171
- }
172
- },
173
- "main": "./dist/index.js",
174
- "types": "./dist/index.d.ts",
175
- "files": [
176
- "dist"
177
- ],
178
- "scripts": {
179
- "build": "tsup",
180
- "dev": "tsup --watch",
181
- "test": "vitest run",
182
- "test:watch": "vitest",
183
- "lint": "eslint src/",
184
- "clean": "rimraf dist",
185
- "typecheck": "tsc --noEmit"
186
- },
187
- "dependencies": {
188
- "radix3": "^1.1.0"
189
- },
190
- "devDependencies": {
191
- "@types/node": "^22.0.0",
192
- "@types/react": "^19.0.0",
193
- "rimraf": "^6.0.0",
194
- "tsup": "^8.0.0",
195
- "typescript": "^5.7.0",
196
- "vitest": "^2.0.0"
197
- },
198
- "peerDependencies": {
199
- "react": "^18.0.0 || ^19.0.0",
200
- "vite": "^6.0.0 || ^7.0.0"
201
- },
202
- "peerDependenciesMeta": {
203
- "react": {
204
- "optional": true
205
- },
206
- "vite": {
207
- "optional": true
208
- }
2
+ "name": "@flight-framework/core",
3
+ "version": "0.3.0",
4
+ "description": "Core primitives for Flight Framework - routing, rendering, caching",
5
+ "keywords": [
6
+ "flight",
7
+ "framework",
8
+ "core",
9
+ "ssr",
10
+ "routing"
11
+ ],
12
+ "license": "MIT",
13
+ "author": "Flight Contributors",
14
+ "type": "module",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ },
20
+ "./errors": {
21
+ "types": "./dist/errors/index.d.ts",
22
+ "import": "./dist/errors/index.js"
23
+ },
24
+ "./react": {
25
+ "types": "./dist/react/index.d.ts",
26
+ "import": "./dist/react/index.js"
27
+ },
28
+ "./utils": {
29
+ "types": "./dist/utils/index.d.ts",
30
+ "import": "./dist/utils/index.js"
31
+ },
32
+ "./router": {
33
+ "types": "./dist/router/index.d.ts",
34
+ "import": "./dist/router/index.js"
35
+ },
36
+ "./render": {
37
+ "types": "./dist/render/index.d.ts",
38
+ "import": "./dist/render/index.js"
39
+ },
40
+ "./cache": {
41
+ "types": "./dist/cache/index.d.ts",
42
+ "import": "./dist/cache/index.js"
43
+ },
44
+ "./middleware": {
45
+ "types": "./dist/middleware/index.d.ts",
46
+ "import": "./dist/middleware/index.js"
47
+ },
48
+ "./config": {
49
+ "types": "./dist/config/index.d.ts",
50
+ "import": "./dist/config/index.js"
51
+ },
52
+ "./adapters": {
53
+ "types": "./dist/adapters/index.d.ts",
54
+ "import": "./dist/adapters/index.js"
55
+ },
56
+ "./server": {
57
+ "types": "./dist/server/index.d.ts",
58
+ "import": "./dist/server/index.js"
59
+ },
60
+ "./file-router": {
61
+ "types": "./dist/file-router/index.d.ts",
62
+ "import": "./dist/file-router/index.js"
63
+ },
64
+ "./actions": {
65
+ "types": "./dist/actions/index.d.ts",
66
+ "import": "./dist/actions/index.js"
67
+ },
68
+ "./actions/middleware": {
69
+ "types": "./dist/actions/middleware.d.ts",
70
+ "import": "./dist/actions/middleware.js"
71
+ },
72
+ "./actions/streaming": {
73
+ "types": "./dist/actions/streaming.d.ts",
74
+ "import": "./dist/actions/streaming.js"
75
+ },
76
+ "./actions/queue": {
77
+ "types": "./dist/actions/queue.d.ts",
78
+ "import": "./dist/actions/queue.js"
79
+ },
80
+ "./handlers": {
81
+ "types": "./dist/handlers/index.d.ts",
82
+ "import": "./dist/handlers/index.js"
83
+ },
84
+ "./streaming": {
85
+ "types": "./dist/streaming/index.d.ts",
86
+ "import": "./dist/streaming/index.js"
87
+ },
88
+ "./streaming/priority": {
89
+ "types": "./dist/streaming/priority.d.ts",
90
+ "import": "./dist/streaming/priority.js"
91
+ },
92
+ "./streaming/observability": {
93
+ "types": "./dist/streaming/observability.d.ts",
94
+ "import": "./dist/streaming/observability.js"
95
+ },
96
+ "./streaming/conditional": {
97
+ "types": "./dist/streaming/conditional.d.ts",
98
+ "import": "./dist/streaming/conditional.js"
99
+ },
100
+ "./streaming/adapters": {
101
+ "types": "./dist/streaming/adapters/index.d.ts",
102
+ "import": "./dist/streaming/adapters/index.js"
103
+ },
104
+ "./islands": {
105
+ "types": "./dist/islands/index.d.ts",
106
+ "import": "./dist/islands/index.js"
107
+ },
108
+ "./file-router/streaming-hints": {
109
+ "types": "./dist/file-router/streaming-hints.d.ts",
110
+ "import": "./dist/file-router/streaming-hints.js"
111
+ },
112
+ "./rsc": {
113
+ "types": "./dist/rsc/index.d.ts",
114
+ "import": "./dist/rsc/index.js"
115
+ },
116
+ "./rsc/payload": {
117
+ "types": "./dist/rsc/payload.d.ts",
118
+ "import": "./dist/rsc/payload.js"
119
+ },
120
+ "./rsc/boundaries": {
121
+ "types": "./dist/rsc/boundaries.d.ts",
122
+ "import": "./dist/rsc/boundaries.js"
123
+ },
124
+ "./rsc/context": {
125
+ "types": "./dist/rsc/context.d.ts",
126
+ "import": "./dist/rsc/context.js"
127
+ },
128
+ "./rsc/stream": {
129
+ "types": "./dist/rsc/stream.d.ts",
130
+ "import": "./dist/rsc/stream.js"
131
+ },
132
+ "./rsc/renderer": {
133
+ "types": "./dist/rsc/renderer.d.ts",
134
+ "import": "./dist/rsc/renderer.js"
135
+ },
136
+ "./rsc/vite-plugin": {
137
+ "types": "./dist/rsc/vite-plugin.d.ts",
138
+ "import": "./dist/rsc/vite-plugin.js"
139
+ },
140
+ "./rsc/adapters": {
141
+ "types": "./dist/rsc/adapters/index.d.ts",
142
+ "import": "./dist/rsc/adapters/index.js"
143
+ },
144
+ "./rsc/adapters/react": {
145
+ "types": "./dist/rsc/adapters/react.d.ts",
146
+ "import": "./dist/rsc/adapters/react.js"
147
+ },
148
+ "./rsc/adapters/vue": {
149
+ "types": "./dist/rsc/adapters/vue.d.ts",
150
+ "import": "./dist/rsc/adapters/vue.js"
151
+ },
152
+ "./rsc/adapters/solid": {
153
+ "types": "./dist/rsc/adapters/solid.d.ts",
154
+ "import": "./dist/rsc/adapters/solid.js"
155
+ },
156
+ "./rsc/adapters/preact": {
157
+ "types": "./dist/rsc/adapters/preact.d.ts",
158
+ "import": "./dist/rsc/adapters/preact.js"
159
+ },
160
+ "./rsc/plugins": {
161
+ "types": "./dist/rsc/plugins/index.d.ts",
162
+ "import": "./dist/rsc/plugins/index.js"
163
+ },
164
+ "./rsc/plugins/esbuild": {
165
+ "types": "./dist/rsc/plugins/esbuild.d.ts",
166
+ "import": "./dist/rsc/plugins/esbuild.js"
167
+ },
168
+ "./rsc/plugins/rollup": {
169
+ "types": "./dist/rsc/plugins/rollup.d.ts",
170
+ "import": "./dist/rsc/plugins/rollup.js"
171
+ }
172
+ },
173
+ "main": "./dist/index.js",
174
+ "types": "./dist/index.d.ts",
175
+ "files": [
176
+ "dist"
177
+ ],
178
+ "dependencies": {
179
+ "radix3": "^1.1.0"
180
+ },
181
+ "devDependencies": {
182
+ "@types/node": "^22.0.0",
183
+ "@types/react": "^19.0.0",
184
+ "rimraf": "^6.0.0",
185
+ "tsup": "^8.0.0",
186
+ "typescript": "^5.7.0",
187
+ "vitest": "^2.0.0"
188
+ },
189
+ "peerDependencies": {
190
+ "react": "^18.0.0 || ^19.0.0",
191
+ "vite": "^6.0.0 || ^7.0.0"
192
+ },
193
+ "peerDependenciesMeta": {
194
+ "react": {
195
+ "optional": true
196
+ },
197
+ "vite": {
198
+ "optional": true
209
199
  }
200
+ },
201
+ "scripts": {
202
+ "build": "tsup",
203
+ "dev": "tsup --watch",
204
+ "test": "vitest run",
205
+ "test:watch": "vitest",
206
+ "lint": "eslint src/",
207
+ "clean": "rimraf dist",
208
+ "typecheck": "tsc --noEmit"
209
+ }
210
210
  }