Use case
Framework
Owner
Svelte/5/Components As Functions
In Svelte 3 and 4, components were classes, while in Svelte 5, components are functions. This codemod updates the instantiation of Svelte components to use
mount
orhydrate
(imported from svelte), ensuring compatibility with Svelte 5's new functional component model.Webpack/V5/Set Target To False And Update Plugins
This codemod migrates the
target
property in Webpack configurations from a function tofalse
and moves the function to theplugins
array.Set Target To False And Update Plugins
This codemod migrates the
target
property in Webpack configurations from a function tofalse
and moves the function to theplugins
array.Webpack/V5/Json Imports To Default Imports
This codemod migrates imports from JSON modules that use named exports to use default exports instead.
Webpack/V5/Migrate Library Target To Library Object
This codemod migrates the
output.library
andoutput.libraryTarget
properties in Webpack configurations to the new format required by Webpack 5. It changesoutput.library
tooutput.library.name
andoutput.libraryTarget
tooutput.library.type
.Remix Js/V2/Migration Recipe
This recipe is a set of codemods that will help migrate to Remix.js v2.
Three/R168/Logluvloader To UltraHDRLoader
This codemod removes
LogLuvLoader
, and replaces it withUltraHDRLoader
Remix Js/V2/Webpack V2 Migrate Dev Server Port
In your remix.config.js, rename devServerPort to future.v2_dev.port.
Remix Js/V2/Typescript 2 Update Links Function And Property Names
Route links properties should all be the React camelCase values instead of HTML lowercase values.
Remix Js/V2/Rename Browser Build Directory
In your remix.config.js, rename browserBuildDirectory to assetsBuildDirectory.
Before
Remix Js/V2/Remix 1 Use Route Error Codemod
In v1, a thrown Response rendered the closest CatchBoundary while all other unhandled exceptions rendered the ErrorBoundary. In v2 there is no CatchBoundary and all unhandled exceptions will render the ErrorBoundary, response or otherwise.
Remix Js/V2/Remix 1 Add Meta V1 Wrapper
Using the metaV1 function, you can pass in the meta function's arguments and the same object it currently returns. This function will use the same merging logic to merge the leaf route's meta with its direct parent route meta before converting it to an array of meta descriptors usable in v2.
Remix Js/V2/Nodejs Module Exports Server Build Directory To Path
In your remix.config.js, rename serverBuildDirectory to serverBuildPath and specify a module path, not a directory.
Remix Js/V2/Add Matches Param And Array Return To Meta Export
Instead of returning an object from meta, you will now return an array of descriptors and manage the merge yourself. This brings the meta API closer to links, and it allows for more flexibility and control over how meta tags are rendered.
Gatsby/V5/Removal UseNavigate Hook
Removal of useNavigate Hook
Removal UseNavigate Hook
Removal of useNavigate Hook
Styledictionary/4/Reference Utils
What Changed
Styledictionary/4/Hook Api Transform Groups
What Changed
Styledictionary/4/Hook Api Transform
What Changed
Styledictionary/4/Hook Api Preprocessors
What Changed