@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,14 +0,0 @@
|
|
|
1
|
-
import type { Component, ComponentProps } from 'svelte';
|
|
2
|
-
export declare const SVELTE_PAGE_ROOT_ID = "__absolute_svelte_root__";
|
|
3
|
-
export type RenderStreamOptions = {
|
|
4
|
-
bootstrapScriptContent?: string;
|
|
5
|
-
bootstrapScripts?: string[];
|
|
6
|
-
bootstrapModules?: string[];
|
|
7
|
-
nonce?: string;
|
|
8
|
-
onError?: (error: unknown) => void;
|
|
9
|
-
progressiveChunkSize?: number;
|
|
10
|
-
signal?: AbortSignal;
|
|
11
|
-
headContent?: string;
|
|
12
|
-
bodyContent?: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const renderToReadableStream: <Comp extends Component<Record<string, unknown>>>(component: Comp, props?: ComponentProps<Comp>, { bootstrapScriptContent, bootstrapScripts, bootstrapModules, nonce, onError, progressiveChunkSize, signal, headContent, bodyContent }?: RenderStreamOptions) => Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Component, ComponentProps } from 'svelte';
|
|
2
|
-
export type RenderStringOptions = {
|
|
3
|
-
bootstrapScriptContent?: string;
|
|
4
|
-
bootstrapScripts?: string[];
|
|
5
|
-
bootstrapModules?: string[];
|
|
6
|
-
nonce?: string;
|
|
7
|
-
onError?: (error: unknown) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const renderToString: <Comp extends Component<Record<string, unknown>>>(component: Comp, props?: ComponentProps<Comp>, { bootstrapScriptContent, bootstrapScripts, bootstrapModules, nonce, onError }?: RenderStringOptions) => string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { GotoOptions, RouterMode } from '../../../types/svelteRouter';
|
|
2
|
-
/**
|
|
3
|
-
* Internal — called by Router.svelte on mount so navigation primitives
|
|
4
|
-
* know which URL strategy to use. Hash mode rewrites the URL bar to
|
|
5
|
-
* `#/path` instead of `/path`.
|
|
6
|
-
*/
|
|
7
|
-
export declare const setRouterMode: (mode: RouterMode) => void;
|
|
8
|
-
/**
|
|
9
|
-
* Programmatically navigate to a URL. Updates `page.url`, writes history,
|
|
10
|
-
* and (when supported) wraps the swap in `document.startViewTransition`.
|
|
11
|
-
*
|
|
12
|
-
* Mirrors SvelteKit's `goto` from `$app/navigation` — same name, same
|
|
13
|
-
* options shape, so a SvelteKit user finds the primitive familiar.
|
|
14
|
-
*/
|
|
15
|
-
export declare const goto: (target: string, options?: GotoOptions) => Promise<void>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hash mode: routing happens against `window.location.hash` with the
|
|
3
|
-
* leading `#/` stripped. Useful for static deploys (GitHub Pages, S3)
|
|
4
|
-
* where the host can't be configured to wildcard-route to one HTML file.
|
|
5
|
-
*
|
|
6
|
-
* URLs look like `https://example.com/#/dashboard/settings`. The
|
|
7
|
-
* `pathname` part stays at `/` so the server always serves the same
|
|
8
|
-
* page; `<Route>` matching looks at the hash instead.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Extract the routable pathname from a full URL when hash mode is on.
|
|
12
|
-
* Returns the part after `#/`, prefixed with `/` so it parses as a
|
|
13
|
-
* normal pathname.
|
|
14
|
-
*/
|
|
15
|
-
export declare const buildHashHref: (pathname: string) => string;
|
|
16
|
-
export declare const hashPathnameOf: (url: URL) => string;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ExtractRouteParams, RouteMatchResult } from '../../../types/svelteRouter';
|
|
2
|
-
type CompiledSegment = {
|
|
3
|
-
kind: 'static';
|
|
4
|
-
value: string;
|
|
5
|
-
} | {
|
|
6
|
-
kind: 'param';
|
|
7
|
-
name: string;
|
|
8
|
-
optional: boolean;
|
|
9
|
-
} | {
|
|
10
|
-
kind: 'wildcard';
|
|
11
|
-
};
|
|
12
|
-
type CompiledPattern = {
|
|
13
|
-
segments: CompiledSegment[];
|
|
14
|
-
score: number;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Compile a `<Route path>` pattern into segments + a specificity score.
|
|
18
|
-
* Higher score = more specific (longer static prefix beats parameterised).
|
|
19
|
-
*/
|
|
20
|
-
export declare const comparePatterns: (a: {
|
|
21
|
-
score: number;
|
|
22
|
-
index: number;
|
|
23
|
-
}, b: {
|
|
24
|
-
score: number;
|
|
25
|
-
index: number;
|
|
26
|
-
}) => number;
|
|
27
|
-
export declare const compilePattern: (pattern: string) => CompiledPattern;
|
|
28
|
-
export declare const joinBasepath: (basepath: string, pattern: string) => string;
|
|
29
|
-
export declare const matchPattern: <Path extends string>(pattern: CompiledPattern, pathname: string) => RouteMatchResult<ExtractRouteParams<Path>>;
|
|
30
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { PageState } from '../../../types/svelteRouter';
|
|
2
|
-
/**
|
|
3
|
-
* Reactive route state. Mirrors SvelteKit's `page` from `$app/state`:
|
|
4
|
-
*
|
|
5
|
-
* import { page } from '@absolutejs/absolute/svelte/router';
|
|
6
|
-
* page.url.pathname // current path (reactive)
|
|
7
|
-
* page.url.searchParams // parsed URLSearchParams (reactive)
|
|
8
|
-
* page.params.id // active route params (reactive)
|
|
9
|
-
* page.state // history.state for the current entry
|
|
10
|
-
*
|
|
11
|
-
* Backed by `$state`. Direct property access in templates re-renders.
|
|
12
|
-
*/
|
|
13
|
-
export declare const page: PageState;
|
|
14
|
-
export declare const seedPage: (url: URL, params?: Record<string, string | undefined>) => void;
|
|
15
|
-
export declare const setPage: (next: Partial<PageState>) => void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Prefetch a URL into the in-memory cache. No-op if the user has signalled
|
|
3
|
-
* data-saver / reduced-data, or if the URL is already cached.
|
|
4
|
-
*/
|
|
5
|
-
export declare const clearPrefetchCache: () => void;
|
|
6
|
-
export declare const consumePrefetch: (url: string) => Promise<Response> | undefined;
|
|
7
|
-
export declare const prefetch: (url: string) => void;
|
|
8
|
-
type HoverHandle = {
|
|
9
|
-
cancel: () => void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Wrap a prefetch trigger in a hover-debounce so glancing across many links
|
|
13
|
-
* doesn't fire a fetch storm. The returned handle's `cancel()` aborts the
|
|
14
|
-
* pending hover prefetch (e.g. on `pointerleave`).
|
|
15
|
-
*/
|
|
16
|
-
export declare const scheduleHoverPrefetch: (url: string) => HoverHandle;
|
|
17
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shallow routing: update the URL bar and `page.state` without re-running
|
|
3
|
-
* `<Route>` matching. Useful for modals / drawers / overlays that want a
|
|
4
|
-
* shareable URL without swapping the active route's content.
|
|
5
|
-
*
|
|
6
|
-
* Mirrors SvelteKit's `pushState` from `$app/navigation`.
|
|
7
|
-
*/
|
|
8
|
-
export declare const pushState: (target: string, state: unknown) => void;
|
|
9
|
-
/**
|
|
10
|
-
* Same as `pushState` but uses `history.replaceState`. Mirrors SvelteKit's
|
|
11
|
-
* `replaceState` from `$app/navigation`.
|
|
12
|
-
*/
|
|
13
|
-
export declare const replaceState: (target: string, state: unknown) => void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Wrap a state mutation in `document.startViewTransition` when supported.
|
|
3
|
-
* Falls through to a synchronous call otherwise. Reduced-motion users get
|
|
4
|
-
* instant swaps via the browser's own handling of `prefers-reduced-motion`.
|
|
5
|
-
*/
|
|
6
|
-
export declare const withViewTransition: (mutate: () => void | Promise<void>) => Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { handleSveltePageRequest } from './pageHandler';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SpaHost } from '../utils/spaRouteTypes';
|
|
2
|
-
/** Statically scan a Svelte page-source directory for SPA hosts —
|
|
3
|
-
* `.svelte` files that contain a `<Router basepath="...">` block from
|
|
4
|
-
* AbsoluteJS's Svelte router with one or more `<Route path="...">`
|
|
5
|
-
* children. Regex-based since `.svelte` files aren't directly TS-AST
|
|
6
|
-
* parseable; covers the common case where the markup is literal. */
|
|
7
|
-
export declare const analyzeSvelteSpaRoutes: (svelteDirectory: string) => Promise<SpaHost[]>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/** Lock file path: `<projectRoot>/.absolutejs/build.lock` where
|
|
2
|
-
* projectRoot is `dirname(buildDirectory)`. Single file (NOT a dir
|
|
3
|
-
* inside build/) — placing it inside .absolutejs avoids interfering
|
|
4
|
-
* with watcher includes scoped to src/, db/, assets/, styles/. */
|
|
5
|
-
export declare const lockPathForBuildDirectory: (buildDirectory: string) => string;
|
|
6
|
-
/** Update the metadata in an already-acquired lock (e.g. fill in the
|
|
7
|
-
* resolved dev-server port once it's been chosen). No-op if we don't
|
|
8
|
-
* hold the lock for this build dir. */
|
|
9
|
-
export declare const updateLockMetadata: (buildDirectory: string, updates: {
|
|
10
|
-
pid?: number;
|
|
11
|
-
port?: number | null;
|
|
12
|
-
}) => void;
|
|
13
|
-
export declare const acquireBuildDirectoryLock: (buildDirectory: string, options?: {
|
|
14
|
-
port?: number | null;
|
|
15
|
-
/** When true, an alive holder makes us wait (polling every
|
|
16
|
-
* 250ms up to `waitTimeoutMs`) instead of throwing immediately.
|
|
17
|
-
* Default: true. Dev-server startup passes `wait: false` so
|
|
18
|
-
* the user gets a fast Vite-style error pointing them at the
|
|
19
|
-
* next free port. CLI build/compile leave it true so concurrent
|
|
20
|
-
* invocations against a shared outdir serialize cleanly. */
|
|
21
|
-
wait?: boolean;
|
|
22
|
-
waitTimeoutMs?: number;
|
|
23
|
-
}) => Promise<() => Promise<void>>;
|
|
24
|
-
export declare const withBuildDirectoryLock: <T>(buildDirectory: string, action: () => Promise<T>, options?: {
|
|
25
|
-
port?: number | null;
|
|
26
|
-
wait?: boolean;
|
|
27
|
-
waitTimeoutMs?: number;
|
|
28
|
-
}) => Promise<T>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const cleanStaleOutputs: (buildPath: string, currentOutputPaths: string[]) => Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type CleanupProps = {
|
|
2
|
-
angularDir?: string;
|
|
3
|
-
reactDir?: string;
|
|
4
|
-
svelteDir?: string;
|
|
5
|
-
vueDir?: string;
|
|
6
|
-
preserveAngularGenerated?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const cleanup: ({ angularDir, reactDir, svelteDir, vueDir, preserveAngularGenerated }: CleanupProps) => Promise<void>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const commonAncestor: (paths: string[], fallback?: string) => string | undefined;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { AbsoluteServiceConfig, CommandServiceConfig, ReservedConfigKey } from '../../types/build';
|
|
2
|
-
type ServiceName<TConfig> = Extract<keyof TConfig, string>;
|
|
3
|
-
type HasReservedConfigKeys<TConfig> = Extract<ServiceName<TConfig>, ReservedConfigKey> extends never ? false : true;
|
|
4
|
-
type ServiceDependsOn<TConfig, TSelf extends string> = readonly Exclude<ServiceName<TConfig>, TSelf>[];
|
|
5
|
-
type TypedAbsoluteServiceConfig<TConfig, TSelf extends string> = Omit<AbsoluteServiceConfig, 'dependsOn'> & {
|
|
6
|
-
dependsOn?: ServiceDependsOn<TConfig, TSelf>;
|
|
7
|
-
};
|
|
8
|
-
type TypedCommandServiceConfig<TConfig, TSelf extends string> = Omit<CommandServiceConfig, 'dependsOn'> & {
|
|
9
|
-
dependsOn?: ServiceDependsOn<TConfig, TSelf>;
|
|
10
|
-
};
|
|
11
|
-
type TypedWorkspaceConfig<TConfig extends Record<string, unknown>> = {
|
|
12
|
-
[K in keyof TConfig]: K extends string ? TypedAbsoluteServiceConfig<TConfig, K> | TypedCommandServiceConfig<TConfig, K> : never;
|
|
13
|
-
};
|
|
14
|
-
type ServiceBuildDirectory<TConfig, TKey extends keyof TConfig> = TConfig[TKey] extends {
|
|
15
|
-
command: readonly unknown[];
|
|
16
|
-
} ? never : TConfig[TKey] extends {
|
|
17
|
-
kind: 'command';
|
|
18
|
-
} ? never : TConfig[TKey] extends {
|
|
19
|
-
buildDirectory: infer TBuildDirectory;
|
|
20
|
-
} ? TBuildDirectory extends string ? TBuildDirectory : never : never;
|
|
21
|
-
type ServicesWithBuildDirectory<TConfig extends Record<string, unknown>, TBuildDirectory extends string> = {
|
|
22
|
-
[K in keyof TConfig]: ServiceBuildDirectory<TConfig, K> extends TBuildDirectory ? K : never;
|
|
23
|
-
}[keyof TConfig];
|
|
24
|
-
type IsUnion<TValue, TCompare = TValue> = TValue extends unknown ? [TCompare] extends [TValue] ? false : true : never;
|
|
25
|
-
type DuplicateBuildDirectoryValues<TConfig extends Record<string, unknown>> = {
|
|
26
|
-
[K in keyof TConfig]: ServiceBuildDirectory<TConfig, K> extends infer TBuildDirectory ? TBuildDirectory extends string ? IsUnion<ServicesWithBuildDirectory<TConfig, TBuildDirectory>> extends true ? TBuildDirectory : never : never : never;
|
|
27
|
-
}[keyof TConfig];
|
|
28
|
-
type ValidateUniqueBuildDirectories<TConfig extends Record<string, unknown>> = [
|
|
29
|
-
DuplicateBuildDirectoryValues<TConfig>
|
|
30
|
-
] extends [never] ? unknown : {
|
|
31
|
-
/**
|
|
32
|
-
* Workspace services cannot use duplicate literal buildDirectory values.
|
|
33
|
-
* Runtime workspace validation also checks resolved absolute paths.
|
|
34
|
-
*/
|
|
35
|
-
__absolute_duplicateBuildDirectory__: DuplicateBuildDirectoryValues<TConfig>;
|
|
36
|
-
};
|
|
37
|
-
type ValidateConfig<TConfig extends Record<string, unknown>> = HasReservedConfigKeys<TConfig> extends true ? AbsoluteServiceConfig : TypedWorkspaceConfig<TConfig> & ValidateUniqueBuildDirectories<TConfig>;
|
|
38
|
-
export declare const defineConfig: <const TConfig extends Record<string, unknown>>(config: TConfig & ValidateConfig<TConfig>) => TConfig & ValidateConfig<TConfig>;
|
|
39
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type TProperties } from '@sinclair/typebox';
|
|
2
|
-
export declare const defineEnv: <T extends TProperties>(properties: T) => Readonly<import("@sinclair/typebox").Evaluate<Readonly<Partial<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_1 extends TProperties ? { [K in keyof T_1]: (T_1[K] & {
|
|
3
|
-
params: P;
|
|
4
|
-
})["static"]; } : never, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_2 extends TProperties ? { [K_1 in keyof T_2]: T_2[K_1] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_2[K_1] extends import("@sinclair/typebox").TOptional<T_2[K_1]> ? K_1 : never : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>>> & Readonly<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_3 extends TProperties ? { [K in keyof T_3]: (T_3[K] & {
|
|
5
|
-
params: P;
|
|
6
|
-
})["static"]; } : never, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_4 extends TProperties ? { [K_2 in keyof T_4]: T_4[K_2] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_4[K_2] extends import("@sinclair/typebox").TOptional<T_4[K_2]> ? never : K_2 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>> & Partial<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_5 extends TProperties ? { [K in keyof T_5]: (T_5[K] & {
|
|
7
|
-
params: P;
|
|
8
|
-
})["static"]; } : never, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_6 extends TProperties ? { [K_3 in keyof T_6]: T_6[K_3] extends import("@sinclair/typebox").TOptional<import("elysia").TSchema> ? T_6[K_3] extends import("@sinclair/typebox").TReadonly<T_6[K_3]> ? never : K_3 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>> & Required<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_7 extends TProperties ? { [K in keyof T_7]: (T_7[K] & {
|
|
9
|
-
params: P;
|
|
10
|
-
})["static"]; } : never, Exclude<keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_8 extends TProperties ? { [K_1 in keyof T_8]: T_8[K_1] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_8[K_1] extends import("@sinclair/typebox").TOptional<T_8[K_1]> ? K_1 : never : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>] | (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_9 extends TProperties ? { [K_2 in keyof T_9]: T_9[K_2] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_9[K_2] extends import("@sinclair/typebox").TOptional<T_9[K_2]> ? never : K_2 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>] | (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_10 extends TProperties ? { [K_3 in keyof T_10]: T_10[K_3] extends import("@sinclair/typebox").TOptional<import("elysia").TSchema> ? T_10[K_3] extends import("@sinclair/typebox").TReadonly<T_10[K_3]> ? never : K_3 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>>>>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const escapeScriptContent: (content: string) => string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { SitemapConfig } from '../../types/sitemap';
|
|
2
|
-
type AppRoute = {
|
|
3
|
-
method: string;
|
|
4
|
-
path: string;
|
|
5
|
-
/** Runtime handler — `.toString()` is read to detect page handlers. */
|
|
6
|
-
handler?: unknown;
|
|
7
|
-
/** Pre-extracted handler source. Set by the build-time route scanner
|
|
8
|
-
* in place of `handler` so the page-handler heuristic and the
|
|
9
|
-
* `sitemap: { ... }` metadata regex work without instantiating any
|
|
10
|
-
* function. Either field is sufficient; if both are set,
|
|
11
|
-
* `handlerSource` wins. */
|
|
12
|
-
handlerSource?: string;
|
|
13
|
-
};
|
|
14
|
-
export type SitemapPipelineConfig = {
|
|
15
|
-
angularDirectory?: string;
|
|
16
|
-
reactDirectory?: string;
|
|
17
|
-
svelteDirectory?: string;
|
|
18
|
-
vueDirectory?: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const generateSitemap: (routes: AppRoute[], serverUrl: string, outDir: string, config?: SitemapConfig, pipelineConfig?: SitemapPipelineConfig) => Promise<void>;
|
|
21
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getDurationString: (duration: number) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getEnv: (key: string) => string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client-safe image utilities — no node:fs, no Sharp, no Bun APIs.
|
|
3
|
-
* These can be imported in both server and client (browser) contexts.
|
|
4
|
-
*/
|
|
5
|
-
export type { ImageProps } from '../../types/image';
|
|
6
|
-
export declare const DEFAULT_DEVICE_SIZES: number[];
|
|
7
|
-
export declare const DEFAULT_IMAGE_SIZES: number[];
|
|
8
|
-
export declare const DEFAULT_QUALITY = 75;
|
|
9
|
-
export declare const OPTIMIZATION_ENDPOINT = "/_absolute/image";
|
|
10
|
-
export declare const buildOptimizedUrl: (src: string, width: number, quality: number, basePath?: string) => string;
|
|
11
|
-
export declare const getAllSizes: (deviceSizes?: number[], imageSizes?: number[]) => number[];
|
|
12
|
-
export declare const generateBlurSvg: (base64Thumbnail: string) => string;
|
|
13
|
-
export declare const generateSrcSet: (src: string, width: number | undefined, sizes: string | undefined, deviceSizes?: number[], imageSizes?: number[]) => string;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ImageConfig, ImageFormat, RemotePattern } from '../../types/image';
|
|
2
|
-
export declare const DEFAULT_DEVICE_SIZES: number[];
|
|
3
|
-
export declare const DEFAULT_IMAGE_SIZES: number[];
|
|
4
|
-
export declare const DEFAULT_QUALITY = 75;
|
|
5
|
-
export declare const OPTIMIZATION_ENDPOINT = "/_absolute/image";
|
|
6
|
-
export declare const buildOptimizedUrl: (src: string, width: number, quality: number, basePath?: string) => string;
|
|
7
|
-
export type CacheMeta = {
|
|
8
|
-
contentType: string;
|
|
9
|
-
etag: string;
|
|
10
|
-
expireAt: number;
|
|
11
|
-
upstreamEtag?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const formatToMime: (format: ImageFormat) => string;
|
|
14
|
-
export declare const generateBlurDataURL: (buffer: Buffer | ArrayBuffer) => Promise<string>;
|
|
15
|
-
export declare const generateBlurSvg: (base64Thumbnail: string) => string;
|
|
16
|
-
export declare const generateSrcSet: (src: string, width: number | undefined, sizes: string | undefined, config?: ImageConfig, loader?: (params: {
|
|
17
|
-
quality: number;
|
|
18
|
-
src: string;
|
|
19
|
-
width: number;
|
|
20
|
-
}) => string) => string;
|
|
21
|
-
export declare const getAllSizes: (config?: ImageConfig) => number[];
|
|
22
|
-
export declare const getCacheDir: (buildDir: string) => string;
|
|
23
|
-
export declare const getCacheKey: (url: string, width: number, quality: number, format: string) => string;
|
|
24
|
-
export declare const isCacheStale: (meta: CacheMeta) => boolean;
|
|
25
|
-
export declare const matchRemotePattern: (urlString: string, patterns: RemotePattern[]) => boolean;
|
|
26
|
-
export declare const negotiateFormat: (acceptHeader: string, configuredFormats: ImageFormat[]) => ImageFormat;
|
|
27
|
-
export declare const optimizeImage: (buffer: Buffer | ArrayBuffer, width: number, quality: number, format: ImageFormat) => Promise<Buffer<ArrayBufferLike>>;
|
|
28
|
-
export declare const readFromCache: (cacheDir: string, cacheKey: string) => {
|
|
29
|
-
buffer: NonSharedBuffer;
|
|
30
|
-
meta: CacheMeta;
|
|
31
|
-
} | null;
|
|
32
|
-
export declare const tryLoadSharp: () => Promise<unknown>;
|
|
33
|
-
export declare const writeToCache: (cacheDir: string, cacheKey: string, buffer: Buffer, meta: CacheMeta) => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './defineConfig';
|
|
2
|
-
export * from './defineConvention';
|
|
3
|
-
export * from './generateHeadElement';
|
|
4
|
-
export * from './jsonLd';
|
|
5
|
-
export * from './defineEnv';
|
|
6
|
-
export * from './getEnv';
|
|
7
|
-
export * from './networking';
|
|
8
|
-
export * from './projectRoot';
|
|
9
|
-
export * from './registerClientScript';
|
|
10
|
-
export * from './streamingSlotMetricSink';
|
|
11
|
-
export * from './streamingSlots';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { InstanceRecord } from '../../types/cli';
|
|
2
|
-
export declare const instanceFilePath: (pid: number) => string;
|
|
3
|
-
export declare const instanceLogPath: (pid: number) => string;
|
|
4
|
-
export declare const instanceRegistryDir: () => string;
|
|
5
|
-
export declare const deregisterInstance: (pid: number) => void;
|
|
6
|
-
/** Read every registered instance, pruning any whose process has died, and
|
|
7
|
-
* return the survivors sorted by port then name. */
|
|
8
|
-
export declare const listLiveInstances: () => InstanceRecord[];
|
|
9
|
-
export declare const registerInstance: (record: InstanceRecord) => InstanceRecord;
|
|
10
|
-
/** Read the project label without a config flag: package.json `name`, falling
|
|
11
|
-
* back to the directory name. */
|
|
12
|
-
export declare const resolveProjectName: (cwd: string) => any;
|
|
13
|
-
export declare const updateInstance: (pid: number, updates: Partial<InstanceRecord>) => void;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { ConfigInput, WorkspaceConfig } from '../../types/build';
|
|
2
|
-
export declare const isWorkspaceConfig: (config: ConfigInput) => config is WorkspaceConfig;
|
|
3
|
-
export declare const getWorkspaceServices: (config: ConfigInput) => WorkspaceConfig;
|
|
4
|
-
export declare const loadConfig: (configPath?: string) => Promise<{
|
|
5
|
-
buildDirectory?: string;
|
|
6
|
-
assetsDirectory?: string;
|
|
7
|
-
publicDirectory?: string;
|
|
8
|
-
islands?: {
|
|
9
|
-
registry: string;
|
|
10
|
-
bootstrap?: string;
|
|
11
|
-
};
|
|
12
|
-
reactDirectory?: string;
|
|
13
|
-
vueDirectory?: string;
|
|
14
|
-
angularDirectory?: string;
|
|
15
|
-
angular?: {
|
|
16
|
-
providers?: ReadonlyArray<import("@angular/core").Provider | import("@angular/core").EnvironmentProviders>;
|
|
17
|
-
};
|
|
18
|
-
astroDirectory?: string;
|
|
19
|
-
svelteDirectory?: string;
|
|
20
|
-
emberDirectory?: string;
|
|
21
|
-
htmlDirectory?: string;
|
|
22
|
-
htmxDirectory?: string;
|
|
23
|
-
stylesConfig?: string | import("..").StylesConfig;
|
|
24
|
-
stylePreprocessors?: import("..").StylePreprocessorConfig;
|
|
25
|
-
postcss?: import("..").PostCSSConfig;
|
|
26
|
-
tailwind?: import("..").TailwindConfig;
|
|
27
|
-
bunBuild?: import("..").BunBuildConfigOverride | import("..").BunBuildPassConfig;
|
|
28
|
-
options?: import("..").BuildOptions;
|
|
29
|
-
incrementalFiles?: string[];
|
|
30
|
-
mode?: "production" | "development";
|
|
31
|
-
dev?: {
|
|
32
|
-
port?: number;
|
|
33
|
-
portRange?: number;
|
|
34
|
-
strictPort?: boolean;
|
|
35
|
-
host?: string;
|
|
36
|
-
https?: boolean;
|
|
37
|
-
watchDirs?: string[];
|
|
38
|
-
tunnel?: {
|
|
39
|
-
relay?: string;
|
|
40
|
-
token?: string;
|
|
41
|
-
};
|
|
42
|
-
devtools?: {
|
|
43
|
-
projectRoot?: string;
|
|
44
|
-
uuid?: string;
|
|
45
|
-
uuidCachePath?: string;
|
|
46
|
-
normalizeForWindowsContainer?: boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
static?: import("..").StaticConfig;
|
|
50
|
-
images?: import("..").ImageConfig;
|
|
51
|
-
sitemap?: import("..").SitemapConfig;
|
|
52
|
-
entry?: string;
|
|
53
|
-
shutdown?: import("..").ServiceShutdownConfig;
|
|
54
|
-
}>;
|
|
55
|
-
export declare const loadRawConfig: (configPath?: string) => Promise<ConfigInput>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Centralized logger utility for AbsoluteJS
|
|
3
|
-
* Provides formatted output with ANSI colors and timestamps
|
|
4
|
-
*/
|
|
5
|
-
import { formatTimestamp } from './startupBanner';
|
|
6
|
-
export { formatTimestamp };
|
|
7
|
-
/**
|
|
8
|
-
* Startup banner
|
|
9
|
-
*/
|
|
10
|
-
export declare const logReady: (options: {
|
|
11
|
-
version: string;
|
|
12
|
-
readyDuration: number;
|
|
13
|
-
buildDuration?: number;
|
|
14
|
-
port: string | number;
|
|
15
|
-
host: string;
|
|
16
|
-
networkUrl?: string;
|
|
17
|
-
protocol?: string;
|
|
18
|
-
}) => void;
|
|
19
|
-
/**
|
|
20
|
-
* CSS update message
|
|
21
|
-
* Format: "10:30:45 AM [hmr] css update /styles/main.css (125ms)"
|
|
22
|
-
*/
|
|
23
|
-
export declare const logCssUpdate: (path: string, framework?: string, duration?: number) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Build error
|
|
26
|
-
* Format: "10:30:45 AM [hmr] error Build failed: ..."
|
|
27
|
-
*/
|
|
28
|
-
export declare const logError: (message: string, error?: Error | string) => void;
|
|
29
|
-
/**
|
|
30
|
-
* HMR update message
|
|
31
|
-
* Format: "10:30:45 AM [hmr] hmr update /pages/App.tsx"
|
|
32
|
-
*/
|
|
33
|
-
export declare const logHmrUpdate: (path: string, framework?: string, duration?: number) => void;
|
|
34
|
-
/**
|
|
35
|
-
* Generic info message
|
|
36
|
-
*/
|
|
37
|
-
export declare const logInfo: (message: string) => void;
|
|
38
|
-
/**
|
|
39
|
-
* Page reload message
|
|
40
|
-
* Format: "10:30:45 AM [hmr] page reload /src/App.tsx (125ms)"
|
|
41
|
-
*/
|
|
42
|
-
export declare const logPageReload: (path: string, framework?: string, duration?: number) => void;
|
|
43
|
-
/**
|
|
44
|
-
* Script update message
|
|
45
|
-
* Format: "10:30:45 AM [hmr] script update /scripts/counter.ts (125ms)"
|
|
46
|
-
*/
|
|
47
|
-
export declare const logScriptUpdate: (path: string, framework?: string, duration?: number) => void;
|
|
48
|
-
/**
|
|
49
|
-
* Server module reloaded (Bun --hot triggered a server-side change)
|
|
50
|
-
*/
|
|
51
|
-
export declare const logServerReload: () => void;
|
|
52
|
-
/**
|
|
53
|
-
* Warning message
|
|
54
|
-
* Format: "10:30:45 AM [hmr] warning ..."
|
|
55
|
-
*/
|
|
56
|
-
export declare const logWarn: (message: string) => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Normalize file paths to use forward slashes for cross-platform compatibility.
|
|
3
|
-
* Windows uses backslashes, but this codebase standardizes on forward slashes.
|
|
4
|
-
*/
|
|
5
|
-
export declare const normalizePath: (path: string) => string;
|
|
6
|
-
/**
|
|
7
|
-
* Normalize all paths in an array.
|
|
8
|
-
*/
|
|
9
|
-
export declare const normalizePaths: (paths: string[]) => string[];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** Process/port discovery for `absolute ps`, used to surface running servers
|
|
2
|
-
* the file-based instance registry can miss — orphans whose controller died,
|
|
3
|
-
* hand-run `bun dist/server.js` builds, anything that never registered.
|
|
4
|
-
*
|
|
5
|
-
* Shells out via Bun's `$` to the platform's socket lister (lsof, falling
|
|
6
|
-
* back to ss on Linux) rather than trusting a registry file, so a live
|
|
7
|
-
* listener is discoverable for as long as its process is alive. */
|
|
8
|
-
export type PortListener = {
|
|
9
|
-
command: string;
|
|
10
|
-
etimes: number;
|
|
11
|
-
pid: number;
|
|
12
|
-
port: number;
|
|
13
|
-
};
|
|
14
|
-
/** Listening TCP servers on the machine, each annotated with the owning
|
|
15
|
-
* process's full command and uptime. Skips this process and any listener
|
|
16
|
-
* whose owner we can't describe. */
|
|
17
|
-
export declare const scanListeners: () => Promise<{
|
|
18
|
-
command: string;
|
|
19
|
-
etimes: number;
|
|
20
|
-
pid: number;
|
|
21
|
-
port: number;
|
|
22
|
-
}[]>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Absolute path to the project root — the directory holding your
|
|
3
|
-
* `absolute.config.*` (falling back to the nearest `package.json`, then
|
|
4
|
-
* `process.cwd()`). Resolved once at import.
|
|
5
|
-
*
|
|
6
|
-
* Anchor runtime and data paths to this instead of `import.meta.dir` /
|
|
7
|
-
* `import.meta.url`. Those resolve the *current module's* location, which is
|
|
8
|
-
* your `src/` tree under `absolute dev` but the bundled `dist/` under
|
|
9
|
-
* `absolute start` — so module-relative paths silently point somewhere else in
|
|
10
|
-
* production. `projectRoot` is identical in both modes because the CLI runs
|
|
11
|
-
* from the project root in both.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* import { projectRoot } from '@absolutejs/absolute';
|
|
15
|
-
* const dbPath = resolve(projectRoot, '.data', 'app.sqlite');
|
|
16
|
-
*/
|
|
17
|
-
export declare const projectRoot: string;
|