chore: update repo config

pull/90/head
moonrailgun 2 years ago
parent b6add42851
commit 11fe624e35

@ -6,4 +6,6 @@ website
page
client/desktop
client/desktop-old
client/app
client/mobile
apps
server/admin-next

@ -28,9 +28,9 @@ module.exports = {
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-var-requires': 'off',
'react/prop-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': 'off',
'react/react-in-jsx-scope': 'off',
'react/prop-types': 'off',
},
};

1
.gitignore vendored

@ -3,6 +3,7 @@ client/locales
.vercel
.DS_Store
# yalc
.yalc
yalc.lock

@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpm lint-staged
npx lint-staged

@ -1,3 +1,3 @@
# https://npmmirror.com/
registry = https://registry.npmmirror.com
strict-peer-dependencies = false
strict-peer-dependencies = false # some dependency is not fit tailchat, tailchat's dependency is complex, every peer dependencies problem should check with manual.

@ -9,7 +9,7 @@
"publish": false
},
"hooks": {
"after:bump": "echo 更新版本成功"
"after:bump": "echo Version Upgrade Success. checkout more in CHANGELOG"
},
"plugins": {
"@release-it/conventional-changelog": {

@ -40,5 +40,5 @@ RUN pnpm run build
# web static service port
EXPOSE 3000
# Start server
# Start server, ENV var is necessary
CMD ["pnpm", "start:service"]

@ -2,14 +2,14 @@
* document: https://commitlint.js.org/#/reference-configuration
*
* https://github.com/angular/angular/blob/master/CONTRIBUTING.md#type
* feat新功能feature
* fix修补bug
* docs文档documentation
* style 格式不影响代码运行的变动
* refactor重构即不是新增功能也不是修改bug的代码变动
* perf性能优化
* test增加测试
* chore构建过程或辅助工具的变动
* featnew feature 新功能feature
* fixbug fix 修补bug
* docsdocument 文档documentation
* stylestyle(Changes that do not affect code execution) 格式不影响代码运行的变动
* refactorRefactoring (i.e., code changes that are not new features or bug fixes) 重构即不是新增功能也不是修改bug的代码变动
* perfperformance optimization 性能优化
* testadd test case 增加测试
* choreChanges to the build process or accessibility tools 构建过程或辅助工具的变动
*/
module.exports = {

@ -1,7 +1,7 @@
version: "3.3"
services:
# 应用网关
# Gateway
service-gateway:
build:
context: .
@ -21,7 +21,7 @@ services:
networks:
- internal
# 用户服务
# User Service
service-user:
build:
context: .
@ -36,7 +36,7 @@ services:
networks:
- internal
# 群组服务
# Group Service
service-group:
build:
context: .
@ -51,7 +51,7 @@ services:
networks:
- internal
# 聊天服务
# Chat Service
service-chat:
build:
context: .
@ -66,7 +66,7 @@ services:
networks:
- internal
# 文件服务 / 插件注册中心 / 配置服务
# File Service / Plugin Registry / Configuration Service
service-file:
build:
context: .
@ -82,6 +82,7 @@ services:
networks:
- internal
# Open Platform
service-openapi:
build:
context: .
@ -103,7 +104,7 @@ services:
networks:
- internal
# 插件服务(所有插件)
# Plugin Service (All Plugins)
service-all-plugins:
build:
context: .
@ -119,7 +120,7 @@ services:
networks:
- internal
# 数据库
# Database
mongo:
image: mongo:4
restart: on-failure
@ -128,14 +129,14 @@ services:
networks:
- internal
# 数据缓存与中转通讯
# Data cache and Transporter
redis:
image: redis:alpine
restart: on-failure
networks:
- internal
# 存储服务
# Persist Storage
minio:
image: minio/minio
restart: on-failure
@ -148,7 +149,7 @@ services:
- storage:/data
command: minio server /data --console-address ":9001"
# 路由转发
# Router
traefik:
image: traefik:v2.1
restart: unless-stopped

@ -6,7 +6,7 @@ packages:
- 'client/packages/**'
- 'server'
- 'server/admin'
- 'server/admin-next'
- 'server/admin-next' # wait for delete
- 'server/packages/**'
- 'server/plugins/**'
- 'server/test/demo/**'

@ -3,6 +3,7 @@
"esModuleInterop": true,
"isolatedModules": true,
"strict": true,
"pretty": true,
"importsNotUsedAsValues": "error",
"experimentalDecorators": true,
}

Loading…
Cancel
Save