pull/2449/head
yann300 3 years ago
parent 677dd0166f
commit 1ccf929dc7
  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: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- save_cache: - save_cache:
key: v1-deps-{{ checksum "package-lock.json" }} key: v1-deps-{{ checksum "package-lock.json" }}
paths: paths:
@ -65,7 +65,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- run: - run:
name: Remix Libs Linting name: Remix Libs Linting
command: ./apps/remix-ide/ci/lint.sh command: ./apps/remix-ide/ci/lint.sh
@ -92,8 +92,8 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm i - run: yarn install
- run: cd dist/libs/remix-tests && npm install - run: cd dist/libs/remix-tests && yarn install
- run: npm run test:libs - run: npm run test:libs
remix-ide-chrome: remix-ide-chrome:
@ -128,7 +128,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- run: - run:
name: Start Selenium name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar command: java -jar /usr/local/bin/selenium.jar
@ -171,7 +171,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- run: - run:
name: Start Selenium name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar command: java -jar /usr/local/bin/selenium.jar
@ -214,7 +214,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- run: - run:
name: Start Selenium name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar command: java -jar /usr/local/bin/selenium.jar
@ -256,7 +256,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- run: - run:
name: Start Selenium name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar command: java -jar /usr/local/bin/selenium.jar
@ -299,7 +299,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: yarn install
- run: - run:
name: Start Selenium name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar command: java -jar /usr/local/bin/selenium.jar
@ -328,7 +328,7 @@ jobs:
steps: steps:
- checkout - checkout
- run: npm install - run: yarn install
- run: npm run downloadsolc_assets - run: npm run downloadsolc_assets
- run: npm run build:production - run: npm run build:production
- run: - run:
@ -357,7 +357,7 @@ jobs:
steps: steps:
- checkout - checkout
- run: npm install - run: yarn install
- run: npm run downloadsolc_assets - run: npm run downloadsolc_assets
- run: npm run build:production - run: npm run build:production
- run: - run:
@ -385,7 +385,7 @@ jobs:
steps: steps:
- checkout - checkout
- run: npm install - run: yarn install
- run: npm run build:libs - run: npm run build:libs
- run: npm run downloadsolc_assets - run: npm run downloadsolc_assets
- run: npm run build:production - run: npm run build:production

@ -9,7 +9,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- run: npm install - run: yarn install
- run: ls - run: ls
- run: pwd - run: pwd
- run: npm run downloadsolc_assets - 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**. * Install [Nx CLI](https://nx.dev/react/cli/overview) globally to enable running **nx executable commands**.
```bash ```bash
npm install -g @nrwl/cli yarn global add @nrwl/cli
``` ```
* Clone the github repository (`wget` need to be installed first): * 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`: * Build `remix-project`:
```bash ```bash
cd remix-project cd remix-project
npm install yarn install
npm run build:libs // Build remix libs npm run build:libs // Build remix libs
nx build nx build
nx serve nx serve

@ -9,7 +9,7 @@ branches:
- master - master
- remix_live - remix_live
script: script:
- npm install - yarn install
- npm run lint && npm run test && npm run make-mock-compiler && npm run build - 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://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 - 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: Remix-ide has been published as an npm module:
```bash ```bash
npm install remix-ide -g yarn global add remix-ide
remix-ide remix-ide
``` ```
Or if you want to clone the github repository (`wget` need to be installed first) : 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. 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. 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. npm run bootstrap # only if you plan to link remix and remix-ide repositories and develop on it.
cd remix-ide 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 run setupremix # only if you plan to link remix and remix-ide repositories and develop on it.
npm start 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 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. - 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`. 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`. - 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) . [here](https://github.com/ethereum/remixd) .
`remixd` can be globally installed using the following command: `remixd` can be globally installed using the following command:
`npm install -g remixd` `yarn globak add @remix-project/remixd`
Or just install it in the directory of your choice by removing the -g flag:
`npm install 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. 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 origin/master
- git checkout -b bumpVersion - git checkout -b bumpVersion
- update package.json version - 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 - merge PR
- git fetch origin master - git fetch origin master
- git checkout 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 - 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 - publish a release in github using the changelog
- rm -rf node_modules - rm -rf node_modules
- npm install - yarn install
- remove all soljson.js files in root folder - remove all soljson.js files in root folder
- npm run build - npm run build
- npm publish - npm publish
@ -29,7 +29,7 @@ This document includes:
- git checkout origin/master - git checkout origin/master
- git checkout -b bumpVersion - git checkout -b bumpVersion
- update package.json version to the new version "vx.x.x-beta.1" - 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 - merge PR
- git fetch origin master - git fetch origin master
- git checkout origin/master - git checkout origin/master

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

@ -10,7 +10,7 @@
### Installation ### Installation
`@remix-project/remix-analyzer` is an NPM package and can be installed using NPM as: `@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 ### How to use

@ -10,7 +10,7 @@
### Installation ### Installation
`@remix-project/remix-astwalker` is an NPM package and can be installed using NPM as: `@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 ### How to use

@ -10,7 +10,7 @@
### Installation ### Installation
`@remix-project/remix-debug` is an NPM package and can be installed using NPM as: `@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 ### How to use

@ -10,7 +10,7 @@
### Installation ### Installation
`@remix-project/remix-lib` is an NPM package and can be installed using NPM as: `@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 ### How to use

@ -10,7 +10,7 @@
### Installation ### Installation
`@remix-project/remix-simulator` is an NPM package and can be installed using NPM as: `@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 ### How to use

@ -12,7 +12,7 @@
`@remix-project/remix-solidity` is an NPM package and can be installed using NPM as: `@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 ### How to use

@ -12,11 +12,11 @@ To know more about Remix IDE `Solidity Unit Testing Plugin`, visit [Remix IDE of
### Installation ### Installation
* As a dev dependency: * 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: * 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: To confirm installation, run:
``` ```

@ -11,7 +11,7 @@ describe('testRunner: remix-tests CLI', () => {
const dirContent = result.stdout.toString() const dirContent = result.stdout.toString()
// Install dependencies if 'node_modules' is not already present // Install dependencies if 'node_modules' is not already present
if(!dirContent.includes('node_modules')) { 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: `@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 ### How to use

@ -8,7 +8,7 @@
`@remix-project/remix-ws-templates` is an NPM package and can be installed using NPM as: `@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 ### Contribute

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

@ -18,7 +18,7 @@ async function warnLatestVersion () {
} else if (semver.gt(latest, pjson.version)) { } 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] 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] 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", "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", "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", "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" "ganache-cli": "npx ganache-cli"
}, },
"browserify": { "browserify": {

24426
yarn.lock

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