Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/skills/apifox
1 change: 1 addition & 0 deletions .claude/skills/apifox-cli
1 change: 1 addition & 0 deletions .claude/skills/testlink
1 change: 1 addition & 0 deletions .claude/skills/testlink-cli
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages": ["packages/*"],
"npmClient": "yarn",
"version": "0.5.0",
"version": "independent",
"command": {
"publish": {
"conventionalCommits": true,
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zentao",
"version": "0.5.0",
"name": "root",
"version": "0.0.0",
"private": true,
"scripts": {
"typecheck": "lerna run typecheck --stream --scope '@acehubert/*'",
Expand All @@ -13,7 +13,7 @@
"release:next": "lerna publish --conventional-commits --conventional-prerelease --preid next --dist-tag next",
"release:graduate": "lerna publish --conventional-commits --conventional-graduate",
"changelog": "node ./scripts/genChangelog.js",
"prepublishOnly": "yarn install --mode=skip-build && yarn changelog && yarn build && yarn test",
"prepublishOnly": "yarn install --mode=skip-build && yarn build && yarn test",
"lint": "lerna run lint --stream --scope '@acehubert/*'",
"lint:fix": "lerna run lint:fix --stream --scope '@acehubert/*'",
"commit": "git-cz"
Expand All @@ -25,6 +25,7 @@
"@instructure/cz-lerna-changelog": "^8.56.2",
"@types/jest": "^29.5.14",
"@types/node": "^18.0.0",
"@types/yargs": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"commitizen": "^4.3.1",
Expand Down
61 changes: 61 additions & 0 deletions packages/apifox-mcp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"name": "@acehubert/apifox-mcp",
"version": "0.1.0",
"author": "aceHubert",
"license": "MIT",
"description": "Apifox MCP Server and CLI - 让 AI 助手读取和刷新 Apifox/OpenAPI 文档缓存",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"apifox": "dist/cli.cjs",
"apifox-mcp": "dist/index.cjs"
},
"files": [
"dist",
"README.md",
".env.example"
],
"keywords": [
"mcp",
"apifox",
"openapi",
"cli",
"model-context-protocol"
],
"scripts": {
"dev": "node --loader ts-node/esm --experimental-specifier-resolution=node src/index.ts",
"build": "run -T rimraf -rf dist && yarn build:types && yarn build:esm && yarn build:cjs && yarn build:cli",
"build:types": "run -T tsc --declaration --emitDeclarationOnly --declarationMap false --sourceMap false",
"build:esm": "run -T esbuild src/index.ts --bundle --packages=external --platform=node --target=node18 --format=esm --outfile=dist/index.js",
"build:cjs": "run -T esbuild src/index.ts --bundle --packages=external --platform=node --target=node18 --format=cjs --outfile=dist/index.cjs",
"build:cli": "run -T esbuild src/cli.ts --bundle --packages=external --platform=node --target=node18 --format=cjs --outfile=dist/cli.cjs",
"typecheck": "run -T tsc --noEmit",
"lint": "run -T eslint src --ext .ts --max-warnings=0",
"lint:fix": "run -T eslint src --ext .ts --fix"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.25.2",
"dotenv": "^17.2.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/yargs": "^17.0.35"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/aceHubert/zentao.git"
},
"publishConfig": {
"access": "public"
}
}
Loading