Closed brandongregoryscott closed 1 year ago
Name | Link |
---|---|
Latest commit | b0366bb835ed43607cc54efa0dbb905fd1b1269d |
Latest deploy log | https://app.netlify.com/sites/evergreen-storybook/deploys/638568744309110009581f6e |
Deploy Preview | https://deploy-preview-1558--evergreen-storybook.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Overview
This PR overhauls our
codemods
directory and adds two new codemods, one for removing SidebarTab components (replacing withTab direction="horizontal"
) and one for removing Nudge components (replacing withPulsar
where possible).codemods
directory is now written in TypeScript and added to the build processjscodeshift
has been updatedjscodeshift
to help reduce duplicated code & improve readabilityThere are a decent amount of tests, but not all of the new utility functions are tested. We can continue to back-fill these as new codemods are added, in addition to the regular input/output transformation tests.
Also... I noticed we were bundling up
*.test.js
files the main package. Looks like the glob for thebuild-commonjs
andbuild-esm
scripts is not picking up all of the test files, so excluding them explicitly from thefiles
array in the package.json should tidy our distribution up a little!Screenshots (if applicable)
Documentation