Skip to content

Commit 0094f90

Browse files
committed
update readme
1 parent e9c3ebc commit 0094f90

File tree

6 files changed

+396
-453
lines changed

6 files changed

+396
-453
lines changed

.github/workflows/lint.yml .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint
1+
name: Build
22

33
on:
44
pull_request:

.github/workflows/publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
IFS='@' read -a strarr <<< $(git describe --tags)
2828
sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" wormhole-connect/package.json
2929
npm run build
30+
cp README.md wormhole-connect/
31+
cp wormhole-connect.png wormhole-connect/
3032
cd wormhole-connect
3133
npm publish --tag $(echo $([ ${strarr[0]} == "production" ] && echo "latest" || echo ${strarr[0]})) --access public
3234
env:

CONTRIBUTING.md

+29-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## Contributing
2+
3+
Contributions are welcome! To work on wormhole-connect locally you'll want to use `npm link` to make the changes to the SDK immediately available.
4+
5+
### Setup
6+
7+
1) Install
8+
9+
Run `npm i` at the root of the repo
10+
11+
2) Build
12+
13+
Run `npm run build` at the root fo the repo
14+
15+
3) Start
16+
17+
Start wormhole-connect UI and view in browser at localhost:3000
18+
```bash
19+
# in /wormhole-connect
20+
npm run start # testnet
21+
```
22+
23+
Start builder UI and view in browser at localhost:3000
24+
```bash
25+
# in /builder
26+
npm run start
27+
```
28+
129
## Add a token
230

331
### Fill out token config
@@ -52,4 +80,4 @@ Copy the outputted list and paste it into `src/consts/wallet.ts` as the value of
5280

5381
1. Make a GitHub release
5482
2. Tag it `production@0.1.3`
55-
3. Trigger the 'publish' GitHub action and fill in the tag when prompted, which will publish to NPM
83+
3. Trigger the 'publish' GitHub action and fill in the tag when prompted, which will publish to NPM

0 commit comments

Comments
 (0)