UNPKG

knip

Version:

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

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