Skip to content

Commit

Permalink
fix: update ui5-tooling-modules with specific version to handle known…
Browse files Browse the repository at this point in the history
… issue
  • Loading branch information
longieirl committed Dec 15, 2023
1 parent dd63a3f commit 7c5c63d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion thirdpartylibrary/ztravelapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ Please refer to the following link, [Developing Apps with SAP Fiori Tools](https

# Tasks

Append third part library to `package.json`;
Append third party library to `package.json`;
```bash
npm install xml-js --save-prod
```

Append UI5 tooling extension to include a custom middleware and a custom task which allows use of NPM package names in your code;
```bash
npm install ui5-tooling-modules --save-prod
```

Open `View1.controller.js` and append the `xml-js` library;
```JS
sap.ui.define(
Expand Down
11 changes: 6 additions & 5 deletions thirdpartylibrary/ztravelapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
],
"main": "webapp/index.html",
"dependencies": {
"ui5-tooling-modules": "3.2.4"
"ui5-tooling-modules": "3.2.4",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@ui5/cli": "^3.0.0",
"@sap/ux-ui5-tooling": "1",
"@sap-ux/ui5-middleware-fe-mockserver": "2",
"@sap/ui5-builder-webide-extension": "^1.1.8",
"ui5-task-zipper": "^0.5.0",
"mbt": "^1.2.18"
"@sap/ux-ui5-tooling": "1",
"@ui5/cli": "^3.0.0",
"mbt": "^1.2.18",
"ui5-task-zipper": "^0.5.0"
},
"scripts": {
"start": "fiori run --open \"test/flpSandbox.html?sap-ui-xx-viewCache=false#ztestdocapp1ztravel-display\"",
Expand Down

0 comments on commit 7c5c63d

Please sign in to comment.