@udayantandon/components

2.7.20 • Public • Published

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 storybook

Will 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 build

AFTER committing a change and running the build, do the following

npm version patch

This will update the package version so it is ready to publish. Then publish with

npm publish

Once published, make sure to run

npm install @d4sd/components

in whichever repository is using our components to update it.

Readme

Keywords

none

Package Sidebar

Install

npm i @udayantandon/components

Weekly Downloads

1

Version

2.7.20

License

MIT

Unpacked Size

125 kB

Total Files

43

Last publish

Collaborators

  • udayantandon