Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
netzwerg committed Sep 4, 2024
1 parent ae0f0fb commit 4a7ab0b
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,27 +143,14 @@ yarn build

### Testing a release candidate

While making changes to this library in the context of a consuming project, [yalc](https://github.com/wclr/yalc) can be very handy:

In `react-svg-timeline`:

```
yalc publish
```

In your project consuming the library:
The easiest way to test a release candidate locally is to create a symlink to the local library from your consuming project:

```
yalc add react-svg-timeline
cd /path/to/consuming/project/node_modules
ln -s /path/to/local/react-svg-timeline react-svg-timeline
```

Note: If you previously had react-svg-timeline added via yalc, you need to remove it first:

```
yalc remove react-svg-timeline
yarn install
yalc add react-svg-timeline
```
You can later remove the symlink via `rm -d react-svg-timeline`.

### Publishing a release

Expand Down

0 comments on commit 4a7ab0b

Please sign in to comment.