-
Notifications
You must be signed in to change notification settings - Fork 3
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(common): adding unbuild dependency to fix type problems #313
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -41,7 +37,7 @@ function closeModal() { | |||
<div class="container"> | |||
<Counter | |||
:count="plugin.data.content" | |||
:onIncrease="() => plugin.actions.setContent(plugin.data.content + 1)" | |||
@onIncrease="plugin.actions.setContent(plugin.data.content + 1)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed to make some changes to fix typescript issues. I will attach a video to explain why there was a TS issue in vue3 template.
You can find more details here --> https://storyblok.slack.com/archives/C04P3JBHWHW/p1699883718219399
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thanks for the hard work! :)
What?
This PR evolves around adding the unbuild js dependency to field-plugin and helpers to solve type-related problems found via arethetypeswrong.github.com
In this PR the output for field-plugin seems to be passing. However as soon as I added unbuild to react helper the tests for field-plugin/react are all failing.
UPDATE
after running
yarn build:helpers
from the root package and moving vite to dependencies instead of devDependencies it is possible for me to build the helpers with no problems.Why?
JIRA: EXT-2052
How to test? (optional)
yarn install in the root
yarn build:helpers
inside the root package stillattw --pack
inside the field plugin package --> attw is a CLI running the same testing as the 'arethetypeswrong.github.io' website