Skip to content

11.0.0: Vite 3, React 18, MDX 2 and Ladle!

Compare
Choose a tag to compare
@bensmithett bensmithett released this 01 Aug 13:30
· 25 commits to main since this release
f71fd82

Changes

See #48

  • Upgrade dependencies
    • Vite 2.0 to 3.0
    • React 17 to 18.2
    • MDX 1.x to 2.1
  • Replace Storybook with Ladle
    • See #47 for rationale
  • Move components/TropicalCodeBlock to components/tropical/CodeBlock
    • The next release is going to have another "batteries included" Tropical component (a responsive <Picture>). I figured I should put these in a special folder instead of mixing them in with your components.

Upgrade instructions (more info)

Merge upstream changes

First, configure this repo as a remote for your repo (you only need to do this once)

  git remote add template https://github.com/bensmithett/tropical.git

Then fetch & merge the latest changes, resolving any conflicts manually:

git fetch template
git merge template/master

or...

Manually update your code

Merging upstream changes should be straightforward for this change (unless you've made lots of changes to Vite config or TropicalCodeBlock) but see https://github.com/bensmithett/tropical/pull/48/files for changes you can make manually:

As always, open an issue if you're having trouble upgrading and I'll help you through it!