@crownpeak/dqm-react-component-dev-mcp 1.2.0 → 1.2.1

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.
package/bin/mcp ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ import { fileURLToPath } from 'url';
3
+ import { dirname, resolve } from 'path';
4
+ import { spawn } from 'child_process';
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = dirname(__filename);
8
+ const indexPath = resolve(__dirname, '..', 'src', 'index.js');
9
+
10
+ // Forward all arguments to the main script
11
+ const child = spawn('node', [indexPath, ...process.argv.slice(2)], {
12
+ stdio: 'inherit',
13
+ env: process.env
14
+ });
15
+
16
+ child.on('exit', (code) => process.exit(code ?? 0));
@@ -28,13 +28,13 @@ Version 1.2.0 introduces powerful new features while maintaining full backward c
28
28
  ### Step 1: Update Package
29
29
 
30
30
  ```bash
31
- npm install @crownpeak/dqm-react-component@1.2.0
31
+ npm install @crownpeak/dqm-react-component@^1.2.0
32
32
  ```
33
33
 
34
34
  Or with Yarn:
35
35
 
36
36
  ```bash
37
- yarn upgrade @crownpeak/dqm-react-component@1.2.0
37
+ yarn upgrade @crownpeak/dqm-react-component@^1.2.0
38
38
  ```
39
39
 
40
40
  ### Step 2: Verify (No Changes Required)
package/data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crownpeak/dqm-react-component",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "private": false,
5
5
  "description": "A React component for Crownpeak Digital Quality Management (DQM) integration",
6
6
  "type": "module",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@crownpeak/dqm-react-component-dev-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "MCP Server for Crownpeak DQM React Component documentation - powered by Probe",
5
5
  "author": "Crownpeak Technology GmbH",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "main": "src/index.js",
9
9
  "bin": {
10
- "dqm-dev-mcp": "bin/mcp"
10
+ "dqm-mcp": "./bin/mcp"
11
11
  },
12
12
  "files": [
13
13
  "bin",