Skip to content

Update lit template #9

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

Merged
merged 4 commits into from
Mar 1, 2025

Conversation

IanVS
Copy link

@IanVS IanVS commented Feb 28, 2025

This does three main things:

  • Fixes a race which was causing vite to start up before bindings finished generating, throwing an error in the new plugin.
  • Adds application.RegisterEvent[string]("time") to the main.go template
  • Updates the js lit template:
    • changes package.json to use the dev runtime package if possible
    • adds a basic tsconfig.json for javascript (pretty lax, doesn't really check anything
    • adds a vite config to inject the plugin.

I kept the vite config and tsconfig very un-opinionated for the time being. I figure it's easiest to start here, and add to it as needed/desired.

@fbbdev fbbdev merged commit 2f3ab4d into fbbdev:v3-alpha-feature/event-types Mar 1, 2025
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants