Skip to content

Commit

Permalink
Add arethetypeswrong to CI/publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
fruchtose-stripe committed Apr 12, 2024
1 parent b04b88a commit 8a9c30e
Show file tree
Hide file tree
Showing 3 changed files with 324 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
- run: yarn run lint
- run: yarn run typecheck
- run: yarn run test:unit
- run: yarn run test:package-types
- run: yarn run test:types
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"test": "yarn lint && yarn test:unit && yarn test:types && yarn typecheck",
"test": "yarn lint && yarn test:unit && yarn test:package-types && yarn test:types && yarn typecheck",
"test:unit": "jest",
"test:package-types": "attw --pack . --entrypoints ./lib ./pure",
"test:types": "zx ./tests/types/scripts/test.mjs",
"lint": "eslint '{src,types}/**/*.{ts,js}' && yarn prettier-check",
"typecheck": "tsc",
Expand Down Expand Up @@ -39,6 +40,7 @@
"node": ">=12.16"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@rollup/plugin-replace": "^2.3.1",
Expand Down
Loading

0 comments on commit 8a9c30e

Please sign in to comment.