Skip to content

Commit bcb685b

Browse files
committed
fix: check ts-plugin with tsc and add test scripts in root package
1 parent 8f92617 commit bcb685b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
"url": "git+https://github.com/maxmorozoff/try-catch-tuple.git"
1111
},
1212
"scripts": {
13-
"test": " bun --filter './packages/**' test",
14-
"build": " bun --filter './packages/**' build",
15-
"version": "bun --filter './packages/**' version",
16-
"publish": "bun --filter './packages/**' publish",
17-
"clean": " bun --filter '*' clean",
13+
"test:types": "bun --filter './packages/**' test:types",
14+
"test:unit": " bun --filter './packages/**' test:unit",
15+
"test": " bun --filter './packages/**' test",
16+
"build": " bun --filter './packages/**' build",
17+
"version": " bun --filter './packages/**' version",
18+
"publish": " bun --filter './packages/**' publish",
19+
"clean": " bun --filter '*' clean",
1820
"lint": "biome check"
1921
},
2022
"packageManager": "[email protected]",

packages/ts-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"scripts": {
1212
"test:unit": "bun --cwd='../../examples/ts-plugin-example' run test:unit",
13-
"test:types": "bun --cwd='../../examples/ts-plugin-example' run test:types",
13+
"test:types": "tsc --noEmit",
1414
"test": "bun run test:unit",
1515
"build": "tsup index.ts transformer.ts --format esm,cjs --dts --dts-resolve --sourcemap --splitting false",
1616
"clean": "rm -rf dist && echo done",

0 commit comments

Comments
 (0)