refactor!: builder pipe and plugin system

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-10-28 19:48:04 +08:00
parent ad0c8830a6
commit af170a43bb
42 changed files with 1896 additions and 806 deletions

View File

@@ -1,2 +1,2 @@
[ -f config.json ] || cp config.example.json config.json
[ -f builder.config.json ] || cp builder.config.example.json builder.config.json
[ -f builder.config.ts ] || cp builder.config.default.ts builder.config.ts

View File

@@ -2,10 +2,12 @@
cp -r photos ./apps/web/public/photos
echo '{
"storage": {
"provider": "local",
"basePath": "./apps/web/public/photos",
"baseUrl": "/photos"
}
}' >builder.config.json
echo 'import { defineBuilderConfig } from "@afilmory/builder";
export default defineBuilderConfig(() => ({
storage: {
provider: "local",
basePath: "./apps/web/public/photos",
baseUrl: "/photos",
},
}))' >builder.config.ts