Skip to content

Commit

Permalink
use --experimental-transform-types for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev committed Aug 24, 2024
1 parent 696d4fa commit 90aafe0
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 480 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"nodejs-testing.extensions": [
{
"extensions": ["ts"],
"parameters": ["--import", "tsx"]
"parameters": ["--experimental-transform-types"]
}
],
"npm.packageManager": "pnpm",
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@
"format": "biome format --write",
"lint": "biome lint",
"lint:fix": "biome lint --fix --unsafe",
"test": "tsx --test",
"test:cov": "tsx --test --experimental-test-coverage",
"test:only": "tsx --test --test-only",
"test": "node --experimental-transform-types --test test/*.test.ts",
"test:cov": "node --experimental-transform-types --test --experimental-test-coverage test/*.test.ts",
"test:only": "node --experimental-transform-types --test --test-only test/*.test.ts",
"typecheck": "tsc --noEmit"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"require": "./dist/index.js"
},
"sideEffects": false,
"files": [
Expand Down Expand Up @@ -50,7 +49,6 @@
"@types/node": "^20.14.11",
"@types/picomatch": "^3.0.0",
"tsup": "^8.2.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3"
},
"engines": {
Expand Down
Loading

0 comments on commit 90aafe0

Please sign in to comment.