pull/5370/head
yann300 3 years ago
parent fa1499c965
commit 61922e64bd
  1. 24
      .circleci/config.yml
  2. 2
      .github/workflows/publish-action.yml
  3. 4
      README.md
  4. 2
      apps/remix-ide/.travis.yml
  5. 6
      apps/remix-ide/README.md
  6. 2
      apps/remix-ide/docs/locations.md
  7. 5
      apps/remix-ide/docs/remixd.md
  8. 6
      apps/remix-ide/release-process.md
  9. 2
      apps/remix-ide/src/app/tabs/ganache-provider.tsx
  10. 2
      libs/remix-analyzer/README.md
  11. 2
      libs/remix-astwalker/README.md
  12. 2
      libs/remix-debug/README.md
  13. 2
      libs/remix-lib/README.md
  14. 2
      libs/remix-simulator/README.md
  15. 2
      libs/remix-solidity/README.md
  16. 4
      libs/remix-tests/README.md
  17. 2
      libs/remix-tests/tests/testRunner.cli.spec.ts
  18. 2
      libs/remix-url-resolver/README.md
  19. 2
      libs/remix-ws-templates/README.md
  20. 4
      libs/remixd/README.md
  21. 2
      libs/remixd/src/bin/remixd.ts
  22. 697
      package-lock.json
  23. 2
      package.json
  24. 24426
      yarn.lock

@ -30,7 +30,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- save_cache:
key: v1-deps-{{ checksum "package-lock.json" }}
paths:
@ -65,7 +65,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- run:
name: Remix Libs Linting
command: ./apps/remix-ide/ci/lint.sh
@ -92,8 +92,8 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm i
- run: cd dist/libs/remix-tests && npm install
- run: yarn install
- run: cd dist/libs/remix-tests && yarn install
- run: npm run test:libs
remix-ide-chrome:
@ -128,7 +128,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- run:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
@ -171,7 +171,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- run:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
@ -214,7 +214,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- run:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
@ -256,7 +256,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- run:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
@ -299,7 +299,7 @@ jobs:
- restore_cache:
keys:
- v1-deps-{{ checksum "package-lock.json" }}
- run: npm install
- run: yarn install
- run:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
@ -328,7 +328,7 @@ jobs:
steps:
- checkout
- run: npm install
- run: yarn install
- run: npm run downloadsolc_assets
- run: npm run build:production
- run:
@ -357,7 +357,7 @@ jobs:
steps:
- checkout
- run: npm install
- run: yarn install
- run: npm run downloadsolc_assets
- run: npm run build:production
- run:
@ -385,7 +385,7 @@ jobs:
steps:
- checkout
- run: npm install
- run: yarn install
- run: npm run build:libs
- run: npm run downloadsolc_assets
- run: npm run build:production

@ -9,7 +9,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- run: npm install
- run: yarn install
- run: ls
- run: pwd
- run: npm run downloadsolc_assets

@ -40,7 +40,7 @@ Note: It contains the latest supported version of Solidity available at the time
```
* Install [Nx CLI](https://nx.dev/react/cli/overview) globally to enable running **nx executable commands**.
```bash
npm install -g @nrwl/cli
yarn global add @nrwl/cli
```
* Clone the github repository (`wget` need to be installed first):
@ -50,7 +50,7 @@ git clone https://github.com/ethereum/remix-project.git
* Build `remix-project`:
```bash
cd remix-project
npm install
yarn install
npm run build:libs // Build remix libs
nx build
nx serve

@ -9,7 +9,7 @@ branches:
- master
- remix_live
script:
- npm install
- yarn install
- npm run lint && npm run test && npm run make-mock-compiler && npm run build
- wget http://selenium-release.storage.googleapis.com/3.5/selenium-server-standalone-3.5.3.jar
- wget http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip

@ -26,7 +26,7 @@ Install **npm** and **node.js** (see https://docs.npmjs.com/getting-started/inst
Remix-ide has been published as an npm module:
```bash
npm install remix-ide -g
yarn global add remix-ide
remix-ide
```
Or if you want to clone the github repository (`wget` need to be installed first) :
@ -36,11 +36,11 @@ git clone https://github.com/ethereum/remix-ide.git
git clone https://github.com/ethereum/remix.git # only if you plan to link remix and remix-ide repositories and develop on it.
cd remix # only if you plan to link remix and remix-ide repositories and develop on it.
npm install # only if you plan to link remix and remix-ide repositories and develop on it.
yarn install # only if you plan to link remix and remix-ide repositories and develop on it.
npm run bootstrap # only if you plan to link remix and remix-ide repositories and develop on it.
cd remix-ide
npm install
yarn install
npm run setupremix # only if you plan to link remix and remix-ide repositories and develop on it.
npm start
```

@ -5,6 +5,6 @@ So if you've found the documentation to Remix but don't know where to find Remix
- An online version is available at [https://remix.ethereum.org](https://remix.ethereum.org). This version is stable and is updated at almost every release.
- An alpha online version is available at [https://remix-alpha.ethereum.org](https://remix-alpha.ethereum.org). This is not a stable version.
- npm `remix-ide` package `npm install remix-ide -g`. `remix-ide` create a new instance of `Remix IDE` available at [http://127.0.0.1:8080](http://127.0.0.1:8080) and make the current folder available to Remix IDE by automatically starting `remixd`.
- npm `remix-ide` package `yarn global add remix-ide -g`. `remix-ide` create a new instance of `Remix IDE` available at [http://127.0.0.1:8080](http://127.0.0.1:8080) and make the current folder available to Remix IDE by automatically starting `remixd`.
see [Connection to `remixd`](https://remix-ide.readthedocs.io/en/latest/remixd.html) for more information about sharing local file with `Remix IDE`.
- Github release: [https://github.com/ethereum/remix-ide/releases](https://github.com/ethereum/remix-ide/releases) . The source code is packaged at every release but still need to be built using `npm run build`.

@ -8,10 +8,7 @@ The code of `remixd` is
[here](https://github.com/ethereum/remixd) .
`remixd` can be globally installed using the following command:
`npm install -g remixd`
Or just install it in the directory of your choice by removing the -g flag:
`npm install remixd`
`yarn globak add @remix-project/remixd`
Then from the terminal, the command `remixd -s <absolute-path-to-the-shared-folder> --remix-ide <your-remix-ide-URL-instance>` will start `remixd` and will share the given folder with remix-ide.

@ -9,7 +9,7 @@ This document includes:
- git checkout origin/master
- git checkout -b bumpVersion
- update package.json version
- remove package-lock.json version and generate a new one with `npm install`
- remove package-lock.json version and generate a new one with `yarn install`
- merge PR
- git fetch origin master
- git checkout origin/master
@ -18,7 +18,7 @@ This document includes:
- github-changes -o ethereum -r remix-ide -a --only-pulls --use-commit-body --only-merges --between-tags previous_version...next_version
- publish a release in github using the changelog
- rm -rf node_modules
- npm install
- yarn install
- remove all soljson.js files in root folder
- npm run build
- npm publish
@ -29,7 +29,7 @@ This document includes:
- git checkout origin/master
- git checkout -b bumpVersion
- update package.json version to the new version "vx.x.x-beta.1"
- remove package-lock/json version and generate a new one with `npm install`
- remove package-lock/json version and generate a new one with `yarn install`
- merge PR
- git fetch origin master
- git checkout origin/master

@ -23,7 +23,7 @@ export class GanacheProvider extends AbstractProvider {
body (): JSX.Element {
return (
<div> Note: To run Ganache on your system, run
<div className="border p-1">npm install -g ganache</div>
<div className="border p-1">yarn global add ganache</div>
<div className="border p-1">ganache</div>
For more info, visit: <a href="https://github.com/trufflesuite/ganache" target="_blank">Ganache Documentation</a>
<div>Ganache JSON-RPC Endpoint:</div>

@ -10,7 +10,7 @@
### Installation
`@remix-project/remix-analyzer` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-analyzer`
`yarn add @remix-project/remix-analyzer`
### How to use

@ -10,7 +10,7 @@
### Installation
`@remix-project/remix-astwalker` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-astwalker`
`yarn add @remix-project/remix-astwalker`
### How to use

@ -10,7 +10,7 @@
### Installation
`@remix-project/remix-debug` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-debug`
`yarn add @remix-project/remix-debug`
### How to use

@ -10,7 +10,7 @@
### Installation
`@remix-project/remix-lib` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-lib`
`yarn add @remix-project/remix-lib`
### How to use

@ -10,7 +10,7 @@
### Installation
`@remix-project/remix-simulator` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-simulator`
`yarn add @remix-project/remix-simulator`
### How to use

@ -12,7 +12,7 @@
`@remix-project/remix-solidity` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-solidity`
`yarn add @remix-project/remix-solidity`
### How to use

@ -12,11 +12,11 @@ To know more about Remix IDE `Solidity Unit Testing Plugin`, visit [Remix IDE of
### Installation
* As a dev dependency:
`npm install --save-dev @remix-project/remix-tests`
`yarn add @remix-project/remix-tests`
* As a global NPM module to use as CLI:
`npm -g install @remix-project/remix-tests`
`yarn global add @remix-project/remix-tests`
To confirm installation, run:
```

@ -11,7 +11,7 @@ describe('testRunner: remix-tests CLI', () => {
const dirContent = result.stdout.toString()
// Install dependencies if 'node_modules' is not already present
if(!dirContent.includes('node_modules')) {
execSync('npm install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') })
execSync('yarn install', { cwd: resolve(__dirname + '/../../../dist/libs/remix-tests') })
}
}

@ -12,7 +12,7 @@
`@remix-project/remix-url-resolver` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-url-resolver`
`yarn add @remix-project/remix-url-resolver`
### How to use

@ -8,7 +8,7 @@
`@remix-project/remix-ws-templates` is an NPM package and can be installed using NPM as:
`npm install @remix-project/remix-ws-templates`
`yarn add @remix-project/remix-ws-templates`
### Contribute

@ -13,14 +13,14 @@ Alternatively `remixd` can be used to setup a development environment that can b
## INSTALLATION
`npm install -g @remix-project/remixd`
`yarn global add @remix-project/remixd`
### Warning for old users
There is a new version of remixd with a new npm address: https://npmjs.com/package/@remix-project/remixd
If you were using the old one you need to:
1. uninstall the old one: `npm uninstall -g remixd`
2. install the new: `npm install -g @remix-project/remixd`
2. install the new: `yarn global add @remix-project/remixd`
## HELP SECTION

@ -18,7 +18,7 @@ async function warnLatestVersion () {
} else if (semver.gt(latest, pjson.version)) {
console.log('\x1b[33m%s\x1b[0m', `[WARN] latest version of remixd is ${latest}, you are using ${pjson.version}`)
console.log('\x1b[33m%s\x1b[0m', '[WARN] please update using the following command:')
console.log('\x1b[33m%s\x1b[0m', '[WARN] npm install @remix-project/remixd -g')
console.log('\x1b[33m%s\x1b[0m', '[WARN] yarn global add @remix-project/remixd')
}
}

697
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -106,7 +106,7 @@
"sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js",
"test-browser": "npm-run-all -lpr selenium make-mock-compiler serve browsertest",
"watch": "watchify apps/remix-ide/src/index.js -dv -p browserify-reload -o apps/remix-ide/build/app.js --exclude solc",
"reinstall": "rm ./node-modules/ -rf && rm package-lock.json && rm ./build/ -rf && npm install & npm run build",
"reinstall": "rm ./node-modules/ -rf && rm package-lock.json && rm ./build/ -rf && yarn install & npm run build",
"ganache-cli": "npx ganache-cli"
},
"browserify": {

24426
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save