Skip to content

Commit

Permalink
feat: refine style of tabbar (#17)
Browse files Browse the repository at this point in the history
* rm get peer
* on destroy, set version
* added loader
* setup version to 0.3.5
* update lock file
* set version to 0.3.6
  • Loading branch information
RyanKung authored Nov 29, 2023
1 parent 9331b9f commit 82b4e4d
Show file tree
Hide file tree
Showing 8 changed files with 425 additions and 187 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ lint:

dev:
pnpm dev

build:
pnpm build

fmt:
npx eslint --fix --ext .tsx ./src
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,23 @@ pnpm start:firefox

> While Vite handles HMR automatically in the most of the case, [Extensions Reloader](https://chrome.google.com/webstore/detail/fimgfedafeadlieiabdeeaodndnlbhid) is still recommanded for cleaner hard reloading.

#### Developing with Rings Node

In released version, dependencity of `rings-node` is included via released `tgz` file, such as:

```json
"@ringsnetwork/rings-node": "https://github.com/RingsNetwork/rings-node/releases/download/v0.3.5/rings-v0.3.5-wasm32-unknown-unknown.tgz",
```

if you wanna modifiy node's implementation at same time, you can modifiy rings-node dependencies in `package.json` to local git path, like:

```json
"@ringsnetwork/rings-node": "git+file:../rings-node#master",
```

Note: this local git syntax is only supported by yarn.

### Build

To build the extension, run
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rings_extension",
"version": "0.3.501",
"version": "0.3.6",
"description": "Browser Extension of rings network",
"keywords": [
"extension",
Expand Down Expand Up @@ -62,13 +62,16 @@
"document-ready": "^2.0.2",
"events": "^3.3.0",
"jotai": "^2.1.0",
"jszip": "^3.10.1",
"metamask-extension-provider": "^3.0.0",
"mitt": "^3.0.0",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.12.0",
"react-router-dom": "^6.18.0",
"viem": "^0.3.21",
"vite-plugin-virtual": "^0.2.0",
"wagmi": "^1.0.2"
},
"devDependencies": {
Expand Down Expand Up @@ -100,6 +103,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"rollup-plugin-copy": "^3.5.0",
"terser": "^5.16.8",
"tsup": "^6.7.0",
"typescript": "4.9.5",
Expand Down
Loading

0 comments on commit 82b4e4d

Please sign in to comment.