@sap-ux/fiori-freestyle-writer 3.0.90 → 3.0.92

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.
Files changed (2) hide show
  1. package/dist/defaults.js +2 -2
  2. package/package.json +5 -5
package/dist/defaults.js CHANGED
@@ -1,4 +1,4 @@
1
- import readPkgUp from 'read-pkg-up';
1
+ import { readPackageUpSync } from 'read-package-up';
2
2
  import { TemplateType } from './types.js';
3
3
  import { compareUI5VersionGte, ui5LtsVersion_1_120 } from './utils.js';
4
4
  import { getFlpId } from '@sap-ux/fiori-generator-shared';
@@ -46,7 +46,7 @@ export function setDefaults(ffApp) {
46
46
  setAppDefaults(ffApp.app);
47
47
  // Add template information
48
48
  if (!ffApp.app.sourceTemplate?.version || !ffApp.app.sourceTemplate?.id) {
49
- const packageInfo = readPkgUp.sync({ cwd: __dirname });
49
+ const packageInfo = readPackageUpSync({ cwd: __dirname });
50
50
  ffApp.app.sourceTemplate = {
51
51
  id: `${packageInfo?.packageJson.name}:${ffApp.template.type}`,
52
52
  version: packageInfo?.packageJson.version,
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": "3.0.90",
4
+ "version": "3.0.92",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -26,14 +26,14 @@
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/ui5-config": "1.0.9",
34
- "@sap-ux/fiori-generator-shared": "1.2.12",
35
- "@sap-ux/cap-config-writer": "1.0.34",
36
- "@sap-ux/ui5-test-writer": "1.9.5",
34
+ "@sap-ux/fiori-generator-shared": "1.2.13",
35
+ "@sap-ux/cap-config-writer": "1.0.35",
36
+ "@sap-ux/ui5-test-writer": "1.10.0",
37
37
  "@sap-ux/logger": "1.0.3"
38
38
  },
39
39
  "devDependencies": {