From 2ed723819024c589a2728d70186747f480ecd384 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 20 Jul 2018 17:22:26 +0300 Subject: [PATCH] move process files into processes folder --- lib/modules/blockchain_process/blockchainProcess.js | 2 +- lib/modules/blockchain_process/blockchainProcessLauncher.js | 2 +- lib/modules/solidity/solcP.js | 2 +- lib/modules/solidity/solcW.js | 2 +- lib/pipeline/pipeline.js | 2 +- lib/pipeline/webpackProcess.js | 1 - lib/{process => processes}/eventsWrapper.js | 0 lib/{process => processes}/processLauncher.js | 0 lib/{process => processes}/processWrapper.js | 0 lib/processes/storageProcesses/ipfs.js | 2 +- lib/processes/storageProcesses/storageProcessesLauncher.js | 2 +- lib/processes/storageProcesses/swarm.js | 2 +- 12 files changed, 8 insertions(+), 9 deletions(-) rename lib/{process => processes}/eventsWrapper.js (100%) rename lib/{process => processes}/processLauncher.js (100%) rename lib/{process => processes}/processWrapper.js (100%) diff --git a/lib/modules/blockchain_process/blockchainProcess.js b/lib/modules/blockchain_process/blockchainProcess.js index abd879d4..5c65e61c 100644 --- a/lib/modules/blockchain_process/blockchainProcess.js +++ b/lib/modules/blockchain_process/blockchainProcess.js @@ -1,4 +1,4 @@ -const ProcessWrapper = require('../../process/processWrapper'); +const ProcessWrapper = require('../../processes/processWrapper'); const BlockchainClient = require('./blockchain'); const i18n = require('../../i18n/i18n.js'); const constants = require('../../constants'); diff --git a/lib/modules/blockchain_process/blockchainProcessLauncher.js b/lib/modules/blockchain_process/blockchainProcessLauncher.js index 1bd6685f..97167e70 100644 --- a/lib/modules/blockchain_process/blockchainProcessLauncher.js +++ b/lib/modules/blockchain_process/blockchainProcessLauncher.js @@ -1,4 +1,4 @@ -const ProcessLauncher = require('../../process/processLauncher'); +const ProcessLauncher = require('../../processes/processLauncher'); const utils = require('../../utils/utils.js'); const constants = require('../../constants'); diff --git a/lib/modules/solidity/solcP.js b/lib/modules/solidity/solcP.js index 934cbad7..448c1af6 100644 --- a/lib/modules/solidity/solcP.js +++ b/lib/modules/solidity/solcP.js @@ -2,7 +2,7 @@ const fs = require('fs-extra'); const path = require('path'); const constants = require('../../constants'); const Utils = require('../../utils/utils'); -const ProcessWrapper = require('../../process/processWrapper'); +const ProcessWrapper = require('../../processes/processWrapper'); const PluginManager = require('live-plugin-manager-git-fix').PluginManager; const NpmTimer = require('../../versions/npmTimer'); diff --git a/lib/modules/solidity/solcW.js b/lib/modules/solidity/solcW.js index a551ab65..b738e871 100644 --- a/lib/modules/solidity/solcW.js +++ b/lib/modules/solidity/solcW.js @@ -1,7 +1,7 @@ let utils = require('../../utils/utils.js'); let fs = require('../../core/fs.js'); let currentSolcVersion = require('../../../package.json').dependencies.solc; -const ProcessLauncher = require('../../process/processLauncher'); +const ProcessLauncher = require('../../processes/processLauncher'); const uuid = require('uuid/v1'); class SolcW { diff --git a/lib/pipeline/pipeline.js b/lib/pipeline/pipeline.js index 4b9170d6..5ca21f46 100644 --- a/lib/pipeline/pipeline.js +++ b/lib/pipeline/pipeline.js @@ -1,6 +1,6 @@ const fs = require('../core/fs.js'); const async = require('async'); -const ProcessLauncher = require('../process/processLauncher'); +const ProcessLauncher = require('../processes/processLauncher'); const utils = require('../utils/utils.js'); const constants = require('../constants'); diff --git a/lib/pipeline/webpackProcess.js b/lib/pipeline/webpackProcess.js index 759b1157..f1115b1c 100644 --- a/lib/pipeline/webpackProcess.js +++ b/lib/pipeline/webpackProcess.js @@ -4,7 +4,6 @@ const utils = require('../utils/utils'); const fs = require('../core/fs'); const constants = require('../constants'); const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); -const ProcessWrapper = require('../process/processWrapper'); const path = require('path'); let webpackProcess; diff --git a/lib/process/eventsWrapper.js b/lib/processes/eventsWrapper.js similarity index 100% rename from lib/process/eventsWrapper.js rename to lib/processes/eventsWrapper.js diff --git a/lib/process/processLauncher.js b/lib/processes/processLauncher.js similarity index 100% rename from lib/process/processLauncher.js rename to lib/processes/processLauncher.js diff --git a/lib/process/processWrapper.js b/lib/processes/processWrapper.js similarity index 100% rename from lib/process/processWrapper.js rename to lib/processes/processWrapper.js diff --git a/lib/processes/storageProcesses/ipfs.js b/lib/processes/storageProcesses/ipfs.js index 7d671521..00488a64 100644 --- a/lib/processes/storageProcesses/ipfs.js +++ b/lib/processes/storageProcesses/ipfs.js @@ -1,5 +1,5 @@ const child_process = require('child_process'); -const ProcessWrapper = require('../../process/processWrapper'); +const ProcessWrapper = require('../processWrapper'); const constants = require('../../constants'); const StorageUtils = require('./storageUtils'); diff --git a/lib/processes/storageProcesses/storageProcessesLauncher.js b/lib/processes/storageProcesses/storageProcessesLauncher.js index 6501638a..0e1cc1c9 100644 --- a/lib/processes/storageProcesses/storageProcessesLauncher.js +++ b/lib/processes/storageProcesses/storageProcessesLauncher.js @@ -1,7 +1,7 @@ const fs = require('../../core/fs'); const shellJs = require('shelljs'); const utils = require('../../utils/utils'); -const ProcessLauncher = require('../../process/processLauncher'); +const ProcessLauncher = require('../processLauncher'); const constants = require('../../constants'); const StorageUtils = require('./storageUtils'); const {canonicalHost} = require('../../utils/host'); diff --git a/lib/processes/storageProcesses/swarm.js b/lib/processes/storageProcesses/swarm.js index 36302c17..a5236f36 100644 --- a/lib/processes/storageProcesses/swarm.js +++ b/lib/processes/storageProcesses/swarm.js @@ -1,5 +1,5 @@ const child_process = require('child_process'); -const ProcessWrapper = require('../../process/processWrapper'); +const ProcessWrapper = require('../processWrapper'); const constants = require('../../constants'); const fs = require('../../core/fs'); const StorageUtils = require('./storageUtils');