Switched from eslint and prettier to biome

This commit is contained in:
2025-10-20 15:21:17 +02:00
parent 66ad6c349a
commit 870825c5f2
15 changed files with 419 additions and 344 deletions

View File

@@ -1,19 +1,19 @@
import { defineConfig } from "tsdown";
import { peerDependencies } from "./package.json" with { type: "json" };
import { defineConfig } from 'tsdown'
import { peerDependencies } from './package.json' with { type: 'json' }
export default defineConfig((options) => {
const dev = !!options.watch;
return {
entry: ["src/**/*.(ts|js)"],
format: ["esm"],
target: "node24",
unbundle: true,
dts: true,
sourcemap: true,
clean: true,
splitting: false,
minify: !dev,
external: [...Object.keys(peerDependencies)],
tsconfig: "tsconfig.json",
};
});
const dev = !!options.watch
return {
entry: ['src/**/*.(ts|js)'],
format: ['esm'],
target: 'node24',
unbundle: true,
dts: true,
sourcemap: true,
clean: true,
splitting: false,
minify: !dev,
external: [...Object.keys(peerDependencies)],
tsconfig: 'tsconfig.json',
}
})