@absolutejs/absolute 0.19.0-beta.1041 → 0.19.0-beta.1043
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/package.json +1 -1
- package/dist/angular/browser.js +0 -10358
- package/dist/angular/browser.js.map +0 -260
- package/dist/angular/components/constants.js +0 -101
- package/dist/angular/components/core/streamingSlotRegistrar.js +0 -58
- package/dist/angular/components/core/streamingSlotRegistry.js +0 -114
- package/dist/angular/components/defer-slot-payload.js +0 -6
- package/dist/angular/components/defer-slot-templates.directive.js +0 -44
- package/dist/angular/components/defer-slot.component.js +0 -152
- package/dist/angular/components/image.component.js +0 -202
- package/dist/angular/components/index.js +0 -4
- package/dist/angular/components/stream-slot.component.js +0 -102
- package/dist/angular/hmrPreserveCore.ts +0 -188
- package/dist/angular/index.js +0 -15793
- package/dist/angular/index.js.map +0 -299
- package/dist/angular/server.js +0 -6357
- package/dist/angular/server.js.map +0 -61
- package/dist/build.js +0 -27484
- package/dist/build.js.map +0 -146
- package/dist/cli/config/client.js +0 -527
- package/dist/cli/config/server.js +0 -37130
- package/dist/cli/htmx/htmx.min.js +0 -1
- package/dist/cli/index.js +0 -179275
- package/dist/client/index.js +0 -1267
- package/dist/client/index.js.map +0 -31
- package/dist/core/streamingSlotRegistrar.js +0 -138
- package/dist/core/streamingSlotRegistrar.js.map +0 -10
- package/dist/core/streamingSlotRegistry.js +0 -194
- package/dist/core/streamingSlotRegistry.js.map +0 -11
- package/dist/dev/client/constants.ts +0 -26
- package/dist/dev/client/cssUtils.ts +0 -311
- package/dist/dev/client/domDiff.ts +0 -226
- package/dist/dev/client/domState.ts +0 -423
- package/dist/dev/client/domTracker.ts +0 -61
- package/dist/dev/client/errorOverlay.ts +0 -445
- package/dist/dev/client/frameworkDetect.ts +0 -63
- package/dist/dev/client/handlers/angularHmrShim.ts +0 -88
- package/dist/dev/client/handlers/angularRemount.ts +0 -362
- package/dist/dev/client/handlers/angularRemountWiring.ts +0 -52
- package/dist/dev/client/handlers/html.ts +0 -364
- package/dist/dev/client/handlers/htmx.ts +0 -278
- package/dist/dev/client/handlers/react.ts +0 -108
- package/dist/dev/client/handlers/rebuild.ts +0 -153
- package/dist/dev/client/handlers/svelte.ts +0 -334
- package/dist/dev/client/handlers/vue.ts +0 -292
- package/dist/dev/client/headPatch.ts +0 -233
- package/dist/dev/client/hmrClient.ts +0 -352
- package/dist/dev/client/hmrState.ts +0 -14
- package/dist/dev/client/hmrToast.ts +0 -150
- package/dist/dev/client/moduleVersions.ts +0 -62
- package/dist/dev/client/reactRefreshSetup.ts +0 -31
- package/dist/dev/client/vendor/lview/lViewOps.ts +0 -196
- package/dist/dev/client/vendor/lview/slotConstants.ts +0 -44
- package/dist/dev/client/vendor/reactRefreshRuntime.d.ts +0 -12
- package/dist/dev/client/vendor/reactRefreshRuntime.js +0 -313
- package/dist/image-client/imageClient.js +0 -69
- package/dist/index.js +0 -36361
- package/dist/index.js.map +0 -320
- package/dist/islands/browser.js +0 -259
- package/dist/islands/browser.js.map +0 -15
- package/dist/islands/index.js +0 -2415
- package/dist/islands/index.js.map +0 -37
- package/dist/react/browser.js +0 -374
- package/dist/react/browser.js.map +0 -19
- package/dist/react/components/browser/index.js +0 -467
- package/dist/react/components/index.js +0 -684
- package/dist/react/components/index.js.map +0 -18
- package/dist/react/hooks/index.js +0 -285
- package/dist/react/hooks/index.js.map +0 -14
- package/dist/react/index.js +0 -4258
- package/dist/react/index.js.map +0 -56
- package/dist/react/jsxDevRuntimeCompat.js +0 -90
- package/dist/react/jsxDevRuntimeCompat.js.map +0 -10
- package/dist/react/router/browser.js +0 -95
- package/dist/react/router/browser.js.map +0 -10
- package/dist/react/router/index.js +0 -95
- package/dist/react/router/index.js.map +0 -10
- package/dist/react/server.js +0 -1895
- package/dist/react/server.js.map +0 -26
- package/dist/src/angular/Island.browser.d.ts +0 -34
- package/dist/src/angular/Island.d.ts +0 -29
- package/dist/src/angular/angularDeps.d.ts +0 -2
- package/dist/src/angular/angularPatch.d.ts +0 -1
- package/dist/src/angular/animationProviders.d.ts +0 -2
- package/dist/src/angular/browser.d.ts +0 -14
- package/dist/src/angular/components/constants.d.ts +0 -96
- package/dist/src/angular/components/defer-slot-payload.d.ts +0 -7
- package/dist/src/angular/components/defer-slot-templates.directive.d.ts +0 -21
- package/dist/src/angular/components/defer-slot.component.d.ts +0 -29
- package/dist/src/angular/components/image.component.d.ts +0 -42
- package/dist/src/angular/components/index.d.ts +0 -4
- package/dist/src/angular/components/stream-slot.component.d.ts +0 -20
- package/dist/src/angular/composables/index.d.ts +0 -6
- package/dist/src/angular/composables/usePageContext.d.ts +0 -16
- package/dist/src/angular/composables/useResource.d.ts +0 -57
- package/dist/src/angular/composables/useSubscription.d.ts +0 -33
- package/dist/src/angular/composables/useTimers.d.ts +0 -18
- package/dist/src/angular/createIsland.browser.d.ts +0 -2
- package/dist/src/angular/createIsland.d.ts +0 -2
- package/dist/src/angular/deterministicEnv.d.ts +0 -26
- package/dist/src/angular/hmrPreserveCore.d.ts +0 -21
- package/dist/src/angular/httpTransferCache.d.ts +0 -12
- package/dist/src/angular/index.d.ts +0 -14
- package/dist/src/angular/injectorPatch.d.ts +0 -1
- package/dist/src/angular/islandStore.d.ts +0 -9
- package/dist/src/angular/islands.d.ts +0 -4
- package/dist/src/angular/lowerDeferSyntax.d.ts +0 -18
- package/dist/src/angular/lowerServerIslands.d.ts +0 -1
- package/dist/src/angular/pageHandler.d.ts +0 -48
- package/dist/src/angular/pendingTask.d.ts +0 -1
- package/dist/src/angular/preserveAcrossHmr.d.ts +0 -12
- package/dist/src/angular/renderIsland.d.ts +0 -2
- package/dist/src/angular/requestProviders.d.ts +0 -5
- package/dist/src/angular/resolveAngularPackage.d.ts +0 -19
- package/dist/src/angular/routerRedirectProviders.d.ts +0 -6
- package/dist/src/angular/server.d.ts +0 -4
- package/dist/src/angular/ssrRender.d.ts +0 -13
- package/dist/src/angular/ssrSanitizer.d.ts +0 -3
- package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/build/angularLinkerPlugin.d.ts +0 -29
- package/dist/src/build/buildAngularVendor.d.ts +0 -40
- package/dist/src/build/buildDepVendor.d.ts +0 -2
- package/dist/src/build/buildEmberVendor.d.ts +0 -24
- package/dist/src/build/buildReactVendor.d.ts +0 -8
- package/dist/src/build/buildSvelteVendor.d.ts +0 -6
- package/dist/src/build/buildVueVendor.d.ts +0 -6
- package/dist/src/build/chainInlineSourcemaps.d.ts +0 -13
- package/dist/src/build/compileAngular.d.ts +0 -40
- package/dist/src/build/compileEmber.d.ts +0 -43
- package/dist/src/build/compileSvelte.d.ts +0 -14
- package/dist/src/build/compileTailwind.d.ts +0 -5
- package/dist/src/build/compileVue.d.ts +0 -22
- package/dist/src/build/externalAssetPlugin.d.ts +0 -2
- package/dist/src/build/generateManifest.d.ts +0 -2
- package/dist/src/build/generateReactIndexes.d.ts +0 -2
- package/dist/src/build/htmlScriptHMRPlugin.d.ts +0 -13
- package/dist/src/build/index.d.ts +0 -2
- package/dist/src/build/islandEntries.d.ts +0 -32
- package/dist/src/build/islandRegistryTransform.d.ts +0 -17
- package/dist/src/build/nativeRewrite.d.ts +0 -5
- package/dist/src/build/optimizeHtmlImages.d.ts +0 -2
- package/dist/src/build/outputLogs.d.ts +0 -1
- package/dist/src/build/parseAngularConfigImports.d.ts +0 -9
- package/dist/src/build/parseVueSpaRoutes.d.ts +0 -20
- package/dist/src/build/resolvePackageImport.d.ts +0 -9
- package/dist/src/build/rewriteImports.d.ts +0 -8
- package/dist/src/build/rewriteImportsPlugin.d.ts +0 -48
- package/dist/src/build/rewriteReactImports.d.ts +0 -7
- package/dist/src/build/runAngularHandlerScan.d.ts +0 -7
- package/dist/src/build/scanAngularHandlerCalls.d.ts +0 -13
- package/dist/src/build/scanAngularPageRoutes.d.ts +0 -10
- package/dist/src/build/scanConventions.d.ts +0 -5
- package/dist/src/build/scanCssEntryPoints.d.ts +0 -1
- package/dist/src/build/scanEntryPoints.d.ts +0 -1
- package/dist/src/build/scanRouteRegistrations.d.ts +0 -23
- package/dist/src/build/scanVueSsrOnlyPages.d.ts +0 -6
- package/dist/src/build/staticIslandPages.d.ts +0 -9
- package/dist/src/build/stylePreprocessor.d.ts +0 -26
- package/dist/src/build/tailwindCompiler.d.ts +0 -8
- package/dist/src/build/updateAssetPaths.d.ts +0 -1
- package/dist/src/build/vendorEntrySource.d.ts +0 -1
- package/dist/src/build/verifyAngularCoreUniqueness.d.ts +0 -2
- package/dist/src/build/vueAutoRouterTransform.d.ts +0 -1
- package/dist/src/build/wrapHTMLScript.d.ts +0 -17
- package/dist/src/build.d.ts +0 -2
- package/dist/src/cli/add/dependencies.d.ts +0 -12
- package/dist/src/cli/cache.d.ts +0 -15
- package/dist/src/cli/config/absolute/AbsoluteConfigPanel.d.ts +0 -6
- package/dist/src/cli/config/absolute/editAbsoluteConfig.d.ts +0 -5
- package/dist/src/cli/config/absolute/resolveAbsoluteConfig.d.ts +0 -14
- package/dist/src/cli/config/client.d.ts +0 -1
- package/dist/src/cli/config/configCert.d.ts +0 -12
- package/dist/src/cli/config/eslint/EslintPanel.d.ts +0 -6
- package/dist/src/cli/config/eslint/configAst.d.ts +0 -18
- package/dist/src/cli/config/eslint/editConfigRule.d.ts +0 -6
- package/dist/src/cli/config/eslint/eslintStyles.d.ts +0 -1
- package/dist/src/cli/config/eslint/resolveConfig.d.ts +0 -3
- package/dist/src/cli/config/eslint/serializeValue.d.ts +0 -9
- package/dist/src/cli/config/guards.d.ts +0 -4
- package/dist/src/cli/config/packageJson/PackageJsonPanel.d.ts +0 -6
- package/dist/src/cli/config/packageJson/editPackageJson.d.ts +0 -9
- package/dist/src/cli/config/packageJson/resolvePackageJson.d.ts +0 -9
- package/dist/src/cli/config/page/ConfigShell.d.ts +0 -6
- package/dist/src/cli/config/page/FieldEditor.d.ts +0 -9
- package/dist/src/cli/config/page/PanelHost.d.ts +0 -6
- package/dist/src/cli/config/page/configStyles.d.ts +0 -1
- package/dist/src/cli/config/panels.d.ts +0 -7
- package/dist/src/cli/config/prettier/PrettierPanel.d.ts +0 -6
- package/dist/src/cli/config/prettier/editPrettier.d.ts +0 -5
- package/dist/src/cli/config/prettier/resolvePrettier.d.ts +0 -11
- package/dist/src/cli/config/schema/fromJsonSchema.d.ts +0 -3
- package/dist/src/cli/config/schema/fromType.d.ts +0 -2
- package/dist/src/cli/config/schema/serialize.d.ts +0 -1
- package/dist/src/cli/config/server.d.ts +0 -298
- package/dist/src/cli/config/tsconfig/TsconfigPanel.d.ts +0 -6
- package/dist/src/cli/config/tsconfig/editTsconfig.d.ts +0 -5
- package/dist/src/cli/config/tsconfig/resolveTsconfig.d.ts +0 -8
- package/dist/src/cli/config/tsconfig/tsconfigStyles.d.ts +0 -1
- package/dist/src/cli/discoverInstances.d.ts +0 -5
- package/dist/src/cli/generate/componentTemplates.d.ts +0 -7
- package/dist/src/cli/generate/context.d.ts +0 -30
- package/dist/src/cli/generate/cssStrategy.d.ts +0 -20
- package/dist/src/cli/generate/frameworkKey.d.ts +0 -3
- package/dist/src/cli/generate/frameworks.d.ts +0 -40
- package/dist/src/cli/generate/generateApi.d.ts +0 -3
- package/dist/src/cli/generate/generateComponent.d.ts +0 -4
- package/dist/src/cli/generate/generatePage.d.ts +0 -4
- package/dist/src/cli/generate/naming.d.ts +0 -5
- package/dist/src/cli/generate/navData.d.ts +0 -10
- package/dist/src/cli/generate/outcome.d.ts +0 -17
- package/dist/src/cli/generate/pageTemplates.d.ts +0 -11
- package/dist/src/cli/generate/routeWiring.d.ts +0 -40
- package/dist/src/cli/generate/staticNav.d.ts +0 -5
- package/dist/src/cli/htmx/install.d.ts +0 -6
- package/dist/src/cli/index.d.ts +0 -2
- package/dist/src/cli/inspectData.d.ts +0 -11
- package/dist/src/cli/inspectTui.d.ts +0 -1
- package/dist/src/cli/instanceStatus.d.ts +0 -22
- package/dist/src/cli/interactive.d.ts +0 -2
- package/dist/src/cli/psTui.d.ts +0 -1
- package/dist/src/cli/scripts/add.d.ts +0 -1
- package/dist/src/cli/scripts/build.d.ts +0 -1
- package/dist/src/cli/scripts/compile.d.ts +0 -2
- package/dist/src/cli/scripts/dev.d.ts +0 -1
- package/dist/src/cli/scripts/doctor.d.ts +0 -1
- package/dist/src/cli/scripts/env.d.ts +0 -7
- package/dist/src/cli/scripts/eslint.d.ts +0 -16
- package/dist/src/cli/scripts/generate.d.ts +0 -1
- package/dist/src/cli/scripts/htmx.d.ts +0 -1
- package/dist/src/cli/scripts/info.d.ts +0 -1
- package/dist/src/cli/scripts/inspect.d.ts +0 -1
- package/dist/src/cli/scripts/logs.d.ts +0 -1
- package/dist/src/cli/scripts/ls.d.ts +0 -1
- package/dist/src/cli/scripts/mem.d.ts +0 -1
- package/dist/src/cli/scripts/prettier.d.ts +0 -3
- package/dist/src/cli/scripts/ps.d.ts +0 -1
- package/dist/src/cli/scripts/remove.d.ts +0 -1
- package/dist/src/cli/scripts/routes.d.ts +0 -1
- package/dist/src/cli/scripts/start.d.ts +0 -1
- package/dist/src/cli/scripts/telemetry.d.ts +0 -5
- package/dist/src/cli/scripts/tunnelRelay.d.ts +0 -9
- package/dist/src/cli/scripts/typecheck.d.ts +0 -1
- package/dist/src/cli/scripts/workspace.d.ts +0 -11
- package/dist/src/cli/telemetryEvent.d.ts +0 -1
- package/dist/src/cli/tuiPrimitives.d.ts +0 -14
- package/dist/src/cli/utils.d.ts +0 -15
- package/dist/src/cli/workspaceTui.d.ts +0 -44
- package/dist/src/client/hydrators/react.d.ts +0 -3
- package/dist/src/client/hydrators/svelte.d.ts +0 -2
- package/dist/src/client/hydrators/vue.d.ts +0 -2
- package/dist/src/client/index.d.ts +0 -4
- package/dist/src/client/islandResolver.d.ts +0 -2
- package/dist/src/client/islandRuntime.d.ts +0 -9
- package/dist/src/client/islandStore.d.ts +0 -22
- package/dist/src/client/preserveIslandMarkup.d.ts +0 -16
- package/dist/src/client/streamSwap.d.ts +0 -1
- package/dist/src/constants.d.ts +0 -96
- package/dist/src/core/angularServerModule.d.ts +0 -1
- package/dist/src/core/build.d.ts +0 -14
- package/dist/src/core/currentIslandRegistry.d.ts +0 -7
- package/dist/src/core/devBuild.d.ts +0 -23
- package/dist/src/core/devRouteRegistrationCallsite.d.ts +0 -4
- package/dist/src/core/devVendorPaths.d.ts +0 -17
- package/dist/src/core/index.d.ts +0 -7
- package/dist/src/core/islandManifest.d.ts +0 -3
- package/dist/src/core/islandMarkupAttributes.d.ts +0 -12
- package/dist/src/core/islandPageContext.d.ts +0 -12
- package/dist/src/core/islandSsr.d.ts +0 -6
- package/dist/src/core/islands.d.ts +0 -16
- package/dist/src/core/loadIslandRegistry.d.ts +0 -1
- package/dist/src/core/lookup.d.ts +0 -1
- package/dist/src/core/normalizeIslandProps.d.ts +0 -15
- package/dist/src/core/pageHandlers.d.ts +0 -5
- package/dist/src/core/prepare.d.ts +0 -417
- package/dist/src/core/prerender.d.ts +0 -31
- package/dist/src/core/renderIslandMarkup.d.ts +0 -13
- package/dist/src/core/responseEnhancers.d.ts +0 -10
- package/dist/src/core/staticStreaming.d.ts +0 -25
- package/dist/src/core/streamingSlotRegistrar.d.ts +0 -16
- package/dist/src/core/streamingSlotRegistry.d.ts +0 -2
- package/dist/src/core/streamingSlotWarningScope.d.ts +0 -4
- package/dist/src/core/svelteServerModule.d.ts +0 -1
- package/dist/src/core/vueServerModule.d.ts +0 -1
- package/dist/src/core/wrapPageHandlerWithStreamingSlots.d.ts +0 -2
- package/dist/src/dev/angular/fastHmrCompiler.d.ts +0 -58
- package/dist/src/dev/angular/hmrCompiler.d.ts +0 -2
- package/dist/src/dev/angular/hmrImportGenerator.d.ts +0 -3
- package/dist/src/dev/angular/hmrInjectionPlugin.d.ts +0 -8
- package/dist/src/dev/angular/resolveOwningComponents.d.ts +0 -16
- package/dist/src/dev/angular/vendor/translator/api/ast_factory.d.ts +0 -363
- package/dist/src/dev/angular/vendor/translator/api/import_generator.d.ts +0 -49
- package/dist/src/dev/angular/vendor/translator/context.d.ts +0 -18
- package/dist/src/dev/angular/vendor/translator/translator.d.ts +0 -75
- package/dist/src/dev/angular/vendor/translator/ts_util.d.ts +0 -12
- package/dist/src/dev/angular/vendor/translator/typescript_ast_factory.d.ts +0 -66
- package/dist/src/dev/angular/vendor/translator/typescript_translator.d.ts +0 -13
- package/dist/src/dev/assetStore.d.ts +0 -8
- package/dist/src/dev/buildHMRClient.d.ts +0 -1
- package/dist/src/dev/clientManager.d.ts +0 -33
- package/dist/src/dev/configResolver.d.ts +0 -16
- package/dist/src/dev/dependencyGraph.d.ts +0 -10
- package/dist/src/dev/devCert.d.ts +0 -11
- package/dist/src/dev/fileHashTracker.d.ts +0 -2
- package/dist/src/dev/fileWatcher.d.ts +0 -4
- package/dist/src/dev/moduleMapper.d.ts +0 -27
- package/dist/src/dev/moduleServer.d.ts +0 -24
- package/dist/src/dev/moduleVersionTracker.d.ts +0 -7
- package/dist/src/dev/pathUtils.d.ts +0 -8
- package/dist/src/dev/reactComponentClassifier.d.ts +0 -2
- package/dist/src/dev/rebuildTrigger.d.ts +0 -11
- package/dist/src/dev/requestInspector.d.ts +0 -43
- package/dist/src/dev/serverEntryWatcher.d.ts +0 -5
- package/dist/src/dev/simpleHTMLHMR.d.ts +0 -4
- package/dist/src/dev/simpleHTMXHMR.d.ts +0 -4
- package/dist/src/dev/transformCache.d.ts +0 -22
- package/dist/src/dev/tunnel/client.d.ts +0 -20
- package/dist/src/dev/tunnel/protocol.d.ts +0 -85
- package/dist/src/dev/tunnel/relay.d.ts +0 -28
- package/dist/src/dev/webSocket.d.ts +0 -9
- package/dist/src/ember/browser.d.ts +0 -24
- package/dist/src/ember/index.d.ts +0 -2
- package/dist/src/ember/pageHandler.d.ts +0 -35
- package/dist/src/ember/server.d.ts +0 -2
- package/dist/src/index.d.ts +0 -7
- package/dist/src/islands/browser.d.ts +0 -3
- package/dist/src/islands/index.d.ts +0 -3
- package/dist/src/islands/pageMetadata.d.ts +0 -13
- package/dist/src/islands/sourceMetadata.d.ts +0 -10
- package/dist/src/plugins/devtoolsJson.d.ts +0 -58
- package/dist/src/plugins/hmr.d.ts +0 -163
- package/dist/src/plugins/imageOptimizer.d.ts +0 -67
- package/dist/src/plugins/index.d.ts +0 -3
- package/dist/src/plugins/networking.d.ts +0 -2
- package/dist/src/plugins/pageRouter.d.ts +0 -1
- package/dist/src/react/Island.browser.d.ts +0 -2
- package/dist/src/react/Island.d.ts +0 -2
- package/dist/src/react/bridgeInternals.d.ts +0 -1
- package/dist/src/react/browser.d.ts +0 -3
- package/dist/src/react/components/Head.d.ts +0 -2
- package/dist/src/react/components/Image.d.ts +0 -2
- package/dist/src/react/components/JsonLd.d.ts +0 -4
- package/dist/src/react/components/StreamSlot.browser.d.ts +0 -10
- package/dist/src/react/components/StreamSlot.d.ts +0 -10
- package/dist/src/react/components/SuspenseSlot.browser.d.ts +0 -22
- package/dist/src/react/components/SuspenseSlot.d.ts +0 -37
- package/dist/src/react/components/browser/index.d.ts +0 -5
- package/dist/src/react/components/index.d.ts +0 -5
- package/dist/src/react/createIsland.browser.d.ts +0 -2
- package/dist/src/react/createIsland.d.ts +0 -2
- package/dist/src/react/hooks/index.d.ts +0 -3
- package/dist/src/react/hooks/useIslandStore.d.ts +0 -3
- package/dist/src/react/hooks/useMediaQuery.d.ts +0 -7
- package/dist/src/react/index.d.ts +0 -4
- package/dist/src/react/jsxDevRuntimeCompat.d.ts +0 -8
- package/dist/src/react/pageHandler.d.ts +0 -25
- package/dist/src/react/router/UniversalRouter.d.ts +0 -43
- package/dist/src/react/router/browser.d.ts +0 -2
- package/dist/src/react/router/index.d.ts +0 -2
- package/dist/src/react/server.d.ts +0 -1
- package/dist/src/react/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/svelte/browser.d.ts +0 -4
- package/dist/src/svelte/createIsland.browser.d.ts +0 -2
- package/dist/src/svelte/createIsland.d.ts +0 -2
- package/dist/src/svelte/index.d.ts +0 -6
- package/dist/src/svelte/islandStore.d.ts +0 -5
- package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +0 -4
- package/dist/src/svelte/lowerIslandSyntax.d.ts +0 -4
- package/dist/src/svelte/pageHandler.d.ts +0 -28
- package/dist/src/svelte/renderIsland.d.ts +0 -2
- package/dist/src/svelte/renderToPipeableStream.d.ts +0 -12
- package/dist/src/svelte/renderToReadableStream.d.ts +0 -14
- package/dist/src/svelte/renderToString.d.ts +0 -9
- package/dist/src/svelte/resolveIslandHtml.browser.d.ts +0 -2
- package/dist/src/svelte/resolveIslandHtml.d.ts +0 -2
- package/dist/src/svelte/router/browser.d.ts +0 -4
- package/dist/src/svelte/router/goto.d.ts +0 -15
- package/dist/src/svelte/router/hashMode.d.ts +0 -16
- package/dist/src/svelte/router/index.d.ts +0 -4
- package/dist/src/svelte/router/matchPath.d.ts +0 -30
- package/dist/src/svelte/router/page.svelte.d.ts +0 -15
- package/dist/src/svelte/router/prefetchCache.d.ts +0 -17
- package/dist/src/svelte/router/pushState.d.ts +0 -13
- package/dist/src/svelte/router/viewTransitions.d.ts +0 -6
- package/dist/src/svelte/server.d.ts +0 -1
- package/dist/src/svelte/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/utils/buildDirectoryLock.d.ts +0 -28
- package/dist/src/utils/cleanStaleOutputs.d.ts +0 -1
- package/dist/src/utils/cleanup.d.ts +0 -9
- package/dist/src/utils/commonAncestor.d.ts +0 -1
- package/dist/src/utils/defineConfig.d.ts +0 -39
- package/dist/src/utils/defineConvention.d.ts +0 -3
- package/dist/src/utils/defineEnv.d.ts +0 -10
- package/dist/src/utils/escapeScriptContent.d.ts +0 -1
- package/dist/src/utils/formatBytes.d.ts +0 -2
- package/dist/src/utils/generateHeadElement.d.ts +0 -4
- package/dist/src/utils/generateSitemap.d.ts +0 -21
- package/dist/src/utils/generatedDir.d.ts +0 -3
- package/dist/src/utils/getDurationString.d.ts +0 -1
- package/dist/src/utils/getEnv.d.ts +0 -1
- package/dist/src/utils/imageClient.d.ts +0 -13
- package/dist/src/utils/imageProcessing.d.ts +0 -33
- package/dist/src/utils/index.d.ts +0 -11
- package/dist/src/utils/inlinePageCss.d.ts +0 -2
- package/dist/src/utils/instanceRegistry.d.ts +0 -13
- package/dist/src/utils/jsonLd.d.ts +0 -3
- package/dist/src/utils/loadConfig.d.ts +0 -55
- package/dist/src/utils/logger.d.ts +0 -56
- package/dist/src/utils/networking.d.ts +0 -2
- package/dist/src/utils/normalizePath.d.ts +0 -9
- package/dist/src/utils/portScan.d.ts +0 -22
- package/dist/src/utils/projectRoot.d.ts +0 -17
- package/dist/src/utils/registerClientScript.d.ts +0 -36
- package/dist/src/utils/resolveConvention.d.ts +0 -10
- package/dist/src/utils/resolveDevPort.d.ts +0 -24
- package/dist/src/utils/runtimeMode.d.ts +0 -3
- package/dist/src/utils/spaRouteCss.d.ts +0 -4
- package/dist/src/utils/spaRouteTypes.d.ts +0 -25
- package/dist/src/utils/ssrErrorPage.d.ts +0 -1
- package/dist/src/utils/startupBanner.d.ts +0 -10
- package/dist/src/utils/startupTimings.d.ts +0 -7
- package/dist/src/utils/streamingSlotMetricSink.d.ts +0 -18
- package/dist/src/utils/streamingSlots.d.ts +0 -76
- package/dist/src/utils/stringModifiers.d.ts +0 -3
- package/dist/src/utils/userAgentFunctions.d.ts +0 -1
- package/dist/src/utils/validateSafePath.d.ts +0 -1
- package/dist/src/vue/Island.browser.d.ts +0 -37
- package/dist/src/vue/Island.d.ts +0 -36
- package/dist/src/vue/browser.d.ts +0 -6
- package/dist/src/vue/components/Image.d.ts +0 -74
- package/dist/src/vue/components/StreamSlot.d.ts +0 -22
- package/dist/src/vue/components/SuspenseSlot.d.ts +0 -26
- package/dist/src/vue/components/index.d.ts +0 -3
- package/dist/src/vue/createIsland.browser.d.ts +0 -13
- package/dist/src/vue/createIsland.d.ts +0 -13
- package/dist/src/vue/defineVuePage.d.ts +0 -6
- package/dist/src/vue/index.d.ts +0 -9
- package/dist/src/vue/pageHandler.d.ts +0 -45
- package/dist/src/vue/routerRedirectProviders.d.ts +0 -45
- package/dist/src/vue/server.d.ts +0 -2
- package/dist/src/vue/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/vue/useIslandStore.d.ts +0 -3
- package/dist/svelte/browser.js +0 -309
- package/dist/svelte/browser.js.map +0 -19
- package/dist/svelte/components/AwaitSlot.svelte +0 -39
- package/dist/svelte/components/AwaitSlot.svelte.d.ts +0 -2
- package/dist/svelte/components/Head.svelte +0 -144
- package/dist/svelte/components/Head.svelte.d.ts +0 -2
- package/dist/svelte/components/Image.svelte +0 -164
- package/dist/svelte/components/Image.svelte.d.ts +0 -5
- package/dist/svelte/components/Island.svelte +0 -71
- package/dist/svelte/components/Island.svelte.d.ts +0 -5
- package/dist/svelte/components/JsonLd.svelte +0 -21
- package/dist/svelte/components/JsonLd.svelte.d.ts +0 -2
- package/dist/svelte/components/StreamSlot.svelte +0 -41
- package/dist/svelte/components/StreamSlot.svelte.d.ts +0 -2
- package/dist/svelte/index.js +0 -4371
- package/dist/svelte/index.js.map +0 -60
- package/dist/svelte/router/Link.svelte +0 -124
- package/dist/svelte/router/Link.svelte.d.ts +0 -21
- package/dist/svelte/router/Route.svelte +0 -54
- package/dist/svelte/router/Route.svelte.d.ts +0 -13
- package/dist/svelte/router/Router.svelte +0 -189
- package/dist/svelte/router/Router.svelte.d.ts +0 -16
- package/dist/svelte/router/browser.ts +0 -14
- package/dist/svelte/router/goto.ts +0 -89
- package/dist/svelte/router/hashMode.ts +0 -31
- package/dist/svelte/router/index.ts +0 -23
- package/dist/svelte/router/matchPath.ts +0 -136
- package/dist/svelte/router/page.d.ts +0 -15
- package/dist/svelte/router/page.js +0 -27
- package/dist/svelte/router/prefetchCache.ts +0 -85
- package/dist/svelte/router/pushState.ts +0 -35
- package/dist/svelte/router/viewTransitions.ts +0 -35
- package/dist/svelte/server.js +0 -2996
- package/dist/svelte/server.js.map +0 -33
- package/dist/types/absoluteConfig.d.ts +0 -22
- package/dist/types/angular.d.ts +0 -43
- package/dist/types/build.d.ts +0 -245
- package/dist/types/cli.d.ts +0 -71
- package/dist/types/client.d.ts +0 -70
- package/dist/types/config.d.ts +0 -50
- package/dist/types/conventions.d.ts +0 -26
- package/dist/types/ember.d.ts +0 -39
- package/dist/types/env.d.ts +0 -2
- package/dist/types/eslintConfig.d.ts +0 -68
- package/dist/types/globals.d.ts +0 -163
- package/dist/types/image.d.ts +0 -77
- package/dist/types/index.d.ts +0 -17
- package/dist/types/island.d.ts +0 -52
- package/dist/types/jsonLd.d.ts +0 -300
- package/dist/types/mediaQuery.d.ts +0 -9
- package/dist/types/messages.d.ts +0 -152
- package/dist/types/metadata.d.ts +0 -51
- package/dist/types/packageJson.d.ts +0 -74
- package/dist/types/packageJsonPanel.d.ts +0 -29
- package/dist/types/prettier.d.ts +0 -26
- package/dist/types/react.d.ts +0 -2
- package/dist/types/sitemap.d.ts +0 -24
- package/dist/types/style-module-shim.d.ts +0 -29
- package/dist/types/svelte.d.ts +0 -2
- package/dist/types/svelteRouter.d.ts +0 -65
- package/dist/types/svelteRouter.ts +0 -91
- package/dist/types/telemetry.d.ts +0 -15
- package/dist/types/tool.d.ts +0 -11
- package/dist/types/tsconfig.d.ts +0 -31
- package/dist/types/typeGuards.d.ts +0 -2
- package/dist/types/userAgentTypes.d.ts +0 -2
- package/dist/types/vue.d.ts +0 -56
- package/dist/types/websocket.d.ts +0 -6
- package/dist/vue/browser.js +0 -512
- package/dist/vue/browser.js.map +0 -22
- package/dist/vue/components/Image.js +0 -264
- package/dist/vue/components/Image.js.map +0 -12
- package/dist/vue/components/index.js +0 -571
- package/dist/vue/components/index.js.map +0 -15
- package/dist/vue/index.js +0 -5238
- package/dist/vue/index.js.map +0 -69
- package/dist/vue/server.js +0 -2251
- package/dist/vue/server.js.map +0 -32
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
-
*/
|
|
8
|
-
import ts from 'typescript';
|
|
9
|
-
import { AstFactory, BinaryOperator, BuiltInType, LeadingComment, ObjectLiteralProperty, Parameter, SourceMapRange, TemplateLiteral, UnaryOperator, VariableDeclarationType } from './api/ast_factory';
|
|
10
|
-
/**
|
|
11
|
-
* A TypeScript flavoured implementation of the AstFactory.
|
|
12
|
-
*/
|
|
13
|
-
export declare class TypeScriptAstFactory implements AstFactory<ts.Statement, ts.Expression, ts.TypeNode> {
|
|
14
|
-
private annotateForClosureCompiler;
|
|
15
|
-
private externalSourceFiles;
|
|
16
|
-
private readonly UNARY_OPERATORS;
|
|
17
|
-
private readonly BINARY_OPERATORS;
|
|
18
|
-
private readonly VAR_TYPES;
|
|
19
|
-
constructor(annotateForClosureCompiler: boolean);
|
|
20
|
-
attachComments: typeof attachComments;
|
|
21
|
-
createArrayLiteral: (elements?: readonly ts.Expression[], multiLine?: boolean) => ts.ArrayLiteralExpression;
|
|
22
|
-
createAssignment(target: ts.Expression, operator: BinaryOperator, value: ts.Expression): ts.Expression;
|
|
23
|
-
createBinaryExpression(leftOperand: ts.Expression, operator: BinaryOperator, rightOperand: ts.Expression): ts.Expression;
|
|
24
|
-
createBlock(body: ts.Statement[]): ts.Statement;
|
|
25
|
-
createCallExpression(callee: ts.Expression, args: ts.Expression[], pure: boolean): ts.Expression;
|
|
26
|
-
createConditional(condition: ts.Expression, whenTrue: ts.Expression, whenFalse: ts.Expression): ts.Expression;
|
|
27
|
-
createElementAccess: (expression: ts.Expression, index: number | ts.Expression) => ts.ElementAccessExpression;
|
|
28
|
-
createExpressionStatement: (expression: ts.Expression) => ts.ExpressionStatement;
|
|
29
|
-
createDynamicImport(url: string | ts.Expression): ts.CallExpression;
|
|
30
|
-
createFunctionDeclaration(functionName: string, parameters: Parameter<ts.TypeNode>[], body: ts.Statement): ts.Statement;
|
|
31
|
-
createFunctionExpression(functionName: string | null, parameters: Parameter<ts.TypeNode>[], body: ts.Statement): ts.Expression;
|
|
32
|
-
createArrowFunctionExpression(parameters: Parameter<ts.TypeNode>[], body: ts.Statement | ts.Expression): ts.Expression;
|
|
33
|
-
private createParameter;
|
|
34
|
-
createIdentifier: (text: string) => ts.Identifier;
|
|
35
|
-
createIfStatement(condition: ts.Expression, thenStatement: ts.Statement, elseStatement: ts.Statement | null): ts.Statement;
|
|
36
|
-
createLiteral(value: string | number | boolean | null | undefined): ts.Expression;
|
|
37
|
-
createNewExpression(expression: ts.Expression, args: ts.Expression[]): ts.Expression;
|
|
38
|
-
createObjectLiteral(properties: ObjectLiteralProperty<ts.Expression>[]): ts.Expression;
|
|
39
|
-
createParenthesizedExpression: (expression: ts.Expression) => ts.ParenthesizedExpression;
|
|
40
|
-
createPropertyAccess: (expression: ts.Expression, name: string | ts.MemberName) => ts.PropertyAccessExpression;
|
|
41
|
-
createSpreadElement: (expression: ts.Expression) => ts.SpreadElement;
|
|
42
|
-
createReturnStatement(expression: ts.Expression | null): ts.Statement;
|
|
43
|
-
createTaggedTemplate(tag: ts.Expression, template: TemplateLiteral<ts.Expression>): ts.Expression;
|
|
44
|
-
createTemplateLiteral(template: TemplateLiteral<ts.Expression>): ts.TemplateLiteral;
|
|
45
|
-
createThrowStatement: (expression: ts.Expression) => ts.ThrowStatement;
|
|
46
|
-
createTypeOfExpression: (expression: ts.Expression) => ts.TypeOfExpression;
|
|
47
|
-
createVoidExpression: (expression: ts.Expression) => ts.VoidExpression;
|
|
48
|
-
createUnaryExpression(operator: UnaryOperator, operand: ts.Expression): ts.Expression;
|
|
49
|
-
createVariableDeclaration(variableName: string, initializer: ts.Expression | null, variableType: VariableDeclarationType, type: ts.TypeNode | null): ts.Statement;
|
|
50
|
-
createRegularExpressionLiteral(body: string, flags: string | null): ts.Expression;
|
|
51
|
-
setSourceMapRange<T extends ts.Node>(node: T, sourceMapRange: SourceMapRange | null): T;
|
|
52
|
-
createBuiltInType(type: BuiltInType): ts.TypeNode;
|
|
53
|
-
createExpressionType(expression: ts.Expression, typeParams: ts.TypeNode[] | null): ts.TypeNode;
|
|
54
|
-
createArrayType(elementType: ts.TypeNode): ts.TypeNode;
|
|
55
|
-
createMapType(valueType: ts.TypeNode): ts.TypeNode;
|
|
56
|
-
transplantType(type: ts.TypeNode): ts.TypeNode;
|
|
57
|
-
}
|
|
58
|
-
export declare function createTemplateMiddle(cooked: string, raw: string): ts.TemplateMiddle;
|
|
59
|
-
export declare function createTemplateTail(cooked: string, raw: string): ts.TemplateTail;
|
|
60
|
-
/**
|
|
61
|
-
* Attach the given `leadingComments` to the `statement` node.
|
|
62
|
-
*
|
|
63
|
-
* @param statement The statement that will have comments attached.
|
|
64
|
-
* @param leadingComments The comments to attach to the statement.
|
|
65
|
-
*/
|
|
66
|
-
export declare function attachComments(statement: ts.Statement | ts.Expression, leadingComments: LeadingComment[]): void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
-
*/
|
|
8
|
-
import * as o from '@angular/compiler';
|
|
9
|
-
import ts from 'typescript';
|
|
10
|
-
import { ImportGenerator } from './api/import_generator';
|
|
11
|
-
import { TranslatorOptions } from './translator';
|
|
12
|
-
export declare function translateExpression(contextFile: ts.SourceFile, expression: o.Expression, imports: ImportGenerator<ts.SourceFile, ts.Expression>, options?: TranslatorOptions<ts.Expression>): ts.Expression;
|
|
13
|
-
export declare function translateStatement(contextFile: ts.SourceFile, statement: o.Statement, imports: ImportGenerator<ts.SourceFile, ts.Expression>, options?: TranslatorOptions<ts.Expression>): ts.Statement;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** Determine Content-Type from a file path extension */
|
|
2
|
-
export declare const getMimeType: (filePath: string) => string;
|
|
3
|
-
/** Upsert build outputs into the in-memory asset store.
|
|
4
|
-
* Evicts previous entries for the same logical asset (same base name,
|
|
5
|
-
* different hash) so stale paths don't accumulate. */
|
|
6
|
-
export declare const cleanStaleAssets: (store: Map<string, Uint8Array>, manifest: Record<string, string>, buildDir: string) => Promise<void>;
|
|
7
|
-
export declare const lookupAsset: (store: Map<string, Uint8Array>, path: string) => Uint8Array<ArrayBufferLike> | undefined;
|
|
8
|
-
export declare const populateAssetStore: (store: Map<string, Uint8Array>, manifest: Record<string, string>, buildDir: string) => Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const buildHMRClient: () => Promise<string>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { FSWatcher } from 'fs';
|
|
2
|
-
import { type DependencyGraph } from './dependencyGraph';
|
|
3
|
-
import { type ModuleVersions } from './moduleVersionTracker';
|
|
4
|
-
import type { HMRWebSocket } from '../../types/websocket';
|
|
5
|
-
import type { BuildConfig } from '../../types/build';
|
|
6
|
-
import { type ResolvedBuildPaths } from './configResolver';
|
|
7
|
-
export type HMRState = {
|
|
8
|
-
connectedClients: Set<HMRWebSocket>;
|
|
9
|
-
activeFrameworks: Set<string>;
|
|
10
|
-
dependencyGraph: DependencyGraph;
|
|
11
|
-
isRebuilding: boolean;
|
|
12
|
-
rebuildQueue: Set<string>;
|
|
13
|
-
rebuildTimeout: NodeJS.Timeout | null;
|
|
14
|
-
fileChangeQueue: Map<string, string[]>;
|
|
15
|
-
debounceTimeout: NodeJS.Timeout | null;
|
|
16
|
-
fileHashes: Map<string, number>;
|
|
17
|
-
watchers: FSWatcher[];
|
|
18
|
-
moduleVersions: ModuleVersions;
|
|
19
|
-
sourceFileVersions: Map<string, number>;
|
|
20
|
-
config: BuildConfig;
|
|
21
|
-
resolvedPaths: ResolvedBuildPaths;
|
|
22
|
-
vueChangeTypes: Map<string, 'template-only' | 'script' | 'full'>;
|
|
23
|
-
assetStore: Map<string, Uint8Array>;
|
|
24
|
-
manifest: Record<string, string>;
|
|
25
|
-
rebuildCount: number;
|
|
26
|
-
lastHmrPath?: string;
|
|
27
|
-
lastHmrFramework?: string;
|
|
28
|
-
lastUserEditedFiles?: Set<string>;
|
|
29
|
-
initialBuildFailed?: boolean;
|
|
30
|
-
};
|
|
31
|
-
export declare const createHMRState: (config: BuildConfig) => HMRState;
|
|
32
|
-
export declare const incrementSourceFileVersion: (state: HMRState, filePath: string) => number;
|
|
33
|
-
export declare const incrementSourceFileVersions: (state: HMRState, filePaths: string[]) => void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
/** Normalize and default build paths so HMR works outside the example app. */
|
|
3
|
-
export declare const resolveBuildPaths: (config: BuildConfig) => {
|
|
4
|
-
angularDir: string | undefined;
|
|
5
|
-
assetsDir: string | undefined;
|
|
6
|
-
buildDir: string;
|
|
7
|
-
emberDir: string | undefined;
|
|
8
|
-
htmlDir: string | undefined;
|
|
9
|
-
htmxDir: string | undefined;
|
|
10
|
-
publicDir: string | undefined;
|
|
11
|
-
reactDir: string | undefined;
|
|
12
|
-
stylesDir: string | undefined;
|
|
13
|
-
svelteDir: string | undefined;
|
|
14
|
-
vueDir: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
export type ResolvedBuildPaths = ReturnType<typeof resolveBuildPaths>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type DependencyGraph = {
|
|
2
|
-
dependents: Map<string, Set<string>>;
|
|
3
|
-
dependencies: Map<string, Set<string>>;
|
|
4
|
-
};
|
|
5
|
-
export declare const emptyDependencyGraph: DependencyGraph;
|
|
6
|
-
export declare const addFileToGraph: (graph: DependencyGraph, filePath: string) => void;
|
|
7
|
-
export declare const buildInitialDependencyGraph: (graph: DependencyGraph, directories: string[]) => void;
|
|
8
|
-
export declare const extractDependencies: (filePath: string) => string[];
|
|
9
|
-
export declare const getAffectedFiles: (graph: DependencyGraph, changedFile: string) => string[];
|
|
10
|
-
export declare const removeFileFromGraph: (graph: DependencyGraph, filePath: string) => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const hasMkcert: () => boolean;
|
|
2
|
-
export declare const ensureDevCert: () => {
|
|
3
|
-
cert: string;
|
|
4
|
-
key: string;
|
|
5
|
-
} | null;
|
|
6
|
-
export declare const hasCert: () => boolean;
|
|
7
|
-
export declare const loadDevCert: () => {
|
|
8
|
-
cert: string;
|
|
9
|
-
key: string;
|
|
10
|
-
} | null;
|
|
11
|
-
export declare const setupMkcert: () => boolean;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
import type { HMRState } from './clientManager';
|
|
3
|
-
export declare const addFileWatchers: (state: HMRState, paths: string[], onFileChange: (filePath: string) => void) => void;
|
|
4
|
-
export declare const startFileWatching: (state: HMRState, config: BuildConfig, onFileChange: (filePath: string) => void) => void;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type ComponentType } from './reactComponentClassifier';
|
|
2
|
-
export type ModuleUpdate = {
|
|
3
|
-
sourceFile: string;
|
|
4
|
-
framework: string;
|
|
5
|
-
moduleKeys: string[];
|
|
6
|
-
modulePaths: Record<string, string>;
|
|
7
|
-
componentType?: ComponentType;
|
|
8
|
-
};
|
|
9
|
-
export declare const createModuleUpdates: (changedFiles: string[], framework: string, manifest: Record<string, string>, resolvedPaths?: {
|
|
10
|
-
reactDir?: string;
|
|
11
|
-
svelteDir?: string;
|
|
12
|
-
vueDir?: string;
|
|
13
|
-
angularDir?: string;
|
|
14
|
-
}) => {
|
|
15
|
-
componentType: "server" | "client" | undefined;
|
|
16
|
-
framework: string;
|
|
17
|
-
moduleKeys: string[];
|
|
18
|
-
modulePaths: Record<string, string>;
|
|
19
|
-
sourceFile: string;
|
|
20
|
-
}[];
|
|
21
|
-
export declare const groupModuleUpdatesByFramework: (updates: ModuleUpdate[]) => Map<string, ModuleUpdate[]>;
|
|
22
|
-
export declare const mapSourceFileToManifestKeys: (sourceFile: string, framework: string, resolvedPaths?: {
|
|
23
|
-
reactDir?: string;
|
|
24
|
-
svelteDir?: string;
|
|
25
|
-
vueDir?: string;
|
|
26
|
-
angularDir?: string;
|
|
27
|
-
}) => string[];
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { StylePreprocessorConfig } from '../../types/build';
|
|
2
|
-
type ModuleServerConfig = {
|
|
3
|
-
projectRoot: string;
|
|
4
|
-
vendorPaths: Record<string, string>;
|
|
5
|
-
frameworkDirs?: {
|
|
6
|
-
angular?: string;
|
|
7
|
-
react?: string;
|
|
8
|
-
svelte?: string;
|
|
9
|
-
vue?: string;
|
|
10
|
-
};
|
|
11
|
-
stylePreprocessors?: StylePreprocessorConfig;
|
|
12
|
-
};
|
|
13
|
-
export declare const warnIfReactFastRefreshUnsupported: () => void;
|
|
14
|
-
export declare const warmCompilers: (frameworks: {
|
|
15
|
-
svelte?: boolean;
|
|
16
|
-
vue?: boolean;
|
|
17
|
-
}) => Promise<void>;
|
|
18
|
-
export declare const createModuleServer: (config: ModuleServerConfig) => (pathname: string) => Promise<Response | undefined>;
|
|
19
|
-
export declare const invalidateModule: (filePath: string) => void;
|
|
20
|
-
export declare const warmCache: (pathname: string) => void;
|
|
21
|
-
declare let globalModuleServer: ((pathname: string) => Promise<Response | undefined> | Response | undefined) | null;
|
|
22
|
-
export declare const SRC_URL_PREFIX = "/@src/";
|
|
23
|
-
export declare const setGlobalModuleServer: (handler: typeof globalModuleServer) => void;
|
|
24
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type ModuleVersion = number;
|
|
2
|
-
export type ModuleVersions = Map<string, ModuleVersion>;
|
|
3
|
-
export declare const createModuleVersionTracker: () => Map<string, number>;
|
|
4
|
-
export declare const getNextVersion: () => number;
|
|
5
|
-
export declare const incrementModuleVersion: (versions: ModuleVersions, modulePath: string) => number;
|
|
6
|
-
export declare const incrementModuleVersions: (versions: ModuleVersions, modulePaths: string[]) => Map<string, number>;
|
|
7
|
-
export declare const serializeModuleVersions: (versions: ModuleVersions) => Record<string, number>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BuildConfig } from '../../types/build';
|
|
2
|
-
import type { ResolvedBuildPaths } from './configResolver';
|
|
3
|
-
export declare const detectFramework: (filePath: string, resolved?: ResolvedBuildPaths) => "react" | "svelte" | "vue" | "angular" | "ember" | "html" | "unknown" | "ignored" | "styles" | "htmx" | "assets";
|
|
4
|
-
export declare const getWatchPaths: (config: BuildConfig, resolved?: ResolvedBuildPaths) => string[];
|
|
5
|
-
/** A path is ignored when it is NOT inside any of the configured
|
|
6
|
-
* positive watch roots, OR when it falls inside a hard-denied
|
|
7
|
-
* build/output subtree. The styles directory is always allowed. */
|
|
8
|
-
export declare const shouldIgnorePath: (path: string, resolved?: ResolvedBuildPaths) => boolean;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
import { type HMRState } from './clientManager';
|
|
3
|
-
export declare const queueFileChange: (state: HMRState, filePath: string, config: BuildConfig, onRebuildComplete: (result: {
|
|
4
|
-
manifest: Record<string, string>;
|
|
5
|
-
hmrState: HMRState;
|
|
6
|
-
}) => void) => Promise<void>;
|
|
7
|
-
export type AngularHmrTier = 0 | 1 | 2;
|
|
8
|
-
export declare const triggerRebuild: (state: HMRState, config: BuildConfig, onRebuildComplete: (result: {
|
|
9
|
-
manifest: Record<string, string>;
|
|
10
|
-
hmrState: HMRState;
|
|
11
|
-
}) => void, filesToRebuild?: string[]) => Promise<Record<string, string> | null>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Elysia } from 'elysia';
|
|
2
|
-
export declare const requestInspector: Elysia<"", {
|
|
3
|
-
decorator: {};
|
|
4
|
-
store: {};
|
|
5
|
-
derive: {};
|
|
6
|
-
resolve: {};
|
|
7
|
-
}, {
|
|
8
|
-
typebox: {};
|
|
9
|
-
error: {};
|
|
10
|
-
}, {
|
|
11
|
-
schema: {};
|
|
12
|
-
standaloneSchema: {};
|
|
13
|
-
macro: {};
|
|
14
|
-
macroFn: {};
|
|
15
|
-
parser: {};
|
|
16
|
-
response: {};
|
|
17
|
-
}, {
|
|
18
|
-
__absolute: {
|
|
19
|
-
requests: {
|
|
20
|
-
get: {
|
|
21
|
-
body: unknown;
|
|
22
|
-
params: {};
|
|
23
|
-
query: unknown;
|
|
24
|
-
headers: unknown;
|
|
25
|
-
response: {
|
|
26
|
-
200: import("..").RequestRecord[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
derive: {};
|
|
33
|
-
resolve: {};
|
|
34
|
-
schema: {};
|
|
35
|
-
standaloneSchema: {};
|
|
36
|
-
response: {};
|
|
37
|
-
}, {
|
|
38
|
-
derive: {};
|
|
39
|
-
resolve: {};
|
|
40
|
-
schema: {};
|
|
41
|
-
standaloneSchema: {};
|
|
42
|
-
response: {};
|
|
43
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const getTransformed: (filePath: string) => string | undefined;
|
|
2
|
-
export declare const setTransformed: (filePath: string, content: string, mtime: number, imports?: string[]) => void;
|
|
3
|
-
export declare const findNearestComponent: (filePath: string) => string | undefined;
|
|
4
|
-
export declare const getInvalidationVersion: (filePath: string) => number;
|
|
5
|
-
/**
|
|
6
|
-
* Invalidate `filePath` and every transitive importer.
|
|
7
|
-
*
|
|
8
|
-
* BFS up the reverse-import graph; for each visited file we (1) drop
|
|
9
|
-
* its transform cache so the next request re-transpiles, and (2) bump
|
|
10
|
-
* its invalidation version so `srcUrl()` emits a fresh `?v=` token —
|
|
11
|
-
* forcing the browser to refetch even when the importer's mtime is
|
|
12
|
-
* unchanged. Bumping versions on transitive importers (not just the
|
|
13
|
-
* originally-changed file) is the load-bearing piece: without it, a
|
|
14
|
-
* page that imports a service via two intermediate components keeps
|
|
15
|
-
* resolving the page module under its old `?v=`, the page bundle's
|
|
16
|
-
* internal `/@src/` references stay pointed at stale URLs, and rapid
|
|
17
|
-
* HMR cycles wedge the browser bundle until the dev server restarts.
|
|
18
|
-
*
|
|
19
|
-
* Cycles are tolerated via the `visited` set.
|
|
20
|
-
*/
|
|
21
|
-
export declare const invalidate: (filePath: string) => void;
|
|
22
|
-
export declare const invalidateAll: () => void;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
type TunnelClientOptions = {
|
|
2
|
-
/** Public relay base URL, e.g. `https://my-relay.ondigitalocean.app`. */
|
|
3
|
-
relayUrl: string;
|
|
4
|
-
/** Shared secret matching the relay's token. */
|
|
5
|
-
token: string;
|
|
6
|
-
/** Local app origin to replay requests against, e.g. `http://localhost:3000`. */
|
|
7
|
-
localOrigin: string;
|
|
8
|
-
/** Called once the relay confirms the public URL is live. */
|
|
9
|
-
onReady?: (publicUrl: string) => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Start the dev-side tunnel client. Dials the relay's control socket and
|
|
13
|
-
* replays each forwarded request against the local app, streaming responses
|
|
14
|
-
* back. Auto-reconnects so an HMR restart or a relay blip self-heals.
|
|
15
|
-
*/
|
|
16
|
-
export declare const startTunnelClient: (options: TunnelClientOptions) => {
|
|
17
|
-
publicUrl: string;
|
|
18
|
-
close(): void;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Reverse-tunnel wire protocol (pure Bun, no third-party deps).
|
|
3
|
-
*
|
|
4
|
-
* A dev machine behind NAT cannot accept inbound connections, so the dev
|
|
5
|
-
* `client` dials OUT to a public `relay` over a single control WebSocket. The
|
|
6
|
-
* relay receives public HTTP requests and forwards each one down that socket;
|
|
7
|
-
* the client replays it against the local app and sends the response back.
|
|
8
|
-
*
|
|
9
|
-
* Stage 1 covers HTTP request/response (webhooks). WebSocket passthrough for
|
|
10
|
-
* telephony media streams is layered on later with additional message types.
|
|
11
|
-
*/
|
|
12
|
-
/** Control-channel path the client connects to on the relay. */
|
|
13
|
-
export declare const TUNNEL_CONTROL_PATH = "/__abs_tunnel/control";
|
|
14
|
-
/** Header the relay strips/sets; lets the app know its public origin. */
|
|
15
|
-
export declare const TUNNEL_FORWARDED_HOST_HEADER = "x-absolute-tunnel-host";
|
|
16
|
-
/** A forwarded HTTP request (relay → client). Body is base64 (binary-safe). */
|
|
17
|
-
export type TunnelRequestMessage = {
|
|
18
|
-
type: 'request';
|
|
19
|
-
id: string;
|
|
20
|
-
method: string;
|
|
21
|
-
/** Path + query, e.g. `/v1/sms/intake?x=1`. */
|
|
22
|
-
url: string;
|
|
23
|
-
headers: Record<string, string>;
|
|
24
|
-
bodyBase64?: string;
|
|
25
|
-
};
|
|
26
|
-
/** The client's response to a forwarded request (client → relay). */
|
|
27
|
-
export type TunnelResponseMessage = {
|
|
28
|
-
type: 'response';
|
|
29
|
-
id: string;
|
|
30
|
-
status: number;
|
|
31
|
-
headers: Record<string, string>;
|
|
32
|
-
bodyBase64?: string;
|
|
33
|
-
};
|
|
34
|
-
/** Client could not produce a response (local app down, fetch threw). */
|
|
35
|
-
export type TunnelErrorMessage = {
|
|
36
|
-
type: 'error';
|
|
37
|
-
id: string;
|
|
38
|
-
message: string;
|
|
39
|
-
};
|
|
40
|
-
/** Sent by the relay right after a successful auth handshake. */
|
|
41
|
-
export type TunnelReadyMessage = {
|
|
42
|
-
type: 'ready';
|
|
43
|
-
/** Public base URL the relay is reachable at, e.g. `https://x.app`. */
|
|
44
|
-
publicUrl: string;
|
|
45
|
-
};
|
|
46
|
-
/** A public WS connection opened; client should dial the local app (relay → client). */
|
|
47
|
-
export type TunnelWsOpenMessage = {
|
|
48
|
-
type: 'ws_open';
|
|
49
|
-
id: string;
|
|
50
|
-
/** Path + query of the upgraded request. */
|
|
51
|
-
url: string;
|
|
52
|
-
headers: Record<string, string>;
|
|
53
|
-
};
|
|
54
|
-
/** Result of the client opening the local WS (client → relay). */
|
|
55
|
-
export type TunnelWsOpenAckMessage = {
|
|
56
|
-
type: 'ws_open_ack';
|
|
57
|
-
id: string;
|
|
58
|
-
ok: boolean;
|
|
59
|
-
error?: string;
|
|
60
|
-
};
|
|
61
|
-
/** One WS frame, either direction. Binary frames are base64. */
|
|
62
|
-
export type TunnelWsDataMessage = {
|
|
63
|
-
type: 'ws_data';
|
|
64
|
-
id: string;
|
|
65
|
-
dataBase64: string;
|
|
66
|
-
binary: boolean;
|
|
67
|
-
};
|
|
68
|
-
/** A WS closed, either direction. */
|
|
69
|
-
export type TunnelWsCloseMessage = {
|
|
70
|
-
type: 'ws_close';
|
|
71
|
-
id: string;
|
|
72
|
-
code?: number;
|
|
73
|
-
reason?: string;
|
|
74
|
-
};
|
|
75
|
-
/** App-level keepalive (either direction). */
|
|
76
|
-
export type TunnelPingMessage = {
|
|
77
|
-
type: 'ping';
|
|
78
|
-
};
|
|
79
|
-
export type TunnelPongMessage = {
|
|
80
|
-
type: 'pong';
|
|
81
|
-
};
|
|
82
|
-
export type TunnelClientMessage = TunnelResponseMessage | TunnelErrorMessage | TunnelWsOpenAckMessage | TunnelWsDataMessage | TunnelWsCloseMessage | TunnelPongMessage | TunnelPingMessage;
|
|
83
|
-
export type TunnelServerMessage = TunnelRequestMessage | TunnelReadyMessage | TunnelWsOpenMessage | TunnelWsDataMessage | TunnelWsCloseMessage | TunnelPingMessage | TunnelPongMessage;
|
|
84
|
-
export declare const decodeTunnelMessage: (raw: string) => TunnelRequestMessage | TunnelResponseMessage | TunnelErrorMessage | TunnelReadyMessage | TunnelWsOpenMessage | TunnelWsOpenAckMessage | TunnelWsDataMessage | TunnelWsCloseMessage | TunnelPingMessage | TunnelPongMessage | null;
|
|
85
|
-
export declare const encodeTunnelMessage: (message: TunnelClientMessage | TunnelServerMessage) => string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
type RelayOptions = {
|
|
2
|
-
/** Port the relay listens on (App Platform injects PORT). */
|
|
3
|
-
port?: number;
|
|
4
|
-
/** Shared secret the dev client must present (?token=). */
|
|
5
|
-
token: string;
|
|
6
|
-
/** Public base URL the relay is reachable at. Falls back to the request
|
|
7
|
-
* origin when omitted (App Platform: set APP_URL or pass explicitly). */
|
|
8
|
-
publicUrl?: string;
|
|
9
|
-
/** How long to wait for the dev client to answer a forwarded request. */
|
|
10
|
-
requestTimeoutMs?: number;
|
|
11
|
-
};
|
|
12
|
-
type ControlSocketData = {
|
|
13
|
-
control: true;
|
|
14
|
-
};
|
|
15
|
-
type PublicSocketData = {
|
|
16
|
-
control: false;
|
|
17
|
-
id: string;
|
|
18
|
-
url: string;
|
|
19
|
-
headers: Record<string, string>;
|
|
20
|
-
};
|
|
21
|
-
type SocketData = ControlSocketData | PublicSocketData;
|
|
22
|
-
/**
|
|
23
|
-
* Start the public reverse-tunnel relay. Holds one dev-client control socket
|
|
24
|
-
* and forwards every other inbound HTTP request — and public WebSocket — down
|
|
25
|
-
* it. Single-tenant: the shared `token` gates the control channel.
|
|
26
|
-
*/
|
|
27
|
-
export declare const startTunnelRelay: (options: RelayOptions) => Bun.Server<SocketData>;
|
|
28
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { HMRState } from './clientManager';
|
|
2
|
-
import { type HMRWebSocket } from '../../types/websocket';
|
|
3
|
-
export declare const broadcastToClients: (state: HMRState, message: {
|
|
4
|
-
type: string;
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}) => void;
|
|
7
|
-
export declare const handleClientConnect: (state: HMRState, client: HMRWebSocket, manifest: Record<string, string>) => void;
|
|
8
|
-
export declare const handleClientDisconnect: (state: HMRState, client: HMRWebSocket) => void;
|
|
9
|
-
export declare const handleHMRMessage: (state: HMRState, client: HMRWebSocket, message: unknown) => void;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Phase 1 Ember client entry.
|
|
3
|
-
*
|
|
4
|
-
* The page index file (emitted by the build) imports this module and
|
|
5
|
-
* the user's compiled page module. We mount the page component into
|
|
6
|
-
* `#ember-root` using the same `renderComponent` API SSR used — Ember
|
|
7
|
-
* Router's hydration story is post-Phase-1 work; for v1 we re-render
|
|
8
|
-
* client-side over the SSR'd HTML.
|
|
9
|
-
*
|
|
10
|
-
* `@ember/renderer` is loaded dynamically rather than via static import
|
|
11
|
-
* because (a) the AbsoluteJS framework typecheck shouldn't require
|
|
12
|
-
* ember-source as a dep, and (b) the resolved URL at runtime is
|
|
13
|
-
* `/ember/vendor/ember_renderer.js` (the vendor build's output) rather
|
|
14
|
-
* than the bare specifier — only the user's bundle pass knows which
|
|
15
|
-
* mapping to apply.
|
|
16
|
-
*/
|
|
17
|
-
declare global {
|
|
18
|
-
interface Window {
|
|
19
|
-
__INITIAL_PROPS__?: Record<string, unknown>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export declare const mountEmberPage: (component: unknown, rootSelector?: string) => Promise<{
|
|
23
|
-
destroy?: () => void;
|
|
24
|
-
}>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Phase 1 Ember page handler.
|
|
3
|
-
*
|
|
4
|
-
* The compiled `pagePath` is a self-contained server bundle produced by
|
|
5
|
-
* `compileEmber`. It exports `renderToHTML(props): string` — a one-call
|
|
6
|
-
* entry that wires up simple-dom + the Glimmer renderer + the page
|
|
7
|
-
* component, then returns serialized HTML. The handler's job is just:
|
|
8
|
-
*
|
|
9
|
-
* 1. Auto-inject `request.url` pathname into props as `url` (mirrors
|
|
10
|
-
* React/Svelte/Vue handlers — the convention all four adapters now
|
|
11
|
-
* share for native router cooperation).
|
|
12
|
-
* 2. Polyfill `globalThis.Element` / `globalThis.Node` if missing. The
|
|
13
|
-
* Ember server bundle also installs the polyfill defensively, but
|
|
14
|
-
* installing here too means the polyfill is in place before the
|
|
15
|
-
* bundle's module body evaluates (any top-level Element refs).
|
|
16
|
-
* 3. Dynamic-import the bundle, call `renderToHTML(props)`, wrap the
|
|
17
|
-
* result in a `<head>` + `<body>` shell with `__INITIAL_PROPS__`
|
|
18
|
-
* and the page index module load.
|
|
19
|
-
*
|
|
20
|
-
* Phase 1 doesn't ship: streaming, slots, islands, HMR cache dirty,
|
|
21
|
-
* convention error rendering. Those layer on in phases 2 and 3.
|
|
22
|
-
*/
|
|
23
|
-
export type EmberPageRequestInput = {
|
|
24
|
-
indexPath: string;
|
|
25
|
-
pagePath: string;
|
|
26
|
-
headTag?: `<head>${string}</head>`;
|
|
27
|
-
props?: Record<string, unknown>;
|
|
28
|
-
/** When provided, the request's pathname is auto-injected into props
|
|
29
|
-
* as `url` (only if the caller didn't already pass one). Lets users
|
|
30
|
-
* forward `request` straight from the Elysia handler instead of
|
|
31
|
-
* unwrapping the URL by hand. */
|
|
32
|
-
request?: Request;
|
|
33
|
-
};
|
|
34
|
-
export declare const invalidateEmberSsrCache: () => void;
|
|
35
|
-
export declare const handleEmberPageRequest: (input: EmberPageRequestInput) => Promise<Response>;
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
import { type PageIslandUsage } from './sourceMetadata';
|
|
3
|
-
export type PageIslandMetadata = {
|
|
4
|
-
islands: PageIslandUsage[];
|
|
5
|
-
pagePath: string;
|
|
6
|
-
};
|
|
7
|
-
declare global {
|
|
8
|
-
var __absolutePageIslandMetadata: Map<string, PageIslandMetadata> | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare const getCurrentPageIslandMetadata: () => Map<string, PageIslandMetadata>;
|
|
11
|
-
export declare const getPagesUsingIslandSource: (sourcePath: string) => string[];
|
|
12
|
-
export declare const loadPageIslandMetadata: (config: BuildConfig) => Promise<Map<string, PageIslandMetadata>>;
|
|
13
|
-
export declare const setCurrentPageIslandMetadata: (metadata: Map<string, PageIslandMetadata>) => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IslandFramework, IslandHydrate } from '../../types/island';
|
|
2
|
-
export type PageIslandUsage = {
|
|
3
|
-
component: string;
|
|
4
|
-
framework: IslandFramework;
|
|
5
|
-
hydrate?: IslandHydrate;
|
|
6
|
-
source?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const buildIslandMetadataExports: (source: string) => string;
|
|
9
|
-
export declare const extractIslandUsagesFromSource: (source: string) => PageIslandUsage[];
|
|
10
|
-
export declare const hasIslandUsageInSource: (source: string) => boolean;
|