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

fix: prefer module build-time tpc #153

Merged
merged 3 commits into from
Jul 15, 2024
Merged

fix: prefer module build-time tpc #153

merged 3 commits into from
Jul 15, 2024

Conversation

harlan-zw
Copy link
Collaborator

@harlan-zw harlan-zw commented Jul 15, 2024

πŸ”— Linked issue

#147, #133

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We're getting a bunch of type issues because we're trying to use the composables as a build-time file, meaning end-users type checkers are validating the data. This isn't right as these files need to be runtime only.

There are a lot of complexities involved in having the template generation like this and many areas for bugs, we vastly simplify it by just generating the files themselves on the module-builder side.

Also we switch to using the appropriate Nuxt Scripts keys so fix #147

Copy link

vercel bot commented Jul 15, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
scripts-docs βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 15, 2024 6:01am
scripts-playground βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 15, 2024 6:01am

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.

TPC script runtime config extending is broken
1 participant