feat: allow using elk as a nuxt layer (#1665)
This commit is contained in:
parent
a3310b6ea2
commit
c25715b26d
4 changed files with 403 additions and 1111 deletions
|
@ -4,8 +4,13 @@ import { check } from 'stale-dep'
|
|||
export default defineNuxtModule({
|
||||
meta: {
|
||||
name: 'stale-dep',
|
||||
configKey: 'staleDep',
|
||||
},
|
||||
setup() {
|
||||
return check('pnpm')
|
||||
defaults: {
|
||||
enabled: true,
|
||||
},
|
||||
setup(opts) {
|
||||
if (opts.enabled)
|
||||
return check('pnpm')
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue