From 51336e07bdca9d2d23d7409fd0b45eae8072a232 Mon Sep 17 00:00:00 2001 From: TomyJan Date: Tue, 10 Sep 2024 12:03:17 +0800 Subject: [PATCH] perf(plugin-wechat-auth): add to tachybase preset (#1520) Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/1520 Reviewed-by: sealday Co-authored-by: TomyJan Co-committed-by: TomyJan --- packages/presets/base/package.json | 1 + packages/presets/base/src/server/index.ts | 1 + pnpm-lock.yaml | 3 +++ 3 files changed, 5 insertions(+) diff --git a/packages/presets/base/package.json b/packages/presets/base/package.json index 86dad0d9c..c0503a419 100644 --- a/packages/presets/base/package.json +++ b/packages/presets/base/package.json @@ -51,6 +51,7 @@ "@tachybase/plugin-ui-schema-storage": "workspace:*", "@tachybase/plugin-users": "workspace:*", "@tachybase/plugin-verification": "workspace:*", + "@tachybase/plugin-wechat-auth": "workspace:*", "@tachybase/plugin-work-wechat": "workspace:*", "@tachybase/plugin-workflow": "workspace:*", "@tachybase/schema": "workspace:*", diff --git a/packages/presets/base/src/server/index.ts b/packages/presets/base/src/server/index.ts index 246d0e425..55cfb608b 100644 --- a/packages/presets/base/src/server/index.ts +++ b/packages/presets/base/src/server/index.ts @@ -61,6 +61,7 @@ export class PresetTachyBase extends Plugin { 'sms-auth>=0.10.0-alpha.2', 'snapshot-field>=0.8.1-alpha.3', 'theme-editor>=0.11.1-alpha.1', + 'wechat-auth>=0.21.89', ]; get localPlugins() { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 06acf596f..65b1adbdb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4500,6 +4500,9 @@ importers: '@tachybase/plugin-verification': specifier: workspace:* version: link:../../plugins/@tachybase/plugin-verification + '@tachybase/plugin-wechat-auth': + specifier: workspace:* + version: link:../../plugins/@tachybase/plugin-wechat-auth '@tachybase/plugin-work-wechat': specifier: workspace:* version: link:../../plugins/@tachybase/plugin-work-wechat