You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We generate the interfaces of our custom controls using:
npx @ui5/ts-interface-generator
This is done in the precommit-hook and it generates interfaces with comments.
But in the pre-push hook we run the qunit and OPA tests and this starts up the UI5 dev server (ui5 serve) which also generates the interfaces again, but without comments.
This leaves us with a dirty local working directory on each push, what is quite annoying.
One solution would be to disable interface generation:
--jsdoc: Set the amount of JSDoc which should be generated;
options are: none, minimal, verbose; default is verbose:...
This options should also be reflected in the ui5-tooling-transpile-middleware, so it can be set to the desired level.
Otherwise the level may missmatch the level used when manually generating the interface, thus leaving the workspace in a dirty state after starting the dev-server
We generate the interfaces of our custom controls using:
npx @ui5/ts-interface-generator
This is done in the precommit-hook and it generates interfaces with comments.
But in the pre-push hook we run the qunit and OPA tests and this starts up the UI5 dev server (ui5 serve) which also generates the interfaces again, but without comments.
This leaves us with a dirty local working directory on each push, what is quite annoying.
One solution would be to disable interface generation:
But a better solution would be, that the transpile middleware offers a configuration for the jsdoc generation.
This could lool something lilke:
The text was updated successfully, but these errors were encountered: