@absolutejs/absolute 0.8.1 → 0.8.3

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.
@@ -1,2 +1,2 @@
1
1
  import { BuildConfig } from "../types";
2
- export declare const build: ({ buildDirectory, assetsDirectory, reactDirectory, htmlDirectory, htmxDirectory, svelteDirectory, tailwind }: BuildConfig) => Promise<Record<string, string> | null>;
2
+ export declare const build: ({ buildDirectory, assetsDirectory, reactDirectory, htmlDirectory, htmxDirectory, svelteDirectory, tailwind, options }: BuildConfig) => Promise<Record<string, string> | null>;
@@ -1,3 +1,6 @@
1
+ type BuildOptions = {
2
+ preserveIntermediateFiles?: boolean;
3
+ };
1
4
  export type BuildConfig = {
2
5
  buildDirectory?: string;
3
6
  assetsDirectory?: string;
@@ -12,4 +15,6 @@ export type BuildConfig = {
12
15
  input: string;
13
16
  output: string;
14
17
  };
18
+ options?: BuildOptions;
15
19
  };
20
+ export {};
package/eslint.config.mjs CHANGED
@@ -19,6 +19,9 @@ export default defineConfig([
19
19
  ignores: [
20
20
  "dist/**",
21
21
  "example/build/**",
22
+ "example/svelte/indexes/",
23
+ "example/svelte/client/",
24
+ "example/svelte/pages/*.js",
22
25
  "tailwind.config.ts",
23
26
  "postcss.config.ts"
24
27
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/absolute",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "A fullstack meta-framework for building web applications with TypeScript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "license": "CC BY-NC 4.0",
12
12
  "author": "Alex Kahn",
13
13
  "scripts": {
14
- "build": "rm -rf dist && bun build src/index.ts --outdir dist --sourcemap --target=bun --external react --external react-dom --external elysia && tsc --emitDeclarationOnly --project tsconfig.json",
14
+ "build": "rm -rf dist && bun build src/index.ts --outdir dist --sourcemap --target=bun --external react --external react-dom --external svelte --external elysia && tsc --emitDeclarationOnly --project tsconfig.json",
15
15
  "test": "echo \"Error: no test specified\" && exit 1",
16
16
  "format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,json,mjs,md,svelte}\"",
17
17
  "lint": "eslint ./",
@@ -22,7 +22,8 @@
22
22
  "peerDependencies": {
23
23
  "elysia": ">= 1.3.0",
24
24
  "react": ">= 19.1.0",
25
- "react-dom": ">= 19.1.0"
25
+ "react-dom": ">= 19.1.0",
26
+ "svelte": ">= 5.34.7"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@elysiajs/static": "1.3.0",