feat: stale dep as a nuxt module

This commit is contained in:
三咲智子 Kevin Deng 2023-01-14 02:57:31 +08:00
parent 3defa7f110
commit b6c916517c
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
4 changed files with 34 additions and 22 deletions

11
modules/stale-dep.ts Normal file
View file

@ -0,0 +1,11 @@
import { defineNuxtModule } from '@nuxt/kit'
import { check } from 'stale-dep'
export default defineNuxtModule({
meta: {
name: 'stale-dep',
},
setup() {
return check('pnpm')
},
})