@ui5/mcp-server 0.1.4 → 0.1.5
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 +7 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +3 -3
- package/resources/guidelines.md +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.5](https://github.com/UI5/mcp-server/compare/v0.1.4...v0.1.5) (2025-11-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add format options to llm guidelines ([#108](https://github.com/UI5/mcp-server/issues/108)) ([f943588](https://github.com/UI5/mcp-server/commit/f94358822174b9265aa041dc4000fffae24d6655))
|
|
9
|
+
|
|
3
10
|
## [0.1.4](https://github.com/UI5/mcp-server/compare/v0.1.3...v0.1.4) (2025-11-18)
|
|
4
11
|
|
|
5
12
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ui5/mcp-server",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.5",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/sdk": "^1.20.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "MCP server for UI5 application development",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@istanbuljs/esm-loader-hook": "^0.3.0",
|
|
97
97
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
98
98
|
"@modelcontextprotocol/inspector": "^0.17.2",
|
|
99
|
-
"@stylistic/eslint-plugin": "^5.6.
|
|
99
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
100
100
|
"@types/ejs": "^3.1.5",
|
|
101
101
|
"@types/make-fetch-happen": "^10.0.4",
|
|
102
102
|
"@types/node": "20.16.15",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"husky": "^9.1.7",
|
|
113
113
|
"licensee": "^11.1.1",
|
|
114
114
|
"nyc": "^17.1.0",
|
|
115
|
-
"rimraf": "^6.1.
|
|
115
|
+
"rimraf": "^6.1.2",
|
|
116
116
|
"sinon": "^21.0.0",
|
|
117
117
|
"tsx": "^4.20.6",
|
|
118
118
|
"typescript": "^5.9.3",
|
package/resources/guidelines.md
CHANGED
|
@@ -44,7 +44,11 @@
|
|
|
44
44
|
```
|
|
45
45
|
- Find more information on the UI5 documentation page "Declarative API for Initial Components"
|
|
46
46
|
- **ALWAYS** use data binding in views to connect UI controls to data or i18n models.
|
|
47
|
-
|
|
47
|
+
- **ALWAYS** prefer built-in data types with format options for formatting in data binding:
|
|
48
|
+
- Use OData types from the `sap.ui.model.odata.type` namespace for example `sap.ui.model.odata.type.Decimal`, `sap.ui.model.odata.type.String`, `sap.ui.model.odata.type.DateTime`). These work with all model types, not just OData models.
|
|
49
|
+
- Use standard simple types from `sap.ui.model.type` namespace only when no equivalent OData type exists (e.g., `sap.ui.model.type.DateInterval`, `sap.ui.model.type.FileSize`).
|
|
50
|
+
- Write **custom formatter functions** only for unique business logic that cannot be handled by any built-in data type with format options.
|
|
51
|
+
- Example: For number formatting with a thousands separator, prefer `sap.ui.model.odata.type.Decimal` with `formatOptions: {groupingEnabled: true}` over `sap.ui.model.type.Integer` or even a custom formatter function.
|
|
48
52
|
- When making changes to `*.properties` files, **ALWAYS** apply the changes to all relevant locales. This ensures consistency across different language versions of the application.
|
|
49
53
|
- **Example:** If you add a new key to `i18n.properties`, also add it to existing translation files like e.g `i18n_en.properties`, `i18n_de.properties`, etc.
|
|
50
54
|
- **NEVER** use inline script in HTML
|