@sap-ux/fiori-elements-writer 3.1.45 → 3.1.47

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.
@@ -1,5 +1,5 @@
1
1
  import { OdataVersion, ServiceType } from '@sap-ux/odata-service-writer';
2
- import readPkgUp from 'read-pkg-up';
2
+ import { readPackageUpSync } from 'read-package-up';
3
3
  import { dirname } from 'node:path';
4
4
  import { fileURLToPath } from 'node:url';
5
5
  const __dirname = dirname(fileURLToPath(import.meta.url));
@@ -113,7 +113,7 @@ function setFioriAppDefaults(app, templateType, serviceVersion) {
113
113
  export function setAppDefaults(feApp) {
114
114
  // Add template information
115
115
  if (!feApp.app.sourceTemplate?.version || !feApp.app.sourceTemplate?.id) {
116
- const packageInfo = readPkgUp.sync({ cwd: __dirname });
116
+ const packageInfo = readPackageUpSync({ cwd: __dirname });
117
117
  feApp.app.sourceTemplate = {
118
118
  id: `${packageInfo?.packageJson.name}:${feApp.template.type}`,
119
119
  version: packageInfo?.packageJson.version,
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": "3.1.45",
4
+ "version": "3.1.47",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -26,15 +26,15 @@
26
26
  "lodash": "4.18.1",
27
27
  "mem-fs": "2.1.0",
28
28
  "mem-fs-editor": "9.4.0",
29
- "read-pkg-up": "7.0.1",
29
+ "read-package-up": "11.0.0",
30
30
  "semver": "7.8.5",
31
31
  "@sap-ux/odata-service-writer": "1.0.21",
32
32
  "@sap-ux/ui5-application-writer": "2.1.5",
33
33
  "@sap-ux/fe-fpm-writer": "1.3.17",
34
34
  "@sap-ux/ui5-config": "1.0.9",
35
- "@sap-ux/ui5-test-writer": "1.9.5",
36
- "@sap-ux/fiori-generator-shared": "1.2.12",
37
- "@sap-ux/cap-config-writer": "1.0.34",
35
+ "@sap-ux/ui5-test-writer": "1.10.0",
36
+ "@sap-ux/fiori-generator-shared": "1.2.13",
37
+ "@sap-ux/cap-config-writer": "1.0.35",
38
38
  "@sap-ux/annotation-generator": "1.0.27",
39
39
  "@sap-ux/logger": "1.0.3"
40
40
  },