-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui5-tooling-modules): do not consider webc npm packages as libra…
…ries (#1080)
- Loading branch information
1 parent
b6da7af
commit 2643a13
Showing
10 changed files
with
925 additions
and
956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { registerEnum } from "sap/ui/base/DataType"; | ||
{{#each dependencies}} | ||
import "{{this}}"; | ||
{{/each}} | ||
|
||
const pkg = { | ||
"_ui5metadata": {{{metadata}}} | ||
}; | ||
|
||
{{#each enums}} | ||
pkg["{{name}}"] = { | ||
{{#each members}} | ||
"{{name}}": "{{name}}", | ||
{{/each}} | ||
}; | ||
registerEnum("{{../namespace}}.{{name}}", pkg["{{name}}"]); | ||
{{/each}} | ||
|
||
export default pkg; |
2 changes: 1 addition & 1 deletion
2
...les/lib/templates/WebComponentControl.hbs → ...-modules/lib/templates/WrapperControl.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.