File tree Expand file tree Collapse file tree 5 files changed +28
-746
lines changed Expand file tree Collapse file tree 5 files changed +28
-746
lines changed Original file line number Diff line number Diff line change 99 "build:types" : " tsc -p tsconfig.types.json" ,
1010 "build:types:downlevel" : " downlevel-dts dist-types dist-types/ts3.4" ,
1111 "clean" : " rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0" ,
12- "prepack" : " yarn run clean && yarn run build"
12+ "prepack" : " yarn run clean && yarn run build" ,
13+ "test" : " yarn g:vitest run --passWithNoTests"
1314 },
1415 "main" : " ./dist-cjs/index.js" ,
1516 "types" : " ./dist-types/index.d.ts" ,
5253 "concurrently" : " 7.0.0" ,
5354 "downlevel-dts" : " 0.10.1" ,
5455 "rimraf" : " ^3.0.0" ,
55- "typescript" : " ~5.8.3"
56+ "typescript" : " ~5.8.3" ,
57+ "vitest" : " 3.2.4"
5658 },
5759 "engines" : {
5860 "node" : " >=18.0.0"
Original file line number Diff line number Diff line change 1+ import { defineConfig } from "vite" ;
2+
3+ export default defineConfig ( {
4+ test : {
5+ include : [ "**/*.spec.ts" ] ,
6+ globals : true ,
7+ } ,
8+ } ) ;
Original file line number Diff line number Diff line change 5454 "downlevel-dts" : " 0.10.1" ,
5555 "rimraf" : " ^3.0.0" ,
5656 "typescript" : " ~5.8.3" ,
57- "vitest" : " 2.1.8 "
57+ "vitest" : " 3.2.4 "
5858 },
5959 "engines" : {
6060 "node" : " >=18.0.0"
Original file line number Diff line number Diff line change 5555 "downlevel-dts" : " 0.10.1" ,
5656 "rimraf" : " ^3.0.0" ,
5757 "typescript" : " ~5.8.3" ,
58- "vitest" : " 2.1.8 "
58+ "vitest" : " 3.2.4 "
5959 },
6060 "engines" : {
6161 "node" : " >=18.0.0"
You can’t perform that action at this time.
0 commit comments