chore: Adjust init with new dependencies for MCP and other missing dependencies.
This commit is contained in:
@@ -57,7 +57,16 @@ This will prompt you for project details and set up a new project with the neces
|
||||
|
||||
### Important Notes
|
||||
|
||||
1. This package uses ES modules. Your package.json should include `"type": "module"`.
|
||||
1. **ES Modules Configuration:**
|
||||
- This project uses ES Modules (ESM) instead of CommonJS.
|
||||
- This is set via `"type": "module"` in your package.json.
|
||||
- Use `import/export` syntax instead of `require()`.
|
||||
- Files should use `.js` or `.mjs` extensions.
|
||||
- To use a CommonJS module, either:
|
||||
- Rename it with `.cjs` extension
|
||||
- Use `await import()` for dynamic imports
|
||||
- If you need CommonJS throughout your project, remove `"type": "module"` from package.json, but Task Master scripts expect ESM.
|
||||
|
||||
2. The Anthropic SDK version should be 0.39.0 or higher.
|
||||
|
||||
## Quick Start with Global Commands
|
||||
|
||||
@@ -507,16 +507,23 @@ function createProjectStructure(projectName, projectDescription, projectVersion,
|
||||
},
|
||||
dependencies: {
|
||||
"@anthropic-ai/sdk": "^0.39.0",
|
||||
"chalk": "^5.3.0",
|
||||
"boxen": "^8.0.1",
|
||||
"chalk": "^4.1.2",
|
||||
"commander": "^11.1.0",
|
||||
"cli-table3": "^0.6.5",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.3.1",
|
||||
"openai": "^4.86.1",
|
||||
"figlet": "^1.7.0",
|
||||
"boxen": "^7.1.1",
|
||||
"gradient-string": "^2.0.2",
|
||||
"cli-table3": "^0.6.3",
|
||||
"inquirer": "^9.2.15",
|
||||
"ora": "^7.0.1"
|
||||
"express": "^4.21.2",
|
||||
"fastmcp": "^1.20.5",
|
||||
"figlet": "^1.8.0",
|
||||
"fuse.js": "^7.0.0",
|
||||
"gradient-string": "^3.0.0",
|
||||
"helmet": "^8.1.0",
|
||||
"inquirer": "^12.5.0",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"lru-cache": "^10.2.0",
|
||||
"openai": "^4.89.0",
|
||||
"ora": "^8.2.0"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user