Skip to content

Commit 7ab4063

Browse files
committed
fix(plugins): enable plugin banneing & ban some plugins
1 parent ad705be commit 7ab4063

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ releases: clean-releases
4040

4141
plugins: clean-plugins
4242
@mkdir -p _data/plugins
43-
@./node_modules/.bin/npm-plugin-fetcher -o _data/plugins chai-plugin
43+
@./node_modules/.bin/npm-plugin-fetcher -b _scripts/banned_plugins.js -o _data/plugins chai-plugin
4444
@xargs -n1 -I! sh -c 'echo ! && curl -s "https://registry.npmjs.com/!" > _data/plugins/!.json' < _legacy_plugins
4545
@node _scripts/build-plugin-tags.js
4646

_scripts/banned_plugins.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = [
2+
3+
'chai-51st-state', // Banned for profane language
4+
'chai2.0-webdriver-promised', // Fork with poor metadata
5+
6+
];

0 commit comments

Comments
 (0)