Migration from 0.1.6
to 0.2.0
#286
AriPerkkio
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello and welcome to the latest version of TutorialKit! 👋
The
0.2.0
release of TutorialKit introduced two breaking changes that require manual actions from users when updating. This guide describes the changes that are needed.Feel free to leave a comment in this discussion if any help is needed! All feedback is welcome. 🙌
Example migration: https://github.com/AriPerkkio/tutorial-vite-plugin/pull/23/files
@tutorialkit/components-react
package is now@tutorialkit/react
We have renamed the
@tutorialkit/components-react
package to@tutorialkit/react
. Following change is needed in yourpackage.json
Simplified UnoCSS integration
Previously TutorialKit required users to have quite complex
uno.config.ts
configuration file in their projects. Updates for this file were difficult to make as we always needed to instruct users to manually update their configurations. Now we have moved all the configuration to@tutorialkit
packages so that users are no longer needed to maintain complex configurations themselves.You can remove following packages from your
package.json
:And update following packages to the new version. Make sure
@tutorialkit/theme
is also added.In your
uno.config.ts
:For related commits see:
@tutorialkit/components-react
to@tutorialkit/react
#155Beta Was this translation helpful? Give feedback.
All reactions