Skip to content

Commit b658b04

Browse files
authored
refactor: website in own workspace (#387)
* chore: move website into own workspace * chore: resolve linting problems * chore: website missing deps, peers * chore: ci, artifacts * docs: refs to start
1 parent 04ab817 commit b658b04

29 files changed

Lines changed: 4835 additions & 2556 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ jobs:
160160
- name: Deploy (dry)
161161
if: ${{ github.ref != 'refs/heads/master' }}
162162
run: |
163-
yarn deploy:dryrun
163+
yarn website:dryrun
164164
- name: Deploy
165165
if: ${{ github.ref == 'refs/heads/master' }}
166166
env:
167167
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
168168
run: |
169-
yarn deploy
169+
yarn website:deploy

.storybook/addons.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

.storybook/config.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

.storybook/helpers/helpers.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

.storybook/stories/2.Props/Props.stories.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.storybook/stories/3.Playground/Playground.stories.js

Lines changed: 0 additions & 48 deletions
This file was deleted.

.storybook/stories/4.CustomCSS/CustomCSS.stories.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

.storybook/stories/5.CustomStyle/CustomStyle.stories.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

.storybook/stories/6.GeoIP/GeoIP.stories.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,18 @@ To build the examples locally, run:
2828

2929
```bash
3030
yarn
31-
yarn start
31+
yarn website:start
3232
```
3333

3434
Then open [`localhost:3000`](http://localhost:3000) in a browser.
3535

3636

3737
## Installation
3838

39-
The easiest way to use react-intl-tel-input is to install it from NPM and include it in your own React build process (using [Webpack](http://webpack.github.io/), etc).
40-
4139
```bash
4240
yarn add react-intl-tel-input
4341
```
4442

45-
4643
## Usage
4744

4845
```javascript
@@ -62,9 +59,9 @@ Please see the [Demo Page](https://patw0929.github.io/react-intl-tel-input/)
6259

6360
## Development (`src` and the build process)
6461

65-
To build, watch and serve the examples (which will also watch the component source), run `yarn start`.
62+
To build, watch and serve the examples (which will also watch the component source), run `yarn website:start`.
6663

67-
You can prepare a distribution build using `yarn run build`.
64+
You can prepare a distribution build using `yarn build`.
6865

6966
## Contributing
7067

0 commit comments

Comments
 (0)