feat: stale dep as a nuxt module
This commit is contained in:
parent
3defa7f110
commit
b6c916517c
4 changed files with 34 additions and 22 deletions
11
modules/stale-dep.ts
Normal file
11
modules/stale-dep.ts
Normal 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')
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue