Skip to content

Commit fb8d363

Browse files
fix: restore clean script and use node:path import in vitest config
1 parent 928216e commit fb8d363

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"scripts": {
88
"dev": "ts-node src/index.ts",
99
"build": "tsc",
10+
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"",
1011
"test": "vitest run --coverage",
1112
"test:watch": "vitest",
1213
"prepublishOnly": "npm run build",

‎vitest.config.mts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from 'vitest/config';
2-
import path from 'path';
2+
import path from 'node:path';
33

44
export default defineConfig({
55
test: {

0 commit comments

Comments
 (0)