fa-mcp-sdk 0.2.133 → 0.2.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/fa-mcp.js +4 -1
  2. package/package.json +1 -1
package/bin/fa-mcp.js CHANGED
@@ -890,7 +890,10 @@ certificate's public and private keys`,
890
890
  // Copy template files
891
891
  await this.copyDirectory(path.join(PROJ_ROOT, 'cli-template'), targetPath);
892
892
  await this.copyDirectory(path.join(PROJ_ROOT, 'src/template'), path.join(targetPath, 'src'));
893
- await this.copyDirectory(path.join(PROJ_ROOT, 'src/tests'), path.join(targetPath, 'tests'));
893
+ let testsTargetPath = path.join(targetPath, 'tests');
894
+ await fs.mkdir(testsTargetPath, { recursive: true });
895
+ await this.copyDirectory(path.join(PROJ_ROOT, 'src/tests'), testsTargetPath);
896
+ await fs.copyFile(path.join(targetPath, '.env.example'), path.join(targetPath, '.env'));
894
897
  await fs.copyFile(path.join(targetPath, '.env.example'), path.join(targetPath, '.env'));
895
898
 
896
899
  // Rename mcp-template.com.conf if mcp.domain is provided
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fa-mcp-sdk",
3
3
  "productName": "FA MCP SDK",
4
- "version": "0.2.133",
4
+ "version": "0.2.135",
5
5
  "description": "Core infrastructure and templates for building Model Context Protocol (MCP) servers with TypeScript",
6
6
  "type": "module",
7
7
  "main": "dist/core/index.js",