@d4sd/components
D4SD Component Library, extended from Ant-Design
Last updated 5 months ago by stonet2000 .
MIT · Original npm · Tarball · package.json
$ cnpm install @d4sd/components 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 3.1.8                                ...           latest (5 months ago)

100 Versions

  • 3.1.8                                ...           5 months ago
  • 3.1.7                                ...           5 months ago
  • 3.1.6                                ...           5 months ago
  • 3.1.5                                ...           6 months ago
  • 3.1.4                                ...           6 months ago
  • 3.1.3                                ...           6 months ago
  • 3.1.2                                ...           6 months ago
  • 3.1.1                                ...           6 months ago
  • 3.1.0                                ...           6 months ago
  • 3.0.11                                ...           6 months ago
  • 3.0.10                                ...           6 months ago
  • 3.0.9                                ...           6 months ago
  • 3.0.8                                ...           6 months ago
  • 3.0.7                                ...           6 months ago
  • 3.0.6                                ...           7 months ago
  • 3.0.5                                ...           7 months ago
  • 3.0.4                                ...           7 months ago
  • 3.0.3                                ...           7 months ago
  • 3.0.2                                ...           7 months ago
  • 3.0.1                                ...           7 months ago
  • 3.0.0                                ...           7 months ago
  • 2.7.23                                ...           7 months ago
  • 2.7.22                                ...           7 months ago
  • 2.7.21                                ...           7 months ago
  • 2.7.20                                ...           7 months ago
  • 2.7.19                                ...           7 months ago
  • 2.7.18                                ...           7 months ago
  • 2.7.17                                ...           7 months ago
  • 2.7.16                                ...           8 months ago
  • 2.7.15                                ...           8 months ago
  • 2.7.14                                ...           8 months ago
  • 2.7.13                                ...           8 months ago
  • 2.7.12                                ...           8 months ago
  • 2.7.11                                ...           8 months ago
  • 2.7.10                                ...           8 months ago
  • 2.7.9                                ...           8 months ago
  • 2.7.8                                ...           8 months ago
  • 2.7.7                                ...           8 months ago
  • 2.7.6                                ...           8 months ago
  • 2.7.5                                ...           8 months ago
  • 2.7.4                                ...           8 months ago
  • 2.7.3                                ...           8 months ago
  • 2.7.2                                ...           8 months ago
  • 2.7.1                                ...           8 months ago
  • 2.7.0                                ...           8 months ago
  • 2.6.24                                ...           9 months ago
  • 2.6.23                                ...           9 months ago
  • 2.6.22                                ...           9 months ago
  • 2.6.21                                ...           9 months ago
  • 2.6.20                                ...           9 months ago
  • 2.6.19                                ...           9 months ago
  • 2.6.18                                ...           9 months ago
  • 2.6.17                                ...           9 months ago
  • 2.6.16                                ...           9 months ago
  • 2.6.15                                ...           9 months ago
  • 2.6.14                                ...           9 months ago
  • 2.6.13                                ...           9 months ago
  • 2.6.12                                ...           9 months ago
  • 2.6.11                                ...           9 months ago
  • 2.6.10                                ...           9 months ago
  • 2.6.9                                ...           9 months ago
  • 2.6.8                                ...           9 months ago
  • 2.6.7                                ...           9 months ago
  • 2.6.6                                ...           9 months ago
  • 2.6.5                                ...           9 months ago
  • 2.6.4                                ...           9 months ago
  • 2.6.3                                ...           9 months ago
  • 2.6.2                                ...           9 months ago
  • 2.6.1                                ...           9 months ago
  • 2.6.0                                ...           9 months ago
  • 2.5.0                                ...           9 months ago
  • 2.4.0                                ...           9 months ago
  • 2.3.2                                ...           9 months ago
  • 2.3.1                                ...           9 months ago
  • 2.3.0                                ...           9 months ago
  • 2.2.1                                ...           9 months ago
  • 2.2.0                                ...           9 months ago
  • 2.1.1                                ...           9 months ago
  • 2.1.0                                ...           9 months ago
  • 2.0.0                                ...           9 months ago
  • 1.6.1                                ...           9 months ago
  • 1.6.0                                ...           9 months ago
  • 1.5.13                                ...           9 months ago
  • 1.5.12                                ...           9 months ago
  • 1.5.11                                ...           9 months ago
  • 1.5.10                                ...           9 months ago
  • 1.5.9                                ...           9 months ago
  • 1.5.8                                ...           9 months ago
  • 1.5.7                                ...           9 months ago
  • 1.5.6                                ...           9 months ago
  • 1.5.5                                ...           9 months ago
  • 1.5.4                                ...           9 months ago
  • 1.5.3                                ...           9 months ago
  • 1.5.2                                ...           9 months ago
  • 1.5.1                                ...           9 months ago
  • 1.5.0                                ...           9 months ago
  • 1.4.0                                ...           9 months ago
  • 1.3.0                                ...           9 months ago
  • 1.2.0                                ...           9 months ago
  • 1.1.0                                ...           9 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |