Skip to content

Commit 1bb675c

Browse files
committed
ci(package): add arethetypeswrong check to commit flow
1 parent b02d4f0 commit 1bb675c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"list-tasks": "node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))' && (npm run -ws list-tasks --if-present 2>/dev/null || true)",
6262
"prepare": "node -e \"execa = require('execa'); if(process.env.CI === undefined && (process.env.NODE_ENV === undefined || process.env.NODE_ENV == 'development')) { execa.sync('npx', ['husky', 'install'], { stdout: 'inherit', stderr: 'inherit' }); } else { console.log('skipped installing husky git hooks'); }\"",
6363
"test": "npm run test:unit --",
64-
"test:all": "NODE_ENV=test jest --coverage",
64+
"test:all": "npx attw --pack . && echo && NODE_OPTIONS='--no-warnings --experimental-vm-modules' NODE_ENV=test jest --coverage",
6565
"test:integration": "NODE_ENV=test jest 'integration-.*\\.test\\.ts.*'",
6666
"test:unit": "NODE_ENV=test jest --testPathIgnorePatterns 'integration-.*\\.test\\.ts.*' dist",
6767
"test:update": "npm test:all -- --updateSnapshot"
@@ -74,6 +74,7 @@
7474
"strip-indent": "^3.0.0"
7575
},
7676
"devDependencies": {
77+
"@arethetypeswrong/cli": "^0.13.5",
7778
"@babel/cli": "^7.23.0",
7879
"@babel/core": "^7.23.2",
7980
"@babel/eslint-parser": "^7.22.15",

0 commit comments

Comments
 (0)