From fbfbb2c2e055ce88374c82ff64c5dc9be3f5eab7 Mon Sep 17 00:00:00 2001 From: Naily Date: Sat, 26 Oct 2024 18:05:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=94=A7set=20default=20ssr=20noExt?= =?UTF-8?q?ernal=20to?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 9 +++++---- pnpm-lock.yaml | 21 ++++++++++++--------- vite.config.ts | 2 +- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 56f1edc..c7178c5 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,6 @@ "sizecheck": "npx vite-bundle-visualizer" }, "dependencies": { - "@nailyjs/backend": "^1.0.13", - "@nailyjs/ioc": "^1.0.13", - "@nailyjs/rpc": "^1.0.13", "@unhead/vue": "^1.10.0", "@unocss/reset": "^0.62.2", "@vueuse/core": "^11.0.1", @@ -36,6 +33,9 @@ "@antfu/eslint-config": "^2.27.1", "@iconify-json/carbon": "^1.1.37", "@intlify/unplugin-vue-i18n": "^4.0.0", + "@nailyjs/backend": "^1.0.14", + "@nailyjs/ioc": "^1.0.14", + "@nailyjs/rpc": "^1.0.14", "@shikijs/markdown-it": "^1.14.1", "@types/markdown-it-link-attributes": "^3.0.5", "@types/nprogress": "^0.2.3", @@ -54,6 +54,7 @@ "lint-staged": "^15.2.9", "markdown-it-link-attributes": "^4.0.1", "pnpm": "^9.8.0", + "reflect-metadata": "^0.2.2", "rollup": "^4.21.0", "shiki": "^1.14.1", "simple-git-hooks": "^2.11.1", @@ -61,7 +62,7 @@ "typescript": "^5.5.4", "unocss": "^0.62.2", "unplugin-auto-import": "^0.18.2", - "unplugin-rpc": "^1.0.13", + "unplugin-rpc": "^1.0.14", "unplugin-vue-components": "^0.27.4", "unplugin-vue-macros": "^2.11.6", "unplugin-vue-markdown": "^0.26.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b7f1b4..bad9ebe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,15 +11,6 @@ importers: .: dependencies: - '@nailyjs/backend': - specifier: ^1.0.13 - version: 1.0.13 - '@nailyjs/ioc': - specifier: ^1.0.13 - version: 1.0.13 - '@nailyjs/rpc': - specifier: ^1.0.13 - version: 1.0.13 '@unhead/vue': specifier: ^1.10.0 version: 1.10.0(vue@3.4.38(typescript@5.5.4)) @@ -60,6 +51,15 @@ importers: '@intlify/unplugin-vue-i18n': specifier: ^4.0.0 version: 4.0.0(rollup@4.21.0)(vue-i18n@9.14.0(vue@3.4.38(typescript@5.5.4))) + '@nailyjs/backend': + specifier: ^1.0.13 + version: 1.0.13 + '@nailyjs/ioc': + specifier: ^1.0.13 + version: 1.0.13 + '@nailyjs/rpc': + specifier: ^1.0.13 + version: 1.0.13 '@shikijs/markdown-it': specifier: ^1.14.1 version: 1.14.1 @@ -114,6 +114,9 @@ importers: pnpm: specifier: ^9.8.0 version: 9.8.0 + reflect-metadata: + specifier: ^0.2.2 + version: 0.2.2 rollup: specifier: ^4.21.0 version: 4.21.0 diff --git a/vite.config.ts b/vite.config.ts index d5f1781..b64afd1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -175,7 +175,7 @@ export default defineConfig({ await buildServer({ viteOptions: { ssr: { - noExternal: [/^@nailyjs/], + noExternal: true, }, }, })