2.7.20 • Published 6 years ago
@udayantandon/components v2.7.20
d4sd-components
STEPS TO PUBLISH COMPONENTS
First, make your components in the components folder, follow previous designs
Then, in index.tsx in the root folder, add a
export { YourComponent } from "./components/YourComponent";before the export * from "antd"
Then, running
npm run storybookWill load the current library and show your components in "stories" on a locally hosted website that will eventually automatically open.
Then run the following to prepare the component library for publishing
npm run buildAFTER committing a change and running the build, do the following
npm version patchThis will update the package version so it is ready to publish. Then publish with
npm publishOnce published, make sure to run
npm install @d4sd/componentsin whichever repository is using our components to update it.
2.7.20
6 years ago