You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.
It's rather tedious that you have to re-run the tester every time you fix a version mismatch.
I "hacked" my local installation with something like this:
function checkTypeScriptVersions(allPackages) {
const violations = [];
for (const pkg of allPackages.allTypings()) {
for (const dep of allPackages.allDependencyTypings(pkg)) {
if (dep.minTypeScriptVersion > pkg.minTypeScriptVersion) {
violations.push({
dep,
pkg,
});
}
}
}
if (violations.length === 0) {
return;
}
throw new Error(
violations.map(
({ pkg, dep }) =>
`${pkg.desc} depends on ${dep.desc} but has a lower required TypeScript version (${dep.minTypeScriptVersion} > ${pkg.minTypeScriptVersion}).`,
)
.join('\n'),
);
}
Please consider this change.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It's rather tedious that you have to re-run the tester every time you fix a version mismatch.
I "hacked" my local installation with something like this:
Please consider this change.
The text was updated successfully, but these errors were encountered: