mirror of https://github.com/jackwener/wx-cli.git
chore: rename npm packages to @jackwener scope
parent
47d17aeccf
commit
e3518956af
|
|
@ -28,7 +28,7 @@
|
|||
**npm(推荐,全平台)**
|
||||
|
||||
```bash
|
||||
npm install -g wx-cli
|
||||
npm install -g @jackwener/wx-cli
|
||||
```
|
||||
|
||||
**macOS / Linux(curl)**
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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}`;
|
||||
|
|
|
|||
|
|
@ -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" }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue