@ui5/mcp-server 0.1.6 → 0.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/CHANGELOG.md +40 -0
- package/README.md +3 -1
- package/lib/registerTools.d.ts +2 -0
- package/lib/registerTools.js +4 -0
- package/lib/registerTools.js.map +1 -1
- package/lib/tools/get_typescript_conversion_guidelines/index.d.ts +3 -0
- package/lib/tools/get_typescript_conversion_guidelines/index.js +29 -0
- package/lib/tools/get_typescript_conversion_guidelines/index.js.map +1 -0
- package/lib/tools/get_typescript_conversion_guidelines/typescriptConversionGuidelines.d.ts +1 -0
- package/lib/tools/get_typescript_conversion_guidelines/typescriptConversionGuidelines.js +66 -0
- package/lib/tools/get_typescript_conversion_guidelines/typescriptConversionGuidelines.js.map +1 -0
- package/lib/tools/run_manifest_validation/index.d.ts +3 -0
- package/lib/tools/run_manifest_validation/index.js +30 -0
- package/lib/tools/run_manifest_validation/index.js.map +1 -0
- package/lib/tools/run_manifest_validation/runValidation.d.ts +2 -0
- package/lib/tools/run_manifest_validation/runValidation.js +130 -0
- package/lib/tools/run_manifest_validation/runValidation.js.map +1 -0
- package/lib/tools/run_manifest_validation/schema.d.ts +28 -0
- package/lib/tools/run_manifest_validation/schema.js +27 -0
- package/lib/tools/run_manifest_validation/schema.js.map +1 -0
- package/lib/utils/ui5Manifest.d.ts +17 -0
- package/lib/utils/ui5Manifest.js +105 -5
- package/lib/utils/ui5Manifest.js.map +1 -1
- package/npm-shrinkwrap.json +595 -100
- package/package.json +17 -15
- package/resources/integration_cards_guidelines.md +1 -0
- package/resources/typescript_conversion_guidelines.md +990 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/mcp-server",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "MCP server for UI5 application development",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
".reuse/**"
|
|
65
65
|
],
|
|
66
66
|
"engines": {
|
|
67
|
-
"node": "^20.
|
|
67
|
+
"node": "^20.17.0 || >=22.9.0",
|
|
68
68
|
"npm": ">= 8"
|
|
69
69
|
},
|
|
70
70
|
"exports": {
|
|
@@ -75,27 +75,29 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
79
|
-
"@ui5/linter": "^1.20.
|
|
78
|
+
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
79
|
+
"@ui5/linter": "^1.20.7",
|
|
80
80
|
"@ui5/logger": "^4.0.2",
|
|
81
81
|
"@ui5/project": "^4.0.9",
|
|
82
|
+
"ajv": "^8.17.1",
|
|
83
|
+
"ajv-formats": "^3.0.1",
|
|
82
84
|
"async-mutex": "^0.5.0",
|
|
83
85
|
"ejs": "^3.1.10",
|
|
84
86
|
"execa": "^9.6.1",
|
|
85
|
-
"fast-xml-parser": "^5.3.
|
|
86
|
-
"globby": "^16.
|
|
87
|
+
"fast-xml-parser": "^5.3.3",
|
|
88
|
+
"globby": "^16.1.0",
|
|
87
89
|
"lockfile": "^1.0.4",
|
|
88
|
-
"make-fetch-happen": "^
|
|
90
|
+
"make-fetch-happen": "^15.0.3",
|
|
89
91
|
"semver": "^7.7.3",
|
|
90
|
-
"zod": "^4.
|
|
92
|
+
"zod": "^4.3.4"
|
|
91
93
|
},
|
|
92
94
|
"devDependencies": {
|
|
93
|
-
"@commitlint/cli": "^20.
|
|
94
|
-
"@commitlint/config-conventional": "^20.
|
|
95
|
-
"@eslint/js": "^9.39.
|
|
95
|
+
"@commitlint/cli": "^20.3.0",
|
|
96
|
+
"@commitlint/config-conventional": "^20.3.0",
|
|
97
|
+
"@eslint/js": "^9.39.2",
|
|
96
98
|
"@istanbuljs/esm-loader-hook": "^0.3.0",
|
|
97
99
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
98
|
-
"@modelcontextprotocol/inspector": "^0.
|
|
100
|
+
"@modelcontextprotocol/inspector": "^0.18.0",
|
|
99
101
|
"@stylistic/eslint-plugin": "^5.6.1",
|
|
100
102
|
"@types/ejs": "^3.1.5",
|
|
101
103
|
"@types/make-fetch-happen": "^10.0.4",
|
|
@@ -106,17 +108,17 @@
|
|
|
106
108
|
"@ui5-language-assistant/semantic-model-types": "^3.3.1",
|
|
107
109
|
"ava": "^6.3.0",
|
|
108
110
|
"depcheck": "^1.4.7",
|
|
109
|
-
"eslint": "^9.39.
|
|
111
|
+
"eslint": "^9.39.2",
|
|
110
112
|
"eslint-plugin-ava": "^15.0.1",
|
|
111
113
|
"esmock": "^2.7.3",
|
|
112
114
|
"husky": "^9.1.7",
|
|
113
115
|
"licensee": "^11.1.1",
|
|
114
116
|
"nyc": "^17.1.0",
|
|
115
117
|
"rimraf": "^6.1.2",
|
|
116
|
-
"sinon": "^21.0.
|
|
118
|
+
"sinon": "^21.0.1",
|
|
117
119
|
"tsx": "^4.21.0",
|
|
118
120
|
"typescript": "^5.9.3",
|
|
119
|
-
"typescript-eslint": "^8.
|
|
121
|
+
"typescript-eslint": "^8.51.0",
|
|
120
122
|
"yauzl-promise": "^4.0.0"
|
|
121
123
|
}
|
|
122
124
|
}
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
## 2. Validation
|
|
43
43
|
- **ALWAYS** ensure that `manifest.json` file is valid JSON.
|
|
44
44
|
- **ALWAYS** ensure that in `manifest.json` file the property `sap.app/type` is set to `"card"`.
|
|
45
|
+
- **ALWAYS** validate the `manifest.json` against the UI5 Manifest schema. Use the `run_manifest_validation` tool to do this.
|
|
45
46
|
- **ALWAYS** avoid using deprecated properties in `manifest.json` and elsewhere.
|
|
46
47
|
- **NEVER** treat Integration Cards' project as UI5 project, except for cards of type "Component".
|
|
47
48
|
|