Skip to content

Commit

Permalink
Add @arethetypeswrong/cli to check for faulty exports (#331)
Browse files Browse the repository at this point in the history
ci(cva): add arethetypeswrong to check for faulty exports
  • Loading branch information
joe-bell authored Jan 18, 2025
1 parent 7fba473 commit c577089
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cva/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,17 @@
"build:esm": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.mjs -C module.type=es6 ",
"build:tsc": "tsc --project .config/tsconfig.build.json",
"bundlesize": "pnpm build && bundlesize -f 'dist/*.js' -s 1.6KB",
"check": "tsc --project tsconfig.json --noEmit",
"check": "pnpm run '/^check:.*/'",
"check:exports": "attw --pack .",
"check:tsc": "tsc --project tsconfig.json --noEmit",
"dev": "jest --config .config/jest.config.ts --watch",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"clsx": "^2.1.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.3",
"@swc/cli": "0.3.12",
"@swc/core": "1.4.16",
"@types/node": "20.12.7",
Expand Down
Loading

0 comments on commit c577089

Please sign in to comment.