We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b06dc2a commit c4c9849Copy full SHA for c4c9849
scripts/buildTs.mjs
@@ -43,8 +43,11 @@ packagesWithTs.forEach(({packageDir, pkg}) => {
43
44
const jestDependenciesOfPackage = Object.keys(pkg.dependencies || {})
45
.concat(Object.keys(pkg.devDependencies || {}))
46
- .filter(dep => workspacesWithTs.has(dep))
47
.filter(dep => {
+ if (!workspacesWithTs.has(dep)) {
48
+ return false;
49
+ }
50
+
51
// nothing should depend on these
52
if (dep === 'jest-circus' || dep === 'jest-jasmine2') {
53
return false;
0 commit comments