refactor: upgrade stale-dep
parent
1003a2a898
commit
acf719775f
|
@ -1,16 +0,0 @@
|
||||||
import { defineNuxtModule } from '@nuxt/kit'
|
|
||||||
import { check } from 'stale-dep'
|
|
||||||
|
|
||||||
export default defineNuxtModule({
|
|
||||||
meta: {
|
|
||||||
name: 'stale-dep',
|
|
||||||
configKey: 'staleDep',
|
|
||||||
},
|
|
||||||
defaults: {
|
|
||||||
enabled: process.env.NODE_ENV !== 'test',
|
|
||||||
},
|
|
||||||
setup(opts) {
|
|
||||||
if (opts.enabled)
|
|
||||||
return check('pnpm')
|
|
||||||
},
|
|
||||||
})
|
|
|
@ -31,7 +31,7 @@ export default defineNuxtConfig({
|
||||||
'~/modules/build-env',
|
'~/modules/build-env',
|
||||||
'~/modules/tauri/index',
|
'~/modules/tauri/index',
|
||||||
'~/modules/pwa/index', // change to '@vite-pwa/nuxt' once released and remove pwa module
|
'~/modules/pwa/index', // change to '@vite-pwa/nuxt' once released and remove pwa module
|
||||||
'~/modules/stale-dep',
|
'stale-dep/nuxt',
|
||||||
'@nuxt/devtools',
|
'@nuxt/devtools',
|
||||||
],
|
],
|
||||||
experimental: {
|
experimental: {
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
"shiki-es": "^0.2.0",
|
"shiki-es": "^0.2.0",
|
||||||
"simple-git": "^3.16.0",
|
"simple-git": "^3.16.0",
|
||||||
"slimeform": "^0.9.0",
|
"slimeform": "^0.9.0",
|
||||||
"stale-dep": "^0.3.1",
|
"stale-dep": "^0.5.0",
|
||||||
"std-env": "^3.3.1",
|
"std-env": "^3.3.1",
|
||||||
"string-length": "^5.0.1",
|
"string-length": "^5.0.1",
|
||||||
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log",
|
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log",
|
||||||
|
|
|
@ -106,7 +106,7 @@ importers:
|
||||||
simple-git: ^3.16.0
|
simple-git: ^3.16.0
|
||||||
simple-git-hooks: ^2.8.1
|
simple-git-hooks: ^2.8.1
|
||||||
slimeform: ^0.9.0
|
slimeform: ^0.9.0
|
||||||
stale-dep: ^0.3.1
|
stale-dep: ^0.5.0
|
||||||
std-env: ^3.3.1
|
std-env: ^3.3.1
|
||||||
string-length: ^5.0.1
|
string-length: ^5.0.1
|
||||||
tauri-plugin-log-api: github:tauri-apps/tauri-plugin-log
|
tauri-plugin-log-api: github:tauri-apps/tauri-plugin-log
|
||||||
|
@ -186,11 +186,11 @@ importers:
|
||||||
shiki-es: 0.2.0
|
shiki-es: 0.2.0
|
||||||
simple-git: 3.16.0
|
simple-git: 3.16.0
|
||||||
slimeform: 0.9.0
|
slimeform: 0.9.0
|
||||||
stale-dep: 0.3.1
|
stale-dep: 0.5.0
|
||||||
std-env: 3.3.2
|
std-env: 3.3.2
|
||||||
string-length: 5.0.1
|
string-length: 5.0.1
|
||||||
tauri-plugin-log-api: github.com/tauri-apps/tauri-plugin-log/33d9b712e9058ed82c110cb186345215f82b88e2
|
tauri-plugin-log-api: github.com/tauri-apps/tauri-plugin-log/921afb3366b14ac43e3d8041a7def4b85d4d7192
|
||||||
tauri-plugin-store-api: github.com/tauri-apps/tauri-plugin-store/c71665bf5dcf48ae70a88d622eb38b2548b60a5d
|
tauri-plugin-store-api: github.com/tauri-apps/tauri-plugin-store/916165e4e4ad9821095584dc02ecd9c295cc9971
|
||||||
theme-vitesse: 0.6.0
|
theme-vitesse: 0.6.0
|
||||||
tiny-decode: 0.1.3
|
tiny-decode: 0.1.3
|
||||||
tippy.js: 6.3.7
|
tippy.js: 6.3.7
|
||||||
|
@ -198,7 +198,7 @@ importers:
|
||||||
ultrahtml: 1.2.0
|
ultrahtml: 1.2.0
|
||||||
unimport: 2.2.4
|
unimport: 2.2.4
|
||||||
unplugin-auto-import: 0.13.0_@vueuse+core@9.12.0
|
unplugin-auto-import: 0.13.0_@vueuse+core@9.12.0
|
||||||
vite-plugin-pwa: 0.14.1
|
vite-plugin-pwa: 0.14.1_tz3vz2xt4jvid2diblkpydcyn4
|
||||||
vue-advanced-cropper: 2.8.8
|
vue-advanced-cropper: 2.8.8
|
||||||
vue-virtual-scroller: 2.0.0-beta.7
|
vue-virtual-scroller: 2.0.0-beta.7
|
||||||
workbox-build: 6.5.4
|
workbox-build: 6.5.4
|
||||||
|
@ -5349,6 +5349,7 @@ packages:
|
||||||
/commander/9.5.0:
|
/commander/9.5.0:
|
||||||
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
|
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
|
||||||
engines: {node: ^12.20.0 || >=14}
|
engines: {node: ^12.20.0 || >=14}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/common-tags/1.8.2:
|
/common-tags/1.8.2:
|
||||||
resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
|
resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
|
||||||
|
@ -6753,7 +6754,7 @@ packages:
|
||||||
resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==}
|
resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==}
|
||||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||||
dependencies:
|
dependencies:
|
||||||
locate-path: 7.1.1
|
locate-path: 7.2.0
|
||||||
path-exists: 5.0.0
|
path-exists: 5.0.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
@ -7980,8 +7981,8 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
p-locate: 5.0.0
|
p-locate: 5.0.0
|
||||||
|
|
||||||
/locate-path/7.1.1:
|
/locate-path/7.2.0:
|
||||||
resolution: {integrity: sha512-vJXaRMJgRVD3+cUZs3Mncj2mxpt5mP0EmNOsxRSZRMlbqjvxzDEOIUWXGmavo0ZC9+tNZCBLQ66reA11nbpHZg==}
|
resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==}
|
||||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||||
dependencies:
|
dependencies:
|
||||||
p-locate: 6.0.0
|
p-locate: 6.0.0
|
||||||
|
@ -10793,12 +10794,20 @@ packages:
|
||||||
/stackback/0.0.2:
|
/stackback/0.0.2:
|
||||||
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
|
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
|
||||||
|
|
||||||
/stale-dep/0.3.1:
|
/stale-dep/0.5.0:
|
||||||
resolution: {integrity: sha512-mBoA6pZRWXA5jL1Yg6cd1gVQ7OPsZD7wkgSZUxjBxohepLolq8s/w0PKEmI35TIk2ggXKhW3JR35JQyS9J8B+g==}
|
resolution: {integrity: sha512-PkR0/js9oPvG2VP9NoQvryVbU+8gTzR7vzB93+wZJafQTi1T/8Rv6c9IZj9YV2vRVDjyTAp5J2S6mHqPtv1/Uw==}
|
||||||
engines: {node: '>=14.19.0'}
|
engines: {node: '>=14.19.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
peerDependencies:
|
||||||
|
'@nuxt/kit': ^3.0.0
|
||||||
|
'@nuxt/schema': ^3.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@nuxt/kit':
|
||||||
|
optional: true
|
||||||
|
'@nuxt/schema':
|
||||||
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
commander: 9.5.0
|
cac: 6.7.14
|
||||||
consola: 2.15.3
|
consola: 2.15.3
|
||||||
find-up: 6.3.0
|
find-up: 6.3.0
|
||||||
fs-extra: 11.1.0
|
fs-extra: 11.1.0
|
||||||
|
@ -11897,10 +11906,12 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vite-plugin-pwa/0.14.1:
|
/vite-plugin-pwa/0.14.1_tz3vz2xt4jvid2diblkpydcyn4:
|
||||||
resolution: {integrity: sha512-5zx7yhQ8RTLwV71+GA9YsQQ63ALKG8XXIMqRJDdZkR8ZYftFcRgnzM7wOWmQZ/DATspyhPih5wCdcZnAIsM+mA==}
|
resolution: {integrity: sha512-5zx7yhQ8RTLwV71+GA9YsQQ63ALKG8XXIMqRJDdZkR8ZYftFcRgnzM7wOWmQZ/DATspyhPih5wCdcZnAIsM+mA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^3.1.0 || ^4.0.0
|
vite: ^3.1.0 || ^4.0.0
|
||||||
|
workbox-build: ^6.5.4
|
||||||
|
workbox-window: ^6.5.4
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rollup/plugin-replace': 5.0.2_rollup@3.14.0
|
'@rollup/plugin-replace': 5.0.2_rollup@3.14.0
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
|
@ -11910,7 +11921,6 @@ packages:
|
||||||
workbox-build: 6.5.4
|
workbox-build: 6.5.4
|
||||||
workbox-window: 6.5.4
|
workbox-window: 6.5.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/babel__core'
|
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
@ -12732,16 +12742,16 @@ packages:
|
||||||
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
|
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
github.com/tauri-apps/tauri-plugin-log/33d9b712e9058ed82c110cb186345215f82b88e2:
|
github.com/tauri-apps/tauri-plugin-log/921afb3366b14ac43e3d8041a7def4b85d4d7192:
|
||||||
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-log/tar.gz/33d9b712e9058ed82c110cb186345215f82b88e2}
|
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-log/tar.gz/921afb3366b14ac43e3d8041a7def4b85d4d7192}
|
||||||
name: tauri-plugin-log-api
|
name: tauri-plugin-log-api
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tauri-apps/api': 1.2.0
|
'@tauri-apps/api': 1.2.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
github.com/tauri-apps/tauri-plugin-store/c71665bf5dcf48ae70a88d622eb38b2548b60a5d:
|
github.com/tauri-apps/tauri-plugin-store/916165e4e4ad9821095584dc02ecd9c295cc9971:
|
||||||
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-store/tar.gz/c71665bf5dcf48ae70a88d622eb38b2548b60a5d}
|
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-store/tar.gz/916165e4e4ad9821095584dc02ecd9c295cc9971}
|
||||||
name: tauri-plugin-store-api
|
name: tauri-plugin-store-api
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in New Issue