Task for ui5-builder, enabling type generation for your libraries.
npm install ui5-task-dts-generation --save-dev
- validateFile: true|false
whether or not to validate the generate file
- strictMode: true|false
in strict mode a validation error will result in a build failure
- Define the dependency in
$yourapp/package.json
:
{
"devDependencies": {
"ui5-task-dts-generation": "^1.0.0"
},
"ui5": {
"dependencies": [
"ui5-task-dts-generation"
]
}
}
As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the
ui5 > dependencies
array. In addition, once using theui5 > dependencies
array you need to list all UI5 tooling relevant dependencies.
- configure it in
$yourapp/ui5.yaml
:
builder:
customTasks:
- name: ui5-task-dts-generation
afterTask: executeJsdocSdkTransformation
The task uses the @ui5/dts-generator,
This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.