Skip to content
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 Request] enhance create-ui5-element command to create component in Typescript #6530

Closed
1 of 4 tasks
ilhan007 opened this issue Feb 17, 2023 · 1 comment · Fixed by #6609
Closed
1 of 4 tasks

Comments

@ilhan007
Copy link
Member

Feature Request Description

Currently the component package level command create-ui5-element produces skeleton, files for a new web component, but everything is in JS. Now that we support TS for development and even more, 4rd parties can create custom web components package in TS, we need to also enhance the command to produce the skeleton of files in TS.

Proposed Solution

The create-ui5-element command should be able to produce a new component both in JS and TS.

Priority

  • Low
  • Medium
  • High
  • Very High

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

  • Organization: {...}
  • Business impact: {...}
@ilhan007 ilhan007 added this to the 1.11.0 milestone Feb 17, 2023
@nnaydenow nnaydenow self-assigned this Feb 17, 2023
@ilhan007 ilhan007 modified the milestones: 1.11.0, 1.12.0 Feb 22, 2023
@vladitasev
Copy link
Contributor

A couple of notes:

  • use a wizard by default (choose name for the new component first, TS/JS second, TS being default)
  • provide all options from the command line too
  • move to a new directory and have the templates as separate files
  • Use the newest TS syntax (big customElement decorator)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

4 participants