@absolutejs/absolute 0.1.5 → 0.1.6

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 +1,11 @@
1
- export declare const build: () => Promise<Record<string, string>>;
1
+ type BuildConfig = {
2
+ buildDir?: string;
3
+ assetsDir?: string;
4
+ reactIndexDir?: string;
5
+ javascriptDir?: string;
6
+ typeScriptDir?: string;
7
+ reactPagesDir?: string;
8
+ htmlDir?: string;
9
+ };
10
+ export declare const build: ({ buildDir, assetsDir, reactIndexDir, javascriptDir, typeScriptDir, reactPagesDir, htmlDir }?: BuildConfig) => Promise<Record<string, string>>;
11
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/absolute",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "A fullstack meta-framework for building web applications with TypeScript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,8 @@
14
14
  "build": "rm -rf dist && bun build src/index.ts --outdir dist --minify --splitting --target=bun && 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}\"",
17
- "dev": "bun run --watch example/server.ts"
17
+ "dev": "bun run --watch example/server.ts",
18
+ "release": "bun run build && bun publish"
18
19
  },
19
20
  "dependencies": {
20
21
  "@elysiajs/static": "1.0.2",