Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dingyi222666 committed May 31, 2024
1 parent e27d31c commit 63bedc6
Show file tree
Hide file tree
Showing 23 changed files with 69 additions and 62 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ temp
dist
lib
tests

*.js
80 changes: 44 additions & 36 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
root: true

ignorePatterns:
- '*.js'
- temp
- dist
- lib
- tests


parser: '@typescript-eslint/parser'

settings:
import/parsers:
'@typescript-eslint/parser': ['.ts']
'@typescript-eslint/parser': [ '.ts' ]

env:
browser: true
Expand All @@ -27,8 +35,8 @@ plugins:
rules:
prettier/prettier:
- error
- printWidth: 80
- tabWidth: 4
- printWidth: 80
- tabWidth: 4

array-callback-return: off

Expand Down Expand Up @@ -59,20 +67,20 @@ rules:
operator-linebreak:
- error
- after
- overrides:
'?': before
':': before
- overrides:
'?': before
':': before

quotes:
- error
- single
- avoidEscape: true
allowTemplateLiterals: true
- avoidEscape: true
allowTemplateLiterals: true

sort-imports:
- warn
- ignoreCase: true
ignoreDeclarationSort: true
- ignoreCase: true
ignoreDeclarationSort: true

valid-typeof: off

Expand All @@ -99,28 +107,28 @@ rules:
- warn

# group selectors
- selector: default
format: [camelCase, UPPER_CASE]
leadingUnderscore: allow
- selector: [variableLike, memberLike]
format: [camelCase, UPPER_CASE, PascalCase]
leadingUnderscore: allow
- selector: [typeLike]
format: [PascalCase]
- selector: default
format: [ camelCase, UPPER_CASE ]
leadingUnderscore: allow
- selector: [ variableLike, memberLike ]
format: [ camelCase, UPPER_CASE, PascalCase ]
leadingUnderscore: allow
- selector: [ typeLike ]
format: [ PascalCase ]

# selectors
- selector: [function]
format: [camelCase, PascalCase]
- selector: [enum]
format: [UPPER_CASE, PascalCase]
- selector: [typeParameter]
format: [PascalCase]
- selector: [objectLiteralProperty]
format: null
- selector: [typeProperty]
format: null
- selector: [typeMethod]
format: null
- selector: [ function ]
format: [ camelCase, PascalCase ]
- selector: [ enum ]
format: [ UPPER_CASE, PascalCase ]
- selector: [ typeParameter ]
format: [ PascalCase ]
- selector: [ objectLiteralProperty ]
format: null
- selector: [ typeProperty ]
format: null
- selector: [ typeMethod ]
format: null

# https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md
no-redeclare: off
Expand All @@ -134,7 +142,7 @@ rules:
no-unused-vars: off
'@typescript-eslint/no-unused-vars':
- error
- args: none
- args: none

no-dupe-class-members: off
'@typescript-eslint/no-dupe-class-members': error
Expand All @@ -154,13 +162,13 @@ rules:
- never
'@typescript-eslint/member-delimiter-style':
- error
- multiline:
delimiter: none
- multiline:
delimiter: none

space-before-function-paren: off
'@typescript-eslint/space-before-function-paren':
- error
- anonymous: always
asyncArrow: always
named: never
- anonymous: always
asyncArrow: always
named: never
'@typescript-eslint/type-annotation-spacing': error
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"@types/node": "^20.12.13",
"@types/qrcode": "^1.5.5",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.24",
"@typescript-eslint/parser": "^8.0.0-alpha.24",
"@typescript-eslint/eslint-plugin": "^7.11.1-alpha.12",
"@typescript-eslint/parser": "^7.11.1-alpha.12",
"atsc": "^2.0.1",
"cross-env": "^7.0.3",
"esbuild": "^0.20.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/bard-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/chatglm-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"engines": {
"node": ">=18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/claude-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/claude2-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-chatluna",
"description": "chatluna for koishi",
"version": "1.0.0-beta.49",
"version": "1.0.0-beta.50",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/embeddings-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gemini-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-chatluna-google-gemini-adapter",
"description": "google-gemini adapter for chatluna",
"version": "1.0.0-beta.11",
"version": "1.0.0-beta.12",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -49,7 +49,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gptfree-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/newbing-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ollama-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/openai-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/openai-like-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-chatluna-plugin-common",
"description": "plugin service for plugin chat mode chatluna",
"version": "1.0.0-beta.19",
"version": "1.0.0-beta.20",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -40,11 +40,11 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
"zh": "为 ChatLuna 的 Plugin 聊天模式提供一些基础插件"
"zh": "为 ChatLuna 的插件聊天模式提供一些基础插件(画图等)"
},
"service": {
"required": [
Expand Down
2 changes: 1 addition & 1 deletion packages/qwen-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rwkv-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/search-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/spark-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vector-store-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"peerDependencies": {
"faiss-node": "^0.5.1",
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49",
"koishi-plugin-chatluna": "^1.0.0-beta.50",
"vectordb": "0.4.13"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wenxin-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packages/zhipu-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"peerDependencies": {
"koishi": "^4.17.0",
"koishi-plugin-chatluna": "^1.0.0-beta.49"
"koishi-plugin-chatluna": "^1.0.0-beta.50"
},
"koishi": {
"description": {
Expand Down

0 comments on commit 63bedc6

Please sign in to comment.