|
1 | 1 | { |
2 | 2 | "name": "@zhengxs/wechaty-plugin-assistant", |
3 | | - "version": "0.1.0-alpha.27", |
| 3 | + "version": "0.1.0", |
4 | 4 | "main": "./dist/index.cjs", |
5 | 5 | "module": "./dist/index.mjs", |
6 | 6 | "description": "基于 wechaty 的聊天助手插件", |
|
41 | 41 | ], |
42 | 42 | "scripts": { |
43 | 43 | "prepare": "husky install", |
44 | | - "dev": "pnpm task --watch ./demo/multi-llms.ts", |
| 44 | + "preinstall": "npx only-allow pnpm", |
| 45 | + "dev": "pnpm task ./demo/index.ts", |
45 | 46 | "task": "node --no-warnings -r tsconfig-paths/register -r dotenv/config -r jiti/register", |
46 | 47 | "inspect": "node --no-warnings --inspect -r tsconfig-paths/register -r dotenv/config -r jiti/register", |
47 | | - "build": "trash dist dist-types && tsc --noEmit && pnpm lint && vite build", |
| 48 | + "build": "trash dist dist-types && pnpm lint && vite build", |
48 | 49 | "lint": "eslint . --ext .ts,.cjs", |
49 | 50 | "lint:fix": "eslint . --ext .ts,.cjs --fix --fix-type [problem,suggestion]", |
50 | 51 | "fmt": "prettier --write \"**/*.{ts,json,,md}\" --log-level warn" |
|
54 | 55 | "wechaty": ">=1" |
55 | 56 | }, |
56 | 57 | "dependencies": { |
57 | | - "@zhengxs/ai": "0.1.0-alpha.7", |
| 58 | + "@zhengxs/ai": "0.5.0", |
58 | 59 | "@zhengxs/erniebot": "0.1.0-alpha.5", |
59 | 60 | "common-tags": "^1.8.2", |
60 | 61 | "eventemitter3": "^5.0.1", |
|
64 | 65 | "keyv": "^4.5.4", |
65 | 66 | "languagedetect": "^2.0.0", |
66 | 67 | "minimist": "^1.2.8", |
67 | | - "openai": "^4.20.1" |
| 68 | + "openai": "^4.23.0" |
68 | 69 | }, |
69 | 70 | "devDependencies": { |
70 | | - "@microsoft/api-extractor": "^7.38.3", |
71 | | - "@trivago/prettier-plugin-sort-imports": "^4.2.1", |
| 71 | + "@microsoft/api-extractor": "^7.38.5", |
| 72 | + "@trivago/prettier-plugin-sort-imports": "^4.3.0", |
72 | 73 | "@types/common-tags": "^1.8.4", |
73 | 74 | "@types/minimist": "^1.2.5", |
74 | | - "@types/node": "^20.9.0", |
75 | | - "@typescript-eslint/eslint-plugin": "^6.10.0", |
76 | | - "@typescript-eslint/parser": "^6.10.0", |
| 75 | + "@types/node": "^20.10.5", |
| 76 | + "@typescript-eslint/eslint-plugin": "^6.14.0", |
| 77 | + "@typescript-eslint/parser": "^6.14.0", |
77 | 78 | "dotenv": "^16.3.1", |
78 | | - "eslint": "^8.53.0", |
79 | | - "eslint-config-prettier": "^9.0.0", |
80 | | - "eslint-define-config": "^1.24.1", |
81 | | - "eslint-plugin-import": "^2.29.0", |
| 79 | + "eslint": "^8.56.0", |
| 80 | + "eslint-config-prettier": "^9.1.0", |
| 81 | + "eslint-define-config": "^2.0.0", |
| 82 | + "eslint-plugin-import": "^2.29.1", |
82 | 83 | "eslint-plugin-prettier": "^5.0.1", |
83 | 84 | "eslint-plugin-tsdoc": "^0.2.17", |
84 | 85 | "husky": "^8.0.3", |
85 | 86 | "jiti": "^1.21.0", |
86 | | - "lint-staged": "^15.0.2", |
| 87 | + "lint-staged": "^15.2.0", |
87 | 88 | "mkdirp": "^3.0.1", |
88 | | - "prettier": "^3.0.3", |
| 89 | + "prettier": "^3.1.1", |
89 | 90 | "trash-cli": "^5.0.0", |
90 | 91 | "tsconfig-paths": "^4.2.0", |
91 | | - "typescript": "~5.0.4", |
92 | | - "vite": "^4.5.0", |
| 92 | + "typescript": "~5.3.3", |
| 93 | + "vite": "^5.0.10", |
93 | 94 | "vite-plugin-checker": "^0.6.2", |
94 | | - "vite-plugin-dts": "^3.6.3", |
95 | | - "vite-plugin-externalize-deps": "^0.7.0", |
| 95 | + "vite-plugin-dts": "^3.6.4", |
| 96 | + "vite-plugin-externalize-deps": "^0.8.0", |
96 | 97 | "wechaty": "^1.20.2", |
97 | 98 | "wechaty-plugin-contrib": "^1.12.1" |
98 | 99 | }, |
|
0 commit comments