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: 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..4748012088 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "devDependencies": { + "lerna": "^2.10.2" + }, + "scripts": { + "bootstrap": "lerna bootstrap" + } +} 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..7aedfe8db6 100644 --- a/remix-debug/package.json +++ b/remix-debug/package.json @@ -26,11 +26,13 @@ "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", + "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", 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",