docs: remove npm (#500)

* change to yarn

* missing entities

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Justin Thompson 2020-09-22 02:09:11 -06:00 committed by GitHub
parent 0d545939d8
commit 22788e8ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8528 additions and 10775 deletions

View File

@ -397,14 +397,14 @@ proto-update-deps:
# Start docs site at localhost:8080
docs-serve:
@cd docs && \
npm install && \
npm run serve
yarn install && \
yarn run serve
# Build the site into docs/.vuepress/dist
docs-build:
@cd docs && \
npm install && \
npm run build
yarn install && \
yarn run build
godocs:
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cosmos/ethermint"

View File

@ -75,18 +75,18 @@ rm -rf node_modules
This command will remove old version of the visual theme and required packages. This step is optional.
```bash
npm install
yarn install
```
Install the theme and all dependencies.
```bash
npm run serve
yarn run serve
```
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)).
To build documentation as a static website run `npm run build`. You will find the website in `.vuepress/dist` directory.
To build documentation as a static website run `yarn run build`. You will find the website in `.vuepress/dist` directory.
## Search

View File

@ -18,7 +18,7 @@ Set up a Truffle Ethermint local development environment. {synopsis}
First, install the latest Truffle version on your machine globally.
```bash
npm install truffle -g
yarn install truffle -g
```
You will also need to install Ethermint. Check this [document](./../quickstart/installation.md) for the full instructions.

10764
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,8 +9,7 @@
"postserve": "./post.sh",
"prebuild": "./pre.sh",
"build": "trap 'exit 0' SIGINT; vuepress build --no-cache",
"postbuild": "./post.sh",
"preinstall": "npx npm-force-resolutions"
"postbuild": "./post.sh"
},
"keywords": [
"ethermint",
@ -22,7 +21,7 @@
"author": "ChainSafe Systems",
"license": "ISC",
"dependencies": {
"npm-force-resolutions": "0.0.3",
"entities": "^2.0.3",
"vuepress-theme-cosmos": "^1.0.172"
},
"devDependencies": {

8506
docs/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@ -10,5 +10,8 @@
"devDependencies": {
"truffle": "^5.1.42",
"web3": "^1.2.11"
},
"dependencies": {
"truffle": "^5.1.43"
}
}

View File

@ -7756,6 +7756,15 @@ truffle@^5.1.42:
mocha "8.1.2"
original-require "1.0.1"
truffle@^5.1.43:
version "5.1.43"
resolved "https://registry.yarnpkg.com/truffle/-/truffle-5.1.43.tgz#544e7b0955b6728a00761a86555c1eb259313266"
integrity sha512-KXda/70RAG9TBdQta8JEwVQmL9r/AZzU++5aZkrF4/nDosund8SV1yM9CcDTib4xLWuMaB15YyOC5r163QdLAw==
dependencies:
app-module-path "^2.2.0"
mocha "8.1.2"
original-require "1.0.1"
ts-essentials@^2.0.7:
version "2.0.12"
resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-2.0.12.tgz#c9303f3d74f75fa7528c3d49b80e089ab09d8745"