chore: upgrade deps

This commit is contained in:
三咲智子 Kevin Deng 2023-01-25 01:52:22 +08:00
parent 82694b87b6
commit 727cc5d495
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
5 changed files with 1470 additions and 931 deletions

View file

@ -10,6 +10,6 @@
}, },
"devDependencies": { "devDependencies": {
"@nuxt-themes/docus": "^1.4.4", "@nuxt-themes/docus": "^1.4.4",
"nuxt": "^3.0.0" "nuxt": "^3.1.0"
} }
} }

View file

@ -115,6 +115,11 @@ export default defineNuxtConfig({
}, },
}, },
nitro: { nitro: {
esbuild: {
options: {
target: 'esnext',
},
},
prerender: { prerender: {
crawlLinks: true, crawlLinks: true,
routes: ['/'], routes: ['/'],

View file

@ -20,7 +20,7 @@
"generate": "nuxi generate", "generate": "nuxi generate",
"test:unit": "stale-dep && vitest", "test:unit": "stale-dep && vitest",
"test:typecheck": "stale-dep && vue-tsc --noEmit && vue-tsc --noEmit --project service-worker/tsconfig.json", "test:typecheck": "stale-dep && vue-tsc --noEmit && vue-tsc --noEmit --project service-worker/tsconfig.json",
"test": "stale-dep && nr test:unit", "test": "nr test:unit",
"update:team:avatars": "esno scripts/avatars.ts", "update:team:avatars": "esno scripts/avatars.ts",
"postinstall": "stale-dep -u && simple-git-hooks && nuxi prepare", "postinstall": "stale-dep -u && simple-git-hooks && nuxi prepare",
"release": "stale-dep && bumpp && esno scripts/release.ts" "release": "stale-dep && bumpp && esno scripts/release.ts"
@ -39,12 +39,12 @@
"@tiptap/starter-kit": "2.0.0-beta.204", "@tiptap/starter-kit": "2.0.0-beta.204",
"@tiptap/suggestion": "2.0.0-beta.204", "@tiptap/suggestion": "2.0.0-beta.204",
"@tiptap/vue-3": "2.0.0-beta.204", "@tiptap/vue-3": "2.0.0-beta.204",
"@vueuse/core": "^9.10.0", "@vueuse/core": "^9.11.1",
"@vueuse/gesture": "2.0.0-beta.1", "@vueuse/gesture": "2.0.0-beta.1",
"@vueuse/integrations": "^9.10.0", "@vueuse/integrations": "^9.11.1",
"@vueuse/motion": "2.0.0-beta.12", "@vueuse/motion": "2.0.0-beta.12",
"blurhash": "^2.0.4", "blurhash": "^2.0.4",
"browser-fs-access": "^0.31.1", "browser-fs-access": "^0.31.2",
"floating-vue": "2.0.0-beta.20", "floating-vue": "2.0.0-beta.20",
"focus-trap": "^7.2.0", "focus-trap": "^7.2.0",
"form-data": "^4.0.0", "form-data": "^4.0.0",
@ -53,8 +53,8 @@
"iso-639-1": "^2.1.15", "iso-639-1": "^2.1.15",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"lru-cache": "^7.14.1", "lru-cache": "^7.14.1",
"masto": "^5.5.0", "masto": "^5.6.1",
"pinia": "^2.0.28", "pinia": "^2.0.29",
"shiki": "^0.12.1", "shiki": "^0.12.1",
"shiki-es": "^0.1.2", "shiki-es": "^0.1.2",
"slimeform": "^0.9.0", "slimeform": "^0.9.0",
@ -70,7 +70,7 @@
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.34.1", "@antfu/eslint-config": "^0.34.1",
"@antfu/ni": "^0.18.8", "@antfu/ni": "^0.19.0",
"@emoji-mart/data": "^1.1.1", "@emoji-mart/data": "^1.1.1",
"@iconify-json/carbon": "^1.1.13", "@iconify-json/carbon": "^1.1.13",
"@iconify-json/logos": "^1.1.22", "@iconify-json/logos": "^1.1.22",
@ -84,28 +84,27 @@
"@types/chroma-js": "^2.1.4", "@types/chroma-js": "^2.1.4",
"@types/file-saver": "^2.0.5", "@types/file-saver": "^2.0.5",
"@types/fnando__sparkline": "^0.3.4", "@types/fnando__sparkline": "^0.3.4",
"@types/fs-extra": "^11.0.0", "@types/fs-extra": "^11.0.1",
"@types/js-yaml": "^4.0.5", "@types/js-yaml": "^4.0.5",
"@types/prettier": "^2.7.2", "@types/prettier": "^2.7.2",
"@types/wicg-file-system-access": "^2020.9.5", "@types/wicg-file-system-access": "^2020.9.5",
"@unocss/nuxt": "^0.48.3", "@unocss/nuxt": "^0.48.5",
"@vitejs/plugin-vue": "^3.2.0", "@vue-macros/nuxt": "^0.3.2",
"@vue-macros/nuxt": "^0.2.10", "@vueuse/math": "^9.11.1",
"@vueuse/math": "^9.10.0", "@vueuse/nuxt": "^9.11.1",
"@vueuse/nuxt": "^9.10.0",
"bumpp": "^8.2.1", "bumpp": "^8.2.1",
"chroma-js": "^2.4.2", "chroma-js": "^2.4.2",
"emoji-mart": "^5.4.0", "emoji-mart": "^5.4.0",
"eslint": "^8.31.0", "eslint": "^8.32.0",
"esno": "^0.16.3", "esno": "^0.16.3",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"fs-extra": "^11.1.0", "fs-extra": "^11.1.0",
"jsdom": "^21.0.0", "jsdom": "^21.1.0",
"lint-staged": "^13.1.0", "lint-staged": "^13.1.0",
"nuxt": "^3.0.0", "nuxt": "^3.1.0",
"nuxt-security": "^0.10.0", "nuxt-security": "^0.10.0",
"postcss-nested": "^6.0.0", "postcss-nested": "^6.0.0",
"prettier": "^2.8.2", "prettier": "^2.8.3",
"rollup-plugin-node-polyfills": "^0.2.1", "rollup-plugin-node-polyfills": "^0.2.1",
"simple-git": "^3.15.1", "simple-git": "^3.15.1",
"simple-git-hooks": "^2.8.1", "simple-git-hooks": "^2.8.1",
@ -124,9 +123,6 @@
"workbox-window": "^6.5.4" "workbox-window": "^6.5.4"
}, },
"pnpm": { "pnpm": {
"patchedDependencies": {
"nitropack@1.0.0": "patches/nitropack@1.0.0.patch"
},
"overrides": { "overrides": {
"mlly": "1.1.0", "mlly": "1.1.0",
"@tiptap/extension-bubble-menu": "2.0.0-beta.204", "@tiptap/extension-bubble-menu": "2.0.0-beta.204",
@ -149,8 +145,7 @@
"@tiptap/extension-ordered-list": "2.0.0-beta.204", "@tiptap/extension-ordered-list": "2.0.0-beta.204",
"@tiptap/extension-paragraph": "2.0.0-beta.204", "@tiptap/extension-paragraph": "2.0.0-beta.204",
"@tiptap/extension-strike": "2.0.0-beta.204", "@tiptap/extension-strike": "2.0.0-beta.204",
"@tiptap/extension-text": "2.0.0-beta.204", "@tiptap/extension-text": "2.0.0-beta.204"
"vitest>vite": "^3.2.5"
} }
}, },
"simple-git-hooks": { "simple-git-hooks": {

View file

@ -1,13 +0,0 @@
diff --git a/dist/shared/nitro.c8278d90.mjs b/dist/shared/nitro.c8278d90.mjs
index 9ba312fc248da3731720ee7e3b38ba2a85537657..5ec9f06ccf60259820586715d73d41466daa8cff 100644
--- a/dist/shared/nitro.c8278d90.mjs
+++ b/dist/shared/nitro.c8278d90.mjs
@@ -1296,7 +1296,7 @@ async function copyPublicAssets(nitro) {
if (nitro.options.noPublicDir) {
return;
}
- for (const asset of nitro.options.publicAssets) {
+ for (const asset of [...nitro.options.publicAssets].reverse()) {
if (await isDirectory(asset.dir)) {
await fse.copy(asset.dir, join(nitro.options.output.publicDir, asset.baseURL));
}

File diff suppressed because it is too large Load diff