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

Fixes 0.16.0 issues #2472

Merged
merged 5 commits into from
Jan 29, 2025
Merged

Fixes 0.16.0 issues #2472

merged 5 commits into from
Jan 29, 2025

Conversation

infomiho
Copy link
Contributor

Fixes two issues found during 0.16.0-rc2 QA:

  • Wasp AI template didn't have all the necessary deps
  • Using JS files to define operations didn't work due to a TS bug (linked in the comment above the fix)

Signed-off-by: Mihovil Ilakovac <[email protected]>
Signed-off-by: Mihovil Ilakovac <[email protected]>
Signed-off-by: Mihovil Ilakovac <[email protected]>
Copy link
Contributor

@sodic sodic left a comment

Choose a reason for hiding this comment

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

Great fix!

Can you please add a type "e2e test" in waspc/todoApp to prevent regressions (define an operation in JS and assert proper types are inferred though our custom type tests)?

Best to do it now while this is still fresh, but we can merge this first and then take care of it in a different PR.

"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.26.2",
"tailwindcss": "^3.2.7"
Copy link
Contributor

Choose a reason for hiding this comment

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

Tailwind wasn't here before. Did you add it on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I did 👍 Forgot to add it when I added it to multiple other places, related to #2464

Copy link
Contributor

@sodic sodic left a comment

Choose a reason for hiding this comment

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

LGTM

@sodic sodic merged commit c78b213 into main Jan 29, 2025
6 checks passed
@sodic sodic deleted the miho-0-16-0-fixes branch January 29, 2025 14:33
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