Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Commit ee1fb49

Browse files
committed
change to yarn
1 parent 1505ba8 commit ee1fb49

File tree

8 files changed

+8527
-10775
lines changed

8 files changed

+8527
-10775
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,14 @@ proto-update-deps:
350350
# Start docs site at localhost:8080
351351
docs-serve:
352352
@cd docs && \
353-
npm install && \
354-
npm run serve
353+
yarn install && \
354+
yarn run serve
355355

356356
# Build the site into docs/.vuepress/dist
357357
docs-build:
358358
@cd docs && \
359-
npm install && \
360-
npm run build
359+
yarn install && \
360+
yarn run build
361361

362362
godocs:
363363
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/ethermint"

docs/DOCS_README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ rm -rf node_modules
7575
This command will remove old version of the visual theme and required packages. This step is optional.
7676

7777
```bash
78-
npm install
78+
yarn install
7979
```
8080

8181
Install the theme and all dependencies.
8282

8383
```bash
84-
npm run serve
84+
yarn run serve
8585
```
8686

8787
Run `pre` and `post` hooks and start a hot-reloading web-server. See output of this command for the URL (it is often [https://localhost:8080](https://localhost:8080)).
8888

89-
To build documentation as a static website run `npm run build`. You will find the website in `.vuepress/dist` directory.
89+
To build documentation as a static website run `yarn run build`. You will find the website in `.vuepress/dist` directory.
9090

9191
## Search
9292

docs/guides/truffle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Set up a Truffle Ethermint local development environment. {synopsis}
1818
First, install the latest Truffle version on your machine globally.
1919

2020
```bash
21-
npm install truffle -g
21+
yarn install truffle -g
2222
```
2323

2424
You will also need to install Ethermint. Check this [document](./../quickstart/installation.md) for the full instructions.

docs/package-lock.json

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

docs/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"postserve": "./post.sh",
1010
"prebuild": "./pre.sh",
1111
"build": "trap 'exit 0' SIGINT; vuepress build --no-cache",
12-
"postbuild": "./post.sh",
13-
"preinstall": "npx npm-force-resolutions"
12+
"postbuild": "./post.sh"
1413
},
1514
"keywords": [
1615
"ethermint",
@@ -22,7 +21,6 @@
2221
"author": "ChainSafe Systems",
2322
"license": "ISC",
2423
"dependencies": {
25-
"npm-force-resolutions": "0.0.3",
2624
"vuepress-theme-cosmos": "^1.0.172"
2725
},
2826
"devDependencies": {

docs/yarn.lock

Lines changed: 8506 additions & 0 deletions
Large diffs are not rendered by default.

tests-solidity/suites/basic/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"devDependencies": {
1111
"truffle": "^5.1.42",
1212
"web3": "^1.2.11"
13+
},
14+
"dependencies": {
15+
"truffle": "^5.1.43"
1316
}
1417
}

tests-solidity/yarn.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7756,6 +7756,15 @@ truffle@^5.1.42:
77567756
mocha "8.1.2"
77577757
original-require "1.0.1"
77587758

7759+
truffle@^5.1.43:
7760+
version "5.1.43"
7761+
resolved "https://registry.yarnpkg.com/truffle/-/truffle-5.1.43.tgz#544e7b0955b6728a00761a86555c1eb259313266"
7762+
integrity sha512-KXda/70RAG9TBdQta8JEwVQmL9r/AZzU++5aZkrF4/nDosund8SV1yM9CcDTib4xLWuMaB15YyOC5r163QdLAw==
7763+
dependencies:
7764+
app-module-path "^2.2.0"
7765+
mocha "8.1.2"
7766+
original-require "1.0.1"
7767+
77597768
ts-essentials@^2.0.7:
77607769
version "2.0.12"
77617770
resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-2.0.12.tgz#c9303f3d74f75fa7528c3d49b80e089ab09d8745"

0 commit comments

Comments
 (0)