diff --git a/bun.lockb b/bun.lockb index f3d5885..4824347 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 4094e66..9bfcd12 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,13 @@ "build": "bun build src/index.ts --outdir ./dist --target node --format esm --minify --external zx", "clean": "rm -rf cli && echo 'Done.'", "dev": "bun run --watch ./src/index.ts", - "test": "vitest", - "test:ui": "vitest --ui", - "test:watch": "vitest --watch", - "test:coverage": "vitest run --coverage", "format": "biome format --write .", "lint": "biome lint --apply .", "np": "bun install && bun run build && bunx np@latest --no-tests", + "test": "vitest", + "test:coverage": "vitest run --coverage", + "test:ui": "vitest --ui", + "test:watch": "vitest --watch", "typecheck": "tsc --noEmit" }, "dependencies": { @@ -47,12 +47,12 @@ "@biomejs/biome": "1.9.0", "@skypack/package-check": "0.2.2", "@types/consola": "2.2.5", - "@vitest/coverage-v8": "^2.1.1", - "@vitest/ui": "^2.1.1", + "@vitest/coverage-v8": "2.1.1", + "@vitest/ui": "2.1.1", "bun-types": "latest", "typescript": "5.6.2", - "vite": "^5.4.5", - "vitest": "^2.1.1" + "vite": "5.4.5", + "vitest": "2.1.1" }, "engines": { "node": ">=18.0.0" diff --git a/src/lib.spec.ts b/src/lib.spec.ts index 63e43c0..73e0ae9 100644 --- a/src/lib.spec.ts +++ b/src/lib.spec.ts @@ -1,7 +1,7 @@ import { writeFileSync } from 'node:fs' import consola from 'consola' -import { writeFile, helpCommand, versionCommand } from './lib' -import { describe, it, expect, vi } from 'vitest' +import { describe, expect, it, vi } from 'vitest' +import { helpCommand, versionCommand, writeFile } from './lib' vi.mock('node:fs') vi.mock('consola')