From 5bc19d1a3b03306d0f652759f151fc010dc71ec7 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 21 Apr 2018 06:52:45 -0400 Subject: [PATCH 1/6] add lerna --- lerna.json | 11 +++++++++++ package.json | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 lerna.json create mode 100644 package.json diff --git a/lerna.json b/lerna.json new file mode 100644 index 0000000000..9f6659697a --- /dev/null +++ b/lerna.json @@ -0,0 +1,11 @@ +{ + "lerna": "2.10.2", + "packages": [ + "remix-core", + "remix-debug", + "remix-debugger", + "remix-lib", + "remix-solidity" + ], + "version": "independent" +} diff --git a/package.json b/package.json new file mode 100644 index 0000000000..72c477f85c --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "devDependencies": { + "lerna": "^2.10.2" + } +} From 4dc6d5a2a22989fe5d5576969de289f522bc7cbd Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 21 Apr 2018 06:52:55 -0400 Subject: [PATCH 2/6] update package versions --- remix-core/package.json | 2 +- remix-debug/package.json | 6 +++--- remix-debugger/package.json | 6 +++--- remix-solidity/package.json | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/remix-core/package.json b/remix-core/package.json index 61dfd23984..2442d56c10 100644 --- a/remix-core/package.json +++ b/remix-core/package.json @@ -19,7 +19,7 @@ "babel-eslint": "^7.1.1", "babelify": "^7.3.0", "fast-async": "^6.1.2", - "remix-lib": "latest", + "remix-lib": "0.2.2", "standard": "^7.0.1", "tape": "^4.6.0" }, diff --git a/remix-debug/package.json b/remix-debug/package.json index 469f27fe6d..8d3263d2f9 100644 --- a/remix-debug/package.json +++ b/remix-debug/package.json @@ -26,9 +26,9 @@ "ethereumjs-vm": "^2.3.3", "notify-error": "^1.2.0", "npm-run-all": "^4.1.2", - "remix-core": "latest", - "remix-lib": "latest", - "remix-solidity": "latest", + "remix-core": "0.0.8", + "remix-lib": "0.2.2", + "remix-solidity": "0.1.4", "standard": "^7.0.1", "standard-reporter": "^1.0.5" }, diff --git a/remix-debugger/package.json b/remix-debugger/package.json index d6c5ddd7e4..a200c5ec94 100644 --- a/remix-debugger/package.json +++ b/remix-debugger/package.json @@ -37,9 +37,9 @@ "notify-error": "^1.2.0", "npm-run-all": "^4.1.2", "onchange": "^3.3.0", - "remix-core": "latest", - "remix-lib": "latest", - "remix-solidity": "latest", + "remix-core": "0.0.8", + "remix-lib": "0.2.2", + "remix-solidity": "0.1.4", "selenium-standalone": "^6.0.1", "solc": "^0.4.13", "standard": "^7.0.1", diff --git a/remix-solidity/package.json b/remix-solidity/package.json index 5e131ff8e2..c1ac7bad0c 100644 --- a/remix-solidity/package.json +++ b/remix-solidity/package.json @@ -21,8 +21,8 @@ "ethereumjs-util": "^4.5.0", "ethereumjs-vm": "^2.3.3", "fast-async": "^6.1.2", - "remix-core": "latest", - "remix-lib": "latest", + "remix-core": "0.0.8", + "remix-lib": "0.2.2", "webworkify": "^1.2.1", "solc": "https://github.com/ethereum/solc-js", "npm-run-all": "^4.0.2", From 272bd00524310d7c2fd205d1befa585122b66ea6 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 23 Apr 2018 16:25:49 +0200 Subject: [PATCH 3/6] add lerna script --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 72c477f85c..4748012088 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,8 @@ { "devDependencies": { "lerna": "^2.10.2" - } + }, + "scripts": { + "bootstrap": "lerna bootstrap" + } } From c8703feed31f3627fb4b5f2fa646da429befd40c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 23 Apr 2018 16:29:38 +0200 Subject: [PATCH 4/6] run lerna bootstrap from circleci --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b8190142d8..47be78b448 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,6 +11,7 @@ jobs: working_directory: ~/repo steps: - checkout + - run: npm install && npm run bootstrap - run: cd remix-lib && npm install && npm test remix-core: @@ -20,6 +21,7 @@ jobs: working_directory: ~/repo steps: - checkout + - run: npm install && npm run bootstrap - run: cd remix-core && npm install && npm test remix-solidity: @@ -29,6 +31,7 @@ jobs: working_directory: ~/repo steps: - checkout + - run: npm install && npm run bootstrap - run: cd remix-solidity && npm install && npm test remix-debug: @@ -38,6 +41,7 @@ jobs: working_directory: ~/repo steps: - checkout + - run: npm install && npm run bootstrap - run: cd remix-debug && npm install && npm test workflows: From ef7dc7503143a8b95ac25e527f58c4628e61a4dc Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 23 Apr 2018 16:45:15 +0200 Subject: [PATCH 5/6] add solc dev dependency --- remix-debug/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/remix-debug/package.json b/remix-debug/package.json index 8d3263d2f9..9eb19d1079 100644 --- a/remix-debug/package.json +++ b/remix-debug/package.json @@ -29,6 +29,7 @@ "remix-core": "0.0.8", "remix-lib": "0.2.2", "remix-solidity": "0.1.4", + "solc": "https://github.com/ethereum/solc-js", "standard": "^7.0.1", "standard-reporter": "^1.0.5" }, From 29c032af358397738744a2f383f8b95140370e0a Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 23 Apr 2018 16:51:11 +0200 Subject: [PATCH 6/6] add remix-debug dep --- remix-debug/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remix-debug/package.json b/remix-debug/package.json index 9eb19d1079..7aedfe8db6 100644 --- a/remix-debug/package.json +++ b/remix-debug/package.json @@ -31,7 +31,8 @@ "remix-solidity": "0.1.4", "solc": "https://github.com/ethereum/solc-js", "standard": "^7.0.1", - "standard-reporter": "^1.0.5" + "standard-reporter": "^1.0.5", + "tape": "^4.6.0" }, "scripts": { "build": "mkdirp build; browserify index.js > build/app.js",