3.1.8 • Published 4 years ago

@d4sd/components v3.1.8

Weekly downloads
103
License
MIT
Repository
-
Last release
4 years ago

d4sd-components

This is the component library for D4SD

It is an extension of Ant Design, so all non-overided components remain purely Ant Design components

To see/test our components, go to master branch and run npm run storybook

How to publish components library

First, make your components in the components folder

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 code and show your components in stories on a locally hosted website that will eventually automatically open.

Then run the following to prepare/build the component library for publishing

npm run build

This essentially removes the old package and then runs webpack to pack our code into a library.

This will eventually open a website displaying the contents of the package just built and its size, you can quit this process anytime. The package contents should contain index.js and main.css.

After running the build, make sure to commit all changes and push them to the remote (GitHub) and then update the package version

npm version patch

Then we finally publish the library with

npm publish

Once published, make sure to run

npm install @d4sd/components

in whichever repository is using our components to update it.

Development Workflow / Tips

The master branch should always be in sync with what is published. E.g, if you ran npm run build, the built package is the same as what is being hosted on npm.

With this in mind, make changes by branching off of master and test those changes using npm run storybook. Commit/push those changes to your branch and merge your branch into master once it is ready. After each merge, make sure to follow the publishing steps above.

3.1.8

4 years ago

3.1.7

4 years ago

3.1.6

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.11

4 years ago

3.0.10

4 years ago

3.0.9

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.7.23

4 years ago

2.7.22

4 years ago

2.7.21

4 years ago

2.7.20

4 years ago

2.7.19

4 years ago

2.7.18

4 years ago

2.7.17

4 years ago

2.7.16

4 years ago

2.7.15

4 years ago

2.7.14

4 years ago

2.7.13

4 years ago

2.7.11

4 years ago

2.7.12

4 years ago

2.7.10

4 years ago

2.7.9

4 years ago

2.7.8

4 years ago

2.7.7

4 years ago

2.7.6

4 years ago

2.7.5

4 years ago

2.7.4

4 years ago

2.7.3

4 years ago

2.7.2

4 years ago

2.7.1

4 years ago

2.7.0

4 years ago

2.6.24

4 years ago

2.6.23

4 years ago

2.6.22

4 years ago

2.6.20

4 years ago

2.6.21

4 years ago

2.6.19

4 years ago

2.6.18

4 years ago

2.6.17

4 years ago

2.6.16

4 years ago

2.6.15

4 years ago

2.6.14

4 years ago

2.6.13

4 years ago

2.6.12

4 years ago

2.6.11

4 years ago

2.6.10

4 years ago

2.6.9

4 years ago

2.6.8

4 years ago

2.6.7

4 years ago

2.6.6

4 years ago

2.6.5

4 years ago

2.6.4

4 years ago

2.6.3

4 years ago

2.6.2

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.13

5 years ago

1.5.12

5 years ago

1.5.11

5 years ago

1.5.10

5 years ago

1.5.9

5 years ago

1.5.8

5 years ago

1.5.7

5 years ago

1.5.6

5 years ago

1.5.5

5 years ago

1.5.4

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago