@sap-ux/fiori-freestyle-writer 2.5.49 → 2.5.51
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
|
@@ -138,7 +138,8 @@ async function generate(basePath, data, fs, log) {
|
|
|
138
138
|
appId: ffApp.app.id,
|
|
139
139
|
sapux: ffApp.appOptions?.sapux,
|
|
140
140
|
enableCdsUi5Plugin: ffApp.appOptions?.addCdsUi5Plugin,
|
|
141
|
-
enableTypescript: ffApp.appOptions?.typescript
|
|
141
|
+
enableTypescript: ffApp.appOptions?.typescript,
|
|
142
|
+
disableRootPackageJsonUpdates: ffApp.appOptions?.disableCapRootPkgJsonUpdates
|
|
142
143
|
};
|
|
143
144
|
// apply cap updates when service is cap
|
|
144
145
|
await (0, cap_config_writer_1.applyCAPUpdates)(fs, ffApp.service.capService, settings);
|
package/dist/types.d.ts
CHANGED
|
@@ -43,6 +43,10 @@ export interface FreestyleApp<T> extends Ui5App {
|
|
|
43
43
|
* This will eventually move up to {@link Ui5App.appOptions}
|
|
44
44
|
*/
|
|
45
45
|
addTests?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
*/
|
|
49
|
+
disableCapRootPkgJsonUpdates?: boolean;
|
|
46
50
|
};
|
|
47
51
|
}
|
|
48
52
|
export { OdataVersion } from '@sap-ux/odata-service-writer';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-freestyle-writer",
|
|
3
3
|
"description": "SAP Fiori freestyle application writer",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.51",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@sap-ux/odata-service-writer": "0.29.18",
|
|
31
31
|
"@sap-ux/ui5-application-writer": "1.7.8",
|
|
32
32
|
"@sap-ux/ui5-config": "0.29.16",
|
|
33
|
-
"@sap-ux/fiori-generator-shared": "0.13.
|
|
34
|
-
"@sap-ux/cap-config-writer": "0.12.
|
|
33
|
+
"@sap-ux/fiori-generator-shared": "0.13.71",
|
|
34
|
+
"@sap-ux/cap-config-writer": "0.12.63",
|
|
35
35
|
"@sap-ux/ui5-test-writer": "0.7.68",
|
|
36
36
|
"@sap-ux/logger": "0.8.1"
|
|
37
37
|
},
|