mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
refactor!: builder pipe and plugin system
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user