@wwkit/freetoken 1.0.3 → 1.0.4

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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -4
package/README.md CHANGED
@@ -82,7 +82,7 @@ freetoken web --prod # 生产模式启动
82
82
  ## 测试
83
83
 
84
84
  ```bash
85
- pnpm --filter freetoken test:all
85
+ pnpm --filter freetoken run ut
86
86
  ```
87
87
 
88
88
  ## 技术栈
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwkit/freetoken",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "author": "bluesliu <langcai163@163.com>",
5
5
  "description": "Free LLM API token manager — speed test, proxy, and web dashboard (Vue 3 + Express)",
6
6
  "type": "module",
@@ -50,7 +50,7 @@
50
50
  "http-proxy-middleware": "^3.0.0",
51
51
  "node-cron": "^3.0.3",
52
52
  "sql.js": "1.14.1",
53
- "@wwkit/shared": "1.0.27"
53
+ "@wwkit/shared": "1.0.28"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@element-plus/icons-vue": "^2.3.2",
@@ -78,8 +78,10 @@
78
78
  "speed-test": "node cli/index.js speed-test",
79
79
  "build:zip": "bash scripts/build-zip.sh",
80
80
  "check": "node --check cli/index.js",
81
- "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-cache tests",
82
- "test:all": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-cache tests",
81
+ "ut": "node ../../scripts/run-tests.js unit",
82
+ "it": "node ../../scripts/run-tests.js integration",
83
+ "e2e": "node ../../scripts/run-tests.js e2e",
84
+ "test": "pnpm run ut",
83
85
  "release": "node ../../packages/shared/bin/release-pkg.js"
84
86
  }
85
87
  }