Skip to content

Commit c577089

Browse files
authored
Add @arethetypeswrong/cli to check for faulty exports (#331)
ci(cva): add arethetypeswrong to check for faulty exports
1 parent 7fba473 commit c577089

File tree

2 files changed

+224
-1
lines changed

2 files changed

+224
-1
lines changed

Diff for: packages/cva/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,17 @@
3636
"build:esm": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.mjs -C module.type=es6 ",
3737
"build:tsc": "tsc --project .config/tsconfig.build.json",
3838
"bundlesize": "pnpm build && bundlesize -f 'dist/*.js' -s 1.6KB",
39-
"check": "tsc --project tsconfig.json --noEmit",
39+
"check": "pnpm run '/^check:.*/'",
40+
"check:exports": "attw --pack .",
41+
"check:tsc": "tsc --project tsconfig.json --noEmit",
4042
"dev": "jest --config .config/jest.config.ts --watch",
4143
"prepublishOnly": "pnpm build"
4244
},
4345
"dependencies": {
4446
"clsx": "^2.1.1"
4547
},
4648
"devDependencies": {
49+
"@arethetypeswrong/cli": "0.17.3",
4750
"@swc/cli": "0.3.12",
4851
"@swc/core": "1.4.16",
4952
"@types/node": "20.12.7",

0 commit comments

Comments
 (0)