refactor: convert to bun workspaces monorepo

- Move web app into apps/web/
- Create packages/shared/ with shared types
- Create plugins/decky-vault/ scaffold
- Root package.json manages workspaces only
This commit is contained in:
2026-06-28 05:20:28 +08:00
parent c4bede20d4
commit cd72b7a948
345 changed files with 488 additions and 126 deletions
+20
View File
@@ -0,0 +1,20 @@
import typescript from "@rollup/plugin-typescript"
import commonjs from "@rollup/plugin-commonjs"
export default {
input: "src/index.tsx",
output: {
file: "dist/index.js",
format: "esm",
sourcemap: false,
},
plugins: [
typescript(),
commonjs(),
],
external: [
"react",
"react-dom",
"@deckyvault/shared",
],
}