UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

16 lines (15 loc) 462 B
import { hasDependency } from '../../util/plugin.js'; import { toC12config } from '../../util/plugin-config.js'; const title = 'Changelogithub'; const enablers = ['changelogithub']; const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers); const entry = ['package.json', ...toC12config('changelogithub')]; const isRootOnly = true; const plugin = { title, enablers, isEnabled, isRootOnly, entry, }; export default plugin;