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

Add vite-plugin, jsconfig, dev-mode runtime to JS templates #10

Merged
merged 16 commits into from
Mar 3, 2025

Conversation

IanVS
Copy link

@IanVS IanVS commented Mar 3, 2025

This gets all the non-typescript templates into good shape.

  • Adds jsconfig.json to them all, customized slightly for svelte, sveltekit, and vue to respect their special filetypes.
  • Adds vite-env.d.ts files to the js templates (for autocompletion support)
  • Changes package.json to package.json.tmpl to support development-mode wails runtime
  • Adds wails runtime vite plugin to javascript templates

Also:

  • Removes package-lock.json from the sveltekit templates. New projects should create their own package-lock files, not use an old one from the template
  • Removes duplicated static assets from sveltekit template.

@IanVS IanVS changed the title Update react-swc template Add vite-plugin, jsconfig, dev-mode runtime to JS templates Mar 3, 2025
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IanVS The JS react template has a tsconfig instead of a jsconfig. Just wanted to make sure this is intentional.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right it should be jsconfig, good catch.

@fbbdev fbbdev merged commit a419a76 into fbbdev:v3-alpha-feature/event-types Mar 3, 2025
2 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