1.0.30 • Published 2 years ago

@rakuten-rampage/rampage v1.0.30

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Rampage UI Components Library

Github https://github.com/makayhunn/rakuten-rampage

NPM https://www.npmjs.com/org/rakuten-rampage

Storybook Live examples(please use intra vpn): https://rampage-ui-library-storybook-dot-mno-b2b-bss-dev.uc.r.appspot.com/

Storybook Live examples V2(please use intra vpn): https://rampage-ui-library-storybook-v2-dot-mno-b2b-bss-dev.uc.r.appspot.com/

Storybook Live examples V3(please use intra vpn): https://rampage-ui-library-storybook-v3-dot-mno-b2b-bss-dev.uc.r.appspot.com

V3

we have released the class css files for non-react application. Please refer to buildv3.0....zip

Upgrade V2

V2 is currently for ISP team, not for B2B team.

Because ISP teams (B2C) need to follow the rules: https://www.figma.com/file/3kWM76oR8N1tOAIxPzZ5eX/20210215_%E6%A5%BD%E5%A4%A9%E3%81%B2%E3%81%8B%E3%82%8A_Component%E9%9B%86?node-id=0%3A1

This rules are currently used in B2C servecies. B2B dose not need to follow the rules, but maybe need to follow in future.

Also B2C Services need to follow this rules: http://feature-style.cms.rakuten-mobile.rocks/styleguide/components/detail/c-btn.html

How to install

please add SKIP_PREFLIGHT_CHECK=true in .env , React will solve this problem in next version

npm adduser
username rakuten-rampage
password *ask your member*
yarn add @rakuten-rampage/rampage

Release a new version

Perform the steps below (make sure to have a clean tree before):

(WARNING for now it s working only for NPM version up to 7, else it fails!)

git checkout master
yarn tag-release

you will be asked which type of modification level before publication (1: major, 2: minor, 3: patch). Answer and then automatically branch will be tagged and then deployed to this repository: https://www.npmjs.com/package/@rakuten-rampage/rampage through the following Github action: https://github.com/makayhunn/rakuten-rampage/actions?query=workflow%3ATag-release (There is a gap between v0.1.35 and v0.1.39 due to some testing and that unpublished version seemed not be be publishable again)

Web Browser Compatibility

BrowserCompatible Major Version
Chrome87.0+
Firefox84.0+
Safari14.0+
Edge87.0+

Deployment storybook to GCP

Manual deployment

Firstly, You need to install gcloud cli: https://cloud.google.com/sdk/gcloud

Also You Need GCP Account for deployment.

After install cli tool,then run following commands:

yarn deploy:gcp-storybook

Automation deployment

When master branch is updated, GitHub Actions will automatically perform the deployment job.

You can check the deployment script here: .github/workflows/storybook_deploy_to_GCP.yml

For more info: https://github.com/google-github-actions/setup-gcloud

Dependencies

React
Style-Component
Typescript
AntDesign
JavaScript ES6 Modules etc.

Getting started

  • React

import { ... } from 'rakuten-rampage';
use RampageProvider into your root app
<RampageProvider>
   <Component ......
</RampageProvider>

Community

Contribute to the project

  • If you find any bug, feel free to create Pull-request
  • If you create your own component as a global using and want to put in rampage-ui, feel free to create Pull-request

How to develop and start this project

  1. Install VS Code *VS Code is a preferable editor but you can use any editor you like.
  2. Install Docker
  3. Clone this repository
git clone https://github.com/makayhunn/rakuten-rampage.git

Optional 4. Install Remote Development extension pack

code --install-extension ms-vscode-remote.vscode-remote-extensionpack
  1. Open the Command Palette (⇧⌘P) and find the Remote-Containers: Open folder in Container… command optional. Install locally Debugger for Chrome, ES7 React/Redux/GraphQL/React-Native snippets
code --install-extension msjsdiag.debugger-for-chrome
code --install-extension dsznajder.es7-react-js-snippets
  1. To check that your code is working, please run yarn storybook.
  2. Make sure that cypress tests are created for all components. Please ensure test coverage is 100%.
  3. Create pull request based on develop branch.

Coding rules

Follow those rules

Contribute

Follow the branch naming convention

Follow the style guidelines

Write unit tests

Write documentation

1.0.30

2 years ago

1.0.29

2 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.33

3 years ago

0.4.32

3 years ago

0.4.31

3 years ago

0.4.30

3 years ago

0.4.29

3 years ago

0.4.28

3 years ago

0.4.27

3 years ago

0.4.26

3 years ago

0.4.25

3 years ago

0.4.21

3 years ago

0.4.20

3 years ago

0.4.19

3 years ago

0.4.18

3 years ago

0.4.17

3 years ago

0.4.16

3 years ago

0.4.15

3 years ago

0.4.14

3 years ago

0.4.13

3 years ago

0.4.12

3 years ago

0.4.11

3 years ago

0.4.11-alpha

3 years ago

0.4.10

3 years ago

0.4.9

3 years ago

0.4.8

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.6-alpha

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.3-alpha

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.93

3 years ago

0.1.92

3 years ago

0.1.91

3 years ago

0.1.90

3 years ago

0.1.89

3 years ago

0.1.88

3 years ago

0.1.87

3 years ago

0.1.85

3 years ago

0.1.84

3 years ago

0.1.83

3 years ago

0.1.80-omega

3 years ago

0.1.86

3 years ago

0.1.80-gamma

3 years ago

0.1.82

3 years ago

0.1.80

3 years ago

0.1.81-beta

3 years ago

0.1.80-teta

3 years ago

0.1.80-beta

3 years ago

0.1.79

3 years ago

0.1.75

3 years ago

0.1.76

3 years ago

0.1.75-beta

3 years ago

0.1.74

3 years ago

0.1.73

3 years ago

0.1.72

3 years ago

0.1.71

3 years ago

0.1.71-test

3 years ago

0.1.70

3 years ago

0.1.69

3 years ago

0.1.68

3 years ago

0.1.67

3 years ago

0.1.66

3 years ago

0.1.65

3 years ago

0.1.64

3 years ago

0.1.63

3 years ago

0.1.62

3 years ago

0.1.61

3 years ago

0.1.60

3 years ago

0.1.59

3 years ago

0.1.58

3 years ago

0.1.57

3 years ago

0.1.56

3 years ago

0.1.53

3 years ago

0.1.52

3 years ago

0.1.51

3 years ago

0.1.48

3 years ago

0.1.46

3 years ago

0.1.39

3 years ago

0.1.38

3 years ago

0.1.37

3 years ago

0.1.36

3 years ago

0.1.35

3 years ago

0.1.34

3 years ago

0.1.33

3 years ago

0.1.32

3 years ago

0.1.31

3 years ago

0.1.30

3 years ago

0.1.29

3 years ago

0.1.28

3 years ago

0.1.27

3 years ago

0.1.26

3 years ago

0.1.24

3 years ago

0.1.23

3 years ago

0.1.22

3 years ago

0.1.21

3 years ago

0.1.20

3 years ago

0.1.19

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago