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

Export the project as nodejs package for 2nd developing #805

Open
HerbertHe opened this issue Nov 28, 2023 · 0 comments
Open

Export the project as nodejs package for 2nd developing #805

HerbertHe opened this issue Nov 28, 2023 · 0 comments
Labels
FR Feature Request

Comments

@HerbertHe
Copy link

Is your feature request related to a problem? Please describe.
When I try to write custom entities for Home Assistant, I find that it is really hard for us frontend developer to use yaml file. Then, I found this project. I analyzed the project structure, I thought building the project and publish as a nodejs package is possible.

And I can make it easy to build the custom entities based on button-card by developing a project which can help us to generate
the yaml file automatically. Then we can just write the TypeScript code and CSS to meet the goal, even we can meet WYSIWYG (What You See Is What You Get!!) by using frontend developing tech stack.

Describe the solution you'd like
I think it's really easy to meet the goal

  • just need to add a index.ts file at src dir.
  • use tsup package which is based on esbuild for building dts and js file
  • publish the package to npm

Describe alternatives you've considered
Just exporting the types files is also a good idea.

Additional context
Add any other context or screenshots about the feature request here.

@HerbertHe HerbertHe added the FR Feature Request label Nov 28, 2023
@HerbertHe HerbertHe changed the title Export the project as nodejs package for developing Export the project as nodejs package for 2nd developing Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FR Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant