@ui5/mcp-server 0.2.2 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/mcp-server",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "MCP server for UI5 application development",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -75,8 +75,8 @@
75
75
  }
76
76
  },
77
77
  "dependencies": {
78
- "@modelcontextprotocol/sdk": "^1.25.2",
79
- "@ui5/linter": "^1.20.7",
78
+ "@modelcontextprotocol/sdk": "^1.25.3",
79
+ "@ui5/linter": "^1.20.8",
80
80
  "@ui5/logger": "^4.0.2",
81
81
  "@ui5/project": "^4.0.9",
82
82
  "ajv": "^8.17.1",
@@ -92,13 +92,13 @@
92
92
  "zod": "^4.3.5"
93
93
  },
94
94
  "devDependencies": {
95
- "@commitlint/cli": "^20.3.0",
96
- "@commitlint/config-conventional": "^20.3.0",
95
+ "@commitlint/cli": "^20.3.1",
96
+ "@commitlint/config-conventional": "^20.3.1",
97
97
  "@eslint/js": "^9.39.2",
98
98
  "@istanbuljs/esm-loader-hook": "^0.3.0",
99
99
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
100
100
  "@modelcontextprotocol/inspector": "^0.18.0",
101
- "@stylistic/eslint-plugin": "^5.6.1",
101
+ "@stylistic/eslint-plugin": "^5.7.0",
102
102
  "@types/ejs": "^3.1.5",
103
103
  "@types/make-fetch-happen": "^10.0.4",
104
104
  "@types/node": "20.16.15",
@@ -118,7 +118,18 @@
118
118
  "sinon": "^21.0.1",
119
119
  "tsx": "^4.21.0",
120
120
  "typescript": "^5.9.3",
121
- "typescript-eslint": "^8.52.0",
121
+ "typescript-eslint": "^8.53.1",
122
122
  "yauzl-promise": "^4.0.0"
123
+ },
124
+ "overrides": {
125
+ "pacote@<=20": {
126
+ "tar": "^7.5.6"
127
+ },
128
+ "cacache@18": {
129
+ "tar": "^7.5.6"
130
+ },
131
+ "node-gyp@10": {
132
+ "tar": "^7.5.6"
133
+ }
123
134
  }
124
135
  }
@@ -0,0 +1,35 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate" />
5
+ <meta http-equiv="Pragma" content="no-cache" />
6
+ <meta http-equiv="expires" content="0" />
7
+ <meta charset="utf-8" />
8
+
9
+ <title>UI5 Application: <%= namespace %></title>
10
+
11
+ <!-- The 'data-sap-ui-frameOptions="allow"' in the UI5 bootstrap is a NON-SECURE setting for test environments -->
12
+ <script
13
+ id="sap-ui-bootstrap"
14
+ src="https://<%= cdnDomain %>/<%= frameworkVersion %>/resources/sap-ui-core.js"<% if (gte1_120_0) { %>
15
+ data-sap-ui-resource-roots='{
16
+ "<%= appId %>": "../"
17
+ }'
18
+ data-sap-ui-on-init="module:sap/ui/core/ComponentSupport"
19
+ data-sap-ui-compat-version="edge"
20
+ data-sap-ui-frame-options="allow"<% } else { %>
21
+ data-sap-ui-theme="<%= defaultTheme %>"
22
+ data-sap-ui-resourceroots='{
23
+ "<%= appId %>": "../"
24
+ }'
25
+ data-sap-ui-onInit="module:sap/ui/core/ComponentSupport"
26
+ data-sap-ui-compatVersion="edge"
27
+ data-sap-ui-frameOptions="allow"<% } %>
28
+ data-sap-ui-async="true"
29
+ ></script>
30
+ </head>
31
+
32
+ <body class="sapUiBody">
33
+ <div data-sap-ui-component data-name="<%= appId %>"></div>
34
+ </body>
35
+ </html>
@@ -0,0 +1,35 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate" />
5
+ <meta http-equiv="Pragma" content="no-cache" />
6
+ <meta http-equiv="expires" content="0" />
7
+ <meta charset="utf-8" />
8
+
9
+ <title>UI5 Application: <%= namespace %></title>
10
+
11
+ <!-- The 'data-sap-ui-frameOptions="allow"' in the UI5 bootstrap is a NON-SECURE setting for test environments -->
12
+ <script
13
+ id="sap-ui-bootstrap"
14
+ src="https://<%= cdnDomain %>/<%= frameworkVersion %>/resources/sap-ui-core.js"<% if (gte1_120_0) { %>
15
+ data-sap-ui-resource-roots='{
16
+ "<%= appId %>": "../"
17
+ }'
18
+ data-sap-ui-on-init="module:sap/ui/core/ComponentSupport"
19
+ data-sap-ui-compat-version="edge"
20
+ data-sap-ui-frame-options="allow"<% } else { %>
21
+ data-sap-ui-theme="<%= defaultTheme %>"
22
+ data-sap-ui-resourceroots='{
23
+ "<%= appId %>": "../"
24
+ }'
25
+ data-sap-ui-onInit="module:sap/ui/core/ComponentSupport"
26
+ data-sap-ui-compatVersion="edge"
27
+ data-sap-ui-frameOptions="allow"<% } %>
28
+ data-sap-ui-async="true"
29
+ ></script>
30
+ </head>
31
+
32
+ <body class="sapUiBody">
33
+ <div data-sap-ui-component data-name="<%= appId %>"></div>
34
+ </body>
35
+ </html>
@@ -0,0 +1,36 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate" />
5
+ <meta http-equiv="Pragma" content="no-cache" />
6
+ <meta http-equiv="expires" content="0" />
7
+
8
+ <meta charset="utf-8" />
9
+
10
+ <title>UI5 Application: <%= namespace %></title>
11
+
12
+ <!-- The 'data-sap-ui-frameOptions="allow"' in the UI5 bootstrap is a NON-SECURE setting for test environments -->
13
+ <script
14
+ id="sap-ui-bootstrap"
15
+ src="https://<%= cdnDomain %>/<%= frameworkVersion %>/resources/sap-ui-core.js"<% if (gte1_120_0) { %>
16
+ data-sap-ui-resource-roots='{
17
+ "<%= appId %>": "../"
18
+ }'
19
+ data-sap-ui-on-init="module:sap/ui/core/ComponentSupport"
20
+ data-sap-ui-compat-version="edge"
21
+ data-sap-ui-frame-options="allow"<% } else { %>
22
+ data-sap-ui-theme="<%= defaultTheme %>"
23
+ data-sap-ui-resourceroots='{
24
+ "<%= appId %>": "../"
25
+ }'
26
+ data-sap-ui-onInit="module:sap/ui/core/ComponentSupport"
27
+ data-sap-ui-compatVersion="edge"
28
+ data-sap-ui-frameOptions="allow"<% } %>
29
+ data-sap-ui-async="true"
30
+ ></script>
31
+ </head>
32
+
33
+ <body class="sapUiBody">
34
+ <div data-sap-ui-component data-name="<%= appId %>"></div>
35
+ </body>
36
+ </html>
@@ -1,3 +1,6 @@
1
+ <% if (gte1_142_0) { -%>
2
+ import type {SuiteConfiguration} from "sap/ui/test/starter/config";
3
+ <% } -%>
1
4
  export default {
2
5
  name: "QUnit test suite for the UI5 Application: <%= namespace %>",
3
6
  defaults: {
@@ -13,8 +16,8 @@ export default {
13
16
  theme: "<%= defaultTheme %>"
14
17
  },
15
18
  coverage: {
16
- only: "<%= appURI %>/",
17
- never: "test-resources/<%= appURI %>/"
19
+ only: ["<%= appURI %>/"],
20
+ never: ["test-resources/<%= appURI %>/"]
18
21
  },
19
22
  loader: {
20
23
  paths: {
@@ -30,4 +33,4 @@ export default {
30
33
  title: "Integration tests for <%= namespace %>"
31
34
  }
32
35
  }
33
- };
36
+ }<% if (gte1_142_0) { -%> satisfies SuiteConfiguration<% } -%>;
@@ -0,0 +1,36 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate" />
5
+ <meta http-equiv="Pragma" content="no-cache" />
6
+ <meta http-equiv="expires" content="0" />
7
+
8
+ <meta charset="utf-8" />
9
+
10
+ <title>UI5 Application: <%= namespace %></title>
11
+
12
+ <!-- The 'data-sap-ui-frameOptions="allow"' in the UI5 bootstrap is a NON-SECURE setting for test environments -->
13
+ <script
14
+ id="sap-ui-bootstrap"
15
+ src="https://<%= cdnDomain %>/<%= frameworkVersion %>/resources/sap-ui-core.js"<% if (gte1_120_0) { %>
16
+ data-sap-ui-resource-roots='{
17
+ "<%= appId %>": "../"
18
+ }'
19
+ data-sap-ui-on-init="module:sap/ui/core/ComponentSupport"
20
+ data-sap-ui-compat-version="edge"
21
+ data-sap-ui-frame-options="allow"<% } else { %>
22
+ data-sap-ui-theme="<%= defaultTheme %>"
23
+ data-sap-ui-resourceroots='{
24
+ "<%= appId %>": "../"
25
+ }'
26
+ data-sap-ui-onInit="module:sap/ui/core/ComponentSupport"
27
+ data-sap-ui-compatVersion="edge"
28
+ data-sap-ui-frameOptions="allow"<% } %>
29
+ data-sap-ui-async="true"
30
+ ></script>
31
+ </head>
32
+
33
+ <body class="sapUiBody">
34
+ <div data-sap-ui-component data-name="<%= appId %>"></div>
35
+ </body>
36
+ </html>