Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauriciolauffer/ui5-task-dts-generator
https://github.com/mauriciolauffer/ui5-task-dts-generator
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mauriciolauffer/ui5-task-dts-generator
- Owner: mauriciolauffer
- License: mit
- Created: 2021-08-14T22:40:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T22:58:42.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T23:32:08.818Z (23 days ago)
- Language: JavaScript
- Size: 171 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ui5-task-dts-generator
Task for [ui5-builder](https://github.com/SAP/ui5-builder) which generates d.ts files (TypeScript type declaration file).
## Install
```bash
npm install ui5-task-dts-generator --save-dev
```## Usage
1. Define the dependency in `$yourapp/package.json`:
```json
"devDependencies": {
// ...
"ui5-task-dts-generator": "*"
// ...
},
"ui5": {
"dependencies": [
// ...
"ui5-task-dts-generator",
// ...
]
}
```> As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the `ui5 > dependencies` array. In addition, once using the `ui5 > dependencies` array you need to list all UI5 tooling relevant dependencies.
2. Configure it in `$yourapp/ui5.yaml`:
```yaml
builder:
customTasks:
- name: ui5-task-dts-generator
afterTask: generateResourcesJson
```## Author
Mauricio Lauffer
- LinkedIn: [https://linkedin.com/in/mauriciolauffer](https://linkedin.com/in/mauriciolauffer)
## License
[MIT](LICENSE)