@etm-professional-control/winccoa-mcp-server 1.0.3 → 1.0.4

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/package.json +2 -1
  2. package/postinstall.cjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etm-professional-control/winccoa-mcp-server",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "MCP Server for WinCC OA with field-specific configurations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "scripts": {
11
11
  "build": "./build.sh",
12
+ "postinstall": "node postinstall.cjs",
12
13
  "inspect": "npx @modelcontextprotocol/inspector",
13
14
  "start": "node build/index_stdio.js",
14
15
  "start:http": "node build/index_http.js",
package/postinstall.cjs CHANGED
@@ -45,6 +45,10 @@ try {
45
45
  fs.copyFileSync(envExampleSrc, envExampleDest);
46
46
  console.log('Copied .env.example');
47
47
  }
48
+
49
+ // Copy package.json
50
+ const packageJsonSrc = path.join(nodeModulesPath, 'package.json');
51
+ const packageJsonDest = path.join(installDir, 'package.json');
48
52
 
49
53
  console.log('\n✅ Installation complete!');
50
54
  console.log('\nNext steps:');