-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Implement Resource Tagging Mechanism #480
Conversation
72d7a6e
to
10874e4
Compare
Depends on SAP/ui5-fs#261 |
0e69d9a
to
4730216
Compare
2fc0104
to
fe814c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a look at the coding and checked the integration test results.
Works like a charm and also brings up the correct results.
const ResourceTagCollection = require("@ui5/fs").ResourceTagCollection; | ||
|
||
const STANDARD_TAGS = Object.freeze({ | ||
OmitFromBuildResult: "ui5:OmitFromBuildResult" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few remarks from my side.
lib/tasks/TaskUtil.js
Outdated
* Convenience functions for UI5 Builder tasks. | ||
* An instance of this class is passed to every standard UI5 Builder task that requires it. | ||
* | ||
* Custom tasks that define a Specification Version >= 2.2 will receive an interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Custom tasks that define a Specification Version >= 2.2 will receive an interface | |
* Custom tasks that define a specification version >= 2.2 will receive an interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Also split them into separate files
…/fs.ResourceTagCollection Based on proposed RFC 0008: SAP/ui5-tooling#243
Flexibility changes files that are bundled are not part of the build result anymore. This feature is using the new resource tagging as per RFC 0008: SAP/ui5-tooling#243
State lowest supported specVersion per function
d9a313b
to
84e56a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Based on proposed RFC 0008: SAP/ui5-tooling#243
Depends on SAP/ui5-fs#261
Related: