@absolutejs/absolute 0.20.0-beta.160 → 0.20.0-beta.161

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.
@@ -0,0 +1,11 @@
1
+ import type { BuildConfig } from '../../types/build';
2
+ export declare const PRODUCTION_RUNTIME_FILE = "absolute-runtime.json";
3
+ declare const RUNTIME_KEYS: readonly ["angularDirectory", "assetsDirectory", "astroDirectory", "emberDirectory", "htmlDirectory", "htmxDirectory", "images", "islands", "mobile", "openapi", "publicDirectory", "reactDirectory", "static", "svelteDirectory", "telemetry", "vueDirectory"];
4
+ export type ProductionRuntimeConfig = Pick<BuildConfig, (typeof RUNTIME_KEYS)[number]>;
5
+ export declare const productionRuntimeConfigOf: (config: BuildConfig) => ProductionRuntimeConfig;
6
+ export declare const writeProductionRuntime: (config: BuildConfig, buildDirectory: string) => void;
7
+ /** The build's runtime config, or null when this build has none (built by
8
+ * an older framework, or not through `absolute start`/`prepare`), in which
9
+ * case the caller loads absolute.config.ts as before. */
10
+ export declare const readProductionRuntime: (buildDirectory: string) => import("..").AbsoluteServiceConfig | null;
11
+ export {};
package/package.json CHANGED
@@ -563,7 +563,7 @@
563
563
  ]
564
564
  }
565
565
  },
566
- "version": "0.20.0-beta.160",
566
+ "version": "0.20.0-beta.161",
567
567
  "workspaces": [
568
568
  "tests/fixtures/*",
569
569
  "tests/fixtures/_packages/*"