From a881ee08528ce59554533a3ba685cded3f1d722d Mon Sep 17 00:00:00 2001 From: muxiangqiu Date: Sun, 5 May 2024 11:39:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=20authing=20?= =?UTF-8?q?=E5=92=8C=20qq-guild-bot-adapter=20=E8=BF=87=E6=97=B6=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=B9=B6=E4=BC=98=E5=8C=96=E4=BA=86=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20ui=20=E5=92=8C=20cloud=20=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=88=86=E7=B1=BB=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 +- CHANGELOG.md | 4 + {packages/antd => cloud/cloud}/.eslintrc.js | 0 {packages => cloud}/cloud/README.md | 0 cloud/cloud/compile.tsconfig.json | 16 + {packages => cloud}/cloud/malagu.yml | 0 {packages => cloud}/cloud/package.json | 0 .../cloud/src/common/account-protocol.ts | 0 .../cloud/src/common/client-protocol.ts | 0 .../cloud/src/common/cloud-protocol.ts | 0 .../cloud/src/common/credentials-protocol.ts | 0 {packages => cloud}/cloud/src/common/index.ts | 0 .../src/common/object-storage-protocol.ts | 0 .../cloud/src/common/region-protocol.ts | 0 .../cloud/src/node/account-provider.ts | 0 .../cloud/src/node/client-options-provider.ts | 0 .../cloud/src/node/credentials-provider.ts | 0 {packages => cloud}/cloud/src/node/index.ts | 0 .../cloud}/src/node/module.ts | 0 .../cloud/src/node/regin-provider.ts | 0 {packages => cloud}/cloud/src/package.spec.ts | 0 {packages/authing => cloud/cos}/.eslintrc.js | 0 {packages => cloud}/cos/README.md | 0 .../s3 => cloud/cos}/compile.tsconfig.json | 2 +- {packages => cloud}/cos/malagu.yml | 0 {packages => cloud}/cos/package.json | 0 {packages => cloud}/cos/src/node/index.ts | 0 .../cloud => cloud/cos}/src/node/module.ts | 0 .../cos/src/node/object-storage-service.ts | 0 {packages => cloud}/cos/src/package.spec.ts | 0 .../cloud => cloud/faas-adapter}/.eslintrc.js | 0 {packages => cloud}/faas-adapter/README.md | 0 .../faas-adapter/compile.tsconfig.json | 10 +- .../faas-adapter/malagu-event.yml | 0 {packages => cloud}/faas-adapter/malagu.yml | 0 {packages => cloud}/faas-adapter/package.json | 0 .../faas-adapter/src/hooks/serve.ts | 0 .../src/node/credentials-provider.ts | 0 .../src/node/dev-event-application-entry.ts | 0 .../src/node/event/event-listener.ts | 0 .../src/node/event/event-protocol.ts | 0 .../faas-adapter/src/node/event/index.ts | 0 .../src/node/factory/cron-job-factory.ts | 0 .../faas-adapter/src/node/factory/index.ts | 0 .../faas-adapter/src/node/index.ts | 0 .../faas-adapter}/src/node/module.ts | 0 .../faas-adapter/src/node/regin-provider.ts | 0 .../faas-adapter/src/node/timer/clock.ts | 0 .../faas-adapter/src/node/timer/cron-job.ts | 0 .../faas-adapter/src/node/timer/events.ts | 0 .../faas-adapter/src/node/timer/index.ts | 0 .../src/node/timer/timer-protocol.ts | 0 .../faas-adapter/src/node/utils.ts | 0 .../faas-adapter/src/package.spec.ts | 0 .../cos => cloud/fc-adapter}/.eslintrc.js | 0 {packages => cloud}/fc-adapter/README.md | 0 .../fc-adapter/compile.tsconfig.json | 8 +- .../fc-adapter/malagu-api-gateway-mode.yml | 0 .../fc-adapter/malagu-event-mode.yml | 0 .../fc-adapter/malagu-http-mode.yml | 0 .../fc-adapter/malagu-mns-topic-mode.yml | 0 .../fc-adapter/malagu-remote.yml | 0 .../fc-adapter/malagu-sample-http-mode.yml | 0 .../fc-adapter/malagu-timer-mode.yml | 0 {packages => cloud}/fc-adapter/malagu.yml | 0 {packages => cloud}/fc-adapter/package.json | 0 .../fc-adapter/src/node/account-provider.ts | 0 .../src/node/api-gateway-application-entry.ts | 0 .../src/node/credentials-provider.ts | 0 .../src/node/event-application-entry.ts | 0 .../src/node/http-application-entry.ts | 0 .../fc-adapter/src/node/index.ts | 0 .../fc-adapter}/src/node/module.ts | 0 .../fc-adapter/src/node/regin-provider.ts | 0 .../src/node/sample-http-application-entry.ts | 0 .../src/node/timer-application-entry.ts | 0 .../fc-adapter/src/package.spec.ts | 0 .../lambda-adapter}/.eslintrc.js | 0 {packages => cloud}/lambda-adapter/README.md | 0 .../lambda-adapter/compile.tsconfig.json | 8 +- .../malagu-api-gateway-mode.yml | 0 .../lambda-adapter/malagu-event-mode.yml | 0 .../lambda-adapter/malagu-remote.yml | 0 .../lambda-adapter/malagu-timer-mode.yml | 0 .../lambda-adapter}/malagu.yml | 0 .../lambda-adapter/package.json | 0 .../src/node/api-gateway-application-entry.ts | 0 .../src/node/credentials-provider.ts | 0 .../src/node/event-application-entry.ts | 0 .../lambda-adapter/src/node/index.ts | 0 .../lambda-adapter}/src/node/module.ts | 0 .../lambda-adapter/src/node/regin-provider.ts | 0 .../src/node/timer-application-entry.ts | 0 .../lambda-adapter/src/package.spec.ts | 0 .../fc-adapter => cloud/oss}/.eslintrc.js | 0 {packages => cloud}/oss/README.md | 0 {packages => cloud}/oss/compile.tsconfig.json | 2 +- .../lambda-adapter => cloud/oss}/malagu.yml | 0 {packages => cloud}/oss/package.json | 0 {packages => cloud}/oss/src/node/index.ts | 0 .../oss}/src/node/module.ts | 0 .../oss/src/node/object-storage-service.ts | 0 {packages => cloud}/oss/src/package.spec.ts | 0 {packages/grommet => cloud/s3}/.eslintrc.js | 0 {packages => cloud}/s3/README.md | 0 .../cos => cloud/s3}/compile.tsconfig.json | 2 +- {packages/oss => cloud/s3}/malagu.yml | 0 {packages => cloud}/s3/package.json | 0 {packages => cloud}/s3/src/node/index.ts | 0 {packages/oss => cloud/s3}/src/node/module.ts | 0 .../s3/src/node/object-storage-service.ts | 0 {packages => cloud}/s3/src/package.spec.ts | 0 .../scf-adapter}/.eslintrc.js | 0 {packages => cloud}/scf-adapter/README.md | 0 .../scf-adapter/compile.tsconfig.json | 8 +- .../malagu-api-gateway-basic-mode.yml | 0 .../scf-adapter/malagu-api-gateway-mode.yml | 0 .../scf-adapter/malagu-event-mode.yml | 0 .../scf-adapter/malagu-http-mode.yml | 0 .../scf-adapter/malagu-remote.yml | 0 .../scf-adapter/malagu-timer-mode.yml | 0 .../scf-adapter}/malagu.yml | 0 {packages => cloud}/scf-adapter/package.json | 0 .../scf-adapter/src/node/account-provider.ts | 0 .../src/node/api-gateway-application-entry.ts | 0 .../src/node/credentials-provider.ts | 0 .../src/node/event-application-entry.ts | 0 .../src/node/http-application-entry.ts | 0 .../scf-adapter/src/node/index.ts | 0 .../scf-adapter}/src/node/module.ts | 0 .../scf-adapter/src/node/regin-provider.ts | 0 .../src/node/timer-application-entry.ts | 0 .../scf-adapter/src/package.spec.ts | 0 .../vercel-adapter}/.eslintrc.js | 0 {packages => cloud}/vercel-adapter/README.md | 0 .../vercel-adapter/compile.tsconfig.json | 8 +- .../vercel-adapter/malagu-remote.yml | 0 {packages => cloud}/vercel-adapter/malagu.yml | 0 .../vercel-adapter/package.json | 0 .../vercel-adapter/src/hooks/build.ts | 0 .../vercel-adapter/src/hooks/deploy.ts | 0 .../vercel-adapter/src/node/context.ts | 0 .../src/node/http-application-entry.ts | 0 .../vercel-adapter/src/node/index.ts | 0 .../vercel-adapter/src/node/module.ts | 0 .../vercel-adapter/src/package.spec.ts | 0 configs/root-compilation.tsconfig.json | 102 +++---- examples/qq-guild-bot-app/.gitignore | 22 -- examples/qq-guild-bot-app/bot-config.json | 9 - examples/qq-guild-bot-app/malagu.yml | 5 - examples/qq-guild-bot-app/package.json | 13 - examples/qq-guild-bot-app/src/atMessage.js | 11 - examples/qq-guild-bot-app/src/utils/add.js | 7 - package.json | 3 + packages/authing/README.md | 1 - packages/authing/compile.tsconfig.json | 22 -- packages/authing/malagu.yml | 14 - packages/authing/package.json | 50 ---- packages/authing/src/node/access/index.ts | 2 - .../src/node/access/policy-provider.ts | 29 -- .../src/node/access/policy-resolver.ts | 21 -- .../authentication/authentication-provider.ts | 94 ------ .../node/authentication/authing-provider.ts | 20 -- .../authing/src/node/authentication/index.ts | 2 - .../src/node/handler/handler-adapter.ts | 85 ------ .../src/node/handler/handler-protocol.ts | 115 -------- packages/authing/src/node/handler/index.ts | 2 - packages/authing/src/node/index.ts | 5 - packages/authing/src/node/user/index.ts | 1 - .../authing/src/node/user/user-service.ts | 37 --- packages/authing/src/package.spec.ts | 4 - packages/cloud/compile.tsconfig.json | 16 - packages/puppeteer/compile.tsconfig.json | 6 +- packages/qq-guild-bot-adapter/README.md | 1 - .../compile.tsconfig.json | 25 -- packages/qq-guild-bot-adapter/package.json | 46 --- .../src/hooks/event-loader.ts | 17 -- .../qq-guild-bot-adapter/src/hooks/webpack.ts | 39 --- .../src/node/event-listener.ts | 55 ---- .../qq-guild-bot-adapter/src/node/index.ts | 1 - .../qq-guild-bot-adapter/src/package.spec.ts | 4 - packages/s3/src/node/module.ts | 4 - packages/scf-adapter/malagu.yml | 0 packages/scf-adapter/src/node/module.ts | 4 - packages/shell/src/node/index.ts | 0 packages/vue/.eslintrc.js | 10 - packages/widget/.eslintrc.js | 10 - packages/widget/compile.tsconfig.json | 16 - tsconfig.json | 37 +-- {packages/oss => ui/antd}/.eslintrc.js | 0 {packages => ui}/antd/README.md | 0 {packages => ui}/antd/compile.tsconfig.json | 2 +- {packages => ui}/antd/malagu-cdn.yml | 0 {packages => ui}/antd/malagu.yml | 0 {packages => ui}/antd/package.json | 0 .../src/browser/config/config-context.tsx | 0 .../src/browser/config/config-protocol.ts | 0 .../src/browser/config/config-provider.ts | 0 .../antd/src/browser/config/index.ts | 0 {packages => ui}/antd/src/browser/index.ts | 0 {packages => ui}/antd/src/browser/module.ts | 0 {packages => ui}/antd/src/package.spec.ts | 0 .../grommet}/.eslintrc.js | 0 {packages => ui}/grommet/README.md | 0 .../grommet/compile.tsconfig.json | 4 +- {packages/s3 => ui/grommet}/malagu.yml | 0 {packages => ui}/grommet/package.json | 0 .../grommet/src/browser/icon/cellbang.tsx | 0 .../grommet/src/browser/icon/icon-protocol.ts | 0 .../src/browser/icon/icon-resolver.tsx | 0 .../grommet/src/browser/icon/icon.tsx | 0 .../grommet/src/browser/icon/index.ts | 0 {packages => ui}/grommet/src/browser/index.ts | 0 .../grommet/src/browser/locale-menu/index.ts | 0 .../src/browser/locale-menu/locale-menu.tsx | 0 .../grommet/src/browser/module.ts | 0 .../grommet/src/browser/nav-item/index.ts | 0 .../grommet/src/browser/nav-item/nav-item.tsx | 0 .../grommet/src/browser/theme-box/index.ts | 0 .../src/browser/theme-box/theme-box.tsx | 0 .../grommet/src/browser/theme/index.ts | 0 .../src/browser/theme/theme-context.tsx | 0 .../src/browser/theme/theme-protocol.ts | 0 .../grommet/src/browser/widget/index.ts | 0 .../src/browser/widget/widget-factory.tsx | 0 .../src/browser/widget/widget-protocol.ts | 0 .../grommet/src/browser/widget/widgets.ts | 0 {packages => ui}/grommet/src/package.spec.ts | 0 .../react => ui/material-ui}/.eslintrc.js | 0 {packages => ui}/material-ui/README.md | 0 .../material-ui/compile.tsconfig.json | 2 +- {packages => ui}/material-ui/malagu-cdn.yml | 0 {packages => ui}/material-ui/package.json | 0 .../material-ui/src/browser/index.ts | 0 .../material-ui/src/browser/module.ts | 0 .../material-ui/src/browser/theme/index.ts | 0 .../src/browser/theme/theme-context.tsx | 0 .../src/browser/theme/theme-protocol.ts | 0 .../src/browser/theme/theme-provider.ts | 0 .../material-ui/src/package.spec.ts | 0 {packages/s3 => ui/react}/.eslintrc.js | 0 {packages => ui}/react/README.md | 0 {packages => ui}/react/compile.tsconfig.json | 2 +- {packages => ui}/react/malagu-cdn.yml | 0 {packages => ui}/react/malagu.yml | 0 {packages => ui}/react/package.json | 0 .../react/src/browser/annotation/app.ts | 0 .../react/src/browser/annotation/context.ts | 0 .../src/browser/annotation/default-layout.ts | 0 .../react/src/browser/annotation/icon.ts | 0 .../react/src/browser/annotation/index.ts | 0 .../src/browser/annotation/react-component.ts | 0 .../react/src/browser/annotation/route.ts | 0 .../react/src/browser/annotation/router.ts | 0 .../react/src/browser/annotation/view.ts | 0 .../react/src/browser/app/app-protocol.ts | 0 .../react/src/browser/app/app.tsx | 0 .../react/src/browser/app/index.ts | 0 .../src/browser/context/context-protocol.ts | 0 .../src/browser/context/context-provider.ts | 0 .../react/src/browser/context/context.tsx | 0 .../react/src/browser/context/index.ts | 0 .../react/src/browser/icon/icon-protocol.ts | 0 .../react/src/browser/icon/icon.tsx | 0 .../react/src/browser/icon/index.ts | 0 {packages => ui}/react/src/browser/index.ts | 0 .../react/src/browser/layout/index.ts | 0 .../src/browser/layout/layout-protocol.ts | 0 .../react/src/browser/layout/layout.tsx | 0 .../react/src/browser/locale/index.ts | 0 .../src/browser/locale/locale-context.tsx | 0 .../src/browser/locale/locale-protocol.ts | 0 {packages => ui}/react/src/browser/module.ts | 0 .../react/src/browser/resolver/index.ts | 0 .../src/browser/resolver/path-resolver.ts | 0 .../src/browser/resolver/resolver-protocol.ts | 0 .../react/src/browser/router/index.ts | 0 .../route-metadata-converter-provider.ts | 0 .../router/route-metadata-converter.ts | 0 .../router/route-metadata-provider.tsx | 0 .../src/browser/router/router-protocol.ts | 0 .../react/src/browser/router/router.tsx | 0 .../react/src/browser/shell/index.ts | 0 .../react/src/browser/shell/shell.tsx | 0 .../react/src/browser/slot/index.ts | 0 .../react/src/browser/slot/slot.tsx | 0 .../react/src/browser/widget/index.ts | 0 .../src/browser/widget/widget-factory.ts | 0 {packages => ui}/react/src/hooks/webpack.ts | 0 {packages => ui}/react/src/package.spec.ts | 0 .../scf-adapter => ui/shell}/.eslintrc.js | 0 {packages => ui}/shell/README.md | 0 {packages => ui}/shell/compile.tsconfig.json | 8 +- {packages => ui}/shell/malagu-locale.yml | 0 {packages => ui}/shell/malagu.yml | 0 {packages => ui}/shell/package.json | 0 .../shell/src/browser/annotation/index.ts | 0 .../shell/src/browser/annotation/left-area.ts | 0 .../shell/src/browser/annotation/top-area.ts | 0 .../shell/src/browser/apps/app-service.ts | 0 .../shell/src/browser/apps/apps.tsx | 0 .../shell/src/browser/apps/index.ts | 0 .../shell/src/browser/area/area-protocol.ts | 0 .../shell/src/browser/area/index.ts | 0 .../shell/src/browser/area/left/index.ts | 0 .../shell/src/browser/area/left/left.tsx | 0 .../shell/src/browser/area/top/index.ts | 0 .../shell/src/browser/area/top/top.tsx | 0 {packages => ui}/shell/src/browser/index.ts | 0 .../shell/src/browser/layout/index.ts | 0 .../shell/src/browser/layout/layout.tsx | 0 {packages => ui}/shell/src/browser/module.ts | 0 .../shell/src/browser/tool/account.tsx | 0 .../shell/src/browser/tool/app-set.tsx | 0 .../shell/src/browser/tool/index.ts | 0 .../shell/src/browser/tool/logo.tsx | 0 .../shell/src/browser/tool/settings.tsx | 0 {packages => ui}/shell/src/common/index.ts | 0 .../shell/src/common/shell-protocol.ts | 0 .../src/common => ui/shell/src/node}/index.ts | 0 {packages => ui}/shell/src/node/module.ts | 0 {packages => ui}/shell/src/package.spec.ts | 0 {packages/shell => ui/vue}/.eslintrc.js | 0 {packages => ui}/vue/README.md | 0 {packages => ui}/vue/compile.tsconfig.json | 6 +- {packages => ui}/vue/malagu-cdn.yml | 0 {packages => ui}/vue/malagu.yml | 0 {packages => ui}/vue/package.json | 0 .../vue/src/browser/annotation/app.ts | 0 .../vue/src/browser/annotation/index.ts | 0 {packages => ui}/vue/src/browser/index.ts | 0 {packages => ui}/vue/src/browser/module.ts | 0 .../vue/src/browser/resolver/index.ts | 0 .../vue/src/browser/resolver/path-resolver.ts | 0 .../src/browser/resolver/resolver-protocol.ts | 0 .../vue/src/browser/shell/index.ts | 0 .../vue/src/browser/shell/shell.tsx | 0 {packages => ui}/vue/src/hooks/webpack.ts | 0 {packages => ui}/vue/src/package.spec.ts | 0 .../vercel-adapter => ui/widget}/.eslintrc.js | 0 {packages => ui}/widget/README.md | 0 ui/widget/compile.tsconfig.json | 16 + {packages => ui}/widget/malagu.yml | 0 {packages => ui}/widget/package.json | 0 .../widget/src/browser/annotation/index.ts | 0 .../widget/src/browser/annotation/widget.ts | 0 {packages => ui}/widget/src/browser/index.ts | 0 .../widget/src/browser/keyboard/index.ts | 0 .../widget/src/browser/keyboard/keys.ts | 0 .../widget/src/browser/locale/index.ts | 0 .../src/browser/locale/locale-manager.ts | 0 .../src/browser/locale/locale-protocol.ts | 0 {packages => ui}/widget/src/browser/module.ts | 0 .../widget/src/browser/theme/index.ts | 0 .../widget/src/browser/theme/theme-manager.ts | 0 .../src/browser/theme/theme-protocol.ts | 0 .../widget/src/browser/widget/index.ts | 0 .../src/browser/widget/widget-factory.ts | 0 .../src/browser/widget/widget-manager.ts | 0 .../src/browser/widget/widget-protocol.ts | 0 .../widget/src/browser/widget/widget-util.ts | 0 {packages => ui}/widget/src/package.spec.ts | 0 yarn.lock | 275 +----------------- 363 files changed, 163 insertions(+), 1193 deletions(-) rename {packages/antd => cloud/cloud}/.eslintrc.js (100%) rename {packages => cloud}/cloud/README.md (100%) create mode 100644 cloud/cloud/compile.tsconfig.json rename {packages => cloud}/cloud/malagu.yml (100%) rename {packages => cloud}/cloud/package.json (100%) rename {packages => cloud}/cloud/src/common/account-protocol.ts (100%) rename {packages => cloud}/cloud/src/common/client-protocol.ts (100%) rename {packages => cloud}/cloud/src/common/cloud-protocol.ts (100%) rename {packages => cloud}/cloud/src/common/credentials-protocol.ts (100%) rename {packages => cloud}/cloud/src/common/index.ts (100%) rename {packages => cloud}/cloud/src/common/object-storage-protocol.ts (100%) rename {packages => cloud}/cloud/src/common/region-protocol.ts (100%) rename {packages => cloud}/cloud/src/node/account-provider.ts (100%) rename {packages => cloud}/cloud/src/node/client-options-provider.ts (100%) rename {packages => cloud}/cloud/src/node/credentials-provider.ts (100%) rename {packages => cloud}/cloud/src/node/index.ts (100%) rename {packages/authing => cloud/cloud}/src/node/module.ts (100%) rename {packages => cloud}/cloud/src/node/regin-provider.ts (100%) rename {packages => cloud}/cloud/src/package.spec.ts (100%) rename {packages/authing => cloud/cos}/.eslintrc.js (100%) rename {packages => cloud}/cos/README.md (100%) rename {packages/s3 => cloud/cos}/compile.tsconfig.json (82%) rename {packages => cloud}/cos/malagu.yml (100%) rename {packages => cloud}/cos/package.json (100%) rename {packages => cloud}/cos/src/node/index.ts (100%) rename {packages/cloud => cloud/cos}/src/node/module.ts (100%) rename {packages => cloud}/cos/src/node/object-storage-service.ts (100%) rename {packages => cloud}/cos/src/package.spec.ts (100%) rename {packages/cloud => cloud/faas-adapter}/.eslintrc.js (100%) rename {packages => cloud}/faas-adapter/README.md (100%) rename {packages => cloud}/faas-adapter/compile.tsconfig.json (72%) rename {packages => cloud}/faas-adapter/malagu-event.yml (100%) rename {packages => cloud}/faas-adapter/malagu.yml (100%) rename {packages => cloud}/faas-adapter/package.json (100%) rename {packages => cloud}/faas-adapter/src/hooks/serve.ts (100%) rename {packages => cloud}/faas-adapter/src/node/credentials-provider.ts (100%) rename {packages => cloud}/faas-adapter/src/node/dev-event-application-entry.ts (100%) rename {packages => cloud}/faas-adapter/src/node/event/event-listener.ts (100%) rename {packages => cloud}/faas-adapter/src/node/event/event-protocol.ts (100%) rename {packages => cloud}/faas-adapter/src/node/event/index.ts (100%) rename {packages => cloud}/faas-adapter/src/node/factory/cron-job-factory.ts (100%) rename {packages => cloud}/faas-adapter/src/node/factory/index.ts (100%) rename {packages => cloud}/faas-adapter/src/node/index.ts (100%) rename {packages/cos => cloud/faas-adapter}/src/node/module.ts (100%) rename {packages => cloud}/faas-adapter/src/node/regin-provider.ts (100%) rename {packages => cloud}/faas-adapter/src/node/timer/clock.ts (100%) rename {packages => cloud}/faas-adapter/src/node/timer/cron-job.ts (100%) rename {packages => cloud}/faas-adapter/src/node/timer/events.ts (100%) rename {packages => cloud}/faas-adapter/src/node/timer/index.ts (100%) rename {packages => cloud}/faas-adapter/src/node/timer/timer-protocol.ts (100%) rename {packages => cloud}/faas-adapter/src/node/utils.ts (100%) rename {packages => cloud}/faas-adapter/src/package.spec.ts (100%) rename {packages/cos => cloud/fc-adapter}/.eslintrc.js (100%) rename {packages => cloud}/fc-adapter/README.md (100%) rename {packages => cloud}/fc-adapter/compile.tsconfig.json (75%) rename {packages => cloud}/fc-adapter/malagu-api-gateway-mode.yml (100%) rename {packages => cloud}/fc-adapter/malagu-event-mode.yml (100%) rename {packages => cloud}/fc-adapter/malagu-http-mode.yml (100%) rename {packages => cloud}/fc-adapter/malagu-mns-topic-mode.yml (100%) rename {packages => cloud}/fc-adapter/malagu-remote.yml (100%) rename {packages => cloud}/fc-adapter/malagu-sample-http-mode.yml (100%) rename {packages => cloud}/fc-adapter/malagu-timer-mode.yml (100%) rename {packages => cloud}/fc-adapter/malagu.yml (100%) rename {packages => cloud}/fc-adapter/package.json (100%) rename {packages => cloud}/fc-adapter/src/node/account-provider.ts (100%) rename {packages => cloud}/fc-adapter/src/node/api-gateway-application-entry.ts (100%) rename {packages => cloud}/fc-adapter/src/node/credentials-provider.ts (100%) rename {packages => cloud}/fc-adapter/src/node/event-application-entry.ts (100%) rename {packages => cloud}/fc-adapter/src/node/http-application-entry.ts (100%) rename {packages => cloud}/fc-adapter/src/node/index.ts (100%) rename {packages/faas-adapter => cloud/fc-adapter}/src/node/module.ts (100%) rename {packages => cloud}/fc-adapter/src/node/regin-provider.ts (100%) rename {packages => cloud}/fc-adapter/src/node/sample-http-application-entry.ts (100%) rename {packages => cloud}/fc-adapter/src/node/timer-application-entry.ts (100%) rename {packages => cloud}/fc-adapter/src/package.spec.ts (100%) rename {packages/faas-adapter => cloud/lambda-adapter}/.eslintrc.js (100%) rename {packages => cloud}/lambda-adapter/README.md (100%) rename {packages => cloud}/lambda-adapter/compile.tsconfig.json (76%) rename {packages => cloud}/lambda-adapter/malagu-api-gateway-mode.yml (100%) rename {packages => cloud}/lambda-adapter/malagu-event-mode.yml (100%) rename {packages => cloud}/lambda-adapter/malagu-remote.yml (100%) rename {packages => cloud}/lambda-adapter/malagu-timer-mode.yml (100%) rename {packages/grommet => cloud/lambda-adapter}/malagu.yml (100%) rename {packages => cloud}/lambda-adapter/package.json (100%) rename {packages => cloud}/lambda-adapter/src/node/api-gateway-application-entry.ts (100%) rename {packages => cloud}/lambda-adapter/src/node/credentials-provider.ts (100%) rename {packages => cloud}/lambda-adapter/src/node/event-application-entry.ts (100%) rename {packages => cloud}/lambda-adapter/src/node/index.ts (100%) rename {packages/fc-adapter => cloud/lambda-adapter}/src/node/module.ts (100%) rename {packages => cloud}/lambda-adapter/src/node/regin-provider.ts (100%) rename {packages => cloud}/lambda-adapter/src/node/timer-application-entry.ts (100%) rename {packages => cloud}/lambda-adapter/src/package.spec.ts (100%) rename {packages/fc-adapter => cloud/oss}/.eslintrc.js (100%) rename {packages => cloud}/oss/README.md (100%) rename {packages => cloud}/oss/compile.tsconfig.json (82%) rename {packages/lambda-adapter => cloud/oss}/malagu.yml (100%) rename {packages => cloud}/oss/package.json (100%) rename {packages => cloud}/oss/src/node/index.ts (100%) rename {packages/lambda-adapter => cloud/oss}/src/node/module.ts (100%) rename {packages => cloud}/oss/src/node/object-storage-service.ts (100%) rename {packages => cloud}/oss/src/package.spec.ts (100%) rename {packages/grommet => cloud/s3}/.eslintrc.js (100%) rename {packages => cloud}/s3/README.md (100%) rename {packages/cos => cloud/s3}/compile.tsconfig.json (82%) rename {packages/oss => cloud/s3}/malagu.yml (100%) rename {packages => cloud}/s3/package.json (100%) rename {packages => cloud}/s3/src/node/index.ts (100%) rename {packages/oss => cloud/s3}/src/node/module.ts (100%) rename {packages => cloud}/s3/src/node/object-storage-service.ts (100%) rename {packages => cloud}/s3/src/package.spec.ts (100%) rename {packages/lambda-adapter => cloud/scf-adapter}/.eslintrc.js (100%) rename {packages => cloud}/scf-adapter/README.md (100%) rename {packages => cloud}/scf-adapter/compile.tsconfig.json (76%) rename {packages => cloud}/scf-adapter/malagu-api-gateway-basic-mode.yml (100%) rename {packages => cloud}/scf-adapter/malagu-api-gateway-mode.yml (100%) rename {packages => cloud}/scf-adapter/malagu-event-mode.yml (100%) rename {packages => cloud}/scf-adapter/malagu-http-mode.yml (100%) rename {packages => cloud}/scf-adapter/malagu-remote.yml (100%) rename {packages => cloud}/scf-adapter/malagu-timer-mode.yml (100%) rename {packages/qq-guild-bot-adapter => cloud/scf-adapter}/malagu.yml (100%) rename {packages => cloud}/scf-adapter/package.json (100%) rename {packages => cloud}/scf-adapter/src/node/account-provider.ts (100%) rename {packages => cloud}/scf-adapter/src/node/api-gateway-application-entry.ts (100%) rename {packages => cloud}/scf-adapter/src/node/credentials-provider.ts (100%) rename {packages => cloud}/scf-adapter/src/node/event-application-entry.ts (100%) rename {packages => cloud}/scf-adapter/src/node/http-application-entry.ts (100%) rename {packages => cloud}/scf-adapter/src/node/index.ts (100%) rename {packages/qq-guild-bot-adapter => cloud/scf-adapter}/src/node/module.ts (100%) rename {packages => cloud}/scf-adapter/src/node/regin-provider.ts (100%) rename {packages => cloud}/scf-adapter/src/node/timer-application-entry.ts (100%) rename {packages => cloud}/scf-adapter/src/package.spec.ts (100%) rename {packages/material-ui => cloud/vercel-adapter}/.eslintrc.js (100%) rename {packages => cloud}/vercel-adapter/README.md (100%) rename {packages => cloud}/vercel-adapter/compile.tsconfig.json (77%) rename {packages => cloud}/vercel-adapter/malagu-remote.yml (100%) rename {packages => cloud}/vercel-adapter/malagu.yml (100%) rename {packages => cloud}/vercel-adapter/package.json (100%) rename {packages => cloud}/vercel-adapter/src/hooks/build.ts (100%) rename {packages => cloud}/vercel-adapter/src/hooks/deploy.ts (100%) rename {packages => cloud}/vercel-adapter/src/node/context.ts (100%) rename {packages => cloud}/vercel-adapter/src/node/http-application-entry.ts (100%) rename {packages => cloud}/vercel-adapter/src/node/index.ts (100%) rename {packages => cloud}/vercel-adapter/src/node/module.ts (100%) rename {packages => cloud}/vercel-adapter/src/package.spec.ts (100%) delete mode 100644 examples/qq-guild-bot-app/.gitignore delete mode 100644 examples/qq-guild-bot-app/bot-config.json delete mode 100644 examples/qq-guild-bot-app/malagu.yml delete mode 100644 examples/qq-guild-bot-app/package.json delete mode 100644 examples/qq-guild-bot-app/src/atMessage.js delete mode 100644 examples/qq-guild-bot-app/src/utils/add.js delete mode 100644 packages/authing/README.md delete mode 100644 packages/authing/compile.tsconfig.json delete mode 100644 packages/authing/malagu.yml delete mode 100644 packages/authing/package.json delete mode 100644 packages/authing/src/node/access/index.ts delete mode 100644 packages/authing/src/node/access/policy-provider.ts delete mode 100644 packages/authing/src/node/access/policy-resolver.ts delete mode 100644 packages/authing/src/node/authentication/authentication-provider.ts delete mode 100644 packages/authing/src/node/authentication/authing-provider.ts delete mode 100644 packages/authing/src/node/authentication/index.ts delete mode 100644 packages/authing/src/node/handler/handler-adapter.ts delete mode 100644 packages/authing/src/node/handler/handler-protocol.ts delete mode 100644 packages/authing/src/node/handler/index.ts delete mode 100644 packages/authing/src/node/index.ts delete mode 100644 packages/authing/src/node/user/index.ts delete mode 100644 packages/authing/src/node/user/user-service.ts delete mode 100644 packages/authing/src/package.spec.ts delete mode 100644 packages/cloud/compile.tsconfig.json delete mode 100644 packages/qq-guild-bot-adapter/README.md delete mode 100644 packages/qq-guild-bot-adapter/compile.tsconfig.json delete mode 100644 packages/qq-guild-bot-adapter/package.json delete mode 100644 packages/qq-guild-bot-adapter/src/hooks/event-loader.ts delete mode 100644 packages/qq-guild-bot-adapter/src/hooks/webpack.ts delete mode 100644 packages/qq-guild-bot-adapter/src/node/event-listener.ts delete mode 100644 packages/qq-guild-bot-adapter/src/node/index.ts delete mode 100644 packages/qq-guild-bot-adapter/src/package.spec.ts delete mode 100644 packages/s3/src/node/module.ts delete mode 100644 packages/scf-adapter/malagu.yml delete mode 100644 packages/scf-adapter/src/node/module.ts delete mode 100644 packages/shell/src/node/index.ts delete mode 100644 packages/vue/.eslintrc.js delete mode 100644 packages/widget/.eslintrc.js delete mode 100644 packages/widget/compile.tsconfig.json rename {packages/oss => ui/antd}/.eslintrc.js (100%) rename {packages => ui}/antd/README.md (100%) rename {packages => ui}/antd/compile.tsconfig.json (82%) rename {packages => ui}/antd/malagu-cdn.yml (100%) rename {packages => ui}/antd/malagu.yml (100%) rename {packages => ui}/antd/package.json (100%) rename {packages => ui}/antd/src/browser/config/config-context.tsx (100%) rename {packages => ui}/antd/src/browser/config/config-protocol.ts (100%) rename {packages => ui}/antd/src/browser/config/config-provider.ts (100%) rename {packages => ui}/antd/src/browser/config/index.ts (100%) rename {packages => ui}/antd/src/browser/index.ts (100%) rename {packages => ui}/antd/src/browser/module.ts (100%) rename {packages => ui}/antd/src/package.spec.ts (100%) rename {packages/qq-guild-bot-adapter => ui/grommet}/.eslintrc.js (100%) rename {packages => ui}/grommet/README.md (100%) rename {packages => ui}/grommet/compile.tsconfig.json (85%) rename {packages/s3 => ui/grommet}/malagu.yml (100%) rename {packages => ui}/grommet/package.json (100%) rename {packages => ui}/grommet/src/browser/icon/cellbang.tsx (100%) rename {packages => ui}/grommet/src/browser/icon/icon-protocol.ts (100%) rename {packages => ui}/grommet/src/browser/icon/icon-resolver.tsx (100%) rename {packages => ui}/grommet/src/browser/icon/icon.tsx (100%) rename {packages => ui}/grommet/src/browser/icon/index.ts (100%) rename {packages => ui}/grommet/src/browser/index.ts (100%) rename {packages => ui}/grommet/src/browser/locale-menu/index.ts (100%) rename {packages => ui}/grommet/src/browser/locale-menu/locale-menu.tsx (100%) rename {packages => ui}/grommet/src/browser/module.ts (100%) rename {packages => ui}/grommet/src/browser/nav-item/index.ts (100%) rename {packages => ui}/grommet/src/browser/nav-item/nav-item.tsx (100%) rename {packages => ui}/grommet/src/browser/theme-box/index.ts (100%) rename {packages => ui}/grommet/src/browser/theme-box/theme-box.tsx (100%) rename {packages => ui}/grommet/src/browser/theme/index.ts (100%) rename {packages => ui}/grommet/src/browser/theme/theme-context.tsx (100%) rename {packages => ui}/grommet/src/browser/theme/theme-protocol.ts (100%) rename {packages => ui}/grommet/src/browser/widget/index.ts (100%) rename {packages => ui}/grommet/src/browser/widget/widget-factory.tsx (100%) rename {packages => ui}/grommet/src/browser/widget/widget-protocol.ts (100%) rename {packages => ui}/grommet/src/browser/widget/widgets.ts (100%) rename {packages => ui}/grommet/src/package.spec.ts (100%) rename {packages/react => ui/material-ui}/.eslintrc.js (100%) rename {packages => ui}/material-ui/README.md (100%) rename {packages => ui}/material-ui/compile.tsconfig.json (82%) rename {packages => ui}/material-ui/malagu-cdn.yml (100%) rename {packages => ui}/material-ui/package.json (100%) rename {packages => ui}/material-ui/src/browser/index.ts (100%) rename {packages => ui}/material-ui/src/browser/module.ts (100%) rename {packages => ui}/material-ui/src/browser/theme/index.ts (100%) rename {packages => ui}/material-ui/src/browser/theme/theme-context.tsx (100%) rename {packages => ui}/material-ui/src/browser/theme/theme-protocol.ts (100%) rename {packages => ui}/material-ui/src/browser/theme/theme-provider.ts (100%) rename {packages => ui}/material-ui/src/package.spec.ts (100%) rename {packages/s3 => ui/react}/.eslintrc.js (100%) rename {packages => ui}/react/README.md (100%) rename {packages => ui}/react/compile.tsconfig.json (88%) rename {packages => ui}/react/malagu-cdn.yml (100%) rename {packages => ui}/react/malagu.yml (100%) rename {packages => ui}/react/package.json (100%) rename {packages => ui}/react/src/browser/annotation/app.ts (100%) rename {packages => ui}/react/src/browser/annotation/context.ts (100%) rename {packages => ui}/react/src/browser/annotation/default-layout.ts (100%) rename {packages => ui}/react/src/browser/annotation/icon.ts (100%) rename {packages => ui}/react/src/browser/annotation/index.ts (100%) rename {packages => ui}/react/src/browser/annotation/react-component.ts (100%) rename {packages => ui}/react/src/browser/annotation/route.ts (100%) rename {packages => ui}/react/src/browser/annotation/router.ts (100%) rename {packages => ui}/react/src/browser/annotation/view.ts (100%) rename {packages => ui}/react/src/browser/app/app-protocol.ts (100%) rename {packages => ui}/react/src/browser/app/app.tsx (100%) rename {packages => ui}/react/src/browser/app/index.ts (100%) rename {packages => ui}/react/src/browser/context/context-protocol.ts (100%) rename {packages => ui}/react/src/browser/context/context-provider.ts (100%) rename {packages => ui}/react/src/browser/context/context.tsx (100%) rename {packages => ui}/react/src/browser/context/index.ts (100%) rename {packages => ui}/react/src/browser/icon/icon-protocol.ts (100%) rename {packages => ui}/react/src/browser/icon/icon.tsx (100%) rename {packages => ui}/react/src/browser/icon/index.ts (100%) rename {packages => ui}/react/src/browser/index.ts (100%) rename {packages => ui}/react/src/browser/layout/index.ts (100%) rename {packages => ui}/react/src/browser/layout/layout-protocol.ts (100%) rename {packages => ui}/react/src/browser/layout/layout.tsx (100%) rename {packages => ui}/react/src/browser/locale/index.ts (100%) rename {packages => ui}/react/src/browser/locale/locale-context.tsx (100%) rename {packages => ui}/react/src/browser/locale/locale-protocol.ts (100%) rename {packages => ui}/react/src/browser/module.ts (100%) rename {packages => ui}/react/src/browser/resolver/index.ts (100%) rename {packages => ui}/react/src/browser/resolver/path-resolver.ts (100%) rename {packages => ui}/react/src/browser/resolver/resolver-protocol.ts (100%) rename {packages => ui}/react/src/browser/router/index.ts (100%) rename {packages => ui}/react/src/browser/router/route-metadata-converter-provider.ts (100%) rename {packages => ui}/react/src/browser/router/route-metadata-converter.ts (100%) rename {packages => ui}/react/src/browser/router/route-metadata-provider.tsx (100%) rename {packages => ui}/react/src/browser/router/router-protocol.ts (100%) rename {packages => ui}/react/src/browser/router/router.tsx (100%) rename {packages => ui}/react/src/browser/shell/index.ts (100%) rename {packages => ui}/react/src/browser/shell/shell.tsx (100%) rename {packages => ui}/react/src/browser/slot/index.ts (100%) rename {packages => ui}/react/src/browser/slot/slot.tsx (100%) rename {packages => ui}/react/src/browser/widget/index.ts (100%) rename {packages => ui}/react/src/browser/widget/widget-factory.ts (100%) rename {packages => ui}/react/src/hooks/webpack.ts (100%) rename {packages => ui}/react/src/package.spec.ts (100%) rename {packages/scf-adapter => ui/shell}/.eslintrc.js (100%) rename {packages => ui}/shell/README.md (100%) rename {packages => ui}/shell/compile.tsconfig.json (77%) rename {packages => ui}/shell/malagu-locale.yml (100%) rename {packages => ui}/shell/malagu.yml (100%) rename {packages => ui}/shell/package.json (100%) rename {packages => ui}/shell/src/browser/annotation/index.ts (100%) rename {packages => ui}/shell/src/browser/annotation/left-area.ts (100%) rename {packages => ui}/shell/src/browser/annotation/top-area.ts (100%) rename {packages => ui}/shell/src/browser/apps/app-service.ts (100%) rename {packages => ui}/shell/src/browser/apps/apps.tsx (100%) rename {packages => ui}/shell/src/browser/apps/index.ts (100%) rename {packages => ui}/shell/src/browser/area/area-protocol.ts (100%) rename {packages => ui}/shell/src/browser/area/index.ts (100%) rename {packages => ui}/shell/src/browser/area/left/index.ts (100%) rename {packages => ui}/shell/src/browser/area/left/left.tsx (100%) rename {packages => ui}/shell/src/browser/area/top/index.ts (100%) rename {packages => ui}/shell/src/browser/area/top/top.tsx (100%) rename {packages => ui}/shell/src/browser/index.ts (100%) rename {packages => ui}/shell/src/browser/layout/index.ts (100%) rename {packages => ui}/shell/src/browser/layout/layout.tsx (100%) rename {packages => ui}/shell/src/browser/module.ts (100%) rename {packages => ui}/shell/src/browser/tool/account.tsx (100%) rename {packages => ui}/shell/src/browser/tool/app-set.tsx (100%) rename {packages => ui}/shell/src/browser/tool/index.ts (100%) rename {packages => ui}/shell/src/browser/tool/logo.tsx (100%) rename {packages => ui}/shell/src/browser/tool/settings.tsx (100%) rename {packages => ui}/shell/src/common/index.ts (100%) rename {packages => ui}/shell/src/common/shell-protocol.ts (100%) rename {packages/authing/src/common => ui/shell/src/node}/index.ts (100%) rename {packages => ui}/shell/src/node/module.ts (100%) rename {packages => ui}/shell/src/package.spec.ts (100%) rename {packages/shell => ui/vue}/.eslintrc.js (100%) rename {packages => ui}/vue/README.md (100%) rename {packages => ui}/vue/compile.tsconfig.json (86%) rename {packages => ui}/vue/malagu-cdn.yml (100%) rename {packages => ui}/vue/malagu.yml (100%) rename {packages => ui}/vue/package.json (100%) rename {packages => ui}/vue/src/browser/annotation/app.ts (100%) rename {packages => ui}/vue/src/browser/annotation/index.ts (100%) rename {packages => ui}/vue/src/browser/index.ts (100%) rename {packages => ui}/vue/src/browser/module.ts (100%) rename {packages => ui}/vue/src/browser/resolver/index.ts (100%) rename {packages => ui}/vue/src/browser/resolver/path-resolver.ts (100%) rename {packages => ui}/vue/src/browser/resolver/resolver-protocol.ts (100%) rename {packages => ui}/vue/src/browser/shell/index.ts (100%) rename {packages => ui}/vue/src/browser/shell/shell.tsx (100%) rename {packages => ui}/vue/src/hooks/webpack.ts (100%) rename {packages => ui}/vue/src/package.spec.ts (100%) rename {packages/vercel-adapter => ui/widget}/.eslintrc.js (100%) rename {packages => ui}/widget/README.md (100%) create mode 100644 ui/widget/compile.tsconfig.json rename {packages => ui}/widget/malagu.yml (100%) rename {packages => ui}/widget/package.json (100%) rename {packages => ui}/widget/src/browser/annotation/index.ts (100%) rename {packages => ui}/widget/src/browser/annotation/widget.ts (100%) rename {packages => ui}/widget/src/browser/index.ts (100%) rename {packages => ui}/widget/src/browser/keyboard/index.ts (100%) rename {packages => ui}/widget/src/browser/keyboard/keys.ts (100%) rename {packages => ui}/widget/src/browser/locale/index.ts (100%) rename {packages => ui}/widget/src/browser/locale/locale-manager.ts (100%) rename {packages => ui}/widget/src/browser/locale/locale-protocol.ts (100%) rename {packages => ui}/widget/src/browser/module.ts (100%) rename {packages => ui}/widget/src/browser/theme/index.ts (100%) rename {packages => ui}/widget/src/browser/theme/theme-manager.ts (100%) rename {packages => ui}/widget/src/browser/theme/theme-protocol.ts (100%) rename {packages => ui}/widget/src/browser/widget/index.ts (100%) rename {packages => ui}/widget/src/browser/widget/widget-factory.ts (100%) rename {packages => ui}/widget/src/browser/widget/widget-manager.ts (100%) rename {packages => ui}/widget/src/browser/widget/widget-protocol.ts (100%) rename {packages => ui}/widget/src/browser/widget/widget-util.ts (100%) rename {packages => ui}/widget/src/package.spec.ts (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6adaf054f0..04e8d4df42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,11 +3,11 @@ name: Build on: push: branches: - - master + - main workflow_dispatch: pull_request: branches: - - master + - main # schedule: # - cron: '0 4 * * *' # Runs every day at 4am: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule @@ -58,7 +58,7 @@ jobs: # publish: # needs: build - # if: github.ref == 'refs/heads/master' && github.event_name != 'schedule' # We still publish the manually dispatched workflows: 'workflow_dispatch'. + # if: github.ref == 'refs/heads/main' && github.event_name != 'schedule' # We still publish the manually dispatched workflows: 'workflow_dispatch'. # runs-on: ubuntu-18.04 # The current approach is silly. We should be smarter and use `actions/upload-artifact` and `actions/download-artifact` instead of rebuilding diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ee2fed4a8..841d03bb78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change +## 2.56.0 + +- chore: 移除 authing 和 qq-guild-bot-adapter 过时组件,并优化了组件目录结构,新增 ui 和 cloud 两个组件分类目录 + ## 2.55.4 - fix(cli-service): 修复首次启动并访问出现 404 错误问题 diff --git a/packages/antd/.eslintrc.js b/cloud/cloud/.eslintrc.js similarity index 100% rename from packages/antd/.eslintrc.js rename to cloud/cloud/.eslintrc.js diff --git a/packages/cloud/README.md b/cloud/cloud/README.md similarity index 100% rename from packages/cloud/README.md rename to cloud/cloud/README.md diff --git a/cloud/cloud/compile.tsconfig.json b/cloud/cloud/compile.tsconfig.json new file mode 100644 index 0000000000..112c2e3f15 --- /dev/null +++ b/cloud/cloud/compile.tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@malagu/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core/compile.tsconfig.json" + } + ] +} diff --git a/packages/cloud/malagu.yml b/cloud/cloud/malagu.yml similarity index 100% rename from packages/cloud/malagu.yml rename to cloud/cloud/malagu.yml diff --git a/packages/cloud/package.json b/cloud/cloud/package.json similarity index 100% rename from packages/cloud/package.json rename to cloud/cloud/package.json diff --git a/packages/cloud/src/common/account-protocol.ts b/cloud/cloud/src/common/account-protocol.ts similarity index 100% rename from packages/cloud/src/common/account-protocol.ts rename to cloud/cloud/src/common/account-protocol.ts diff --git a/packages/cloud/src/common/client-protocol.ts b/cloud/cloud/src/common/client-protocol.ts similarity index 100% rename from packages/cloud/src/common/client-protocol.ts rename to cloud/cloud/src/common/client-protocol.ts diff --git a/packages/cloud/src/common/cloud-protocol.ts b/cloud/cloud/src/common/cloud-protocol.ts similarity index 100% rename from packages/cloud/src/common/cloud-protocol.ts rename to cloud/cloud/src/common/cloud-protocol.ts diff --git a/packages/cloud/src/common/credentials-protocol.ts b/cloud/cloud/src/common/credentials-protocol.ts similarity index 100% rename from packages/cloud/src/common/credentials-protocol.ts rename to cloud/cloud/src/common/credentials-protocol.ts diff --git a/packages/cloud/src/common/index.ts b/cloud/cloud/src/common/index.ts similarity index 100% rename from packages/cloud/src/common/index.ts rename to cloud/cloud/src/common/index.ts diff --git a/packages/cloud/src/common/object-storage-protocol.ts b/cloud/cloud/src/common/object-storage-protocol.ts similarity index 100% rename from packages/cloud/src/common/object-storage-protocol.ts rename to cloud/cloud/src/common/object-storage-protocol.ts diff --git a/packages/cloud/src/common/region-protocol.ts b/cloud/cloud/src/common/region-protocol.ts similarity index 100% rename from packages/cloud/src/common/region-protocol.ts rename to cloud/cloud/src/common/region-protocol.ts diff --git a/packages/cloud/src/node/account-provider.ts b/cloud/cloud/src/node/account-provider.ts similarity index 100% rename from packages/cloud/src/node/account-provider.ts rename to cloud/cloud/src/node/account-provider.ts diff --git a/packages/cloud/src/node/client-options-provider.ts b/cloud/cloud/src/node/client-options-provider.ts similarity index 100% rename from packages/cloud/src/node/client-options-provider.ts rename to cloud/cloud/src/node/client-options-provider.ts diff --git a/packages/cloud/src/node/credentials-provider.ts b/cloud/cloud/src/node/credentials-provider.ts similarity index 100% rename from packages/cloud/src/node/credentials-provider.ts rename to cloud/cloud/src/node/credentials-provider.ts diff --git a/packages/cloud/src/node/index.ts b/cloud/cloud/src/node/index.ts similarity index 100% rename from packages/cloud/src/node/index.ts rename to cloud/cloud/src/node/index.ts diff --git a/packages/authing/src/node/module.ts b/cloud/cloud/src/node/module.ts similarity index 100% rename from packages/authing/src/node/module.ts rename to cloud/cloud/src/node/module.ts diff --git a/packages/cloud/src/node/regin-provider.ts b/cloud/cloud/src/node/regin-provider.ts similarity index 100% rename from packages/cloud/src/node/regin-provider.ts rename to cloud/cloud/src/node/regin-provider.ts diff --git a/packages/cloud/src/package.spec.ts b/cloud/cloud/src/package.spec.ts similarity index 100% rename from packages/cloud/src/package.spec.ts rename to cloud/cloud/src/package.spec.ts diff --git a/packages/authing/.eslintrc.js b/cloud/cos/.eslintrc.js similarity index 100% rename from packages/authing/.eslintrc.js rename to cloud/cos/.eslintrc.js diff --git a/packages/cos/README.md b/cloud/cos/README.md similarity index 100% rename from packages/cos/README.md rename to cloud/cos/README.md diff --git a/packages/s3/compile.tsconfig.json b/cloud/cos/compile.tsconfig.json similarity index 82% rename from packages/s3/compile.tsconfig.json rename to cloud/cos/compile.tsconfig.json index 99cb1b11dd..4f08f51464 100644 --- a/packages/s3/compile.tsconfig.json +++ b/cloud/cos/compile.tsconfig.json @@ -13,7 +13,7 @@ "path": "../cloud/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/cos/malagu.yml b/cloud/cos/malagu.yml similarity index 100% rename from packages/cos/malagu.yml rename to cloud/cos/malagu.yml diff --git a/packages/cos/package.json b/cloud/cos/package.json similarity index 100% rename from packages/cos/package.json rename to cloud/cos/package.json diff --git a/packages/cos/src/node/index.ts b/cloud/cos/src/node/index.ts similarity index 100% rename from packages/cos/src/node/index.ts rename to cloud/cos/src/node/index.ts diff --git a/packages/cloud/src/node/module.ts b/cloud/cos/src/node/module.ts similarity index 100% rename from packages/cloud/src/node/module.ts rename to cloud/cos/src/node/module.ts diff --git a/packages/cos/src/node/object-storage-service.ts b/cloud/cos/src/node/object-storage-service.ts similarity index 100% rename from packages/cos/src/node/object-storage-service.ts rename to cloud/cos/src/node/object-storage-service.ts diff --git a/packages/cos/src/package.spec.ts b/cloud/cos/src/package.spec.ts similarity index 100% rename from packages/cos/src/package.spec.ts rename to cloud/cos/src/package.spec.ts diff --git a/packages/cloud/.eslintrc.js b/cloud/faas-adapter/.eslintrc.js similarity index 100% rename from packages/cloud/.eslintrc.js rename to cloud/faas-adapter/.eslintrc.js diff --git a/packages/faas-adapter/README.md b/cloud/faas-adapter/README.md similarity index 100% rename from packages/faas-adapter/README.md rename to cloud/faas-adapter/README.md diff --git a/packages/faas-adapter/compile.tsconfig.json b/cloud/faas-adapter/compile.tsconfig.json similarity index 72% rename from packages/faas-adapter/compile.tsconfig.json rename to cloud/faas-adapter/compile.tsconfig.json index df7d02d5b0..151ac5177a 100644 --- a/packages/faas-adapter/compile.tsconfig.json +++ b/cloud/faas-adapter/compile.tsconfig.json @@ -13,19 +13,19 @@ "path": "../cloud/compile.tsconfig.json" }, { - "path": "../schedule/compile.tsconfig.json" + "path": "../../dev-packages/cli-service/compile.tsconfig.json" }, { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" + "path": "../../dev-packages/cli-common/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" }, { - "path": "../web/compile.tsconfig.json" + "path": "../../packages/schedule/compile.tsconfig.json" }, { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" + "path": "../../packages/web/compile.tsconfig.json" } ] } diff --git a/packages/faas-adapter/malagu-event.yml b/cloud/faas-adapter/malagu-event.yml similarity index 100% rename from packages/faas-adapter/malagu-event.yml rename to cloud/faas-adapter/malagu-event.yml diff --git a/packages/faas-adapter/malagu.yml b/cloud/faas-adapter/malagu.yml similarity index 100% rename from packages/faas-adapter/malagu.yml rename to cloud/faas-adapter/malagu.yml diff --git a/packages/faas-adapter/package.json b/cloud/faas-adapter/package.json similarity index 100% rename from packages/faas-adapter/package.json rename to cloud/faas-adapter/package.json diff --git a/packages/faas-adapter/src/hooks/serve.ts b/cloud/faas-adapter/src/hooks/serve.ts similarity index 100% rename from packages/faas-adapter/src/hooks/serve.ts rename to cloud/faas-adapter/src/hooks/serve.ts diff --git a/packages/faas-adapter/src/node/credentials-provider.ts b/cloud/faas-adapter/src/node/credentials-provider.ts similarity index 100% rename from packages/faas-adapter/src/node/credentials-provider.ts rename to cloud/faas-adapter/src/node/credentials-provider.ts diff --git a/packages/faas-adapter/src/node/dev-event-application-entry.ts b/cloud/faas-adapter/src/node/dev-event-application-entry.ts similarity index 100% rename from packages/faas-adapter/src/node/dev-event-application-entry.ts rename to cloud/faas-adapter/src/node/dev-event-application-entry.ts diff --git a/packages/faas-adapter/src/node/event/event-listener.ts b/cloud/faas-adapter/src/node/event/event-listener.ts similarity index 100% rename from packages/faas-adapter/src/node/event/event-listener.ts rename to cloud/faas-adapter/src/node/event/event-listener.ts diff --git a/packages/faas-adapter/src/node/event/event-protocol.ts b/cloud/faas-adapter/src/node/event/event-protocol.ts similarity index 100% rename from packages/faas-adapter/src/node/event/event-protocol.ts rename to cloud/faas-adapter/src/node/event/event-protocol.ts diff --git a/packages/faas-adapter/src/node/event/index.ts b/cloud/faas-adapter/src/node/event/index.ts similarity index 100% rename from packages/faas-adapter/src/node/event/index.ts rename to cloud/faas-adapter/src/node/event/index.ts diff --git a/packages/faas-adapter/src/node/factory/cron-job-factory.ts b/cloud/faas-adapter/src/node/factory/cron-job-factory.ts similarity index 100% rename from packages/faas-adapter/src/node/factory/cron-job-factory.ts rename to cloud/faas-adapter/src/node/factory/cron-job-factory.ts diff --git a/packages/faas-adapter/src/node/factory/index.ts b/cloud/faas-adapter/src/node/factory/index.ts similarity index 100% rename from packages/faas-adapter/src/node/factory/index.ts rename to cloud/faas-adapter/src/node/factory/index.ts diff --git a/packages/faas-adapter/src/node/index.ts b/cloud/faas-adapter/src/node/index.ts similarity index 100% rename from packages/faas-adapter/src/node/index.ts rename to cloud/faas-adapter/src/node/index.ts diff --git a/packages/cos/src/node/module.ts b/cloud/faas-adapter/src/node/module.ts similarity index 100% rename from packages/cos/src/node/module.ts rename to cloud/faas-adapter/src/node/module.ts diff --git a/packages/faas-adapter/src/node/regin-provider.ts b/cloud/faas-adapter/src/node/regin-provider.ts similarity index 100% rename from packages/faas-adapter/src/node/regin-provider.ts rename to cloud/faas-adapter/src/node/regin-provider.ts diff --git a/packages/faas-adapter/src/node/timer/clock.ts b/cloud/faas-adapter/src/node/timer/clock.ts similarity index 100% rename from packages/faas-adapter/src/node/timer/clock.ts rename to cloud/faas-adapter/src/node/timer/clock.ts diff --git a/packages/faas-adapter/src/node/timer/cron-job.ts b/cloud/faas-adapter/src/node/timer/cron-job.ts similarity index 100% rename from packages/faas-adapter/src/node/timer/cron-job.ts rename to cloud/faas-adapter/src/node/timer/cron-job.ts diff --git a/packages/faas-adapter/src/node/timer/events.ts b/cloud/faas-adapter/src/node/timer/events.ts similarity index 100% rename from packages/faas-adapter/src/node/timer/events.ts rename to cloud/faas-adapter/src/node/timer/events.ts diff --git a/packages/faas-adapter/src/node/timer/index.ts b/cloud/faas-adapter/src/node/timer/index.ts similarity index 100% rename from packages/faas-adapter/src/node/timer/index.ts rename to cloud/faas-adapter/src/node/timer/index.ts diff --git a/packages/faas-adapter/src/node/timer/timer-protocol.ts b/cloud/faas-adapter/src/node/timer/timer-protocol.ts similarity index 100% rename from packages/faas-adapter/src/node/timer/timer-protocol.ts rename to cloud/faas-adapter/src/node/timer/timer-protocol.ts diff --git a/packages/faas-adapter/src/node/utils.ts b/cloud/faas-adapter/src/node/utils.ts similarity index 100% rename from packages/faas-adapter/src/node/utils.ts rename to cloud/faas-adapter/src/node/utils.ts diff --git a/packages/faas-adapter/src/package.spec.ts b/cloud/faas-adapter/src/package.spec.ts similarity index 100% rename from packages/faas-adapter/src/package.spec.ts rename to cloud/faas-adapter/src/package.spec.ts diff --git a/packages/cos/.eslintrc.js b/cloud/fc-adapter/.eslintrc.js similarity index 100% rename from packages/cos/.eslintrc.js rename to cloud/fc-adapter/.eslintrc.js diff --git a/packages/fc-adapter/README.md b/cloud/fc-adapter/README.md similarity index 100% rename from packages/fc-adapter/README.md rename to cloud/fc-adapter/README.md diff --git a/packages/fc-adapter/compile.tsconfig.json b/cloud/fc-adapter/compile.tsconfig.json similarity index 75% rename from packages/fc-adapter/compile.tsconfig.json rename to cloud/fc-adapter/compile.tsconfig.json index a10b6cbf64..f25214cb38 100644 --- a/packages/fc-adapter/compile.tsconfig.json +++ b/cloud/fc-adapter/compile.tsconfig.json @@ -10,16 +10,16 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../faas-adapter/compile.tsconfig.json" }, { - "path": "../faas-adapter/compile.tsconfig.json" + "path": "../cloud/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" }, { - "path": "../cloud/compile.tsconfig.json" + "path": "../../packages/web/compile.tsconfig.json" } ] } diff --git a/packages/fc-adapter/malagu-api-gateway-mode.yml b/cloud/fc-adapter/malagu-api-gateway-mode.yml similarity index 100% rename from packages/fc-adapter/malagu-api-gateway-mode.yml rename to cloud/fc-adapter/malagu-api-gateway-mode.yml diff --git a/packages/fc-adapter/malagu-event-mode.yml b/cloud/fc-adapter/malagu-event-mode.yml similarity index 100% rename from packages/fc-adapter/malagu-event-mode.yml rename to cloud/fc-adapter/malagu-event-mode.yml diff --git a/packages/fc-adapter/malagu-http-mode.yml b/cloud/fc-adapter/malagu-http-mode.yml similarity index 100% rename from packages/fc-adapter/malagu-http-mode.yml rename to cloud/fc-adapter/malagu-http-mode.yml diff --git a/packages/fc-adapter/malagu-mns-topic-mode.yml b/cloud/fc-adapter/malagu-mns-topic-mode.yml similarity index 100% rename from packages/fc-adapter/malagu-mns-topic-mode.yml rename to cloud/fc-adapter/malagu-mns-topic-mode.yml diff --git a/packages/fc-adapter/malagu-remote.yml b/cloud/fc-adapter/malagu-remote.yml similarity index 100% rename from packages/fc-adapter/malagu-remote.yml rename to cloud/fc-adapter/malagu-remote.yml diff --git a/packages/fc-adapter/malagu-sample-http-mode.yml b/cloud/fc-adapter/malagu-sample-http-mode.yml similarity index 100% rename from packages/fc-adapter/malagu-sample-http-mode.yml rename to cloud/fc-adapter/malagu-sample-http-mode.yml diff --git a/packages/fc-adapter/malagu-timer-mode.yml b/cloud/fc-adapter/malagu-timer-mode.yml similarity index 100% rename from packages/fc-adapter/malagu-timer-mode.yml rename to cloud/fc-adapter/malagu-timer-mode.yml diff --git a/packages/fc-adapter/malagu.yml b/cloud/fc-adapter/malagu.yml similarity index 100% rename from packages/fc-adapter/malagu.yml rename to cloud/fc-adapter/malagu.yml diff --git a/packages/fc-adapter/package.json b/cloud/fc-adapter/package.json similarity index 100% rename from packages/fc-adapter/package.json rename to cloud/fc-adapter/package.json diff --git a/packages/fc-adapter/src/node/account-provider.ts b/cloud/fc-adapter/src/node/account-provider.ts similarity index 100% rename from packages/fc-adapter/src/node/account-provider.ts rename to cloud/fc-adapter/src/node/account-provider.ts diff --git a/packages/fc-adapter/src/node/api-gateway-application-entry.ts b/cloud/fc-adapter/src/node/api-gateway-application-entry.ts similarity index 100% rename from packages/fc-adapter/src/node/api-gateway-application-entry.ts rename to cloud/fc-adapter/src/node/api-gateway-application-entry.ts diff --git a/packages/fc-adapter/src/node/credentials-provider.ts b/cloud/fc-adapter/src/node/credentials-provider.ts similarity index 100% rename from packages/fc-adapter/src/node/credentials-provider.ts rename to cloud/fc-adapter/src/node/credentials-provider.ts diff --git a/packages/fc-adapter/src/node/event-application-entry.ts b/cloud/fc-adapter/src/node/event-application-entry.ts similarity index 100% rename from packages/fc-adapter/src/node/event-application-entry.ts rename to cloud/fc-adapter/src/node/event-application-entry.ts diff --git a/packages/fc-adapter/src/node/http-application-entry.ts b/cloud/fc-adapter/src/node/http-application-entry.ts similarity index 100% rename from packages/fc-adapter/src/node/http-application-entry.ts rename to cloud/fc-adapter/src/node/http-application-entry.ts diff --git a/packages/fc-adapter/src/node/index.ts b/cloud/fc-adapter/src/node/index.ts similarity index 100% rename from packages/fc-adapter/src/node/index.ts rename to cloud/fc-adapter/src/node/index.ts diff --git a/packages/faas-adapter/src/node/module.ts b/cloud/fc-adapter/src/node/module.ts similarity index 100% rename from packages/faas-adapter/src/node/module.ts rename to cloud/fc-adapter/src/node/module.ts diff --git a/packages/fc-adapter/src/node/regin-provider.ts b/cloud/fc-adapter/src/node/regin-provider.ts similarity index 100% rename from packages/fc-adapter/src/node/regin-provider.ts rename to cloud/fc-adapter/src/node/regin-provider.ts diff --git a/packages/fc-adapter/src/node/sample-http-application-entry.ts b/cloud/fc-adapter/src/node/sample-http-application-entry.ts similarity index 100% rename from packages/fc-adapter/src/node/sample-http-application-entry.ts rename to cloud/fc-adapter/src/node/sample-http-application-entry.ts diff --git a/packages/fc-adapter/src/node/timer-application-entry.ts b/cloud/fc-adapter/src/node/timer-application-entry.ts similarity index 100% rename from packages/fc-adapter/src/node/timer-application-entry.ts rename to cloud/fc-adapter/src/node/timer-application-entry.ts diff --git a/packages/fc-adapter/src/package.spec.ts b/cloud/fc-adapter/src/package.spec.ts similarity index 100% rename from packages/fc-adapter/src/package.spec.ts rename to cloud/fc-adapter/src/package.spec.ts diff --git a/packages/faas-adapter/.eslintrc.js b/cloud/lambda-adapter/.eslintrc.js similarity index 100% rename from packages/faas-adapter/.eslintrc.js rename to cloud/lambda-adapter/.eslintrc.js diff --git a/packages/lambda-adapter/README.md b/cloud/lambda-adapter/README.md similarity index 100% rename from packages/lambda-adapter/README.md rename to cloud/lambda-adapter/README.md diff --git a/packages/lambda-adapter/compile.tsconfig.json b/cloud/lambda-adapter/compile.tsconfig.json similarity index 76% rename from packages/lambda-adapter/compile.tsconfig.json rename to cloud/lambda-adapter/compile.tsconfig.json index 6f765f87ec..2811d15b6a 100644 --- a/packages/lambda-adapter/compile.tsconfig.json +++ b/cloud/lambda-adapter/compile.tsconfig.json @@ -11,16 +11,16 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../faas-adapter/compile.tsconfig.json" }, { - "path": "../faas-adapter/compile.tsconfig.json" + "path": "../cloud/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" }, { - "path": "../cloud/compile.tsconfig.json" + "path": "../../packages/web/compile.tsconfig.json" } ] } diff --git a/packages/lambda-adapter/malagu-api-gateway-mode.yml b/cloud/lambda-adapter/malagu-api-gateway-mode.yml similarity index 100% rename from packages/lambda-adapter/malagu-api-gateway-mode.yml rename to cloud/lambda-adapter/malagu-api-gateway-mode.yml diff --git a/packages/lambda-adapter/malagu-event-mode.yml b/cloud/lambda-adapter/malagu-event-mode.yml similarity index 100% rename from packages/lambda-adapter/malagu-event-mode.yml rename to cloud/lambda-adapter/malagu-event-mode.yml diff --git a/packages/lambda-adapter/malagu-remote.yml b/cloud/lambda-adapter/malagu-remote.yml similarity index 100% rename from packages/lambda-adapter/malagu-remote.yml rename to cloud/lambda-adapter/malagu-remote.yml diff --git a/packages/lambda-adapter/malagu-timer-mode.yml b/cloud/lambda-adapter/malagu-timer-mode.yml similarity index 100% rename from packages/lambda-adapter/malagu-timer-mode.yml rename to cloud/lambda-adapter/malagu-timer-mode.yml diff --git a/packages/grommet/malagu.yml b/cloud/lambda-adapter/malagu.yml similarity index 100% rename from packages/grommet/malagu.yml rename to cloud/lambda-adapter/malagu.yml diff --git a/packages/lambda-adapter/package.json b/cloud/lambda-adapter/package.json similarity index 100% rename from packages/lambda-adapter/package.json rename to cloud/lambda-adapter/package.json diff --git a/packages/lambda-adapter/src/node/api-gateway-application-entry.ts b/cloud/lambda-adapter/src/node/api-gateway-application-entry.ts similarity index 100% rename from packages/lambda-adapter/src/node/api-gateway-application-entry.ts rename to cloud/lambda-adapter/src/node/api-gateway-application-entry.ts diff --git a/packages/lambda-adapter/src/node/credentials-provider.ts b/cloud/lambda-adapter/src/node/credentials-provider.ts similarity index 100% rename from packages/lambda-adapter/src/node/credentials-provider.ts rename to cloud/lambda-adapter/src/node/credentials-provider.ts diff --git a/packages/lambda-adapter/src/node/event-application-entry.ts b/cloud/lambda-adapter/src/node/event-application-entry.ts similarity index 100% rename from packages/lambda-adapter/src/node/event-application-entry.ts rename to cloud/lambda-adapter/src/node/event-application-entry.ts diff --git a/packages/lambda-adapter/src/node/index.ts b/cloud/lambda-adapter/src/node/index.ts similarity index 100% rename from packages/lambda-adapter/src/node/index.ts rename to cloud/lambda-adapter/src/node/index.ts diff --git a/packages/fc-adapter/src/node/module.ts b/cloud/lambda-adapter/src/node/module.ts similarity index 100% rename from packages/fc-adapter/src/node/module.ts rename to cloud/lambda-adapter/src/node/module.ts diff --git a/packages/lambda-adapter/src/node/regin-provider.ts b/cloud/lambda-adapter/src/node/regin-provider.ts similarity index 100% rename from packages/lambda-adapter/src/node/regin-provider.ts rename to cloud/lambda-adapter/src/node/regin-provider.ts diff --git a/packages/lambda-adapter/src/node/timer-application-entry.ts b/cloud/lambda-adapter/src/node/timer-application-entry.ts similarity index 100% rename from packages/lambda-adapter/src/node/timer-application-entry.ts rename to cloud/lambda-adapter/src/node/timer-application-entry.ts diff --git a/packages/lambda-adapter/src/package.spec.ts b/cloud/lambda-adapter/src/package.spec.ts similarity index 100% rename from packages/lambda-adapter/src/package.spec.ts rename to cloud/lambda-adapter/src/package.spec.ts diff --git a/packages/fc-adapter/.eslintrc.js b/cloud/oss/.eslintrc.js similarity index 100% rename from packages/fc-adapter/.eslintrc.js rename to cloud/oss/.eslintrc.js diff --git a/packages/oss/README.md b/cloud/oss/README.md similarity index 100% rename from packages/oss/README.md rename to cloud/oss/README.md diff --git a/packages/oss/compile.tsconfig.json b/cloud/oss/compile.tsconfig.json similarity index 82% rename from packages/oss/compile.tsconfig.json rename to cloud/oss/compile.tsconfig.json index 99cb1b11dd..4f08f51464 100644 --- a/packages/oss/compile.tsconfig.json +++ b/cloud/oss/compile.tsconfig.json @@ -13,7 +13,7 @@ "path": "../cloud/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/lambda-adapter/malagu.yml b/cloud/oss/malagu.yml similarity index 100% rename from packages/lambda-adapter/malagu.yml rename to cloud/oss/malagu.yml diff --git a/packages/oss/package.json b/cloud/oss/package.json similarity index 100% rename from packages/oss/package.json rename to cloud/oss/package.json diff --git a/packages/oss/src/node/index.ts b/cloud/oss/src/node/index.ts similarity index 100% rename from packages/oss/src/node/index.ts rename to cloud/oss/src/node/index.ts diff --git a/packages/lambda-adapter/src/node/module.ts b/cloud/oss/src/node/module.ts similarity index 100% rename from packages/lambda-adapter/src/node/module.ts rename to cloud/oss/src/node/module.ts diff --git a/packages/oss/src/node/object-storage-service.ts b/cloud/oss/src/node/object-storage-service.ts similarity index 100% rename from packages/oss/src/node/object-storage-service.ts rename to cloud/oss/src/node/object-storage-service.ts diff --git a/packages/oss/src/package.spec.ts b/cloud/oss/src/package.spec.ts similarity index 100% rename from packages/oss/src/package.spec.ts rename to cloud/oss/src/package.spec.ts diff --git a/packages/grommet/.eslintrc.js b/cloud/s3/.eslintrc.js similarity index 100% rename from packages/grommet/.eslintrc.js rename to cloud/s3/.eslintrc.js diff --git a/packages/s3/README.md b/cloud/s3/README.md similarity index 100% rename from packages/s3/README.md rename to cloud/s3/README.md diff --git a/packages/cos/compile.tsconfig.json b/cloud/s3/compile.tsconfig.json similarity index 82% rename from packages/cos/compile.tsconfig.json rename to cloud/s3/compile.tsconfig.json index 99cb1b11dd..4f08f51464 100644 --- a/packages/cos/compile.tsconfig.json +++ b/cloud/s3/compile.tsconfig.json @@ -13,7 +13,7 @@ "path": "../cloud/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/oss/malagu.yml b/cloud/s3/malagu.yml similarity index 100% rename from packages/oss/malagu.yml rename to cloud/s3/malagu.yml diff --git a/packages/s3/package.json b/cloud/s3/package.json similarity index 100% rename from packages/s3/package.json rename to cloud/s3/package.json diff --git a/packages/s3/src/node/index.ts b/cloud/s3/src/node/index.ts similarity index 100% rename from packages/s3/src/node/index.ts rename to cloud/s3/src/node/index.ts diff --git a/packages/oss/src/node/module.ts b/cloud/s3/src/node/module.ts similarity index 100% rename from packages/oss/src/node/module.ts rename to cloud/s3/src/node/module.ts diff --git a/packages/s3/src/node/object-storage-service.ts b/cloud/s3/src/node/object-storage-service.ts similarity index 100% rename from packages/s3/src/node/object-storage-service.ts rename to cloud/s3/src/node/object-storage-service.ts diff --git a/packages/s3/src/package.spec.ts b/cloud/s3/src/package.spec.ts similarity index 100% rename from packages/s3/src/package.spec.ts rename to cloud/s3/src/package.spec.ts diff --git a/packages/lambda-adapter/.eslintrc.js b/cloud/scf-adapter/.eslintrc.js similarity index 100% rename from packages/lambda-adapter/.eslintrc.js rename to cloud/scf-adapter/.eslintrc.js diff --git a/packages/scf-adapter/README.md b/cloud/scf-adapter/README.md similarity index 100% rename from packages/scf-adapter/README.md rename to cloud/scf-adapter/README.md diff --git a/packages/scf-adapter/compile.tsconfig.json b/cloud/scf-adapter/compile.tsconfig.json similarity index 76% rename from packages/scf-adapter/compile.tsconfig.json rename to cloud/scf-adapter/compile.tsconfig.json index 6f765f87ec..2811d15b6a 100644 --- a/packages/scf-adapter/compile.tsconfig.json +++ b/cloud/scf-adapter/compile.tsconfig.json @@ -11,16 +11,16 @@ ], "references": [ { - "path": "../web/compile.tsconfig.json" + "path": "../faas-adapter/compile.tsconfig.json" }, { - "path": "../faas-adapter/compile.tsconfig.json" + "path": "../cloud/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" }, { - "path": "../cloud/compile.tsconfig.json" + "path": "../../packages/web/compile.tsconfig.json" } ] } diff --git a/packages/scf-adapter/malagu-api-gateway-basic-mode.yml b/cloud/scf-adapter/malagu-api-gateway-basic-mode.yml similarity index 100% rename from packages/scf-adapter/malagu-api-gateway-basic-mode.yml rename to cloud/scf-adapter/malagu-api-gateway-basic-mode.yml diff --git a/packages/scf-adapter/malagu-api-gateway-mode.yml b/cloud/scf-adapter/malagu-api-gateway-mode.yml similarity index 100% rename from packages/scf-adapter/malagu-api-gateway-mode.yml rename to cloud/scf-adapter/malagu-api-gateway-mode.yml diff --git a/packages/scf-adapter/malagu-event-mode.yml b/cloud/scf-adapter/malagu-event-mode.yml similarity index 100% rename from packages/scf-adapter/malagu-event-mode.yml rename to cloud/scf-adapter/malagu-event-mode.yml diff --git a/packages/scf-adapter/malagu-http-mode.yml b/cloud/scf-adapter/malagu-http-mode.yml similarity index 100% rename from packages/scf-adapter/malagu-http-mode.yml rename to cloud/scf-adapter/malagu-http-mode.yml diff --git a/packages/scf-adapter/malagu-remote.yml b/cloud/scf-adapter/malagu-remote.yml similarity index 100% rename from packages/scf-adapter/malagu-remote.yml rename to cloud/scf-adapter/malagu-remote.yml diff --git a/packages/scf-adapter/malagu-timer-mode.yml b/cloud/scf-adapter/malagu-timer-mode.yml similarity index 100% rename from packages/scf-adapter/malagu-timer-mode.yml rename to cloud/scf-adapter/malagu-timer-mode.yml diff --git a/packages/qq-guild-bot-adapter/malagu.yml b/cloud/scf-adapter/malagu.yml similarity index 100% rename from packages/qq-guild-bot-adapter/malagu.yml rename to cloud/scf-adapter/malagu.yml diff --git a/packages/scf-adapter/package.json b/cloud/scf-adapter/package.json similarity index 100% rename from packages/scf-adapter/package.json rename to cloud/scf-adapter/package.json diff --git a/packages/scf-adapter/src/node/account-provider.ts b/cloud/scf-adapter/src/node/account-provider.ts similarity index 100% rename from packages/scf-adapter/src/node/account-provider.ts rename to cloud/scf-adapter/src/node/account-provider.ts diff --git a/packages/scf-adapter/src/node/api-gateway-application-entry.ts b/cloud/scf-adapter/src/node/api-gateway-application-entry.ts similarity index 100% rename from packages/scf-adapter/src/node/api-gateway-application-entry.ts rename to cloud/scf-adapter/src/node/api-gateway-application-entry.ts diff --git a/packages/scf-adapter/src/node/credentials-provider.ts b/cloud/scf-adapter/src/node/credentials-provider.ts similarity index 100% rename from packages/scf-adapter/src/node/credentials-provider.ts rename to cloud/scf-adapter/src/node/credentials-provider.ts diff --git a/packages/scf-adapter/src/node/event-application-entry.ts b/cloud/scf-adapter/src/node/event-application-entry.ts similarity index 100% rename from packages/scf-adapter/src/node/event-application-entry.ts rename to cloud/scf-adapter/src/node/event-application-entry.ts diff --git a/packages/scf-adapter/src/node/http-application-entry.ts b/cloud/scf-adapter/src/node/http-application-entry.ts similarity index 100% rename from packages/scf-adapter/src/node/http-application-entry.ts rename to cloud/scf-adapter/src/node/http-application-entry.ts diff --git a/packages/scf-adapter/src/node/index.ts b/cloud/scf-adapter/src/node/index.ts similarity index 100% rename from packages/scf-adapter/src/node/index.ts rename to cloud/scf-adapter/src/node/index.ts diff --git a/packages/qq-guild-bot-adapter/src/node/module.ts b/cloud/scf-adapter/src/node/module.ts similarity index 100% rename from packages/qq-guild-bot-adapter/src/node/module.ts rename to cloud/scf-adapter/src/node/module.ts diff --git a/packages/scf-adapter/src/node/regin-provider.ts b/cloud/scf-adapter/src/node/regin-provider.ts similarity index 100% rename from packages/scf-adapter/src/node/regin-provider.ts rename to cloud/scf-adapter/src/node/regin-provider.ts diff --git a/packages/scf-adapter/src/node/timer-application-entry.ts b/cloud/scf-adapter/src/node/timer-application-entry.ts similarity index 100% rename from packages/scf-adapter/src/node/timer-application-entry.ts rename to cloud/scf-adapter/src/node/timer-application-entry.ts diff --git a/packages/scf-adapter/src/package.spec.ts b/cloud/scf-adapter/src/package.spec.ts similarity index 100% rename from packages/scf-adapter/src/package.spec.ts rename to cloud/scf-adapter/src/package.spec.ts diff --git a/packages/material-ui/.eslintrc.js b/cloud/vercel-adapter/.eslintrc.js similarity index 100% rename from packages/material-ui/.eslintrc.js rename to cloud/vercel-adapter/.eslintrc.js diff --git a/packages/vercel-adapter/README.md b/cloud/vercel-adapter/README.md similarity index 100% rename from packages/vercel-adapter/README.md rename to cloud/vercel-adapter/README.md diff --git a/packages/vercel-adapter/compile.tsconfig.json b/cloud/vercel-adapter/compile.tsconfig.json similarity index 77% rename from packages/vercel-adapter/compile.tsconfig.json rename to cloud/vercel-adapter/compile.tsconfig.json index e7a7074bee..21bee94a88 100644 --- a/packages/vercel-adapter/compile.tsconfig.json +++ b/cloud/vercel-adapter/compile.tsconfig.json @@ -9,9 +9,6 @@ "src" ], "references": [ - { - "path": "../web/compile.tsconfig.json" - }, { "path": "../../dev-packages/cli-service/compile.tsconfig.json" }, @@ -19,7 +16,10 @@ "path": "../../dev-packages/cli-common/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" + }, + { + "path": "../../packages/web/compile.tsconfig.json" } ] } diff --git a/packages/vercel-adapter/malagu-remote.yml b/cloud/vercel-adapter/malagu-remote.yml similarity index 100% rename from packages/vercel-adapter/malagu-remote.yml rename to cloud/vercel-adapter/malagu-remote.yml diff --git a/packages/vercel-adapter/malagu.yml b/cloud/vercel-adapter/malagu.yml similarity index 100% rename from packages/vercel-adapter/malagu.yml rename to cloud/vercel-adapter/malagu.yml diff --git a/packages/vercel-adapter/package.json b/cloud/vercel-adapter/package.json similarity index 100% rename from packages/vercel-adapter/package.json rename to cloud/vercel-adapter/package.json diff --git a/packages/vercel-adapter/src/hooks/build.ts b/cloud/vercel-adapter/src/hooks/build.ts similarity index 100% rename from packages/vercel-adapter/src/hooks/build.ts rename to cloud/vercel-adapter/src/hooks/build.ts diff --git a/packages/vercel-adapter/src/hooks/deploy.ts b/cloud/vercel-adapter/src/hooks/deploy.ts similarity index 100% rename from packages/vercel-adapter/src/hooks/deploy.ts rename to cloud/vercel-adapter/src/hooks/deploy.ts diff --git a/packages/vercel-adapter/src/node/context.ts b/cloud/vercel-adapter/src/node/context.ts similarity index 100% rename from packages/vercel-adapter/src/node/context.ts rename to cloud/vercel-adapter/src/node/context.ts diff --git a/packages/vercel-adapter/src/node/http-application-entry.ts b/cloud/vercel-adapter/src/node/http-application-entry.ts similarity index 100% rename from packages/vercel-adapter/src/node/http-application-entry.ts rename to cloud/vercel-adapter/src/node/http-application-entry.ts diff --git a/packages/vercel-adapter/src/node/index.ts b/cloud/vercel-adapter/src/node/index.ts similarity index 100% rename from packages/vercel-adapter/src/node/index.ts rename to cloud/vercel-adapter/src/node/index.ts diff --git a/packages/vercel-adapter/src/node/module.ts b/cloud/vercel-adapter/src/node/module.ts similarity index 100% rename from packages/vercel-adapter/src/node/module.ts rename to cloud/vercel-adapter/src/node/module.ts diff --git a/packages/vercel-adapter/src/package.spec.ts b/cloud/vercel-adapter/src/package.spec.ts similarity index 100% rename from packages/vercel-adapter/src/package.spec.ts rename to cloud/vercel-adapter/src/package.spec.ts diff --git a/configs/root-compilation.tsconfig.json b/configs/root-compilation.tsconfig.json index 79ac5e5bdf..03f5b87bcd 100644 --- a/configs/root-compilation.tsconfig.json +++ b/configs/root-compilation.tsconfig.json @@ -25,45 +25,18 @@ { "path": "../dev-packages/pwa/compile.tsconfig.json" }, - { - "path": "../packages/antd/compile.tsconfig.json" - }, - { - "path": "../packages/authing/compile.tsconfig.json" - }, { "path": "../packages/cache/compile.tsconfig.json" }, - { - "path": "../packages/cloud/compile.tsconfig.json" - }, { "path": "../packages/core/compile.tsconfig.json" }, - { - "path": "../packages/cos/compile.tsconfig.json" - }, { "path": "../packages/express-adapter/compile.tsconfig.json" }, - { - "path": "../packages/faas-adapter/compile.tsconfig.json" - }, - { - "path": "../packages/fc-adapter/compile.tsconfig.json" - }, - { - "path": "../packages/grommet/compile.tsconfig.json" - }, - { - "path": "../packages/lambda-adapter/compile.tsconfig.json" - }, { "path": "../packages/logger/compile.tsconfig.json" }, - { - "path": "../packages/material-ui/compile.tsconfig.json" - }, { "path": "../packages/mvc/compile.tsconfig.json" }, @@ -79,48 +52,24 @@ { "path": "../packages/oidc-provider/compile.tsconfig.json" }, - { - "path": "../packages/oss/compile.tsconfig.json" - }, { "path": "../packages/puppeteer/compile.tsconfig.json" }, - { - "path": "../packages/react/compile.tsconfig.json" - }, { "path": "../packages/rpc/compile.tsconfig.json" }, - { - "path": "../packages/s3/compile.tsconfig.json" - }, - { - "path": "../packages/scf-adapter/compile.tsconfig.json" - }, { "path": "../packages/security/compile.tsconfig.json" }, { "path": "../packages/serve-static/compile.tsconfig.json" }, - { - "path": "../packages/shell/compile.tsconfig.json" - }, { "path": "../packages/typeorm/compile.tsconfig.json" }, - { - "path": "../packages/vercel-adapter/compile.tsconfig.json" - }, { "path": "../packages/web/compile.tsconfig.json" }, - { - "path": "../packages/widget/compile.tsconfig.json" - }, - { - "path": "../packages/vue/compile.tsconfig.json" - }, { "path": "../packages/schedule/compile.tsconfig.json" }, @@ -157,9 +106,6 @@ { "path": "../plugins/adonis-plugin/compile.tsconfig.json" }, - { - "path": "../packages/qq-guild-bot-adapter/compile.tsconfig.json" - }, { "path": "../packages/config/compile.tsconfig.json" }, @@ -180,6 +126,54 @@ }, { "path": "../plugins/fc3-plugin/compile.tsconfig.json" + }, + { + "path": "../cloud/cloud/compile.tsconfig.json" + }, + { + "path": "../cloud/cos/compile.tsconfig.json" + }, + { + "path": "../cloud/faas-adapter/compile.tsconfig.json" + }, + { + "path": "../cloud/fc-adapter/compile.tsconfig.json" + }, + { + "path": "../cloud/lambda-adapter/compile.tsconfig.json" + }, + { + "path": "../cloud/oss/compile.tsconfig.json" + }, + { + "path": "../cloud/s3/compile.tsconfig.json" + }, + { + "path": "../cloud/scf-adapter/compile.tsconfig.json" + }, + { + "path": "../cloud/vercel-adapter/compile.tsconfig.json" + }, + { + "path": "../ui/antd/compile.tsconfig.json" + }, + { + "path": "../ui/grommet/compile.tsconfig.json" + }, + { + "path": "../ui/material-ui/compile.tsconfig.json" + }, + { + "path": "../ui/react/compile.tsconfig.json" + }, + { + "path": "../ui/shell/compile.tsconfig.json" + }, + { + "path": "../ui/vue/compile.tsconfig.json" + }, + { + "path": "../ui/widget/compile.tsconfig.json" } ] } diff --git a/examples/qq-guild-bot-app/.gitignore b/examples/qq-guild-bot-app/.gitignore deleted file mode 100644 index 720a731746..0000000000 --- a/examples/qq-guild-bot-app/.gitignore +++ /dev/null @@ -1,22 +0,0 @@ -.DS_Store -node_modules -dist -lib -.malagu -.env -*.log -.idea -.metadata -*.iml -jdt.ls-java-project -lerna-debug.log -.nyc_output -coverage -errorShots -.browser_modules -**/docs/api -package-backup.json -.history -.Trash-* -packages/plugin/typedoc -plugins diff --git a/examples/qq-guild-bot-app/bot-config.json b/examples/qq-guild-bot-app/bot-config.json deleted file mode 100644 index 59680a042a..0000000000 --- a/examples/qq-guild-bot-app/bot-config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "appID": "12445", - "token": "aadfsdfa", - "intents": [], - "eventMap": { - "AT_MESSAGES": "./src/atMessage.js" - }, - "secret": "asdfasf" -} \ No newline at end of file diff --git a/examples/qq-guild-bot-app/malagu.yml b/examples/qq-guild-bot-app/malagu.yml deleted file mode 100644 index 3b98485d72..0000000000 --- a/examples/qq-guild-bot-app/malagu.yml +++ /dev/null @@ -1,5 +0,0 @@ -malagu: - cloud: - function: - sync: onlyUpdateCode - timeout: 15 \ No newline at end of file diff --git a/examples/qq-guild-bot-app/package.json b/examples/qq-guild-bot-app/package.json deleted file mode 100644 index 03333d3d64..0000000000 --- a/examples/qq-guild-bot-app/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "private": true, - "name": "@malagu/example-qq-guild-bot-app", - "version": "2.55.4", - "description": "", - "scripts": { - "start": "malagu serve" - }, - "license": "MIT", - "devDependencies": { - "@malagu/cli": "2.55.4" - } -} diff --git a/examples/qq-guild-bot-app/src/atMessage.js b/examples/qq-guild-bot-app/src/atMessage.js deleted file mode 100644 index 2b78d0de75..0000000000 --- a/examples/qq-guild-bot-app/src/atMessage.js +++ /dev/null @@ -1,11 +0,0 @@ -const { add } = require('./utils/add'); - -console.log('[AT_MESSAGES] 事件接收 :', context, add(1,1)); -const msg = context.msg; -client.messageApi.postMessage(msg.channel_id, { - content: `<@!${msg.author.id}> hi 收到你的消息啦`, - msg_id: msg.id, -}); - -await Promise.resolve(); - diff --git a/examples/qq-guild-bot-app/src/utils/add.js b/examples/qq-guild-bot-app/src/utils/add.js deleted file mode 100644 index b995af5c77..0000000000 --- a/examples/qq-guild-bot-app/src/utils/add.js +++ /dev/null @@ -1,7 +0,0 @@ -function add(a, b) { - return a + b; -} - -module.exports = { - add -}; \ No newline at end of file diff --git a/package.json b/package.json index c86607c653..79bd4fcd42 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,9 @@ "dev-packages/*", "packages/*", "plugins/*", + "cloud/*", + "ui/*", + "ai/*", "examples/*" ], "dependencies": {} diff --git a/packages/authing/README.md b/packages/authing/README.md deleted file mode 100644 index 77619ad65c..0000000000 --- a/packages/authing/README.md +++ /dev/null @@ -1 +0,0 @@ -# Malagu - Authing Component \ No newline at end of file diff --git a/packages/authing/compile.tsconfig.json b/packages/authing/compile.tsconfig.json deleted file mode 100644 index 19ffe122c2..0000000000 --- a/packages/authing/compile.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "@malagu/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../web/compile.tsconfig.json" - }, - { - "path": "../security/compile.tsconfig.json" - }, - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/authing/malagu.yml b/packages/authing/malagu.yml deleted file mode 100644 index c34b1d43fb..0000000000 --- a/packages/authing/malagu.yml +++ /dev/null @@ -1,14 +0,0 @@ - malagu: - authing: - # userPool: - # id: - # secret: - sso: - # id: - # secret: - # domain: - redirectUri: http://localhost:3000/authing/handle - guardOptions: - isSSO: true - security: - loginUrl: /authing/handle diff --git a/packages/authing/package.json b/packages/authing/package.json deleted file mode 100644 index 9b94390cb1..0000000000 --- a/packages/authing/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@malagu/authing", - "version": "2.55.4", - "description": "", - "main": "lib/common/index.js", - "typings": "lib/common/index.d.ts", - "dependencies": { - "@malagu/core": "2.55.4", - "@malagu/security": "2.55.4", - "@malagu/web": "2.55.4", - "authing-js-sdk": "^4.22.24", - "axios": "^0.26.1", - "jsonwebtoken": "^9.0.0", - "minimatch": "^3.0.4", - "mustache": "^4.0.0", - "querystring": "^0.2.0", - "url-pattern": "^1.0.3" - }, - "publishConfig": { - "access": "public" - }, - "keywords": [ - "malagu-component" - ], - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/cellbang/malagu.git" - }, - "bugs": { - "url": "https://github.com/cellbang/malagu/issues" - }, - "homepage": "https://github.com/cellbang/malagu", - "files": [ - "lib", - "src", - "malagu.yml" - ], - "scripts": { - "lint": "malagu-component lint", - "build": "malagu-component build", - "watch": "malagu-component watch", - "clean": "malagu-component clean", - "test": "malagu-component test:js" - }, - "devDependencies": { - "@malagu/component": "2.55.4" - }, - "gitHead": "bbf636b21ea1a347affcc05a5f6f58b35bedef6d" -} diff --git a/packages/authing/src/node/access/index.ts b/packages/authing/src/node/access/index.ts deleted file mode 100644 index 2ee36255e2..0000000000 --- a/packages/authing/src/node/access/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './policy-provider'; -export * from './policy-resolver'; diff --git a/packages/authing/src/node/access/policy-provider.ts b/packages/authing/src/node/access/policy-provider.ts deleted file mode 100644 index ff3bdcad53..0000000000 --- a/packages/authing/src/node/access/policy-provider.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Component, Autowired } from '@malagu/core'; -import { PolicyProvider, PolicyContext } from '@malagu/security/lib/node'; -import { AuthorizeType, Policy } from '@malagu/security'; -import { AuthingProvider } from '../authentication'; - -export const AUTHING_POLICY_TYPE = 'authing'; - -@Component(PolicyProvider) -export class PrincipalPolicyProvider implements PolicyProvider { - - @Autowired(AuthingProvider) - protected readonly authingProvider: AuthingProvider; - - async provide(ctx: PolicyContext): Promise { - const { principal, type } = ctx; - const policies: Policy[] = []; - if (type === AuthorizeType.Pre && principal.username) { - const auth = this.authingProvider.provide(); - const { rawList } = await auth.userPermissionList(principal.username); - policies.push({ - type: AUTHING_POLICY_TYPE, - authorizeType: AuthorizeType.Pre, - permissionList: rawList || [] - }); - } - return policies; - } -} - diff --git a/packages/authing/src/node/access/policy-resolver.ts b/packages/authing/src/node/access/policy-resolver.ts deleted file mode 100644 index ef86b3cf05..0000000000 --- a/packages/authing/src/node/access/policy-resolver.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Component } from '@malagu/core'; -import { AUTHING_POLICY_TYPE } from './policy-provider'; -import { PolicyResolver, SecurityMetadata, ACCESS_GRANTED, ACCESS_DENIED, ACCESS_ABSTAIN } from '@malagu/security/lib/node'; -import { Policy } from '@malagu/security'; -import * as minimatch from 'minimatch'; - -@Component(PolicyResolver) -export class AuthingPolicyResolver implements PolicyResolver { - - async resolve(policy: Policy, securityMetadata: SecurityMetadata): Promise { - for (const p of policy.permissionList) { - const result = minimatch(`${securityMetadata.resource}.${securityMetadata.action}`, p); - return result ? ACCESS_GRANTED : ACCESS_DENIED; - } - return ACCESS_ABSTAIN; - } - - async support(policy: Policy, securityMetadata: SecurityMetadata): Promise { - return policy.type === AUTHING_POLICY_TYPE; - } -} diff --git a/packages/authing/src/node/authentication/authentication-provider.ts b/packages/authing/src/node/authentication/authentication-provider.ts deleted file mode 100644 index 7d0cd17010..0000000000 --- a/packages/authing/src/node/authentication/authentication-provider.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { Component, Autowired, Value } from '@malagu/core'; -import { Context, RequestMatcher } from '@malagu/web/lib/node'; -import { UserService, UserChecker, BadCredentialsError, AuthenticationProvider, - Authentication, USERNAME_PASSWORD_AUTHENTICATION_PROVIDER_PRIORITY } from '@malagu/security/lib/node'; -import { User } from '@malagu/security'; -import axios from 'axios'; -import { URLSearchParams } from 'url'; -import { AuthingProvider } from './authing-provider'; -import { HttpMethod } from '@malagu/web'; - -@Component(AuthenticationProvider) -export class AuthingSSOAuthenticationProvider implements AuthenticationProvider { - - @Value('malagu.security') - protected readonly securityOptions: any; - - @Value('malagu.authing.sso') - protected readonly ssoOptions: any; - - @Autowired(UserService) - protected readonly userService: UserService; - - @Autowired(UserChecker) - protected readonly userChecker: UserChecker; - - @Autowired(RequestMatcher) - protected readonly requestMatcher: RequestMatcher; - - @Autowired(AuthingProvider) - protected readonly authingProvider: AuthingProvider; - - priority = USERNAME_PASSWORD_AUTHENTICATION_PROVIDER_PRIORITY + 100; - - async authenticate(): Promise { - const request = Context.getRequest(); - let user; - if (request.method.toUpperCase() === HttpMethod.POST) { - const rawUser = request.body; - if (!rawUser || !rawUser._id) { - throw new BadCredentialsError('Bad credentials'); - } - const { token } = rawUser; - const result = await this.authingProvider.provide().checkLoginStatus(token); - if (!result.status) { - throw new BadCredentialsError(result.message); - }; - user = await this.userService.load(rawUser); - } else { - const code = request.query.code; - let accessToken = request.query.access_token; - if (!code || accessToken) { - throw new BadCredentialsError('Bad credentials'); - } - if (!accessToken) { - accessToken = await this.getAccessTokenByCode(code); - } - user = await this.userService.load(accessToken); - } - await this.userChecker.check(user); - - return { - name: user.username, - principal: user, - credentials: '', - policies: user.policies, - authenticated: true - }; - - } - - protected async getAccessTokenByCode(code: string) { - const { id, secret, redirectUri } = this.ssoOptions; - const { data } = await axios.post('https://sso.authing.cn/oauth/oidc/token', - new URLSearchParams({ - code, - client_id: id, - client_secret: secret, - grant_type: 'authorization_code', - redirect_uri: redirectUri - }).toString(), - { - headers: { - 'Content-Type': 'application/x-www-form-urlencoded' - } - } - ); - return data.access_token; - } - - async support(): Promise { - return !!await this.requestMatcher.match(this.securityOptions.loginUrl); - } - -} diff --git a/packages/authing/src/node/authentication/authing-provider.ts b/packages/authing/src/node/authentication/authing-provider.ts deleted file mode 100644 index 2fde01332c..0000000000 --- a/packages/authing/src/node/authentication/authing-provider.ts +++ /dev/null @@ -1,20 +0,0 @@ - -import { Value, Component } from '@malagu/core'; -const Authing = require('authing-js-sdk'); - -@Component() -export class AuthingProvider { - - @Value('malagu.authing.userPool') - protected readonly userPool: any; - - protected auth: any; - - provide() { - if (!this.auth) { - const { accessToken, id, secret } = this.userPool; - this.auth = new Authing(accessToken ? { accessToken } : { userPoolId: id, secret }); - } - return this.auth; - } -} diff --git a/packages/authing/src/node/authentication/index.ts b/packages/authing/src/node/authentication/index.ts deleted file mode 100644 index a3f6972164..0000000000 --- a/packages/authing/src/node/authentication/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './authentication-provider'; -export * from './authing-provider'; diff --git a/packages/authing/src/node/handler/handler-adapter.ts b/packages/authing/src/node/handler/handler-adapter.ts deleted file mode 100644 index 2c2f816cc1..0000000000 --- a/packages/authing/src/node/handler/handler-adapter.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { Component, Autowired, Value } from '@malagu/core'; -import { LOGIN_PAGE_HANDLER_ADAPTER_PRIORITY, LOGIN_PAGE_TEMPLATE, LOGOUT_PAGE_HANDLER_ADAPTER_PRIORITY, LOGOUT_PAGE_TEMPLATE } from './handler-protocol'; -import { RequestMatcher, HandlerAdapter, Context } from '@malagu/web/lib/node'; -import { PathResolver, HttpMethod, HttpHeaders, MediaType } from '@malagu/web'; -import { render } from 'mustache'; -import { SecurityContext } from '@malagu/security/lib/node'; - -@Component(HandlerAdapter) -export class LoginPageHandlerAdapter implements HandlerAdapter { - - readonly priority = LOGIN_PAGE_HANDLER_ADAPTER_PRIORITY; - - @Autowired(RequestMatcher) - protected readonly requestMatcher: RequestMatcher; - - @Autowired(PathResolver) - protected readonly pathResolver: PathResolver; - - @Value('malagu.security') - protected readonly securityOptions: any; - - @Value('malagu.authing') - protected readonly authingOptions: any; - - async handle(): Promise { - const response = Context.getResponse(); - this.authingOptions.sso = this.authingOptions.sso || {}; - response.setHeader(HttpHeaders.CONTENT_TYPE, MediaType.TEXT_HTML); - const guardOptions = { ...this.authingOptions.guardOptions, ...{ - appId: this.authingOptions.sso.id, - domain: this.authingOptions.sso.domain - }}; - response.body = render(LOGIN_PAGE_TEMPLATE, { - userPoolId: this.authingOptions.userPool.id, - guardOptionsStr: JSON.stringify(guardOptions), - guardOptions: guardOptions, - loginSuccessUrl: this.securityOptions.loginSuccessUrl, - loginUrl: this.securityOptions.loginUrl - }); - } - - async canHandle(): Promise { - return this.requestMatcher.match(await this.pathResolver.resolve(this.securityOptions.loginPage), HttpMethod.GET); - } - -} - -@Component(HandlerAdapter) -export class LogoutPageHandlerAdapter implements HandlerAdapter { - - readonly priority = LOGOUT_PAGE_HANDLER_ADAPTER_PRIORITY; - - @Autowired(RequestMatcher) - protected readonly requestMatcher: RequestMatcher; - - @Autowired(PathResolver) - protected readonly pathResolver: PathResolver; - - @Value('malagu.security') - protected readonly securityOptions: any; - - @Value('malagu.authing') - protected readonly authingOptions: any; - - async handle(): Promise { - const response = Context.getResponse(); - this.authingOptions.sso = this.authingOptions.sso || {}; - response.setHeader(HttpHeaders.CONTENT_TYPE, MediaType.TEXT_HTML); - - response.body = render(LOGOUT_PAGE_TEMPLATE, { - userPoolId: this.authingOptions.userPool.id, - logoutSuccessUrl: this.securityOptions.logoutSuccessUrl, - logoutUrl: this.securityOptions.logoutUrl, - isSSO: !!this.authingOptions.sso.id, - userId: SecurityContext.getAuthentication().principal.username, - sso: { id: this.authingOptions.sso.id, type: this.authingOptions.sso.type, domain: this.authingOptions.sso.domain } - }); - } - - async canHandle(): Promise { - return this.requestMatcher.match(await this.pathResolver.resolve(this.securityOptions.logoutUrl), 'GET'); - } - -} - diff --git a/packages/authing/src/node/handler/handler-protocol.ts b/packages/authing/src/node/handler/handler-protocol.ts deleted file mode 100644 index c99af20dbb..0000000000 --- a/packages/authing/src/node/handler/handler-protocol.ts +++ /dev/null @@ -1,115 +0,0 @@ - -export const LOGIN_PAGE_HANDLER_ADAPTER_PRIORITY = 500; -export const LOGOUT_PAGE_HANDLER_ADAPTER_PRIORITY = 500; - -export const LOGIN_PAGE_TEMPLATE = ` - - - - - - - - Authing - - - -
- - - - -`; - -export const LOGOUT_PAGE_TEMPLATE = ` - - - - - - - - Authing - - - -
- - - - -`; diff --git a/packages/authing/src/node/handler/index.ts b/packages/authing/src/node/handler/index.ts deleted file mode 100644 index 534ab0289b..0000000000 --- a/packages/authing/src/node/handler/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './handler-adapter'; -export * from './handler-protocol'; diff --git a/packages/authing/src/node/index.ts b/packages/authing/src/node/index.ts deleted file mode 100644 index 723f665422..0000000000 --- a/packages/authing/src/node/index.ts +++ /dev/null @@ -1,5 +0,0 @@ - -export * from './handler'; -export * from './access'; -export * from './user'; -export * from './authentication'; diff --git a/packages/authing/src/node/user/index.ts b/packages/authing/src/node/user/index.ts deleted file mode 100644 index a72b81ea53..0000000000 --- a/packages/authing/src/node/user/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './user-service'; diff --git a/packages/authing/src/node/user/user-service.ts b/packages/authing/src/node/user/user-service.ts deleted file mode 100644 index 78ef15cb7a..0000000000 --- a/packages/authing/src/node/user/user-service.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Value, Component } from '@malagu/core'; -import axios from 'axios'; -import { UserService } from '@malagu/security/lib/node'; -import { User } from '@malagu/security'; - -@Component({ id: UserService, rebind: true }) -export class UserServiceImpl implements UserService { - - @Value('malagu.security') - protected readonly options: any; - - @Value('malagu.authing') - protected readonly authingOptions: any; - - async load(accessToken: string): Promise { - let data; - let id; - if (typeof accessToken === 'string') { - const res = await axios.get(`https://users.authing.cn/oauth/oidc/user/userinfo?access_token=${accessToken}`); - data = res.data; - id = data.sub; - } else { - data = accessToken as any; - id = data._id; - } - - return { - username: id, - accountNonExpired: true, - accountNonLocked: true, - credentialsNonExpired: true, - enabled: true, - policies: [], - rawUserInfo: data - } as any; - } -} diff --git a/packages/authing/src/package.spec.ts b/packages/authing/src/package.spec.ts deleted file mode 100644 index 6d6debe375..0000000000 --- a/packages/authing/src/package.spec.ts +++ /dev/null @@ -1,4 +0,0 @@ -describe('authing package', () => { - - it('support code coverage statistics', () => {}); -}); diff --git a/packages/cloud/compile.tsconfig.json b/packages/cloud/compile.tsconfig.json deleted file mode 100644 index 17cbe255b0..0000000000 --- a/packages/cloud/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends":"@malagu/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/packages/puppeteer/compile.tsconfig.json b/packages/puppeteer/compile.tsconfig.json index 49f078c06c..20861c6e32 100644 --- a/packages/puppeteer/compile.tsconfig.json +++ b/packages/puppeteer/compile.tsconfig.json @@ -9,14 +9,14 @@ "src" ], "references": [ - { - "path": "../cloud/compile.tsconfig.json" - }, { "path": "../../dev-packages/cli-common/compile.tsconfig.json" }, { "path": "../core/compile.tsconfig.json" + }, + { + "path": "../../cloud/cloud/compile.tsconfig.json" } ] } diff --git a/packages/qq-guild-bot-adapter/README.md b/packages/qq-guild-bot-adapter/README.md deleted file mode 100644 index a0b21fd8e5..0000000000 --- a/packages/qq-guild-bot-adapter/README.md +++ /dev/null @@ -1 +0,0 @@ -# Malagu - QQ Guild Bot Adapater Component diff --git a/packages/qq-guild-bot-adapter/compile.tsconfig.json b/packages/qq-guild-bot-adapter/compile.tsconfig.json deleted file mode 100644 index 479273c338..0000000000 --- a/packages/qq-guild-bot-adapter/compile.tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "@malagu/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../../dev-packages/cli-service/compile.tsconfig.json" - }, - { - "path": "../faas-adapter/compile.tsconfig.json" - }, - { - "path": "../core/compile.tsconfig.json" - }, - { - "path": "../../dev-packages/cli-common/compile.tsconfig.json" - } - ] -} diff --git a/packages/qq-guild-bot-adapter/package.json b/packages/qq-guild-bot-adapter/package.json deleted file mode 100644 index a46ce0e809..0000000000 --- a/packages/qq-guild-bot-adapter/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@malagu/qq-guild-bot-adapter", - "version": "2.55.4", - "description": "", - "dependencies": { - "@malagu/cli-common": "2.55.4", - "@malagu/cli-service": "2.55.4", - "@malagu/core": "2.55.4", - "@malagu/faas-adapter": "2.55.4", - "copy-webpack-plugin": "^9.0.0", - "fs-extra": "^11.1.1", - "qq-guild-bot": "2.9.2-beta6", - "webpack": "^5.52.0" - }, - "publishConfig": { - "access": "public" - }, - "keywords": [ - "malagu-component" - ], - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/cellbang/malagu.git" - }, - "bugs": { - "url": "https://github.com/cellbang/malagu/issues" - }, - "homepage": "https://github.com/cellbang/malagu", - "files": [ - "lib", - "src", - "malagu.yml" - ], - "scripts": { - "lint": "malagu-component lint", - "build": "malagu-component build", - "watch": "malagu-component watch", - "clean": "malagu-component clean", - "test": "malagu-component test:js" - }, - "devDependencies": { - "@malagu/component": "2.55.4" - }, - "gitHead": "bbf636b21ea1a347affcc05a5f6f58b35bedef6d" -} diff --git a/packages/qq-guild-bot-adapter/src/hooks/event-loader.ts b/packages/qq-guild-bot-adapter/src/hooks/event-loader.ts deleted file mode 100644 index 8580a837e6..0000000000 --- a/packages/qq-guild-bot-adapter/src/hooks/event-loader.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LoaderDefinition } from 'webpack'; - -export interface EventLoaderOptions { - event: string; -} - -const eventLoader: LoaderDefinition = function (source, sourceMap) { - const { event } = this.getOptions(); - const newSource = `module.exports = function() { - global.short.on('${event}', async context => { - ${source} - }); - }`; - this.callback(undefined, newSource, sourceMap); -}; - -export default eventLoader; diff --git a/packages/qq-guild-bot-adapter/src/hooks/webpack.ts b/packages/qq-guild-bot-adapter/src/hooks/webpack.ts deleted file mode 100644 index 820413b3fd..0000000000 --- a/packages/qq-guild-bot-adapter/src/hooks/webpack.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { ConfigurationContext, WebpackContext } from '@malagu/cli-service/lib/context/context-protocol'; -import { PathUtil } from '@malagu/cli-common/lib/utils/path-util'; -import { join, resolve } from 'path'; -import { existsSync } from 'fs-extra'; - -export default async (context: WebpackContext) => { - const { configurations } = context; - const config = ConfigurationContext.getBackendConfiguration( - configurations - ); - if (config) { - const botConfigPath = join(process.cwd(), 'bot-config.json'); - if (existsSync(botConfigPath)) { - const { eventMap } = require(botConfigPath); - for (const event of Object.keys(eventMap || {})) { - const entryPath = resolve(process.cwd(), eventMap[event]); - config.entry(event).add(entryPath); - config.module.rule(event) - .test(path => path === entryPath) - .use('qq-event-loader') - .loader(require.resolve('./event-loader')) - .options({ event }); - } - } - const CopyPlugin = require('copy-webpack-plugin'); - const backendProjectDistPath = PathUtil.getBackendProjectDistPath(); - config - .plugin('copyBotConfig') - .use(CopyPlugin, [{ - patterns: [ - { - from: botConfigPath, - to: resolve(backendProjectDistPath, 'bot-config.json') - } - ] - }]); - } -}; - diff --git a/packages/qq-guild-bot-adapter/src/node/event-listener.ts b/packages/qq-guild-bot-adapter/src/node/event-listener.ts deleted file mode 100644 index c6cf1d944c..0000000000 --- a/packages/qq-guild-bot-adapter/src/node/event-listener.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Component } from '@malagu/core'; -import { FaaSEventListener } from '@malagu/faas-adapter'; -import { join } from 'path'; -import { createOpenAPI, createShort } from 'qq-guild-bot'; -// eslint-disable-next-line no-eval -const localRequire = eval('require'); -const { appID, token, intents, secret, eventMap } = localRequire(join(__dirname, 'bot-config.json')); - -@Component(FaaSEventListener) -export class BotEventListener implements FaaSEventListener { - - protected getConfig() { - return { - appID, - secret, - token, - intents - }; - } - - protected createAndBindClient() { - const config = this.getConfig(); - const client = createOpenAPI(config); - const short = createShort(config); - (global as any).client = client; - (global as any).short = short; - } - - protected registerListeners() { - const { short } = global as any; - - short.on('READY', (data: any) => { - console.log('[READY] 事件接收 :', data); - }); - short.on('ERROR', (data: any) => { - console.log('[ERROR] 事件接收 :', data); - }); - - short.on('EVENT_SHORT', (data: any) => { - console.log('【EVENT_SHORT】内部事件通知', data); - }); - - for (const event of Object.keys(eventMap)) { - localRequire(`./${event}`)(); - } - } - - async onTrigger(event: any): Promise { - this.createAndBindClient(); - this.registerListeners(); - const { short } = global as any; - return short.callback(event); - } - -} diff --git a/packages/qq-guild-bot-adapter/src/node/index.ts b/packages/qq-guild-bot-adapter/src/node/index.ts deleted file mode 100644 index 192a4ce1ee..0000000000 --- a/packages/qq-guild-bot-adapter/src/node/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './event-listener'; diff --git a/packages/qq-guild-bot-adapter/src/package.spec.ts b/packages/qq-guild-bot-adapter/src/package.spec.ts deleted file mode 100644 index 8d8379872b..0000000000 --- a/packages/qq-guild-bot-adapter/src/package.spec.ts +++ /dev/null @@ -1,4 +0,0 @@ -describe('qq guild bot adapter package', () => { - - it('support code coverage statistics', () => {}); -}); diff --git a/packages/s3/src/node/module.ts b/packages/s3/src/node/module.ts deleted file mode 100644 index 5f3e5b3ee0..0000000000 --- a/packages/s3/src/node/module.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { autoBind } from '@malagu/core'; -import './index'; - -export default autoBind(); diff --git a/packages/scf-adapter/malagu.yml b/packages/scf-adapter/malagu.yml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/scf-adapter/src/node/module.ts b/packages/scf-adapter/src/node/module.ts deleted file mode 100644 index 5f3e5b3ee0..0000000000 --- a/packages/scf-adapter/src/node/module.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { autoBind } from '@malagu/core'; -import './index'; - -export default autoBind(); diff --git a/packages/shell/src/node/index.ts b/packages/shell/src/node/index.ts deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/vue/.eslintrc.js b/packages/vue/.eslintrc.js deleted file mode 100644 index 8a85e18845..0000000000 --- a/packages/vue/.eslintrc.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: [ - require.resolve('@malagu/component/configs/build.eslintrc.json') - ], - parserOptions: { - tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' - } -}; \ No newline at end of file diff --git a/packages/widget/.eslintrc.js b/packages/widget/.eslintrc.js deleted file mode 100644 index 8a85e18845..0000000000 --- a/packages/widget/.eslintrc.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: [ - require.resolve('@malagu/component/configs/build.eslintrc.json') - ], - parserOptions: { - tsconfigRootDir: __dirname, - project: 'compile.tsconfig.json' - } -}; \ No newline at end of file diff --git a/packages/widget/compile.tsconfig.json b/packages/widget/compile.tsconfig.json deleted file mode 100644 index 17cbe255b0..0000000000 --- a/packages/widget/compile.tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends":"@malagu/component/configs/base.tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "src", - "outDir": "lib" - }, - "include": [ - "src" - ], - "references": [ - { - "path": "../core/compile.tsconfig.json" - } - ] -} diff --git a/tsconfig.json b/tsconfig.json index de286f0c01..88b2d937f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -57,7 +57,7 @@ "dev-packages/pwa/src/*" ], "@malagu/antd/lib/*": [ - "packages/antd/src/*" + "ui/antd/src/*" ], "@malagu/authing/lib/*": [ "packages/authing/src/*" @@ -66,31 +66,31 @@ "packages/cache/src/*" ], "@malagu/cloud/lib/*": [ - "packages/cloud/src/*" + "cloud/cloud/src/*" ], "@malagu/cos/lib/*": [ - "packages/cos/src/*" + "cloud/cos/src/*" ], "@malagu/express-adapter/lib/*": [ "packages/express-adapter/src/*" ], "@malagu/faas-adapter/lib/*": [ - "packages/faas-adapter/src/*" + "cloud/faas-adapter/src/*" ], "@malagu/fc-adapter/lib/*": [ - "packages/fc-adapter/src/*" + "cloud/fc-adapter/src/*" ], "@malagu/grommet/lib/*": [ - "packages/grommet/src/*" + "ui/grommet/src/*" ], "@malagu/lambda-adapter/lib/*": [ - "packages/lambda-adapter/src/*" + "cloud/lambda-adapter/src/*" ], "@malagu/logger/lib/*": [ "packages/logger/src/*" ], "@malagu/material-ui/lib/*": [ - "packages/material-ui/src/*" + "ui/material-ui/src/*" ], "@malagu/mvc/lib/*": [ "packages/mvc/src/*" @@ -108,22 +108,22 @@ "packages/oidc-provider/src/*" ], "@malagu/oss/lib/*": [ - "packages/oss/src/*" + "cloud/oss/src/*" ], "@malagu/puppeteer/lib/*": [ "packages/puppeteer/src/*" ], "@malagu/react/lib/*": [ - "packages/react/src/*" + "ui/react/src/*" ], "@malagu/rpc/lib/*": [ "packages/rpc/src/*" ], "@malagu/s3/lib/*": [ - "packages/s3/src/*" + "cloud/s3/src/*" ], "@malagu/scf-adapter/lib/*": [ - "packages/scf-adapter/src/*" + "cloud/scf-adapter/src/*" ], "@malagu/schedule/lib/*": [ "packages/schedule/src/*" @@ -135,19 +135,19 @@ "packages/serve-static/src/*" ], "@malagu/shell/lib/*": [ - "packages/shell/src/*" + "ui/shell/src/*" ], "@malagu/typeorm/lib/*": [ "packages/typeorm/src/*" ], "@malagu/vercel-adapter/lib/*": [ - "packages/vercel-adapter/src/*" + "cloud/vercel-adapter/src/*" ], "@malagu/vue/lib/*": [ - "packages/vue/src/*" + "ui/vue/src/*" ], "@malagu/widget/lib/*": [ - "packages/widget/src/*" + "ui/widget/src/*" ], "@malagu/example-backend-app/*": [ "examples/backend-app/*" @@ -287,6 +287,7 @@ "dev-packages/*/src", "packages/*/src", "examples/*/test", - "plugins/*/src" -, "packages/cache/src/node/delegating-cache-manager.ts" ] + "plugins/*/src", + "packages/cache/src/node/delegating-cache-manager.ts" + ] } diff --git a/packages/oss/.eslintrc.js b/ui/antd/.eslintrc.js similarity index 100% rename from packages/oss/.eslintrc.js rename to ui/antd/.eslintrc.js diff --git a/packages/antd/README.md b/ui/antd/README.md similarity index 100% rename from packages/antd/README.md rename to ui/antd/README.md diff --git a/packages/antd/compile.tsconfig.json b/ui/antd/compile.tsconfig.json similarity index 82% rename from packages/antd/compile.tsconfig.json rename to ui/antd/compile.tsconfig.json index 22888202cc..873ba373da 100644 --- a/packages/antd/compile.tsconfig.json +++ b/ui/antd/compile.tsconfig.json @@ -13,7 +13,7 @@ "path": "../react/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/antd/malagu-cdn.yml b/ui/antd/malagu-cdn.yml similarity index 100% rename from packages/antd/malagu-cdn.yml rename to ui/antd/malagu-cdn.yml diff --git a/packages/antd/malagu.yml b/ui/antd/malagu.yml similarity index 100% rename from packages/antd/malagu.yml rename to ui/antd/malagu.yml diff --git a/packages/antd/package.json b/ui/antd/package.json similarity index 100% rename from packages/antd/package.json rename to ui/antd/package.json diff --git a/packages/antd/src/browser/config/config-context.tsx b/ui/antd/src/browser/config/config-context.tsx similarity index 100% rename from packages/antd/src/browser/config/config-context.tsx rename to ui/antd/src/browser/config/config-context.tsx diff --git a/packages/antd/src/browser/config/config-protocol.ts b/ui/antd/src/browser/config/config-protocol.ts similarity index 100% rename from packages/antd/src/browser/config/config-protocol.ts rename to ui/antd/src/browser/config/config-protocol.ts diff --git a/packages/antd/src/browser/config/config-provider.ts b/ui/antd/src/browser/config/config-provider.ts similarity index 100% rename from packages/antd/src/browser/config/config-provider.ts rename to ui/antd/src/browser/config/config-provider.ts diff --git a/packages/antd/src/browser/config/index.ts b/ui/antd/src/browser/config/index.ts similarity index 100% rename from packages/antd/src/browser/config/index.ts rename to ui/antd/src/browser/config/index.ts diff --git a/packages/antd/src/browser/index.ts b/ui/antd/src/browser/index.ts similarity index 100% rename from packages/antd/src/browser/index.ts rename to ui/antd/src/browser/index.ts diff --git a/packages/antd/src/browser/module.ts b/ui/antd/src/browser/module.ts similarity index 100% rename from packages/antd/src/browser/module.ts rename to ui/antd/src/browser/module.ts diff --git a/packages/antd/src/package.spec.ts b/ui/antd/src/package.spec.ts similarity index 100% rename from packages/antd/src/package.spec.ts rename to ui/antd/src/package.spec.ts diff --git a/packages/qq-guild-bot-adapter/.eslintrc.js b/ui/grommet/.eslintrc.js similarity index 100% rename from packages/qq-guild-bot-adapter/.eslintrc.js rename to ui/grommet/.eslintrc.js diff --git a/packages/grommet/README.md b/ui/grommet/README.md similarity index 100% rename from packages/grommet/README.md rename to ui/grommet/README.md diff --git a/packages/grommet/compile.tsconfig.json b/ui/grommet/compile.tsconfig.json similarity index 85% rename from packages/grommet/compile.tsconfig.json rename to ui/grommet/compile.tsconfig.json index 0653c0f46d..1e3beb095c 100644 --- a/packages/grommet/compile.tsconfig.json +++ b/ui/grommet/compile.tsconfig.json @@ -13,10 +13,10 @@ "path": "../react/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../widget/compile.tsconfig.json" }, { - "path": "../widget/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/s3/malagu.yml b/ui/grommet/malagu.yml similarity index 100% rename from packages/s3/malagu.yml rename to ui/grommet/malagu.yml diff --git a/packages/grommet/package.json b/ui/grommet/package.json similarity index 100% rename from packages/grommet/package.json rename to ui/grommet/package.json diff --git a/packages/grommet/src/browser/icon/cellbang.tsx b/ui/grommet/src/browser/icon/cellbang.tsx similarity index 100% rename from packages/grommet/src/browser/icon/cellbang.tsx rename to ui/grommet/src/browser/icon/cellbang.tsx diff --git a/packages/grommet/src/browser/icon/icon-protocol.ts b/ui/grommet/src/browser/icon/icon-protocol.ts similarity index 100% rename from packages/grommet/src/browser/icon/icon-protocol.ts rename to ui/grommet/src/browser/icon/icon-protocol.ts diff --git a/packages/grommet/src/browser/icon/icon-resolver.tsx b/ui/grommet/src/browser/icon/icon-resolver.tsx similarity index 100% rename from packages/grommet/src/browser/icon/icon-resolver.tsx rename to ui/grommet/src/browser/icon/icon-resolver.tsx diff --git a/packages/grommet/src/browser/icon/icon.tsx b/ui/grommet/src/browser/icon/icon.tsx similarity index 100% rename from packages/grommet/src/browser/icon/icon.tsx rename to ui/grommet/src/browser/icon/icon.tsx diff --git a/packages/grommet/src/browser/icon/index.ts b/ui/grommet/src/browser/icon/index.ts similarity index 100% rename from packages/grommet/src/browser/icon/index.ts rename to ui/grommet/src/browser/icon/index.ts diff --git a/packages/grommet/src/browser/index.ts b/ui/grommet/src/browser/index.ts similarity index 100% rename from packages/grommet/src/browser/index.ts rename to ui/grommet/src/browser/index.ts diff --git a/packages/grommet/src/browser/locale-menu/index.ts b/ui/grommet/src/browser/locale-menu/index.ts similarity index 100% rename from packages/grommet/src/browser/locale-menu/index.ts rename to ui/grommet/src/browser/locale-menu/index.ts diff --git a/packages/grommet/src/browser/locale-menu/locale-menu.tsx b/ui/grommet/src/browser/locale-menu/locale-menu.tsx similarity index 100% rename from packages/grommet/src/browser/locale-menu/locale-menu.tsx rename to ui/grommet/src/browser/locale-menu/locale-menu.tsx diff --git a/packages/grommet/src/browser/module.ts b/ui/grommet/src/browser/module.ts similarity index 100% rename from packages/grommet/src/browser/module.ts rename to ui/grommet/src/browser/module.ts diff --git a/packages/grommet/src/browser/nav-item/index.ts b/ui/grommet/src/browser/nav-item/index.ts similarity index 100% rename from packages/grommet/src/browser/nav-item/index.ts rename to ui/grommet/src/browser/nav-item/index.ts diff --git a/packages/grommet/src/browser/nav-item/nav-item.tsx b/ui/grommet/src/browser/nav-item/nav-item.tsx similarity index 100% rename from packages/grommet/src/browser/nav-item/nav-item.tsx rename to ui/grommet/src/browser/nav-item/nav-item.tsx diff --git a/packages/grommet/src/browser/theme-box/index.ts b/ui/grommet/src/browser/theme-box/index.ts similarity index 100% rename from packages/grommet/src/browser/theme-box/index.ts rename to ui/grommet/src/browser/theme-box/index.ts diff --git a/packages/grommet/src/browser/theme-box/theme-box.tsx b/ui/grommet/src/browser/theme-box/theme-box.tsx similarity index 100% rename from packages/grommet/src/browser/theme-box/theme-box.tsx rename to ui/grommet/src/browser/theme-box/theme-box.tsx diff --git a/packages/grommet/src/browser/theme/index.ts b/ui/grommet/src/browser/theme/index.ts similarity index 100% rename from packages/grommet/src/browser/theme/index.ts rename to ui/grommet/src/browser/theme/index.ts diff --git a/packages/grommet/src/browser/theme/theme-context.tsx b/ui/grommet/src/browser/theme/theme-context.tsx similarity index 100% rename from packages/grommet/src/browser/theme/theme-context.tsx rename to ui/grommet/src/browser/theme/theme-context.tsx diff --git a/packages/grommet/src/browser/theme/theme-protocol.ts b/ui/grommet/src/browser/theme/theme-protocol.ts similarity index 100% rename from packages/grommet/src/browser/theme/theme-protocol.ts rename to ui/grommet/src/browser/theme/theme-protocol.ts diff --git a/packages/grommet/src/browser/widget/index.ts b/ui/grommet/src/browser/widget/index.ts similarity index 100% rename from packages/grommet/src/browser/widget/index.ts rename to ui/grommet/src/browser/widget/index.ts diff --git a/packages/grommet/src/browser/widget/widget-factory.tsx b/ui/grommet/src/browser/widget/widget-factory.tsx similarity index 100% rename from packages/grommet/src/browser/widget/widget-factory.tsx rename to ui/grommet/src/browser/widget/widget-factory.tsx diff --git a/packages/grommet/src/browser/widget/widget-protocol.ts b/ui/grommet/src/browser/widget/widget-protocol.ts similarity index 100% rename from packages/grommet/src/browser/widget/widget-protocol.ts rename to ui/grommet/src/browser/widget/widget-protocol.ts diff --git a/packages/grommet/src/browser/widget/widgets.ts b/ui/grommet/src/browser/widget/widgets.ts similarity index 100% rename from packages/grommet/src/browser/widget/widgets.ts rename to ui/grommet/src/browser/widget/widgets.ts diff --git a/packages/grommet/src/package.spec.ts b/ui/grommet/src/package.spec.ts similarity index 100% rename from packages/grommet/src/package.spec.ts rename to ui/grommet/src/package.spec.ts diff --git a/packages/react/.eslintrc.js b/ui/material-ui/.eslintrc.js similarity index 100% rename from packages/react/.eslintrc.js rename to ui/material-ui/.eslintrc.js diff --git a/packages/material-ui/README.md b/ui/material-ui/README.md similarity index 100% rename from packages/material-ui/README.md rename to ui/material-ui/README.md diff --git a/packages/material-ui/compile.tsconfig.json b/ui/material-ui/compile.tsconfig.json similarity index 82% rename from packages/material-ui/compile.tsconfig.json rename to ui/material-ui/compile.tsconfig.json index 22888202cc..873ba373da 100644 --- a/packages/material-ui/compile.tsconfig.json +++ b/ui/material-ui/compile.tsconfig.json @@ -13,7 +13,7 @@ "path": "../react/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/material-ui/malagu-cdn.yml b/ui/material-ui/malagu-cdn.yml similarity index 100% rename from packages/material-ui/malagu-cdn.yml rename to ui/material-ui/malagu-cdn.yml diff --git a/packages/material-ui/package.json b/ui/material-ui/package.json similarity index 100% rename from packages/material-ui/package.json rename to ui/material-ui/package.json diff --git a/packages/material-ui/src/browser/index.ts b/ui/material-ui/src/browser/index.ts similarity index 100% rename from packages/material-ui/src/browser/index.ts rename to ui/material-ui/src/browser/index.ts diff --git a/packages/material-ui/src/browser/module.ts b/ui/material-ui/src/browser/module.ts similarity index 100% rename from packages/material-ui/src/browser/module.ts rename to ui/material-ui/src/browser/module.ts diff --git a/packages/material-ui/src/browser/theme/index.ts b/ui/material-ui/src/browser/theme/index.ts similarity index 100% rename from packages/material-ui/src/browser/theme/index.ts rename to ui/material-ui/src/browser/theme/index.ts diff --git a/packages/material-ui/src/browser/theme/theme-context.tsx b/ui/material-ui/src/browser/theme/theme-context.tsx similarity index 100% rename from packages/material-ui/src/browser/theme/theme-context.tsx rename to ui/material-ui/src/browser/theme/theme-context.tsx diff --git a/packages/material-ui/src/browser/theme/theme-protocol.ts b/ui/material-ui/src/browser/theme/theme-protocol.ts similarity index 100% rename from packages/material-ui/src/browser/theme/theme-protocol.ts rename to ui/material-ui/src/browser/theme/theme-protocol.ts diff --git a/packages/material-ui/src/browser/theme/theme-provider.ts b/ui/material-ui/src/browser/theme/theme-provider.ts similarity index 100% rename from packages/material-ui/src/browser/theme/theme-provider.ts rename to ui/material-ui/src/browser/theme/theme-provider.ts diff --git a/packages/material-ui/src/package.spec.ts b/ui/material-ui/src/package.spec.ts similarity index 100% rename from packages/material-ui/src/package.spec.ts rename to ui/material-ui/src/package.spec.ts diff --git a/packages/s3/.eslintrc.js b/ui/react/.eslintrc.js similarity index 100% rename from packages/s3/.eslintrc.js rename to ui/react/.eslintrc.js diff --git a/packages/react/README.md b/ui/react/README.md similarity index 100% rename from packages/react/README.md rename to ui/react/README.md diff --git a/packages/react/compile.tsconfig.json b/ui/react/compile.tsconfig.json similarity index 88% rename from packages/react/compile.tsconfig.json rename to ui/react/compile.tsconfig.json index 8f05265615..4c0afe3a5b 100644 --- a/packages/react/compile.tsconfig.json +++ b/ui/react/compile.tsconfig.json @@ -19,7 +19,7 @@ "path": "../../dev-packages/cli-common/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/react/malagu-cdn.yml b/ui/react/malagu-cdn.yml similarity index 100% rename from packages/react/malagu-cdn.yml rename to ui/react/malagu-cdn.yml diff --git a/packages/react/malagu.yml b/ui/react/malagu.yml similarity index 100% rename from packages/react/malagu.yml rename to ui/react/malagu.yml diff --git a/packages/react/package.json b/ui/react/package.json similarity index 100% rename from packages/react/package.json rename to ui/react/package.json diff --git a/packages/react/src/browser/annotation/app.ts b/ui/react/src/browser/annotation/app.ts similarity index 100% rename from packages/react/src/browser/annotation/app.ts rename to ui/react/src/browser/annotation/app.ts diff --git a/packages/react/src/browser/annotation/context.ts b/ui/react/src/browser/annotation/context.ts similarity index 100% rename from packages/react/src/browser/annotation/context.ts rename to ui/react/src/browser/annotation/context.ts diff --git a/packages/react/src/browser/annotation/default-layout.ts b/ui/react/src/browser/annotation/default-layout.ts similarity index 100% rename from packages/react/src/browser/annotation/default-layout.ts rename to ui/react/src/browser/annotation/default-layout.ts diff --git a/packages/react/src/browser/annotation/icon.ts b/ui/react/src/browser/annotation/icon.ts similarity index 100% rename from packages/react/src/browser/annotation/icon.ts rename to ui/react/src/browser/annotation/icon.ts diff --git a/packages/react/src/browser/annotation/index.ts b/ui/react/src/browser/annotation/index.ts similarity index 100% rename from packages/react/src/browser/annotation/index.ts rename to ui/react/src/browser/annotation/index.ts diff --git a/packages/react/src/browser/annotation/react-component.ts b/ui/react/src/browser/annotation/react-component.ts similarity index 100% rename from packages/react/src/browser/annotation/react-component.ts rename to ui/react/src/browser/annotation/react-component.ts diff --git a/packages/react/src/browser/annotation/route.ts b/ui/react/src/browser/annotation/route.ts similarity index 100% rename from packages/react/src/browser/annotation/route.ts rename to ui/react/src/browser/annotation/route.ts diff --git a/packages/react/src/browser/annotation/router.ts b/ui/react/src/browser/annotation/router.ts similarity index 100% rename from packages/react/src/browser/annotation/router.ts rename to ui/react/src/browser/annotation/router.ts diff --git a/packages/react/src/browser/annotation/view.ts b/ui/react/src/browser/annotation/view.ts similarity index 100% rename from packages/react/src/browser/annotation/view.ts rename to ui/react/src/browser/annotation/view.ts diff --git a/packages/react/src/browser/app/app-protocol.ts b/ui/react/src/browser/app/app-protocol.ts similarity index 100% rename from packages/react/src/browser/app/app-protocol.ts rename to ui/react/src/browser/app/app-protocol.ts diff --git a/packages/react/src/browser/app/app.tsx b/ui/react/src/browser/app/app.tsx similarity index 100% rename from packages/react/src/browser/app/app.tsx rename to ui/react/src/browser/app/app.tsx diff --git a/packages/react/src/browser/app/index.ts b/ui/react/src/browser/app/index.ts similarity index 100% rename from packages/react/src/browser/app/index.ts rename to ui/react/src/browser/app/index.ts diff --git a/packages/react/src/browser/context/context-protocol.ts b/ui/react/src/browser/context/context-protocol.ts similarity index 100% rename from packages/react/src/browser/context/context-protocol.ts rename to ui/react/src/browser/context/context-protocol.ts diff --git a/packages/react/src/browser/context/context-provider.ts b/ui/react/src/browser/context/context-provider.ts similarity index 100% rename from packages/react/src/browser/context/context-provider.ts rename to ui/react/src/browser/context/context-provider.ts diff --git a/packages/react/src/browser/context/context.tsx b/ui/react/src/browser/context/context.tsx similarity index 100% rename from packages/react/src/browser/context/context.tsx rename to ui/react/src/browser/context/context.tsx diff --git a/packages/react/src/browser/context/index.ts b/ui/react/src/browser/context/index.ts similarity index 100% rename from packages/react/src/browser/context/index.ts rename to ui/react/src/browser/context/index.ts diff --git a/packages/react/src/browser/icon/icon-protocol.ts b/ui/react/src/browser/icon/icon-protocol.ts similarity index 100% rename from packages/react/src/browser/icon/icon-protocol.ts rename to ui/react/src/browser/icon/icon-protocol.ts diff --git a/packages/react/src/browser/icon/icon.tsx b/ui/react/src/browser/icon/icon.tsx similarity index 100% rename from packages/react/src/browser/icon/icon.tsx rename to ui/react/src/browser/icon/icon.tsx diff --git a/packages/react/src/browser/icon/index.ts b/ui/react/src/browser/icon/index.ts similarity index 100% rename from packages/react/src/browser/icon/index.ts rename to ui/react/src/browser/icon/index.ts diff --git a/packages/react/src/browser/index.ts b/ui/react/src/browser/index.ts similarity index 100% rename from packages/react/src/browser/index.ts rename to ui/react/src/browser/index.ts diff --git a/packages/react/src/browser/layout/index.ts b/ui/react/src/browser/layout/index.ts similarity index 100% rename from packages/react/src/browser/layout/index.ts rename to ui/react/src/browser/layout/index.ts diff --git a/packages/react/src/browser/layout/layout-protocol.ts b/ui/react/src/browser/layout/layout-protocol.ts similarity index 100% rename from packages/react/src/browser/layout/layout-protocol.ts rename to ui/react/src/browser/layout/layout-protocol.ts diff --git a/packages/react/src/browser/layout/layout.tsx b/ui/react/src/browser/layout/layout.tsx similarity index 100% rename from packages/react/src/browser/layout/layout.tsx rename to ui/react/src/browser/layout/layout.tsx diff --git a/packages/react/src/browser/locale/index.ts b/ui/react/src/browser/locale/index.ts similarity index 100% rename from packages/react/src/browser/locale/index.ts rename to ui/react/src/browser/locale/index.ts diff --git a/packages/react/src/browser/locale/locale-context.tsx b/ui/react/src/browser/locale/locale-context.tsx similarity index 100% rename from packages/react/src/browser/locale/locale-context.tsx rename to ui/react/src/browser/locale/locale-context.tsx diff --git a/packages/react/src/browser/locale/locale-protocol.ts b/ui/react/src/browser/locale/locale-protocol.ts similarity index 100% rename from packages/react/src/browser/locale/locale-protocol.ts rename to ui/react/src/browser/locale/locale-protocol.ts diff --git a/packages/react/src/browser/module.ts b/ui/react/src/browser/module.ts similarity index 100% rename from packages/react/src/browser/module.ts rename to ui/react/src/browser/module.ts diff --git a/packages/react/src/browser/resolver/index.ts b/ui/react/src/browser/resolver/index.ts similarity index 100% rename from packages/react/src/browser/resolver/index.ts rename to ui/react/src/browser/resolver/index.ts diff --git a/packages/react/src/browser/resolver/path-resolver.ts b/ui/react/src/browser/resolver/path-resolver.ts similarity index 100% rename from packages/react/src/browser/resolver/path-resolver.ts rename to ui/react/src/browser/resolver/path-resolver.ts diff --git a/packages/react/src/browser/resolver/resolver-protocol.ts b/ui/react/src/browser/resolver/resolver-protocol.ts similarity index 100% rename from packages/react/src/browser/resolver/resolver-protocol.ts rename to ui/react/src/browser/resolver/resolver-protocol.ts diff --git a/packages/react/src/browser/router/index.ts b/ui/react/src/browser/router/index.ts similarity index 100% rename from packages/react/src/browser/router/index.ts rename to ui/react/src/browser/router/index.ts diff --git a/packages/react/src/browser/router/route-metadata-converter-provider.ts b/ui/react/src/browser/router/route-metadata-converter-provider.ts similarity index 100% rename from packages/react/src/browser/router/route-metadata-converter-provider.ts rename to ui/react/src/browser/router/route-metadata-converter-provider.ts diff --git a/packages/react/src/browser/router/route-metadata-converter.ts b/ui/react/src/browser/router/route-metadata-converter.ts similarity index 100% rename from packages/react/src/browser/router/route-metadata-converter.ts rename to ui/react/src/browser/router/route-metadata-converter.ts diff --git a/packages/react/src/browser/router/route-metadata-provider.tsx b/ui/react/src/browser/router/route-metadata-provider.tsx similarity index 100% rename from packages/react/src/browser/router/route-metadata-provider.tsx rename to ui/react/src/browser/router/route-metadata-provider.tsx diff --git a/packages/react/src/browser/router/router-protocol.ts b/ui/react/src/browser/router/router-protocol.ts similarity index 100% rename from packages/react/src/browser/router/router-protocol.ts rename to ui/react/src/browser/router/router-protocol.ts diff --git a/packages/react/src/browser/router/router.tsx b/ui/react/src/browser/router/router.tsx similarity index 100% rename from packages/react/src/browser/router/router.tsx rename to ui/react/src/browser/router/router.tsx diff --git a/packages/react/src/browser/shell/index.ts b/ui/react/src/browser/shell/index.ts similarity index 100% rename from packages/react/src/browser/shell/index.ts rename to ui/react/src/browser/shell/index.ts diff --git a/packages/react/src/browser/shell/shell.tsx b/ui/react/src/browser/shell/shell.tsx similarity index 100% rename from packages/react/src/browser/shell/shell.tsx rename to ui/react/src/browser/shell/shell.tsx diff --git a/packages/react/src/browser/slot/index.ts b/ui/react/src/browser/slot/index.ts similarity index 100% rename from packages/react/src/browser/slot/index.ts rename to ui/react/src/browser/slot/index.ts diff --git a/packages/react/src/browser/slot/slot.tsx b/ui/react/src/browser/slot/slot.tsx similarity index 100% rename from packages/react/src/browser/slot/slot.tsx rename to ui/react/src/browser/slot/slot.tsx diff --git a/packages/react/src/browser/widget/index.ts b/ui/react/src/browser/widget/index.ts similarity index 100% rename from packages/react/src/browser/widget/index.ts rename to ui/react/src/browser/widget/index.ts diff --git a/packages/react/src/browser/widget/widget-factory.ts b/ui/react/src/browser/widget/widget-factory.ts similarity index 100% rename from packages/react/src/browser/widget/widget-factory.ts rename to ui/react/src/browser/widget/widget-factory.ts diff --git a/packages/react/src/hooks/webpack.ts b/ui/react/src/hooks/webpack.ts similarity index 100% rename from packages/react/src/hooks/webpack.ts rename to ui/react/src/hooks/webpack.ts diff --git a/packages/react/src/package.spec.ts b/ui/react/src/package.spec.ts similarity index 100% rename from packages/react/src/package.spec.ts rename to ui/react/src/package.spec.ts diff --git a/packages/scf-adapter/.eslintrc.js b/ui/shell/.eslintrc.js similarity index 100% rename from packages/scf-adapter/.eslintrc.js rename to ui/shell/.eslintrc.js diff --git a/packages/shell/README.md b/ui/shell/README.md similarity index 100% rename from packages/shell/README.md rename to ui/shell/README.md diff --git a/packages/shell/compile.tsconfig.json b/ui/shell/compile.tsconfig.json similarity index 77% rename from packages/shell/compile.tsconfig.json rename to ui/shell/compile.tsconfig.json index 4a356d72f7..7405940b35 100644 --- a/packages/shell/compile.tsconfig.json +++ b/ui/shell/compile.tsconfig.json @@ -13,16 +13,16 @@ "path": "../grommet/compile.tsconfig.json" }, { - "path": "../security/compile.tsconfig.json" + "path": "../widget/compile.tsconfig.json" }, { - "path": "../core/compile.tsconfig.json" + "path": "../react/compile.tsconfig.json" }, { - "path": "../widget/compile.tsconfig.json" + "path": "../../packages/core/compile.tsconfig.json" }, { - "path": "../react/compile.tsconfig.json" + "path": "../../packages/security/compile.tsconfig.json" } ] } diff --git a/packages/shell/malagu-locale.yml b/ui/shell/malagu-locale.yml similarity index 100% rename from packages/shell/malagu-locale.yml rename to ui/shell/malagu-locale.yml diff --git a/packages/shell/malagu.yml b/ui/shell/malagu.yml similarity index 100% rename from packages/shell/malagu.yml rename to ui/shell/malagu.yml diff --git a/packages/shell/package.json b/ui/shell/package.json similarity index 100% rename from packages/shell/package.json rename to ui/shell/package.json diff --git a/packages/shell/src/browser/annotation/index.ts b/ui/shell/src/browser/annotation/index.ts similarity index 100% rename from packages/shell/src/browser/annotation/index.ts rename to ui/shell/src/browser/annotation/index.ts diff --git a/packages/shell/src/browser/annotation/left-area.ts b/ui/shell/src/browser/annotation/left-area.ts similarity index 100% rename from packages/shell/src/browser/annotation/left-area.ts rename to ui/shell/src/browser/annotation/left-area.ts diff --git a/packages/shell/src/browser/annotation/top-area.ts b/ui/shell/src/browser/annotation/top-area.ts similarity index 100% rename from packages/shell/src/browser/annotation/top-area.ts rename to ui/shell/src/browser/annotation/top-area.ts diff --git a/packages/shell/src/browser/apps/app-service.ts b/ui/shell/src/browser/apps/app-service.ts similarity index 100% rename from packages/shell/src/browser/apps/app-service.ts rename to ui/shell/src/browser/apps/app-service.ts diff --git a/packages/shell/src/browser/apps/apps.tsx b/ui/shell/src/browser/apps/apps.tsx similarity index 100% rename from packages/shell/src/browser/apps/apps.tsx rename to ui/shell/src/browser/apps/apps.tsx diff --git a/packages/shell/src/browser/apps/index.ts b/ui/shell/src/browser/apps/index.ts similarity index 100% rename from packages/shell/src/browser/apps/index.ts rename to ui/shell/src/browser/apps/index.ts diff --git a/packages/shell/src/browser/area/area-protocol.ts b/ui/shell/src/browser/area/area-protocol.ts similarity index 100% rename from packages/shell/src/browser/area/area-protocol.ts rename to ui/shell/src/browser/area/area-protocol.ts diff --git a/packages/shell/src/browser/area/index.ts b/ui/shell/src/browser/area/index.ts similarity index 100% rename from packages/shell/src/browser/area/index.ts rename to ui/shell/src/browser/area/index.ts diff --git a/packages/shell/src/browser/area/left/index.ts b/ui/shell/src/browser/area/left/index.ts similarity index 100% rename from packages/shell/src/browser/area/left/index.ts rename to ui/shell/src/browser/area/left/index.ts diff --git a/packages/shell/src/browser/area/left/left.tsx b/ui/shell/src/browser/area/left/left.tsx similarity index 100% rename from packages/shell/src/browser/area/left/left.tsx rename to ui/shell/src/browser/area/left/left.tsx diff --git a/packages/shell/src/browser/area/top/index.ts b/ui/shell/src/browser/area/top/index.ts similarity index 100% rename from packages/shell/src/browser/area/top/index.ts rename to ui/shell/src/browser/area/top/index.ts diff --git a/packages/shell/src/browser/area/top/top.tsx b/ui/shell/src/browser/area/top/top.tsx similarity index 100% rename from packages/shell/src/browser/area/top/top.tsx rename to ui/shell/src/browser/area/top/top.tsx diff --git a/packages/shell/src/browser/index.ts b/ui/shell/src/browser/index.ts similarity index 100% rename from packages/shell/src/browser/index.ts rename to ui/shell/src/browser/index.ts diff --git a/packages/shell/src/browser/layout/index.ts b/ui/shell/src/browser/layout/index.ts similarity index 100% rename from packages/shell/src/browser/layout/index.ts rename to ui/shell/src/browser/layout/index.ts diff --git a/packages/shell/src/browser/layout/layout.tsx b/ui/shell/src/browser/layout/layout.tsx similarity index 100% rename from packages/shell/src/browser/layout/layout.tsx rename to ui/shell/src/browser/layout/layout.tsx diff --git a/packages/shell/src/browser/module.ts b/ui/shell/src/browser/module.ts similarity index 100% rename from packages/shell/src/browser/module.ts rename to ui/shell/src/browser/module.ts diff --git a/packages/shell/src/browser/tool/account.tsx b/ui/shell/src/browser/tool/account.tsx similarity index 100% rename from packages/shell/src/browser/tool/account.tsx rename to ui/shell/src/browser/tool/account.tsx diff --git a/packages/shell/src/browser/tool/app-set.tsx b/ui/shell/src/browser/tool/app-set.tsx similarity index 100% rename from packages/shell/src/browser/tool/app-set.tsx rename to ui/shell/src/browser/tool/app-set.tsx diff --git a/packages/shell/src/browser/tool/index.ts b/ui/shell/src/browser/tool/index.ts similarity index 100% rename from packages/shell/src/browser/tool/index.ts rename to ui/shell/src/browser/tool/index.ts diff --git a/packages/shell/src/browser/tool/logo.tsx b/ui/shell/src/browser/tool/logo.tsx similarity index 100% rename from packages/shell/src/browser/tool/logo.tsx rename to ui/shell/src/browser/tool/logo.tsx diff --git a/packages/shell/src/browser/tool/settings.tsx b/ui/shell/src/browser/tool/settings.tsx similarity index 100% rename from packages/shell/src/browser/tool/settings.tsx rename to ui/shell/src/browser/tool/settings.tsx diff --git a/packages/shell/src/common/index.ts b/ui/shell/src/common/index.ts similarity index 100% rename from packages/shell/src/common/index.ts rename to ui/shell/src/common/index.ts diff --git a/packages/shell/src/common/shell-protocol.ts b/ui/shell/src/common/shell-protocol.ts similarity index 100% rename from packages/shell/src/common/shell-protocol.ts rename to ui/shell/src/common/shell-protocol.ts diff --git a/packages/authing/src/common/index.ts b/ui/shell/src/node/index.ts similarity index 100% rename from packages/authing/src/common/index.ts rename to ui/shell/src/node/index.ts diff --git a/packages/shell/src/node/module.ts b/ui/shell/src/node/module.ts similarity index 100% rename from packages/shell/src/node/module.ts rename to ui/shell/src/node/module.ts diff --git a/packages/shell/src/package.spec.ts b/ui/shell/src/package.spec.ts similarity index 100% rename from packages/shell/src/package.spec.ts rename to ui/shell/src/package.spec.ts diff --git a/packages/shell/.eslintrc.js b/ui/vue/.eslintrc.js similarity index 100% rename from packages/shell/.eslintrc.js rename to ui/vue/.eslintrc.js diff --git a/packages/vue/README.md b/ui/vue/README.md similarity index 100% rename from packages/vue/README.md rename to ui/vue/README.md diff --git a/packages/vue/compile.tsconfig.json b/ui/vue/compile.tsconfig.json similarity index 86% rename from packages/vue/compile.tsconfig.json rename to ui/vue/compile.tsconfig.json index 01753fb5fa..e703b30ea4 100644 --- a/packages/vue/compile.tsconfig.json +++ b/ui/vue/compile.tsconfig.json @@ -9,14 +9,14 @@ "src" ], "references": [ - { - "path": "../core/compile.tsconfig.json" - }, { "path": "../../dev-packages/cli-service/compile.tsconfig.json" }, { "path": "../../dev-packages/cli-common/compile.tsconfig.json" + }, + { + "path": "../../packages/core/compile.tsconfig.json" } ] } diff --git a/packages/vue/malagu-cdn.yml b/ui/vue/malagu-cdn.yml similarity index 100% rename from packages/vue/malagu-cdn.yml rename to ui/vue/malagu-cdn.yml diff --git a/packages/vue/malagu.yml b/ui/vue/malagu.yml similarity index 100% rename from packages/vue/malagu.yml rename to ui/vue/malagu.yml diff --git a/packages/vue/package.json b/ui/vue/package.json similarity index 100% rename from packages/vue/package.json rename to ui/vue/package.json diff --git a/packages/vue/src/browser/annotation/app.ts b/ui/vue/src/browser/annotation/app.ts similarity index 100% rename from packages/vue/src/browser/annotation/app.ts rename to ui/vue/src/browser/annotation/app.ts diff --git a/packages/vue/src/browser/annotation/index.ts b/ui/vue/src/browser/annotation/index.ts similarity index 100% rename from packages/vue/src/browser/annotation/index.ts rename to ui/vue/src/browser/annotation/index.ts diff --git a/packages/vue/src/browser/index.ts b/ui/vue/src/browser/index.ts similarity index 100% rename from packages/vue/src/browser/index.ts rename to ui/vue/src/browser/index.ts diff --git a/packages/vue/src/browser/module.ts b/ui/vue/src/browser/module.ts similarity index 100% rename from packages/vue/src/browser/module.ts rename to ui/vue/src/browser/module.ts diff --git a/packages/vue/src/browser/resolver/index.ts b/ui/vue/src/browser/resolver/index.ts similarity index 100% rename from packages/vue/src/browser/resolver/index.ts rename to ui/vue/src/browser/resolver/index.ts diff --git a/packages/vue/src/browser/resolver/path-resolver.ts b/ui/vue/src/browser/resolver/path-resolver.ts similarity index 100% rename from packages/vue/src/browser/resolver/path-resolver.ts rename to ui/vue/src/browser/resolver/path-resolver.ts diff --git a/packages/vue/src/browser/resolver/resolver-protocol.ts b/ui/vue/src/browser/resolver/resolver-protocol.ts similarity index 100% rename from packages/vue/src/browser/resolver/resolver-protocol.ts rename to ui/vue/src/browser/resolver/resolver-protocol.ts diff --git a/packages/vue/src/browser/shell/index.ts b/ui/vue/src/browser/shell/index.ts similarity index 100% rename from packages/vue/src/browser/shell/index.ts rename to ui/vue/src/browser/shell/index.ts diff --git a/packages/vue/src/browser/shell/shell.tsx b/ui/vue/src/browser/shell/shell.tsx similarity index 100% rename from packages/vue/src/browser/shell/shell.tsx rename to ui/vue/src/browser/shell/shell.tsx diff --git a/packages/vue/src/hooks/webpack.ts b/ui/vue/src/hooks/webpack.ts similarity index 100% rename from packages/vue/src/hooks/webpack.ts rename to ui/vue/src/hooks/webpack.ts diff --git a/packages/vue/src/package.spec.ts b/ui/vue/src/package.spec.ts similarity index 100% rename from packages/vue/src/package.spec.ts rename to ui/vue/src/package.spec.ts diff --git a/packages/vercel-adapter/.eslintrc.js b/ui/widget/.eslintrc.js similarity index 100% rename from packages/vercel-adapter/.eslintrc.js rename to ui/widget/.eslintrc.js diff --git a/packages/widget/README.md b/ui/widget/README.md similarity index 100% rename from packages/widget/README.md rename to ui/widget/README.md diff --git a/ui/widget/compile.tsconfig.json b/ui/widget/compile.tsconfig.json new file mode 100644 index 0000000000..112c2e3f15 --- /dev/null +++ b/ui/widget/compile.tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@malagu/component/configs/base.tsconfig.json", + "compilerOptions": { + "composite": true, + "rootDir": "src", + "outDir": "lib" + }, + "include": [ + "src" + ], + "references": [ + { + "path": "../../packages/core/compile.tsconfig.json" + } + ] +} diff --git a/packages/widget/malagu.yml b/ui/widget/malagu.yml similarity index 100% rename from packages/widget/malagu.yml rename to ui/widget/malagu.yml diff --git a/packages/widget/package.json b/ui/widget/package.json similarity index 100% rename from packages/widget/package.json rename to ui/widget/package.json diff --git a/packages/widget/src/browser/annotation/index.ts b/ui/widget/src/browser/annotation/index.ts similarity index 100% rename from packages/widget/src/browser/annotation/index.ts rename to ui/widget/src/browser/annotation/index.ts diff --git a/packages/widget/src/browser/annotation/widget.ts b/ui/widget/src/browser/annotation/widget.ts similarity index 100% rename from packages/widget/src/browser/annotation/widget.ts rename to ui/widget/src/browser/annotation/widget.ts diff --git a/packages/widget/src/browser/index.ts b/ui/widget/src/browser/index.ts similarity index 100% rename from packages/widget/src/browser/index.ts rename to ui/widget/src/browser/index.ts diff --git a/packages/widget/src/browser/keyboard/index.ts b/ui/widget/src/browser/keyboard/index.ts similarity index 100% rename from packages/widget/src/browser/keyboard/index.ts rename to ui/widget/src/browser/keyboard/index.ts diff --git a/packages/widget/src/browser/keyboard/keys.ts b/ui/widget/src/browser/keyboard/keys.ts similarity index 100% rename from packages/widget/src/browser/keyboard/keys.ts rename to ui/widget/src/browser/keyboard/keys.ts diff --git a/packages/widget/src/browser/locale/index.ts b/ui/widget/src/browser/locale/index.ts similarity index 100% rename from packages/widget/src/browser/locale/index.ts rename to ui/widget/src/browser/locale/index.ts diff --git a/packages/widget/src/browser/locale/locale-manager.ts b/ui/widget/src/browser/locale/locale-manager.ts similarity index 100% rename from packages/widget/src/browser/locale/locale-manager.ts rename to ui/widget/src/browser/locale/locale-manager.ts diff --git a/packages/widget/src/browser/locale/locale-protocol.ts b/ui/widget/src/browser/locale/locale-protocol.ts similarity index 100% rename from packages/widget/src/browser/locale/locale-protocol.ts rename to ui/widget/src/browser/locale/locale-protocol.ts diff --git a/packages/widget/src/browser/module.ts b/ui/widget/src/browser/module.ts similarity index 100% rename from packages/widget/src/browser/module.ts rename to ui/widget/src/browser/module.ts diff --git a/packages/widget/src/browser/theme/index.ts b/ui/widget/src/browser/theme/index.ts similarity index 100% rename from packages/widget/src/browser/theme/index.ts rename to ui/widget/src/browser/theme/index.ts diff --git a/packages/widget/src/browser/theme/theme-manager.ts b/ui/widget/src/browser/theme/theme-manager.ts similarity index 100% rename from packages/widget/src/browser/theme/theme-manager.ts rename to ui/widget/src/browser/theme/theme-manager.ts diff --git a/packages/widget/src/browser/theme/theme-protocol.ts b/ui/widget/src/browser/theme/theme-protocol.ts similarity index 100% rename from packages/widget/src/browser/theme/theme-protocol.ts rename to ui/widget/src/browser/theme/theme-protocol.ts diff --git a/packages/widget/src/browser/widget/index.ts b/ui/widget/src/browser/widget/index.ts similarity index 100% rename from packages/widget/src/browser/widget/index.ts rename to ui/widget/src/browser/widget/index.ts diff --git a/packages/widget/src/browser/widget/widget-factory.ts b/ui/widget/src/browser/widget/widget-factory.ts similarity index 100% rename from packages/widget/src/browser/widget/widget-factory.ts rename to ui/widget/src/browser/widget/widget-factory.ts diff --git a/packages/widget/src/browser/widget/widget-manager.ts b/ui/widget/src/browser/widget/widget-manager.ts similarity index 100% rename from packages/widget/src/browser/widget/widget-manager.ts rename to ui/widget/src/browser/widget/widget-manager.ts diff --git a/packages/widget/src/browser/widget/widget-protocol.ts b/ui/widget/src/browser/widget/widget-protocol.ts similarity index 100% rename from packages/widget/src/browser/widget/widget-protocol.ts rename to ui/widget/src/browser/widget/widget-protocol.ts diff --git a/packages/widget/src/browser/widget/widget-util.ts b/ui/widget/src/browser/widget/widget-util.ts similarity index 100% rename from packages/widget/src/browser/widget/widget-util.ts rename to ui/widget/src/browser/widget/widget-util.ts diff --git a/packages/widget/src/package.spec.ts b/ui/widget/src/package.spec.ts similarity index 100% rename from packages/widget/src/package.spec.ts rename to ui/widget/src/package.spec.ts diff --git a/yarn.lock b/yarn.lock index 9b502b835f..f3cce1e989 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3551,11 +3551,6 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/estree@^0.0.51": - version "0.0.51" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" - integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== - "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": version "4.17.29" resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.29.tgz#2a1795ea8e9e9c91b4a4bbe475034b20c1ec711c" @@ -4464,14 +4459,6 @@ resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.3.4.tgz#06e83c5027f464eef861c329be81454bc8b70780" integrity sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ== -"@webassemblyjs/ast@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" - integrity sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw== - dependencies: - "@webassemblyjs/helper-numbers" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" @@ -4480,45 +4467,21 @@ "@webassemblyjs/helper-numbers" "1.11.6" "@webassemblyjs/helper-wasm-bytecode" "1.11.6" -"@webassemblyjs/floating-point-hex-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" - integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== - "@webassemblyjs/floating-point-hex-parser@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== -"@webassemblyjs/helper-api-error@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" - integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== - "@webassemblyjs/helper-api-error@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== -"@webassemblyjs/helper-buffer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" - integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== - "@webassemblyjs/helper-buffer@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== -"@webassemblyjs/helper-numbers@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" - integrity sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@xtuc/long" "4.2.2" - "@webassemblyjs/helper-numbers@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" @@ -4528,26 +4491,11 @@ "@webassemblyjs/helper-api-error" "1.11.6" "@xtuc/long" "4.2.2" -"@webassemblyjs/helper-wasm-bytecode@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" - integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== - "@webassemblyjs/helper-wasm-bytecode@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== -"@webassemblyjs/helper-wasm-section@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" - integrity sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/helper-wasm-section@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" @@ -4558,13 +4506,6 @@ "@webassemblyjs/helper-wasm-bytecode" "1.11.6" "@webassemblyjs/wasm-gen" "1.11.6" -"@webassemblyjs/ieee754@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" - integrity sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ== - dependencies: - "@xtuc/ieee754" "^1.2.0" - "@webassemblyjs/ieee754@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" @@ -4572,13 +4513,6 @@ dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" - integrity sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw== - dependencies: - "@xtuc/long" "4.2.2" - "@webassemblyjs/leb128@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" @@ -4586,30 +4520,11 @@ dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" - integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== - "@webassemblyjs/utf8@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== -"@webassemblyjs/wasm-edit@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" - integrity sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/helper-wasm-section" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-opt" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - "@webassemblyjs/wast-printer" "1.11.1" - "@webassemblyjs/wasm-edit@^1.11.5": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" @@ -4624,17 +4539,6 @@ "@webassemblyjs/wasm-parser" "1.11.6" "@webassemblyjs/wast-printer" "1.11.6" -"@webassemblyjs/wasm-gen@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" - integrity sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - "@webassemblyjs/wasm-gen@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" @@ -4646,16 +4550,6 @@ "@webassemblyjs/leb128" "1.11.6" "@webassemblyjs/utf8" "1.11.6" -"@webassemblyjs/wasm-opt@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" - integrity sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - "@webassemblyjs/wasm-opt@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" @@ -4666,18 +4560,6 @@ "@webassemblyjs/wasm-gen" "1.11.6" "@webassemblyjs/wasm-parser" "1.11.6" -"@webassemblyjs/wasm-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" - integrity sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - "@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" @@ -4690,14 +4572,6 @@ "@webassemblyjs/leb128" "1.11.6" "@webassemblyjs/utf8" "1.11.6" -"@webassemblyjs/wast-printer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" - integrity sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@xtuc/long" "4.2.2" - "@webassemblyjs/wast-printer@1.11.6": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" @@ -4790,7 +4664,7 @@ acorn-class-fields@^1.0.0: dependencies: acorn-private-class-elements "^1.0.0" -acorn-import-assertions@^1.7.6, acorn-import-assertions@^1.9.0: +acorn-import-assertions@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== @@ -5451,17 +5325,6 @@ atomically@^1.7.0: resolved "https://registry.yarnpkg.com/atomically/-/atomically-1.7.0.tgz#c07a0458432ea6dbc9a3506fffa424b48bccaafe" integrity sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w== -authing-js-sdk@^4.22.24: - version "4.23.35" - resolved "https://registry.yarnpkg.com/authing-js-sdk/-/authing-js-sdk-4.23.35.tgz#d99e545dfd66c92649e9f7bba5fa1f4367db111a" - integrity sha512-EdrDl1tczeInFc/NGqO4dasl8BZTSLDnduv4rTMw9bIuBb5Ko+4SDmbag1bZpSCpclbTBSmLDTD/6bCtgx6YAQ== - dependencies: - axios "^0.19.2" - crypto-js "^4.0.0" - jsencrypt "^3.1.0" - jwt-decode "^2.2.0" - sm-crypto "^0.3.7" - autoprefixer@^9.8.6: version "9.8.8" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.8.tgz#fd4bd4595385fa6f06599de749a4d5f7a474957a" @@ -5519,21 +5382,6 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -axios@>=0.21.1: - version "0.27.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" - integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== - dependencies: - follow-redirects "^1.14.9" - form-data "^4.0.0" - -axios@^0.19.2: - version "0.19.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" - integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA== - dependencies: - follow-redirects "1.5.10" - axios@^0.24.0: version "0.24.0" resolved "https://registry.yarnpkg.com/axios/-/axios-0.24.0.tgz#804e6fa1e4b9c5288501dd9dff56a7a0940d20d6" @@ -7727,13 +7575,6 @@ debug@4, debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.3, de dependencies: ms "2.1.2" -debug@=3.1.0, debug@~3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - debug@^3.1.0, debug@^3.2.6, debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" @@ -7741,6 +7582,13 @@ debug@^3.1.0, debug@^3.2.6, debug@^3.2.7: dependencies: ms "^2.1.1" +debug@~3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== + dependencies: + ms "2.0.0" + debuglog@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -8062,13 +7910,6 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" -discord-interactions@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/discord-interactions/-/discord-interactions-3.2.0.tgz#f5c2bf71836d3aff7e3886728d48f773d863cfc0" - integrity sha512-/J25RpYlokRW+2HmU5C2xo9bcgCWIzCl+MRRLCL/XvD+Hqe2WyQc639vUUKUNi6hdSdWb2kGNZDkMZxDky2dZg== - dependencies: - tweetnacl "^1.0.3" - dns-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" @@ -8359,7 +8200,7 @@ end-or-error@^1.0.1: resolved "https://registry.yarnpkg.com/end-or-error/-/end-or-error-1.0.1.tgz#dc7a6210fe78d372fee24a8b4899dbd155414dcb" integrity sha512-OclLMSug+k2A0JKuf494im25ANRBVW8qsjmwbgX7lQ8P82H21PQ1PWkoYwb9y5yMBS69BPlwtzdIFClo3+7kOQ== -enhanced-resolve@^5.0.0, enhanced-resolve@^5.10.0, enhanced-resolve@^5.15.0: +enhanced-resolve@^5.0.0, enhanced-resolve@^5.15.0: version "5.15.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== @@ -8498,11 +8339,6 @@ es-module-lexer@0.3.26: resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.3.26.tgz#7b507044e97d5b03b01d4392c74ffeb9c177a83b" integrity sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA== -es-module-lexer@^0.9.0: - version "0.9.3" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" - integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== - es-module-lexer@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.3.0.tgz#6be9c9e0b4543a60cd166ff6f8b4e9dae0b0c16f" @@ -9244,14 +9080,7 @@ fn.name@1.x.x: resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== -follow-redirects@1.5.10: - version "1.5.10" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a" - integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ== - dependencies: - debug "=3.1.0" - -follow-redirects@^1.0.0, follow-redirects@^1.14.4, follow-redirects@^1.14.8, follow-redirects@^1.14.9: +follow-redirects@^1.0.0, follow-redirects@^1.14.4, follow-redirects@^1.14.8: version "1.15.1" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== @@ -11522,21 +11351,11 @@ js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.14.1: argparse "^1.0.7" esprima "^4.0.0" -jsbn@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" - integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== - jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== -jsencrypt@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/jsencrypt/-/jsencrypt-3.2.1.tgz#09766983cc760088ff26b12fe7e574252af97727" - integrity sha512-k1sD5QV0KPn+D8uG9AdGzTQuamt82QZ3A3l6f7TRwMU6Oi2Vg0BsL+wZIQBONcraO1pc78ExMdvmBBJ8WhNYUA== - jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -11833,11 +11652,6 @@ jws@^3.2.2: jwa "^1.4.1" safe-buffer "^5.0.1" -jwt-decode@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-2.2.0.tgz#7d86bd56679f58ce6a84704a657dd392bba81a79" - integrity sha512-86GgN2vzfUu7m9Wcj63iUkuDzFNYFVmjeDm2GzWpUk+opB0pEpMsw6ePCMrhYkumz2C1ihqtZzOMAg7FiXcNoQ== - keygrip@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.1.0.tgz#871b1681d5e159c62a445b0c74b615e0917e7226" @@ -13034,7 +12848,7 @@ multimatch@^5.0.0: arrify "^2.0.1" minimatch "^3.0.4" -mustache@^4.0.0, mustache@^4.2.0: +mustache@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/mustache/-/mustache-4.2.0.tgz#e5892324d60a12ec9c2a73359edca52972bf6f64" integrity sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ== @@ -15643,16 +15457,6 @@ q@^1.1.2, q@^1.5.1: resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qq-guild-bot@2.9.2-beta6: - version "2.9.2-beta6" - resolved "https://registry.yarnpkg.com/qq-guild-bot/-/qq-guild-bot-2.9.2-beta6.tgz#86c9e6cfa381703e4ac451bd90c99c888a3acb41" - integrity sha512-UCEcGaiOcJD3aQ/BUKlsXibahxbHZ0JcOLl2/kBdfoWMfhSyIYWOPOGhKnvhJEldplnj2h/dDUifzwBbY3znhg== - dependencies: - discord-interactions "^3.1.0" - resty-client "0.0.5" - tweetnacl "^1.0.3" - ws "^7.4.4" - qs@6.10.3: version "6.10.3" resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" @@ -15687,7 +15491,7 @@ querystring@0.2.0: resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== -querystring@^0.2.0, querystring@^0.2.1: +querystring@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.1.tgz#40d77615bb09d16902a85c3e38aa8b5ed761c2dd" integrity sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg== @@ -16676,13 +16480,6 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" -resty-client@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/resty-client/-/resty-client-0.0.5.tgz#f98e143fd824e5844d46c47e11c81567e58fac07" - integrity sha512-uMaqtdPv1jHM5c9aJenXNGY5IZvGlhdNs7H6FNWIPTUT+pstWlrYTaR0CTp0PkcYaCQ4BiCLlEpx+EdF+Eo1iQ== - dependencies: - axios ">=0.21.1" - ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -16874,7 +16671,7 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" -schema-utils@^3.1.0, schema-utils@^3.1.1, schema-utils@^3.2.0: +schema-utils@^3.1.1, schema-utils@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== @@ -17268,13 +17065,6 @@ slugify@^1.6.1, slugify@^1.6.5: resolved "https://registry.yarnpkg.com/slugify/-/slugify-1.6.5.tgz#c8f5c072bf2135b80703589b39a3d41451fbe8c8" integrity sha512-8mo9bslnBO3tr5PEVFzMPIWwWnipGS0xVbYf65zxDqfNwmzYn1LpiKNrR6DlClusuvo+hDHd1zKpmfAe83NQSQ== -sm-crypto@^0.3.7: - version "0.3.10" - resolved "https://registry.yarnpkg.com/sm-crypto/-/sm-crypto-0.3.10.tgz#49dcc69269e382ed8b0059d30791adddf152c9c7" - integrity sha512-JTuSQJvDUZauN9rWinGZlyCB175Us82/st7vczTeuK/WF/YULnH2mZ5XVQaEoTfs+rYQJH4pQAP0+IZpsmx0oA== - dependencies: - jsbn "^1.1.0" - sm3@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/sm3/-/sm3-1.0.3.tgz#0051f0cc948c983944843136e7baa244eec5cd49" @@ -18234,7 +18024,7 @@ term-size@^2.2.1: resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54" integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== -terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.3.7, terser-webpack-plugin@^5.3.9: +terser-webpack-plugin@^5.3.7, terser-webpack-plugin@^5.3.9: version "5.3.9" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== @@ -18619,11 +18409,6 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== -tweetnacl@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" - integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" @@ -19352,36 +19137,6 @@ webpack-sources@^3.2.3: resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -webpack@^5.52.0: - version "5.76.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.76.0.tgz#f9fb9fb8c4a7dbdcd0d56a98e56b8a942ee2692c" - integrity sha512-l5sOdYBDunyf72HW8dF23rFtWq/7Zgvt/9ftMof71E/yUb1YLOBmTgA2K4vQthB3kotMrSj609txVE0dnr2fjA== - dependencies: - "@types/eslint-scope" "^3.7.3" - "@types/estree" "^0.0.51" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.7.1" - acorn-import-assertions "^1.7.6" - browserslist "^4.14.5" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.10.0" - es-module-lexer "^0.9.0" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.9" - json-parse-even-better-errors "^2.3.1" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^3.1.0" - tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" - watchpack "^2.4.0" - webpack-sources "^3.2.3" - webpack@^5.76.0: version "5.88.1" resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.1.tgz#21eba01e81bd5edff1968aea726e2fbfd557d3f8" @@ -19837,7 +19592,7 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" -ws@^7.2.3, ws@^7.4.4: +ws@^7.2.3: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==