Skip to content

Commit f27377f

Browse files
clean up example a bit
1 parent de4e681 commit f27377f

29 files changed

+13
-8
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030

3131
- run: yarn
3232
- run: yarn bootstrap
33-
- run: yarn build
34-
- run: yarn test
33+
3534
- run: yarn lint
35+
- run: yarn test
36+
37+
- run: yarn build
38+
- run: yarn lerna exec 'yarn next build' --scope=example-next

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules/
22
packages/*/dist/
3-
packages/example/.next/
3+
packages/example-next/.next/
44
.env.local

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _Looking for the prior version of this library? It's available on the [v6 branch
66

77
## [Example](https://web3-react-mu.vercel.app/)
88

9-
This is a hosted version of [packages/example](packages/example).
9+
This is a hosted version of [packages/example-next](packages/example-next).
1010

1111
## Packages
1212

@@ -33,15 +33,15 @@ This is a hosted version of [packages/example](packages/example).
3333
- `yarn bootstrap`
3434
- `yarn start`
3535

36-
In addition to compiling each package in watch mode, this will also spin up [packages/example](packages/example) on [localhost:3000](http://localhost:3000/).
36+
In addition to compiling each package in watch mode, this will also spin up [packages/example-next](packages/example-next) on [localhost:3000](http://localhost:3000/).
3737

3838
## Running Tests
3939

4040
- `yarn test --watch`
4141

4242
## Documentation
4343

44-
This version of web3-react is still in beta, so unfortunately documentation is pretty sparse at the moment. [packages/example](packages/example), TSDoc comments, and the source code itself are the best ways to get an idea of what's going on. More thorough documentation is a priority as development continues!
44+
This version of web3-react is still in beta, so unfortunately documentation is pretty sparse at the moment. [packages/example-next](packages/example-next), TSDoc comments, and the source code itself are the best ways to get an idea of what's going on. More thorough documentation is a priority as development continues!
4545

4646
## Upgrading Connector Dependencies
4747

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/example/package.json renamed to packages/example-next/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"private": true,
3-
"name": "example",
3+
"name": "example-next",
44
"scripts": {
5-
"start": "next dev"
5+
"start": "next dev",
6+
"build": "next build",
7+
"export": "next export"
68
},
79
"dependencies": {
810
"@ethersproject/bignumber": "^5.4.2",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)