@sap-ux/fiori-freestyle-writer 0.11.13 → 0.11.14

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 (1) hide show
  1. package/package.json +8 -8
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": "0.11.13",
4
+ "version": "0.11.14",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -18,9 +18,9 @@
18
18
  "templates"
19
19
  ],
20
20
  "dependencies": {
21
- "@sap-ux/odata-service-writer": "0.12.1",
22
- "@sap-ux/ui5-application-writer": "0.13.0",
23
- "@sap-ux/ui5-config": "0.13.2",
21
+ "@sap-ux/odata-service-writer": "0.12.2",
22
+ "@sap-ux/ui5-application-writer": "0.13.1",
23
+ "@sap-ux/ui5-config": "0.13.3",
24
24
  "ejs": "3.1.7",
25
25
  "i18next": "20.3.2",
26
26
  "lodash": "4.17.21",
@@ -33,11 +33,12 @@
33
33
  "@types/fs-extra": "9.0.13",
34
34
  "@types/lodash": "4.14.176",
35
35
  "@types/mem-fs-editor": "7.0.1",
36
+ "@types/mem-fs": "1.1.2",
36
37
  "fs-extra": "10.0.0"
37
38
  },
38
39
  "engines": {
39
- "pnpm": ">=6.26.1",
40
- "node": ">=12.22.5 < 13.0.0 || >= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0"
40
+ "pnpm": ">=6.26.1 < 7.0.0 || >=7.1.0",
41
+ "node": ">=12.22.5 < 13.0.0 || >= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0"
41
42
  },
42
43
  "scripts": {
43
44
  "build": "rimraf dist && tsc",
@@ -49,6 +50,5 @@
49
50
  "test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
50
51
  "link": "pnpm link --global",
51
52
  "unlink": "pnpm unlink --global"
52
- },
53
- "readme": "# @sap-ux/fiori-freestyle-writer\n\nEasy to use Fiori Freestyle project files writer for use within Yeoman generator and other prompting libraries. \n\n\n## Installation\nNpm\n`npm install --save @sap-ux/fiori-freestyle-writer`\n\nYarn\n`yarn add @sap-ux/fiori-freestyle-writer`\n\nPnpm\n`pnpm add @sap-ux/fiori-freestyle-writer`\n\n## Usage\n\nCalling the `generate` function\n```javascript\nimport { FreestyleApp, generate, OdataVersion, TemplateType } from '@sap-ux/fiori-freestyle-writer'\nimport { join } from 'path';\n\nconst exampleWriter = async () => {\n\n const appConfig =\n {\n app: {\n id: 'test.me',\n title: 'My Test App',\n flpAppId: 'testme-app'\n },\n package: {\n name: 'test.me'\n },\n service: {\n url: 'https://services.odata.org',\n path: '/V2/Northwind/Northwind.svc',\n version: OdataVersion.v2,\n metadata: // Fetch from: https://services.odata.org/V2/Northwind/Northwind.svc$metadata\n },\n ui5: {\n localVersion: '1.90.0',\n version: '', // I.e Latest\n ui5Theme: 'sap_fiori_3',\n ui5Libs: 'sap.m,sap.ushell'\n },\n template: {\n type: TemplateType.ListDetail,\n settings: {\n entity: {\n name: 'Suppliers',\n key: 'SupplierID',\n idProperty: 'CompanyName',\n numberProperty: undefined,\n unitOfMeasureProperty: undefined\n },\n lineItem: {\n name: 'Products',\n key: 'ProductID',\n idProperty: 'ProductName',\n numberProperty: 'UnitsInStock',\n unitOfMeasureProperty: 'QuantityPerUnit'\n }\n }\n }\n };\n \nconst projectPath = join(curTestOutPath, name);\nconst fs = await generate(join(projectPath), appConfig);\nreturn new Promise((resolve) => {\n fs.commit(resolve); // When using with Yeoman it handle the fs commit.\n});\n}\n\n// Calling the function\nawait exampleWriter();\n\n```\n\n## Keywords\nSAP Fiori Freestyle\n"
53
+ }
54
54
  }