emotion/monorepo
Target package(s):
- @emotion/babel-plugin
- @emotion/core
- @emotion/css
- @emotion/css/create-instance
- @emotion/eslint-plugin
- @emotion/jest
- @emotion/react
- @emotion/server
- @emotion/server/create-instance
- babel-plugin-emotion
- create-emotion-server
- create-emotion
- emotion-server
- emotion-theming
- emotion
- eslint-plugin-emotion
- jest-emotion
Maintainers:
Transforms
11.0.0
info
Usage $ hypermod --packages @emotion__monorepo@11.0.0 path/to/source
A codemod which facilitates the migration of the @emotion/monorepo package to version 11.0.0.
Presets
styled-to-emotion-10
info
Usage $ hypermod --packages @emotion__monorepo#styled-to-emotion-10 path/to/source
Automatically migrates from styled-components to emotion v10
/* INPUT */
import styled, { css, ThemeProvider, withTheme } from 'styled-components';
/* OUTPUT */
import { css } from '@emotion/core';
import styled from '@emotion/styled';
import { ThemeProvider, withTheme } from 'emotion-theming';