Skip to content

Commit 4dbe254

Browse files
committed
refactor(scripts): migrate script files from .js to .cjs extension
- Rename emergency-restore.js to emergency-restore.cjs - Rename prepare-publish.js to prepare-publish.cjs - Rename restore-deps.js to restore-deps.cjs - Update package.json scripts to reference .cjs files - Update README.md formatting
1 parent 14629f8 commit 4dbe254

File tree

6 files changed

+347
-372
lines changed

6 files changed

+347
-372
lines changed

README.md

Lines changed: 342 additions & 367 deletions
Large diffs are not rendered by default.

mcp/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mcp/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudbase/cloudbase-mcp",
3-
"version": "1.8.44",
3+
"version": "1.9.0",
44
"description": "腾讯云开发 MCP Server,通过AI提示词和MCP协议+云开发,让开发更智能、更高效,当你在Cursor/ VSCode GitHub Copilot/WinSurf/CodeBuddy/Augment Code/Claude Code等AI编程工具里写代码时,它能自动帮你生成可直接部署的前后端应用+小程序,并一键发布到腾讯云开发 CloudBase。",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",
@@ -39,8 +39,8 @@
3939
"test:ui": "npm run build && vitest --ui",
4040
"test:coverage": "npm run build && vitest run --coverage",
4141
"test:inspector": "npm run build && npx @modelcontextprotocol/inspector node ./dist/cli.js",
42-
"prepublishOnly": "npm run build && node scripts/prepare-publish.js",
43-
"postpublish": "node scripts/restore-deps.js"
42+
"prepublishOnly": "npm run build && node scripts/prepare-publish.cjs",
43+
"postpublish": "node scripts/restore-deps.cjs"
4444
},
4545
"files": [
4646
"dist",
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)