csnx
csnx copied to clipboard
Create `@guardian/source-development-kitchen`
What are you changing?
Creates @guardian/source-development-kitchen
, in a correlate to #1435.
Why?
If foundations
and react-components
are becoming sections of @guardian/source
, it makes sense to do the same for dev kitchen:
Before
import { palette } from '@guardian/source-foundations';
import { Button } from '@guardian/source-react-components';
import { StarRating } from '@guardian/source-react-components-development-kitchen';
After
import { palette } from '@guardian/source/foundations';
import { Button } from '@guardian/source/react-components';
import { StarRating } from '@guardian/source-development-kitchen/react-components';
This leaves us with two decoupled, consistent source packages:
-
@guardian/source
-
@guardian/source-development-kitchen
This means they are both then more extensible: they can stay as they are, or accommodate future developments, e.g.:
import { Button } from '@guardian/source/web-components';
import { psychadelicPalette } from '@guardian/source-development-kitchen/foundations';
import { StarRating } from '@guardian/source-development-kitchen/swift-components';