|
64 | 64 | "lint": "biome lint .", |
65 | 65 | "release:github:registry": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}", |
66 | 66 | "release:npm:registry": "pnpm publish --no-git-checks", |
67 | | - "test": "run-p test:depcruise test:jest test:code:gen:* test:snapshot", |
| 67 | + "test": "run-p test:depcruise test:vitest test:code:gen:* test:snapshot", |
68 | 68 | "test:code:gen": "run-p test:code:gen:*", |
69 | 69 | "test:code:gen:class": "pnpm ts ./scripts/testCodeGenWithClass.ts", |
70 | 70 | "test:code:gen:currying-function": "pnpm ts ./scripts/testCodeGenWithCurryingFunctional.ts", |
71 | 71 | "test:code:gen:function": "pnpm ts ./scripts/testCodeGenWithFunctional.ts", |
72 | 72 | "test:depcruise": "depcruise --validate .dependency-cruiser.cjs src", |
73 | | - "test:jest": "cross-env NODE_OPTIONS=--experimental-specifier-resolution=node jest -c ./jest.config.cjs --collect-coverage", |
74 | | - "test:snapshot": "jest -c ./jest.snapshot.config.cjs", |
| 73 | + "test:snapshot": "vitest run --config ./vitest.snapshot.config.ts", |
| 74 | + "test:vitest": "vitest run --config ./vitest.config.ts --coverage", |
75 | 75 | "ts": "node --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node --loader ts-node/esm", |
76 | | - "update:snapshot": "pnpm jest -c ./jest.snapshot.config.cjs --updateSnapshot", |
| 76 | + "update:snapshot": "vitest run --config ./vitest.snapshot.config.ts --update", |
77 | 77 | "validate": "pnpm ts ./scripts/validate.ts", |
78 | 78 | "watch": "pnpm ts ./scripts/watch.ts" |
79 | 79 | }, |
|
93 | 93 | "@himenon/path-oriented-data-structure": "1.0.2", |
94 | 94 | "@swc/core": "^1.15.30", |
95 | 95 | "@swc/helpers": "^0.5.21", |
96 | | - "@swc/jest": "^0.2.39", |
97 | 96 | "@types/chokidar": "2.1.7", |
98 | | - "@types/jest": "30.0.0", |
99 | 97 | "@types/js-yaml": "4.0.9", |
100 | 98 | "@types/node": "25.6.0", |
101 | 99 | "@types/rimraf": "4.0.5", |
| 100 | + "@vitest/coverage-v8": "^4.1.5", |
102 | 101 | "chokidar": "5.0.0", |
103 | 102 | "conventional-changelog-angular-all": "1.7.0", |
104 | 103 | "cpy": "13.2.1", |
105 | | - "cross-env": "^10.1.0", |
106 | 104 | "dependency-cruiser": "17.3.10", |
107 | 105 | "dot-prop": "10.1.0", |
108 | 106 | "execa": "9.6.1", |
109 | 107 | "generate-changelog": "1.8.0", |
110 | 108 | "import-sort-style-module": "6.0.0", |
111 | | - "jest": "30.3.0", |
112 | | - "jest-cli": "30.3.0", |
113 | 109 | "lefthook": "^2.1.6", |
114 | 110 | "lerna": "9.0.7", |
115 | 111 | "npm-run-all": "4.1.5", |
116 | 112 | "openapi-schema-validator": "12.1.3", |
117 | 113 | "read-package-up": "^12.0.0", |
118 | 114 | "rimraf": "6.1.3", |
119 | 115 | "sort-package-json": "3.6.1", |
120 | | - "ts-jest": "29.4.9", |
121 | 116 | "ts-node": "10.9.2", |
122 | 117 | "tsup": "^8.5.1", |
123 | | - "typescript": "6.0.3" |
| 118 | + "typescript": "6.0.3", |
| 119 | + "vitest": "^4.1.5" |
124 | 120 | }, |
125 | 121 | "peerDependencies": { |
126 | 122 | "typescript": ">=5" |
|
0 commit comments