![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@patreon/studio
Advanced tools
Studio Design System is Patreon’s web design system and is built with React and Styled Components and written in Typescript.
The docs for Studio Design System live at https://studio.patreon.com
npm i -P @patreon/studio
View available Studio components and how to use them in the docs.
As an example, here’s how you’d import the Text component:
import { Text } from '@patreon/studio'
We use Docz to generate the Studio docs that live at https://studio.patreon.com.
Run npm run docs:server
and open localhost:3003
in your browser.
Storybook is a component development environment. Our version of Storybook uses the component story format, which expects stories to be written in the following format.
export ExampleStory = () => <ExampleComponent />
Run npm run storybook
.
Run npm run test
or npm run test:watch
Happo is our tool for visual regression testing. It's integrated as part of our CircleCI tests, but can also be run locally, with a little bit of setup:
.env
file in the studio
directory (it will be ignored by git)npm install
to make sure dependencies are installed (dotenv
in particular).npm run happo dev
, which will watch files for changes and with the --only
flag can be limited to specific components. See the docs for more info.studio
is a sibling to patreon_react_features
in a devx
synced folderpatreon_react_features
exec npm run link:studio
studio
exec npm run build:module:watch
devx service react restart
$ rm app/libs/studio
$ devx service react restart
FAQs
Patreon Studio Design System
The npm package @patreon/studio receives a total of 475 weekly downloads. As such, @patreon/studio popularity was classified as not popular.
We found that @patreon/studio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.