1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-08 01:49:58 +00:00
elk/modules/stale-dep.ts
2023-02-08 01:51:16 -08:00

17 lines
290 B
TypeScript

import { defineNuxtModule } from '@nuxt/kit'
import { check } from 'stale-dep'
export default defineNuxtModule({
meta: {
name: 'stale-dep',
configKey: 'staleDep',
},
defaults: {
enabled: true,
},
setup(opts) {
if (opts.enabled)
return check('pnpm')
},
})