refactor(cli): ♻️ Rewrite CLI with Clerk. Removes a bunch of commands now covered by API.

This commit is contained in:
Jesse Wierzbinski 2025-02-26 00:00:21 +01:00
parent 28577d017a
commit 5b756ea2dd
No known key found for this signature in database
32 changed files with 536 additions and 2721 deletions

View file

@ -25,7 +25,7 @@ await Bun.build({
target: "bun",
splitting: true,
minify: false,
external: ["unzipit", "acorn", "@bull-board/ui"],
external: ["acorn", "@bull-board/ui"],
});
buildSpinner.text = "Transforming";
@ -47,10 +47,6 @@ await $`mkdir -p dist/node_modules/@img`;
await $`cp -r node_modules/@img/sharp-libvips-linuxmusl-* dist/node_modules/@img`;
await $`cp -r node_modules/@img/sharp-linuxmusl-* dist/node_modules/@img`;
// Copy unzipit and uzip-module to dist
await $`cp -r node_modules/unzipit dist/node_modules/unzipit`;
await $`cp -r node_modules/uzip-module dist/node_modules/uzip-module`;
// Copy acorn to dist
await $`cp -r node_modules/acorn dist/node_modules/acorn`;
@ -63,7 +59,5 @@ await $`cp beemovie.txt dist/beemovie.txt`;
// Copy package.json
await $`cp package.json dist/package.json`;
// Copy cli/theme.json
await $`cp cli/theme.json dist/cli/theme.json`;
buildSpinner.stop();