@sap-ux/fiori-elements-writer 2.8.66 → 2.8.68
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/dist/index.js +2 -1
- package/dist/types.d.ts +4 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -206,7 +206,8 @@ async function generate(basePath, data, fs, log) {
|
|
|
206
206
|
appId: feApp.app.id,
|
|
207
207
|
sapux: feApp.appOptions?.sapux,
|
|
208
208
|
enableCdsUi5Plugin: feApp.appOptions?.addCdsUi5Plugin,
|
|
209
|
-
enableTypescript: feApp.appOptions?.typescript
|
|
209
|
+
enableTypescript: feApp.appOptions?.typescript,
|
|
210
|
+
disableRootPackageJsonUpdates: feApp.appOptions?.disableCapRootPkgJsonUpdates
|
|
210
211
|
};
|
|
211
212
|
// apply cap updates when service is cap
|
|
212
213
|
await (0, cap_config_writer_1.applyCAPUpdates)(fs, feApp.service.capService, settings);
|
package/dist/types.d.ts
CHANGED
|
@@ -161,6 +161,10 @@ export interface FioriElementsApp<T> extends Ui5App {
|
|
|
161
161
|
* However, annotations will only be written if the template type is lrop, worklist, or formEntryObject; annotation generation is unspported for other project types.
|
|
162
162
|
*/
|
|
163
163
|
addAnnotations?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Indicates if updates to the root package.json of CAP projects should be disabled. If true, the root package.json will not be updated with the sapux array or the cds watch scripts.
|
|
166
|
+
*/
|
|
167
|
+
disableCapRootPkgJsonUpdates?: boolean;
|
|
164
168
|
};
|
|
165
169
|
}
|
|
166
170
|
export { OdataVersion } from '@sap-ux/odata-service-writer';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-elements-writer",
|
|
3
3
|
"description": "SAP Fiori elements application writer",
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.68",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@sap-ux/fe-fpm-writer": "0.42.7",
|
|
33
33
|
"@sap-ux/ui5-config": "0.29.16",
|
|
34
34
|
"@sap-ux/ui5-test-writer": "0.7.68",
|
|
35
|
-
"@sap-ux/fiori-generator-shared": "0.13.
|
|
36
|
-
"@sap-ux/cap-config-writer": "0.12.
|
|
35
|
+
"@sap-ux/fiori-generator-shared": "0.13.71",
|
|
36
|
+
"@sap-ux/cap-config-writer": "0.12.63",
|
|
37
37
|
"@sap-ux/annotation-generator": "0.4.21",
|
|
38
38
|
"@sap-ux/logger": "0.8.1"
|
|
39
39
|
},
|