Skip to content

Commit f76ca4d

Browse files
committed
feat: migrate kuvio from schemata-ts
1 parent 8c935c5 commit f76ca4d

17 files changed

+2771
-361
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
.DS_Store
33
dist
44
*.log
5+
coverage

jest.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
collectCoverage: true,
6+
collectCoverageFrom: ['src/**/*.ts'],
7+
coverageDirectory: 'coverage',
8+
coverageReporters: ['lcov', 'text-summary'],
9+
}

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build-fast": "tsup src/index.ts --format cjs,esm",
1717
"build": "pnpm run build-fast -- --dts-resolve",
18-
"test": "vitest run",
18+
"test": "jest",
1919
"prepublishOnly": "pnpm run build",
2020
"prepare": "husky install"
2121
},
@@ -36,13 +36,19 @@
3636
"fp-ts": "^2.13.1"
3737
},
3838
"devDependencies": {
39+
"@types/jest": "^29.5.1",
3940
"commitizen": "^4.3.0",
4041
"cz-conventional-changelog": "^3.3.0",
42+
"fast-check": "^3.8.1",
4143
"husky": "^8.0.0",
44+
"jest": "^29.5.0",
4245
"prettier": "2.8.7",
46+
"ts-jest": "^29.1.0",
4347
"tsup": "6.7.0",
44-
"typescript": "5.0.4",
45-
"vitest": "0.30.1"
48+
"typescript": "5.0.4"
49+
},
50+
"peerDependencies": {
51+
"fast-check": "^3.0.0"
4652
},
4753
"config": {
4854
"commitizen": {

0 commit comments

Comments
 (0)