diff --git a/scripts/package-integrity.js b/scripts/package-integrity.js index d516132992..1edb3c2cf1 100644 --- a/scripts/package-integrity.js +++ b/scripts/package-integrity.js @@ -108,7 +108,11 @@ function validate(dname) { problems.push('Bad core version: ' + name + ' should be ' + desired); } } - if (names.indexOf(name) === -1) { + if ( + names.indexOf(name) === -1 && + !name.startsWith('@jupyter-widgets/base') && + !name.startsWith('@jupyter-widgets/controls') + ) { problems.push('Unused package: ' + name); } });