galapagos-design-system
Library for Galapagos design system
Install
npm install --save @zup-it/galapagos-design-system
or
yarn add @zup-it/galapagos-design-system
Usage
import React, { Component } from 'react'
import { Text } from '@zup-it/galapagos-design-system'
class Example extends Component {
render() {
return <Text>Galapagos</Text>
}
}
License
MIT © git@github.com:ZupIT/galapagos-design-system.git
Generating new version - Tutorial
First, did you log in to npm?
If you have not already done so, go to step 1, otherwise skip to step 2.
- On the command line, type the following command and make the login:
npm login
- Verify the last version on npm website:
https://www.npmjs.com/package/@zup-it/galapagos-design-system
- When you finish all the adjustments in your branch, change version on package.json to the next disponible version and commit. Run the build to confirm everything is ok
yarn build
-
Make a Pull Request to Master, aprove and merge it.
-
Again on the command line, type these following commands:
git checkout master
npm publish --access public
git tag X.X.X
git push --tags