@coze-arch/cli 0.0.1-alpha.db1c06 → 0.0.1-alpha.dcc485

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +1 -0
  2. package/lib/__templates__/expo/_npmrc +1 -0
  3. package/lib/__templates__/expo/client/components/Screen.tsx +2 -2
  4. package/lib/__templates__/expo/client/eslint.config.mjs +7 -0
  5. package/lib/__templates__/expo/client/scripts/install-missing-deps.js +10 -10
  6. package/lib/__templates__/expo/eslint-plugins/forbid-emoji/index.js +9 -0
  7. package/lib/__templates__/expo/eslint-plugins/forbid-emoji/rule.js +112 -0
  8. package/lib/__templates__/expo/eslint-plugins/forbid-emoji/tech.md +94 -0
  9. package/lib/__templates__/expo/eslint-plugins/restrict-linear-gradient/index.js +9 -0
  10. package/lib/__templates__/expo/eslint-plugins/restrict-linear-gradient/rule.js +120 -0
  11. package/lib/__templates__/expo/eslint-plugins/restrict-linear-gradient/tech.md +58 -0
  12. package/lib/__templates__/nextjs/AGENTS.md +54 -0
  13. package/lib/__templates__/nextjs/README.md +5 -0
  14. package/lib/__templates__/nextjs/eslint.config.mjs +5 -0
  15. package/lib/__templates__/nextjs/next.config.ts +1 -2
  16. package/lib/__templates__/nextjs/package.json +2 -5
  17. package/lib/__templates__/nextjs/pnpm-lock.yaml +1028 -5
  18. package/lib/__templates__/nextjs/scripts/build.sh +4 -1
  19. package/lib/__templates__/nextjs/scripts/dev.sh +8 -2
  20. package/lib/__templates__/nextjs/scripts/start.sh +7 -1
  21. package/lib/__templates__/nextjs/src/app/layout.tsx +1 -1
  22. package/lib/__templates__/nextjs/src/app/page.tsx +1 -2
  23. package/lib/__templates__/nextjs/src/server.ts +35 -0
  24. package/lib/__templates__/nextjs/tsconfig.json +1 -1
  25. package/lib/__templates__/nuxt-vue/.coze +12 -0
  26. package/lib/__templates__/nuxt-vue/AGENTS.md +42 -0
  27. package/lib/__templates__/nuxt-vue/README.md +73 -0
  28. package/lib/__templates__/nuxt-vue/_gitignore +24 -0
  29. package/lib/__templates__/nuxt-vue/_npmrc +23 -0
  30. package/lib/__templates__/nuxt-vue/app/app.vue +6 -0
  31. package/lib/__templates__/nuxt-vue/app/pages/index.vue +23 -0
  32. package/lib/__templates__/nuxt-vue/assets/css/main.css +24 -0
  33. package/lib/__templates__/nuxt-vue/nuxt.config.ts +116 -0
  34. package/lib/__templates__/nuxt-vue/package.json +35 -0
  35. package/lib/__templates__/nuxt-vue/pnpm-lock.yaml +8759 -0
  36. package/lib/__templates__/nuxt-vue/postcss.config.mjs +8 -0
  37. package/lib/__templates__/nuxt-vue/public/favicon.ico +0 -0
  38. package/lib/__templates__/nuxt-vue/public/robots.txt +2 -0
  39. package/lib/__templates__/nuxt-vue/scripts/build.sh +14 -0
  40. package/lib/__templates__/nuxt-vue/scripts/dev.sh +39 -0
  41. package/lib/__templates__/nuxt-vue/scripts/prepare.sh +14 -0
  42. package/lib/__templates__/nuxt-vue/scripts/start.sh +21 -0
  43. package/lib/__templates__/nuxt-vue/server/api/hello.ts +10 -0
  44. package/lib/__templates__/nuxt-vue/server/middleware/logger.ts +10 -0
  45. package/lib/__templates__/nuxt-vue/server/routes/health.ts +10 -0
  46. package/lib/__templates__/nuxt-vue/tailwind.config.js +13 -0
  47. package/lib/__templates__/nuxt-vue/template.config.js +87 -0
  48. package/lib/__templates__/nuxt-vue/tsconfig.json +18 -0
  49. package/lib/__templates__/taro/README.md +57 -45
  50. package/lib/__templates__/taro/config/index.ts +106 -41
  51. package/lib/__templates__/taro/config/prod.ts +4 -5
  52. package/lib/__templates__/taro/eslint.config.mjs +62 -6
  53. package/lib/__templates__/taro/package.json +19 -4
  54. package/lib/__templates__/taro/patches/@tarojs__plugin-mini-ci@4.1.9.patch +30 -0
  55. package/lib/__templates__/taro/pnpm-lock.yaml +912 -206
  56. package/lib/__templates__/taro/src/app.css +140 -36
  57. package/lib/__templates__/taro/src/components/ui/accordion.tsx +159 -0
  58. package/lib/__templates__/taro/src/components/ui/alert-dialog.tsx +260 -0
  59. package/lib/__templates__/taro/src/components/ui/alert.tsx +60 -0
  60. package/lib/__templates__/taro/src/components/ui/aspect-ratio.tsx +36 -0
  61. package/lib/__templates__/taro/src/components/ui/avatar.tsx +84 -0
  62. package/lib/__templates__/taro/src/components/ui/badge.tsx +37 -0
  63. package/lib/__templates__/taro/src/components/ui/breadcrumb.tsx +117 -0
  64. package/lib/__templates__/taro/src/components/ui/button-group.tsx +83 -0
  65. package/lib/__templates__/taro/src/components/ui/button.tsx +67 -0
  66. package/lib/__templates__/taro/src/components/ui/calendar.tsx +394 -0
  67. package/lib/__templates__/taro/src/components/ui/card.tsx +108 -0
  68. package/lib/__templates__/taro/src/components/ui/carousel.tsx +228 -0
  69. package/lib/__templates__/taro/src/components/ui/checkbox.tsx +58 -0
  70. package/lib/__templates__/taro/src/components/ui/code-block.tsx +169 -0
  71. package/lib/__templates__/taro/src/components/ui/collapsible.tsx +71 -0
  72. package/lib/__templates__/taro/src/components/ui/command.tsx +385 -0
  73. package/lib/__templates__/taro/src/components/ui/context-menu.tsx +614 -0
  74. package/lib/__templates__/taro/src/components/ui/dialog.tsx +256 -0
  75. package/lib/__templates__/taro/src/components/ui/drawer.tsx +192 -0
  76. package/lib/__templates__/taro/src/components/ui/dropdown-menu.tsx +561 -0
  77. package/lib/__templates__/taro/src/components/ui/field.tsx +228 -0
  78. package/lib/__templates__/taro/src/components/ui/hover-card.tsx +282 -0
  79. package/lib/__templates__/taro/src/components/ui/input-group.tsx +197 -0
  80. package/lib/__templates__/taro/src/components/ui/input-otp.tsx +136 -0
  81. package/lib/__templates__/taro/src/components/ui/input.tsx +56 -0
  82. package/lib/__templates__/taro/src/components/ui/label.tsx +24 -0
  83. package/lib/__templates__/taro/src/components/ui/menubar.tsx +595 -0
  84. package/lib/__templates__/taro/src/components/ui/navigation-menu.tsx +264 -0
  85. package/lib/__templates__/taro/src/components/ui/pagination.tsx +118 -0
  86. package/lib/__templates__/taro/src/components/ui/popover.tsx +291 -0
  87. package/lib/__templates__/taro/src/components/ui/portal.tsx +19 -0
  88. package/lib/__templates__/taro/src/components/ui/progress.tsx +28 -0
  89. package/lib/__templates__/taro/src/components/ui/radio-group.tsx +64 -0
  90. package/lib/__templates__/taro/src/components/ui/resizable.tsx +346 -0
  91. package/lib/__templates__/taro/src/components/ui/scroll-area.tsx +34 -0
  92. package/lib/__templates__/taro/src/components/ui/select.tsx +438 -0
  93. package/lib/__templates__/taro/src/components/ui/separator.tsx +30 -0
  94. package/lib/__templates__/taro/src/components/ui/sheet.tsx +262 -0
  95. package/lib/__templates__/taro/src/components/ui/skeleton.tsx +17 -0
  96. package/lib/__templates__/taro/src/components/ui/slider.tsx +203 -0
  97. package/lib/__templates__/taro/src/components/ui/sonner.tsx +1 -0
  98. package/lib/__templates__/taro/src/components/ui/switch.tsx +55 -0
  99. package/lib/__templates__/taro/src/components/ui/table.tsx +142 -0
  100. package/lib/__templates__/taro/src/components/ui/tabs.tsx +114 -0
  101. package/lib/__templates__/taro/src/components/ui/textarea.tsx +54 -0
  102. package/lib/__templates__/taro/src/components/ui/toast.tsx +517 -0
  103. package/lib/__templates__/taro/src/components/ui/toggle-group.tsx +120 -0
  104. package/lib/__templates__/taro/src/components/ui/toggle.tsx +77 -0
  105. package/lib/__templates__/taro/src/components/ui/tooltip.tsx +455 -0
  106. package/lib/__templates__/taro/src/lib/hooks/use-keyboard-offset.ts +37 -0
  107. package/lib/__templates__/taro/src/lib/measure.ts +115 -0
  108. package/lib/__templates__/taro/src/lib/platform.ts +12 -0
  109. package/lib/__templates__/taro/src/lib/utils.ts +6 -0
  110. package/lib/__templates__/taro/src/presets/dev-debug.ts +23 -0
  111. package/lib/__templates__/taro/src/presets/h5-container.tsx +15 -0
  112. package/lib/__templates__/taro/src/presets/h5-navbar.tsx +97 -30
  113. package/lib/__templates__/taro/src/presets/h5-styles.ts +192 -5
  114. package/lib/__templates__/taro/src/presets/index.tsx +4 -4
  115. package/lib/__templates__/templates.json +32 -0
  116. package/lib/__templates__/vite/AGENTS.md +41 -0
  117. package/lib/__templates__/vite/README.md +190 -11
  118. package/lib/__templates__/vite/_gitignore +1 -0
  119. package/lib/__templates__/vite/eslint.config.mjs +6 -1
  120. package/lib/__templates__/vite/package.json +10 -3
  121. package/lib/__templates__/vite/pnpm-lock.yaml +755 -15
  122. package/lib/__templates__/vite/scripts/build.sh +4 -1
  123. package/lib/__templates__/vite/scripts/dev.sh +9 -2
  124. package/lib/__templates__/vite/scripts/start.sh +9 -3
  125. package/lib/__templates__/vite/server/routes/index.ts +31 -0
  126. package/lib/__templates__/vite/server/server.ts +65 -0
  127. package/lib/__templates__/vite/server/vite.ts +67 -0
  128. package/lib/__templates__/vite/tsconfig.json +4 -3
  129. package/lib/__templates__/vite/vite.config.ts +4 -0
  130. package/lib/cli.js +99 -92
  131. package/package.json +6 -3
  132. package/lib/__templates__/taro/src/presets/wx-debug.ts +0 -23
@@ -16,6 +16,9 @@ export default [
16
16
  'react/jsx-uses-react': 'off',
17
17
  'react/react-in-jsx-scope': 'off',
18
18
  'jsx-quotes': ['error', 'prefer-double'],
19
+ 'react-hooks/exhaustive-deps': 'off',
20
+ 'tailwindcss/classnames-order': 'off',
21
+ 'tailwindcss/no-custom-classname': 'off',
19
22
  },
20
23
  },
21
24
  {
@@ -28,13 +31,66 @@ export default [
28
31
  selector:
29
32
  "MemberExpression[object.name='process'][property.name='env']",
30
33
  message:
31
- '请勿在 src 目录下直接使用 process.env\n如需获取 URL 请求前缀,请使用已经注入全局的 PROJECT_DOMAIN()',
34
+ '工程规范:请勿在 src 目录下直接使用 process.env\n如需获取 URL 请求前缀,请使用已经注入全局的 PROJECT_DOMAIN',
32
35
  },
33
36
  {
34
37
  selector:
35
38
  ":matches(ExportNamedDeclaration, ExportDefaultDeclaration) :matches([id.name='Network'], [declaration.id.name='Network'])",
36
39
  message:
37
- "禁止自行定义 Network,项目已提供 src/network.ts,请直接使用: import { Network } from '@/network'",
40
+ "工程规范:禁止自行定义 Network,项目已提供 src/network.ts,请直接使用: import { Network } from '@/network'",
41
+ },
42
+ {
43
+ selector:
44
+ 'Literal[value=/(^|\\s)(?:[^\\s:]+:)*(bg|text|border|divide|outline|ring|ring-offset|from|to|via|decoration|shadow|accent|caret|fill|stroke)-[a-z0-9-]+\\/([0-9]+|\\[[^\\]]+\\])/], TemplateElement[value.raw=/(^|\\s)(?:[^\\s:]+:)*(bg|text|border|divide|outline|ring|ring-offset|from|to|via|decoration|shadow|accent|caret|fill|stroke)-[a-z0-9-]+\\/([0-9]+|\\[[^\\]]+\\])/]',
45
+ message:
46
+ '微信小程序兼容性:禁用 Tailwind 颜色不透明度简写(如 bg-primary/10),该语法在微信小程序下 opacity 会丢失。请拆分写(如 bg-primary bg-opacity-10)。',
47
+ },
48
+ {
49
+ selector:
50
+ 'Literal[value=/(^|\\s)peer-[a-z0-9-]+\\b/], TemplateElement[value.raw=/(^|\\s)peer-[a-z0-9-]+\\b/]',
51
+ message:
52
+ '微信小程序兼容性:不支持 Tailwind 的 peer-*(如 peer-checked、peer-disabled)。',
53
+ },
54
+ {
55
+ selector:
56
+ 'Literal[value=/(^|\\s)group-[a-z0-9-]+\\b/], TemplateElement[value.raw=/(^|\\s)group-[a-z0-9-]+\\b/]',
57
+ message:
58
+ '微信小程序兼容性:不支持 Tailwind 的 group-*(如 group-hover)。',
59
+ },
60
+ {
61
+ selector:
62
+ 'Literal[value=/\\b(?!gap(?:-x|-y)?-)[a-zA-Z0-9-]+\\-[0-9]+\\.[0-9]+\\b/], TemplateElement[value.raw=/\\b(?!gap(?:-x|-y)?-)[a-zA-Z0-9-]+\\-[0-9]+\\.[0-9]+\\b/]',
63
+ message:
64
+ '微信小程序兼容性:禁用 Tailwind 小数值类名(如 space-y-1.5、w-0.5),请用整数替代(如 space-y-2、w-1)。',
65
+ },
66
+ {
67
+ selector:
68
+ ":matches(JSXAttribute[name.name='className'], CallExpression[callee.name=/^(cn|cva)$/]) :matches(Literal[value=/\\:has\\(/], TemplateElement[value.raw=/\\:has\\(/])",
69
+ message:
70
+ '微信小程序兼容性:WXSS 不支持 :has(...)(会导致预览上传失败)。',
71
+ },
72
+ {
73
+ selector:
74
+ ":matches(JSXAttribute[name.name='className'], CallExpression[callee.name=/^(cn|cva)$/]) :matches(Literal[value=/(^|\\s)has-[^\\s]+/], TemplateElement[value.raw=/(^|\\s)has-[^\\s]+/])",
75
+ message:
76
+ '微信小程序兼容性:禁用 Tailwind 的 has-* 变体(会生成 :has,导致预览上传失败)。',
77
+ },
78
+ {
79
+ selector:
80
+ ":matches(JSXAttribute[name.name='className'], CallExpression[callee.name=/^(cn|cva)$/]) :matches(Literal[value=/\\[&>\\*/], TemplateElement[value.raw=/\\[&>\\*/])",
81
+ message:
82
+ '微信小程序兼容性:禁用 [&>*...](可能生成非法 WXSS,如 >:last-child)。请改为 [&>view] 等明确标签。',
83
+ },
84
+ {
85
+ selector:
86
+ ":matches(JSXAttribute[name.name='className'], CallExpression[callee.name=/^(cn|cva)$/]) :matches(Literal[value=/\\[&[^\\]]*\\[data-/], TemplateElement[value.raw=/\\[&[^\\]]*\\[data-/])",
87
+ message:
88
+ '微信小程序兼容性:禁用 Tailwind 任意选择器里的属性选择器(如 [&>[data-...]]),可能导致预览上传失败。',
89
+ },
90
+ {
91
+ selector:
92
+ ":matches(JSXAttribute[name.name='className'], CallExpression[callee.name=/^(cn|cva)$/]) :matches(Literal[value=/\\[[^\\]]*&[^\\]]*~[^\\]]*\\]/], TemplateElement[value.raw=/\\[[^\\]]*&[^\\]]*~[^\\]]*\\]/])",
93
+ message: '微信小程序兼容性:WXSS 不支持 ~(会导致预览上传失败)。',
38
94
  },
39
95
  ],
40
96
  'no-restricted-properties': [
@@ -43,19 +99,19 @@ export default [
43
99
  object: 'Taro',
44
100
  property: 'request',
45
101
  message:
46
- "请使用 Network.request 替代 Taro.request,导入方式: import { Network } from '@/network'",
102
+ "工程规范:请使用 Network.request 替代 Taro.request,导入方式: import { Network } from '@/network'",
47
103
  },
48
104
  {
49
105
  object: 'Taro',
50
106
  property: 'uploadFile',
51
107
  message:
52
- "请使用 Network.uploadFile 替代 Taro.uploadFile,导入方式: import { Network } from '@/network'",
108
+ "工程规范:请使用 Network.uploadFile 替代 Taro.uploadFile,导入方式: import { Network } from '@/network'",
53
109
  },
54
110
  {
55
111
  object: 'Taro',
56
112
  property: 'downloadFile',
57
113
  message:
58
- "请使用 Network.downloadFile 替代 Taro.downloadFile,导入方式: import { Network } from '@/network'",
114
+ "工程规范:请使用 Network.downloadFile 替代 Taro.downloadFile,导入方式: import { Network } from '@/network'",
59
115
  },
60
116
  ],
61
117
  },
@@ -68,7 +124,7 @@ export default [
68
124
  {
69
125
  selector: 'JSXText[value=/应用开发中/]',
70
126
  message:
71
- '检测到首页 (src/pages/index/index) 仍为默认占位页面,这会导致用户无法进入新增页面,请根据用户需求开发实际的首页功能和界面。如果已经开发了新的首页,也需要删除旧首页,并更新 src/app.config.ts 文件',
127
+ '工程规范:检测到首页 (src/pages/index/index) 仍为默认占位页面,这会导致用户无法进入新增页面,请根据用户需求开发实际的首页功能和界面。如果已经开发了新的首页,也需要删除旧首页,并更新 src/app.config.ts 文件',
72
128
  },
73
129
  ],
74
130
  },
@@ -4,12 +4,14 @@
4
4
  "private": true,
5
5
  "description": "Coze Mini Program Application",
6
6
  "scripts": {
7
- "build": "pnpm exec concurrently --kill-others-on-fail --kill-signal SIGKILL -n lint,tsc,web,weapp,server -c red,blue,green,yellow,magenta \"pnpm lint:build\" \"pnpm tsc\" \"pnpm build:web\" \"pnpm build:weapp\" \"pnpm build:server\"",
7
+ "build": "pnpm exec concurrently --kill-others-on-fail --kill-signal SIGKILL -n lint,tsc,web,weapp,tt,server -c red,blue,green,yellow,cyan,magenta \"pnpm lint:build\" \"pnpm tsc\" \"pnpm build:web\" \"pnpm build:weapp\" \"pnpm build:tt\" \"pnpm build:server\"",
8
8
  "build:server": "pnpm --filter server build",
9
+ "build:tt": "taro build --type tt",
9
10
  "build:weapp": "taro build --type weapp",
10
11
  "build:web": "taro build --type h5",
11
12
  "dev": "pnpm exec concurrently --kill-others --kill-signal SIGKILL -n web,server -c blue,green \"pnpm dev:web\" \"pnpm dev:server\"",
12
13
  "dev:server": "pnpm --filter server dev",
14
+ "dev:tt": "taro build --type tt --watch",
13
15
  "dev:weapp": "taro build --type weapp --watch",
14
16
  "dev:web": "taro build --type h5 --watch",
15
17
  "preinstall": "npx only-allow pnpm",
@@ -19,6 +21,7 @@
19
21
  "lint:build": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --max-warnings=0",
20
22
  "lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
21
23
  "new": "taro new",
24
+ "preview:tt": "taro build --type tt --preview",
22
25
  "preview:weapp": "taro build --type weapp --preview",
23
26
  "tsc": "npx tsc --noEmit --skipLibCheck",
24
27
  "validate": "pnpm exec concurrently --kill-others-on-fail --kill-signal SIGKILL -n lint,tsc -c red,blue \"pnpm lint:build\" \"pnpm tsc\""
@@ -39,15 +42,20 @@
39
42
  "@tarojs/helper": "4.1.9",
40
43
  "@tarojs/plugin-framework-react": "4.1.9",
41
44
  "@tarojs/plugin-platform-h5": "4.1.9",
45
+ "@tarojs/plugin-platform-tt": "4.1.9",
42
46
  "@tarojs/plugin-platform-weapp": "4.1.9",
43
47
  "@tarojs/react": "4.1.9",
44
48
  "@tarojs/runtime": "4.1.9",
45
49
  "@tarojs/shared": "4.1.9",
46
50
  "@tarojs/taro": "4.1.9",
47
- "drizzle-kit": "^0.31.8",
48
- "lucide-react-taro": "^1.2.0",
51
+ "class-variance-authority": "^0.7.1",
52
+ "clsx": "^2.1.1",
53
+ "date-fns": "^4.1.0",
54
+ "lucide-react-taro": "^1.3.0",
49
55
  "react": "^18.0.0",
50
56
  "react-dom": "^18.0.0",
57
+ "tailwind-merge": "^3.5.0",
58
+ "tailwindcss-animate": "^1.0.7",
51
59
  "zustand": "^5.0.9"
52
60
  },
53
61
  "devDependencies": {
@@ -70,6 +78,7 @@
70
78
  "eslint-config-taro": "4.1.9",
71
79
  "eslint-plugin-react": "^7.34.1",
72
80
  "eslint-plugin-react-hooks": "^4.4.0",
81
+ "eslint-plugin-tailwindcss": "^3.18.2",
73
82
  "less": "^4.2.0",
74
83
  "lint-staged": "^16.1.2",
75
84
  "miniprogram-ci": "^2.1.26",
@@ -80,14 +89,20 @@
80
89
  "stylelint-config-standard": "^38.0.0",
81
90
  "tailwindcss": "^4.1.18",
82
91
  "terser": "^5.30.4",
92
+ "tt-ide-cli": "^0.1.31",
83
93
  "typescript": "^5.4.5",
84
94
  "vite": "^4.2.0",
85
- "weapp-tailwindcss": "^4.9.2"
95
+ "weapp-tailwindcss": "^4.10.3"
86
96
  },
87
97
  "packageManager": "pnpm@9.0.0",
88
98
  "engines": {
89
99
  "pnpm": ">=9.0.0"
90
100
  },
101
+ "pnpm": {
102
+ "patchedDependencies": {
103
+ "@tarojs/plugin-mini-ci@4.1.9": "patches/@tarojs__plugin-mini-ci@4.1.9.patch"
104
+ }
105
+ },
91
106
  "templateInfo": {
92
107
  "name": "default",
93
108
  "typescript": true,
@@ -0,0 +1,30 @@
1
+ diff --git a/dist/TTCI.js b/dist/TTCI.js
2
+ index e5fe6a5f9a0ca8670ffa2b7e14cdfd8d49d0d792..6f24020a3388ea8fc7d1cbc41c1df104a8c37cb8 100644
3
+ --- a/dist/TTCI.js
4
+ +++ b/dist/TTCI.js
5
+ @@ -63,7 +63,10 @@ class TTCI extends BaseCi_1.default {
6
+ output: previewQrcodePath,
7
+ },
8
+ copyToClipboard: true,
9
+ - cache: true
10
+ + cache: true,
11
+ + ideConfig: {
12
+ + skipDomainCheck: this.pluginOpts.tt && this.pluginOpts.tt.setting && this.pluginOpts.tt.setting.skipDomainCheck
13
+ + }
14
+ });
15
+ console.log(chalk.green(`开发版上传成功 ${new Date().toLocaleString()}\n`));
16
+ const qrContent = previewResult.shortUrl;
17
+ diff --git a/dist/index.js b/dist/index.js
18
+ index bb245e34a477bcd738b18fdd754b252a456efe4f..588fe56131be52de2d798ee959ef257b4fa53313 100644
19
+ --- a/dist/index.js
20
+ +++ b/dist/index.js
21
+ @@ -43,7 +43,8 @@ exports.default = (ctx, _pluginOpts) => {
22
+ /** 字节跳动小程序上传配置 */
23
+ tt: joi.object({
24
+ email: joi.string().required(),
25
+ - password: joi.string().required()
26
+ + password: joi.string().required(),
27
+ + setting: joi.object()
28
+ }),
29
+ /** 阿里小程序上传配置 */
30
+ alipay: joi.alternatives().try(joi.object({