mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor: 🚨 Turn every linter rule on and fix issues (there were a LOT :3)
This commit is contained in:
parent
2e98859153
commit
a1e02d0d78
177 changed files with 1826 additions and 1248 deletions
8
build.ts
8
build.ts
|
|
@ -1,5 +1,4 @@
|
|||
import { $ } from "bun";
|
||||
import chalk from "chalk";
|
||||
import ora from "ora";
|
||||
import { routes } from "~/routes";
|
||||
|
||||
|
|
@ -21,7 +20,6 @@ await Bun.build({
|
|||
external: ["unzipit"],
|
||||
}).then((output) => {
|
||||
if (!output.success) {
|
||||
console.log(output.logs);
|
||||
process.exit(1);
|
||||
}
|
||||
});
|
||||
|
|
@ -56,9 +54,3 @@ await $`cp package.json dist/package.json`;
|
|||
await $`cp cli/theme.json dist/cli/theme.json`;
|
||||
|
||||
buildSpinner.stop();
|
||||
|
||||
console.log(
|
||||
`${chalk.green("✓")} Built project. You can now run it with ${chalk.green(
|
||||
"bun run dist/index.js",
|
||||
)}`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue