@sap-ux/fiori-mcp-server 0.0.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/LICENSE +201 -0
- package/README.md +99 -0
- package/dist/constant.d.ts +5 -0
- package/dist/constant.js +8 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/page-editor-api/api.d.ts +48 -0
- package/dist/page-editor-api/api.js +93 -0
- package/dist/page-editor-api/index.d.ts +5 -0
- package/dist/page-editor-api/index.js +24 -0
- package/dist/page-editor-api/json-helper.d.ts +11 -0
- package/dist/page-editor-api/json-helper.js +64 -0
- package/dist/page-editor-api/parser/annotations.d.ts +9 -0
- package/dist/page-editor-api/parser/annotations.js +13 -0
- package/dist/page-editor-api/parser/index.d.ts +3 -0
- package/dist/page-editor-api/parser/index.js +19 -0
- package/dist/page-editor-api/parser/model/AggregationValidator.d.ts +64 -0
- package/dist/page-editor-api/parser/model/AggregationValidator.js +209 -0
- package/dist/page-editor-api/parser/model/ArrayAggregation.d.ts +49 -0
- package/dist/page-editor-api/parser/model/ArrayAggregation.js +122 -0
- package/dist/page-editor-api/parser/model/ObjectAggregation.d.ts +374 -0
- package/dist/page-editor-api/parser/model/ObjectAggregation.js +802 -0
- package/dist/page-editor-api/parser/model/PageEditModel.d.ts +223 -0
- package/dist/page-editor-api/parser/model/PageEditModel.js +954 -0
- package/dist/page-editor-api/parser/model/PageEditProperty.d.ts +38 -0
- package/dist/page-editor-api/parser/model/PageEditProperty.js +49 -0
- package/dist/page-editor-api/parser/model/RootAggregation.d.ts +24 -0
- package/dist/page-editor-api/parser/model/RootAggregation.js +54 -0
- package/dist/page-editor-api/parser/model/actions/ActionAggregation.d.ts +34 -0
- package/dist/page-editor-api/parser/model/actions/ActionAggregation.js +92 -0
- package/dist/page-editor-api/parser/model/actions/ActionsAggregation.d.ts +96 -0
- package/dist/page-editor-api/parser/model/actions/ActionsAggregation.js +252 -0
- package/dist/page-editor-api/parser/model/actions/index.d.ts +3 -0
- package/dist/page-editor-api/parser/model/actions/index.js +19 -0
- package/dist/page-editor-api/parser/model/additionalObjects/AdditionalObjectAggregation.d.ts +17 -0
- package/dist/page-editor-api/parser/model/additionalObjects/AdditionalObjectAggregation.js +26 -0
- package/dist/page-editor-api/parser/model/additionalObjects/AdditionalObjectsAggregation.d.ts +46 -0
- package/dist/page-editor-api/parser/model/additionalObjects/AdditionalObjectsAggregation.js +66 -0
- package/dist/page-editor-api/parser/model/additionalObjects/index.d.ts +3 -0
- package/dist/page-editor-api/parser/model/additionalObjects/index.js +19 -0
- package/dist/page-editor-api/parser/model/chart/ChartAggregation.d.ts +41 -0
- package/dist/page-editor-api/parser/model/chart/ChartAggregation.js +94 -0
- package/dist/page-editor-api/parser/model/chart/index.d.ts +2 -0
- package/dist/page-editor-api/parser/model/chart/index.js +18 -0
- package/dist/page-editor-api/parser/model/fields/ConnectedFieldsAggregation.d.ts +9 -0
- package/dist/page-editor-api/parser/model/fields/ConnectedFieldsAggregation.js +13 -0
- package/dist/page-editor-api/parser/model/fields/FieldAggregation.d.ts +25 -0
- package/dist/page-editor-api/parser/model/fields/FieldAggregation.js +42 -0
- package/dist/page-editor-api/parser/model/fields/FieldsAggregation.d.ts +22 -0
- package/dist/page-editor-api/parser/model/fields/FieldsAggregation.js +34 -0
- package/dist/page-editor-api/parser/model/fields/index.d.ts +4 -0
- package/dist/page-editor-api/parser/model/fields/index.js +20 -0
- package/dist/page-editor-api/parser/model/filter-fields/FilterFieldAggregation.d.ts +39 -0
- package/dist/page-editor-api/parser/model/filter-fields/FilterFieldAggregation.js +94 -0
- package/dist/page-editor-api/parser/model/filter-fields/FilterFieldsAggregation.d.ts +36 -0
- package/dist/page-editor-api/parser/model/filter-fields/FilterFieldsAggregation.js +59 -0
- package/dist/page-editor-api/parser/model/filter-fields/index.d.ts +3 -0
- package/dist/page-editor-api/parser/model/filter-fields/index.js +19 -0
- package/dist/page-editor-api/parser/model/index.d.ts +19 -0
- package/dist/page-editor-api/parser/model/index.js +35 -0
- package/dist/page-editor-api/parser/model/macros/MacrosRoot.d.ts +48 -0
- package/dist/page-editor-api/parser/model/macros/MacrosRoot.js +114 -0
- package/dist/page-editor-api/parser/model/macros/index.d.ts +2 -0
- package/dist/page-editor-api/parser/model/macros/index.js +18 -0
- package/dist/page-editor-api/parser/model/sections/HeaderSectionsAggregation.d.ts +31 -0
- package/dist/page-editor-api/parser/model/sections/HeaderSectionsAggregation.js +82 -0
- package/dist/page-editor-api/parser/model/sections/SectionAggregation.d.ts +78 -0
- package/dist/page-editor-api/parser/model/sections/SectionAggregation.js +131 -0
- package/dist/page-editor-api/parser/model/sections/SectionsAggregation.d.ts +135 -0
- package/dist/page-editor-api/parser/model/sections/SectionsAggregation.js +402 -0
- package/dist/page-editor-api/parser/model/sections/SectionsObjectAggregation.d.ts +50 -0
- package/dist/page-editor-api/parser/model/sections/SectionsObjectAggregation.js +119 -0
- package/dist/page-editor-api/parser/model/sections/SubSectionsAggregation.d.ts +39 -0
- package/dist/page-editor-api/parser/model/sections/SubSectionsAggregation.js +70 -0
- package/dist/page-editor-api/parser/model/sections/index.d.ts +6 -0
- package/dist/page-editor-api/parser/model/sections/index.js +22 -0
- package/dist/page-editor-api/parser/model/table/ColumnAggregation.d.ts +89 -0
- package/dist/page-editor-api/parser/model/table/ColumnAggregation.js +175 -0
- package/dist/page-editor-api/parser/model/table/ColumnsAggregation.d.ts +113 -0
- package/dist/page-editor-api/parser/model/table/ColumnsAggregation.js +293 -0
- package/dist/page-editor-api/parser/model/table/TableAggregation.d.ts +13 -0
- package/dist/page-editor-api/parser/model/table/TableAggregation.js +21 -0
- package/dist/page-editor-api/parser/model/table/ToolbarAggregation.d.ts +15 -0
- package/dist/page-editor-api/parser/model/table/ToolbarAggregation.js +22 -0
- package/dist/page-editor-api/parser/model/table/index.d.ts +5 -0
- package/dist/page-editor-api/parser/model/table/index.js +21 -0
- package/dist/page-editor-api/parser/model/table/utils.d.ts +12 -0
- package/dist/page-editor-api/parser/model/table/utils.js +44 -0
- package/dist/page-editor-api/parser/model/types/annotations.d.ts +63 -0
- package/dist/page-editor-api/parser/model/types/annotations.js +29 -0
- package/dist/page-editor-api/parser/model/types/common.d.ts +13 -0
- package/dist/page-editor-api/parser/model/types/common.js +3 -0
- package/dist/page-editor-api/parser/model/types/index.d.ts +220 -0
- package/dist/page-editor-api/parser/model/types/index.js +149 -0
- package/dist/page-editor-api/parser/model/utils/annotations.d.ts +38 -0
- package/dist/page-editor-api/parser/model/utils/annotations.js +120 -0
- package/dist/page-editor-api/parser/model/utils/i18n.d.ts +33 -0
- package/dist/page-editor-api/parser/model/utils/i18n.js +69 -0
- package/dist/page-editor-api/parser/model/utils/index.d.ts +6 -0
- package/dist/page-editor-api/parser/model/utils/index.js +22 -0
- package/dist/page-editor-api/parser/model/utils/object.d.ts +25 -0
- package/dist/page-editor-api/parser/model/utils/object.js +68 -0
- package/dist/page-editor-api/parser/model/utils/sort.d.ts +31 -0
- package/dist/page-editor-api/parser/model/utils/sort.js +18 -0
- package/dist/page-editor-api/parser/model/utils/utils.d.ts +94 -0
- package/dist/page-editor-api/parser/model/utils/utils.js +267 -0
- package/dist/page-editor-api/parser/model/views/ViewAggregation.d.ts +62 -0
- package/dist/page-editor-api/parser/model/views/ViewAggregation.js +112 -0
- package/dist/page-editor-api/parser/model/views/ViewsAggregation.d.ts +54 -0
- package/dist/page-editor-api/parser/model/views/ViewsAggregation.js +141 -0
- package/dist/page-editor-api/parser/model/views/index.d.ts +3 -0
- package/dist/page-editor-api/parser/model/views/index.js +19 -0
- package/dist/page-editor-api/parser/model/visual-filters/VisualFilterAggregation.d.ts +11 -0
- package/dist/page-editor-api/parser/model/visual-filters/VisualFilterAggregation.js +15 -0
- package/dist/page-editor-api/parser/model/visual-filters/VisualFiltersAggregation.d.ts +11 -0
- package/dist/page-editor-api/parser/model/visual-filters/VisualFiltersAggregation.js +15 -0
- package/dist/page-editor-api/parser/model/visual-filters/index.d.ts +3 -0
- package/dist/page-editor-api/parser/model/visual-filters/index.js +19 -0
- package/dist/page-editor-api/parser/tree.d.ts +135 -0
- package/dist/page-editor-api/parser/tree.js +464 -0
- package/dist/page-editor-api/project.d.ts +40 -0
- package/dist/page-editor-api/project.js +124 -0
- package/dist/page-editor-api/sapuxFtfsFileIO.d.ts +84 -0
- package/dist/page-editor-api/sapuxFtfsFileIO.js +195 -0
- package/dist/server.d.ts +35 -0
- package/dist/server.js +120 -0
- package/dist/tools/execute-functionality.d.ts +19 -0
- package/dist/tools/execute-functionality.js +175 -0
- package/dist/tools/functionalities/controller-extension/index.d.ts +4 -0
- package/dist/tools/functionalities/controller-extension/index.js +136 -0
- package/dist/tools/functionalities/functionalities.d.ts +4 -0
- package/dist/tools/functionalities/functionalities.js +19 -0
- package/dist/tools/functionalities/generate-fiori-ui-app/command.d.ts +9 -0
- package/dist/tools/functionalities/generate-fiori-ui-app/command.js +158 -0
- package/dist/tools/functionalities/generate-fiori-ui-app/generate-fiori-ui-app.d.ts +4 -0
- package/dist/tools/functionalities/generate-fiori-ui-app/generate-fiori-ui-app.js +240 -0
- package/dist/tools/functionalities/generate-fiori-ui-app/index.d.ts +2 -0
- package/dist/tools/functionalities/generate-fiori-ui-app/index.js +7 -0
- package/dist/tools/functionalities/index.d.ts +2 -0
- package/dist/tools/functionalities/index.js +18 -0
- package/dist/tools/functionalities/page/add-page.d.ts +5 -0
- package/dist/tools/functionalities/page/add-page.js +89 -0
- package/dist/tools/functionalities/page/application.d.ts +212 -0
- package/dist/tools/functionalities/page/application.js +616 -0
- package/dist/tools/functionalities/page/delete-page.d.ts +4 -0
- package/dist/tools/functionalities/page/delete-page.js +71 -0
- package/dist/tools/functionalities/page/index.d.ts +3 -0
- package/dist/tools/functionalities/page/index.js +10 -0
- package/dist/tools/functionalities/page/service.d.ts +82 -0
- package/dist/tools/functionalities/page/service.js +114 -0
- package/dist/tools/functionalities/page/serviceStore.d.ts +17 -0
- package/dist/tools/functionalities/page/serviceStore.js +34 -0
- package/dist/tools/functionalities/page/types.d.ts +42 -0
- package/dist/tools/functionalities/page/types.js +11 -0
- package/dist/tools/functionalities/page/utils.d.ts +12 -0
- package/dist/tools/functionalities/page/utils.js +63 -0
- package/dist/tools/get-functionality-details.d.ts +24 -0
- package/dist/tools/get-functionality-details.js +142 -0
- package/dist/tools/index.d.ts +7 -0
- package/dist/tools/index.js +55 -0
- package/dist/tools/input-schema/execute-functionality.json +28 -0
- package/dist/tools/input-schema/get-functionality-details.json +24 -0
- package/dist/tools/input-schema/index.d.ts +5 -0
- package/dist/tools/input-schema/index.js +15 -0
- package/dist/tools/input-schema/list-fiori-apps.json +12 -0
- package/dist/tools/input-schema/list-functionality.json +10 -0
- package/dist/tools/list-fiori-apps.d.ts +10 -0
- package/dist/tools/list-fiori-apps.js +33 -0
- package/dist/tools/list-functionalities.d.ts +10 -0
- package/dist/tools/list-functionalities.js +145 -0
- package/dist/tools/output-schema/execute-functionality.json +39 -0
- package/dist/tools/output-schema/get-functionality-details.json +142 -0
- package/dist/tools/output-schema/index.d.ts +5 -0
- package/dist/tools/output-schema/index.js +15 -0
- package/dist/tools/output-schema/list-fiori-apps.json +41 -0
- package/dist/tools/output-schema/list-functionality.json +37 -0
- package/dist/tools/utils.d.ts +16 -0
- package/dist/tools/utils.js +74 -0
- package/dist/types.d.ts +170 -0
- package/dist/types.js +3 -0
- package/package.json +63 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type { ApplicationAccess, ProjectType } from '@sap-ux/project-access';
|
|
2
|
+
/**
|
|
3
|
+
* Types for Fiori functionality
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Input interface for the 'list-fiori-apps' functionality
|
|
7
|
+
*/
|
|
8
|
+
export interface ListFioriAppsInput {
|
|
9
|
+
/** Array of paths to search for Fiori applications */
|
|
10
|
+
searchPath: string[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Output interface for the 'list-fiori-apps' functionality
|
|
14
|
+
*/
|
|
15
|
+
export interface ListFioriAppsOutput {
|
|
16
|
+
/** Array of found Fiori applications */
|
|
17
|
+
applications: FioriApp[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Input interface for the 'list-functionality' functionality
|
|
21
|
+
*/
|
|
22
|
+
export interface ListFunctionalitiesInput {
|
|
23
|
+
/** Path to the Fiori application */
|
|
24
|
+
appPath: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Output interface for the 'list-functionality' functionality
|
|
28
|
+
*/
|
|
29
|
+
export interface ListFunctionalitiesOutput {
|
|
30
|
+
/** Path to the Fiori application */
|
|
31
|
+
applicationPath: string;
|
|
32
|
+
/** Array of available functionalities */
|
|
33
|
+
functionalities: Functionality[];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Input interface for the 'get-functionality-details' functionality
|
|
37
|
+
*/
|
|
38
|
+
export interface GetFunctionalityDetailsInput {
|
|
39
|
+
/** Path to the Fiori application */
|
|
40
|
+
appPath: string;
|
|
41
|
+
/** ID or array of IDs of the functionality(ies) */
|
|
42
|
+
functionalityId: string | string[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Output interface for the 'get-functionality-details' functionality
|
|
46
|
+
*/
|
|
47
|
+
export interface GetFunctionalityDetailsOutput {
|
|
48
|
+
/** ID of the functionality */
|
|
49
|
+
functionalityId: string;
|
|
50
|
+
/** Name of the functionality */
|
|
51
|
+
name: string;
|
|
52
|
+
/** Description of the functionality */
|
|
53
|
+
description: string;
|
|
54
|
+
/** Technical description of the functionality */
|
|
55
|
+
technicalDescription?: string;
|
|
56
|
+
/** Array of parameters for the functionality */
|
|
57
|
+
parameters: Parameter[];
|
|
58
|
+
/** Array of prerequisites for the functionality */
|
|
59
|
+
prerequisites?: string[];
|
|
60
|
+
/** Impact of the functionality */
|
|
61
|
+
impact?: string;
|
|
62
|
+
/** Array of examples for the functionality */
|
|
63
|
+
examples?: string[];
|
|
64
|
+
/** Name of the page associated with the functionality */
|
|
65
|
+
pageName?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input interface for the 'execute-functionality' functionality
|
|
69
|
+
*/
|
|
70
|
+
export interface ExecuteFunctionalitiesInput {
|
|
71
|
+
/** ID or array of IDs of the functionality(ies) to execute */
|
|
72
|
+
functionalityId: string | string[];
|
|
73
|
+
/** Parameters for the functionality execution */
|
|
74
|
+
parameters: {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
/** Path to the Fiori application */
|
|
78
|
+
appPath: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Output interface for the 'execute-functionality' functionality
|
|
82
|
+
*/
|
|
83
|
+
export interface ExecuteFunctionalityOutput {
|
|
84
|
+
/** ID or array of IDs of the executed functionality(ies) */
|
|
85
|
+
functionalityId: string | string[];
|
|
86
|
+
/** Status of the execution */
|
|
87
|
+
status: string;
|
|
88
|
+
/** Message describing the execution result */
|
|
89
|
+
message: string;
|
|
90
|
+
/** Parameters used in the execution */
|
|
91
|
+
parameters: unknown;
|
|
92
|
+
/** Path to the Fiori application */
|
|
93
|
+
appPath: string;
|
|
94
|
+
/** Array of changes made during the execution */
|
|
95
|
+
changes: string[];
|
|
96
|
+
/** Timestamp of the execution */
|
|
97
|
+
timestamp: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Interface representing a Fiori application
|
|
101
|
+
*/
|
|
102
|
+
export interface FioriApp {
|
|
103
|
+
/** Name of the Fiori application */
|
|
104
|
+
name: string;
|
|
105
|
+
/** Path to the Fiori application */
|
|
106
|
+
appPath: string;
|
|
107
|
+
/** Path to project */
|
|
108
|
+
projectPath: string;
|
|
109
|
+
/** Type of the Fiori project */
|
|
110
|
+
projectType: ProjectType;
|
|
111
|
+
/** OData version of the Fiori application */
|
|
112
|
+
odataVersion: string;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Interface representing a functionality
|
|
116
|
+
*/
|
|
117
|
+
export interface Functionality {
|
|
118
|
+
/** ID or array of IDs for the functionality */
|
|
119
|
+
functionalityId: Array<string | number> | string;
|
|
120
|
+
/** Description of the functionality */
|
|
121
|
+
description: string;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Interface representing a parameter
|
|
125
|
+
*/
|
|
126
|
+
export interface Parameter {
|
|
127
|
+
/** ID of the parameter */
|
|
128
|
+
id: string;
|
|
129
|
+
/** Name of the parameter */
|
|
130
|
+
name?: string;
|
|
131
|
+
/** Type of the parameter */
|
|
132
|
+
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
133
|
+
/** Whether the parameter is required */
|
|
134
|
+
required?: boolean;
|
|
135
|
+
/** Description of the parameter */
|
|
136
|
+
description?: string;
|
|
137
|
+
/** Default value of the parameter */
|
|
138
|
+
defaultValue?: unknown;
|
|
139
|
+
/** Possible options for the parameter */
|
|
140
|
+
options?: Array<string | number | boolean | undefined>;
|
|
141
|
+
/** Current value of the parameter */
|
|
142
|
+
currentValue?: unknown;
|
|
143
|
+
/** Examples for the parameter */
|
|
144
|
+
examples?: string[];
|
|
145
|
+
/** Regex pattern to validate the value of this parameter */
|
|
146
|
+
pattern?: string;
|
|
147
|
+
/** Nested parameters (for 'object' type) */
|
|
148
|
+
parameters?: Parameter[];
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Interface for functionality handlers
|
|
152
|
+
*/
|
|
153
|
+
export interface FunctionalityHandlers {
|
|
154
|
+
/** Handler for getting functionality details */
|
|
155
|
+
getFunctionalityDetails: (params: GetFunctionalityDetailsInput) => Promise<GetFunctionalityDetailsOutput>;
|
|
156
|
+
/** Handler for executing functionality */
|
|
157
|
+
executeFunctionality: (params: ExecuteFunctionalitiesInput) => Promise<ExecuteFunctionalityOutput>;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Interface representing application details
|
|
161
|
+
*/
|
|
162
|
+
export interface Appdetails {
|
|
163
|
+
/** Root path of the application */
|
|
164
|
+
root: string;
|
|
165
|
+
/** ID of the application */
|
|
166
|
+
appId: string;
|
|
167
|
+
/** Access details for the application */
|
|
168
|
+
applicationAccess?: ApplicationAccess;
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sap-ux/fiori-mcp-server",
|
|
3
|
+
"description": "SAP Fiori - Model Context Protocol (MCP) server",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"SAP Fiori tools",
|
|
7
|
+
"SAP Fiori elements",
|
|
8
|
+
"SAP Fiori freestyle",
|
|
9
|
+
"MCP",
|
|
10
|
+
"AI"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
15
|
+
"directory": "packages/fiori-mcp-server"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Afiori-mcp-server"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"main": "dist/index.js",
|
|
22
|
+
"files": [
|
|
23
|
+
"LICENSE",
|
|
24
|
+
"dist",
|
|
25
|
+
"!dist/**/*.map"
|
|
26
|
+
],
|
|
27
|
+
"bin": {
|
|
28
|
+
"fiori-mcp": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/json-schema": "7.0.5",
|
|
32
|
+
"@types/mem-fs": "1.1.2",
|
|
33
|
+
"@sap-ux/i18n": "0.3.3",
|
|
34
|
+
"@sap-ux/text-document-utils": "0.3.1",
|
|
35
|
+
"@sap-ux/odata-annotation-core-types": "0.4.5",
|
|
36
|
+
"@sap-ux/odata-entity-model": "0.3.1"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@modelcontextprotocol/sdk": "1.17.4",
|
|
40
|
+
"@sap/ux-specification": "1.136.4",
|
|
41
|
+
"@sap-ux/annotation-converter": "0.10.3",
|
|
42
|
+
"i18next": "25.3.0",
|
|
43
|
+
"zod": "4.1.5",
|
|
44
|
+
"@sap-ux/project-access": "1.30.13",
|
|
45
|
+
"@sap-ux/nodejs-utils": "0.2.3",
|
|
46
|
+
"@sap-ux/fiori-annotation-api": "0.6.17"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=20.x"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsc --build",
|
|
53
|
+
"watch": "tsc --watch",
|
|
54
|
+
"bundle": "npm-run-all build tgz:package tgz:rename",
|
|
55
|
+
"tgz:package": "pnpm pack",
|
|
56
|
+
"tgz:rename": "node -e \"const fs=require('fs'), p=require('./package.json'), d=new Date().toISOString().split('T')[0], oldName=p.name.startsWith('@') ? `${p.name.replace('@', '').replace('/', '-')}-${p.version}.tgz` : `${p.name}-${p.version}.tgz`; fs.renameSync(oldName, `${oldName.replace('.tgz','')}-${d}.tgz`)\"",
|
|
57
|
+
"clean": "rimraf --glob dist test/test-output *.tsbuildinfo",
|
|
58
|
+
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
59
|
+
"lint": "eslint . --ext .ts",
|
|
60
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
61
|
+
"test": "jest --ci --forceExit --detectOpenHandles --colors"
|
|
62
|
+
}
|
|
63
|
+
}
|