chore: rename npm packages to @jackwener scope

pull/2/head
jackwener 2026-04-16 22:41:47 +08:00
parent 47d17aeccf
commit e3518956af
8 changed files with 19 additions and 23 deletions

View File

@ -28,7 +28,7 @@
**npm推荐全平台**
```bash
npm install -g wx-cli
npm install -g @jackwener/wx-cli
```
**macOS / Linuxcurl**

View File

@ -1,5 +1,5 @@
{
"name": "@wx-cli/darwin-arm64",
"name": "@jackwener/wx-cli-darwin-arm64",
"version": "0.1.1",
"description": "wx-cli binary for macOS arm64",
"os": ["darwin"],

View File

@ -1,5 +1,5 @@
{
"name": "@wx-cli/darwin-x64",
"name": "@jackwener/wx-cli-darwin-x64",
"version": "0.1.1",
"description": "wx-cli binary for macOS x64",
"os": ["darwin"],

View File

@ -1,5 +1,5 @@
{
"name": "@wx-cli/linux-arm64",
"name": "@jackwener/wx-cli-linux-arm64",
"version": "0.1.1",
"description": "wx-cli binary for Linux arm64",
"os": ["linux"],

View File

@ -1,5 +1,5 @@
{
"name": "@wx-cli/linux-x64",
"name": "@jackwener/wx-cli-linux-x64",
"version": "0.1.1",
"description": "wx-cli binary for Linux x64",
"os": ["linux"],

View File

@ -1,5 +1,5 @@
{
"name": "@wx-cli/win32-x64",
"name": "@jackwener/wx-cli-win32-x64",
"version": "0.1.1",
"description": "wx-cli binary for Windows x64",
"os": ["win32"],

View File

@ -4,11 +4,11 @@
const fs = require('fs');
const PLATFORM_PACKAGES = {
'darwin-arm64': '@wx-cli/darwin-arm64',
'darwin-x64': '@wx-cli/darwin-x64',
'linux-x64': '@wx-cli/linux-x64',
'linux-arm64': '@wx-cli/linux-arm64',
'win32-x64': '@wx-cli/win32-x64',
'darwin-arm64': '@jackwener/wx-cli-darwin-arm64',
'darwin-x64': '@jackwener/wx-cli-darwin-x64',
'linux-x64': '@jackwener/wx-cli-linux-x64',
'linux-arm64': '@jackwener/wx-cli-linux-arm64',
'win32-x64': '@jackwener/wx-cli-win32-x64',
};
const platformKey = `${process.platform}-${process.arch}`;

View File

@ -1,5 +1,5 @@
{
"name": "wx-cli",
"name": "@jackwener/wx-cli",
"version": "0.1.1",
"description": "Query your local WeChat data from the command line. Designed for LLM agent tool calls.",
"bin": {
@ -13,22 +13,18 @@
"install.js"
],
"optionalDependencies": {
"@wx-cli/darwin-arm64": "0.1.1",
"@wx-cli/darwin-x64": "0.1.1",
"@wx-cli/linux-x64": "0.1.1",
"@wx-cli/linux-arm64": "0.1.1",
"@wx-cli/win32-x64": "0.1.1"
},
"engines": {
"node": ">=14"
"@jackwener/wx-cli-darwin-arm64": "0.1.1",
"@jackwener/wx-cli-darwin-x64": "0.1.1",
"@jackwener/wx-cli-linux-x64": "0.1.1",
"@jackwener/wx-cli-linux-arm64": "0.1.1",
"@jackwener/wx-cli-win32-x64": "0.1.1"
},
"engines": { "node": ">=14" },
"keywords": ["wechat", "cli", "wx", "llm", "ai", "sqlite", "sqlcipher"],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/jackwener/wx-cli"
},
"publishConfig": {
"access": "public"
}
"publishConfig": { "access": "public" }
}