diff --git a/packages/embark-core/package.json b/packages/embark-core/package.json index 2285a4c2a..e59c2700e 100644 --- a/packages/embark-core/package.json +++ b/packages/embark-core/package.json @@ -17,7 +17,8 @@ ], "files": [ "constants.json", - "dist" + "dist", + "process.js" ], "license": "MIT", "repository": { @@ -31,7 +32,7 @@ "ci": "npm run qa", "clean": "npm run reset", "lint": "npm-run-all lint:*", - "lint:js": "eslint src/", + "lint:js": "eslint process.js src/", "// lint:ts": "tslint -c tslint.json \"src/**/*.ts\"", "package": "npm pack", "// qa": "npm-run-all lint typecheck build package", diff --git a/packages/embark-core/process.js b/packages/embark-core/process.js new file mode 100644 index 000000000..cc95d78e4 --- /dev/null +++ b/packages/embark-core/process.js @@ -0,0 +1 @@ +module.exports = require('./dist/processes/coreProcess'); diff --git a/packages/embark/src/lib/modules/core_process/index.js b/packages/embark-core/src/processes/coreProcess.js similarity index 100% rename from packages/embark/src/lib/modules/core_process/index.js rename to packages/embark-core/src/processes/coreProcess.js diff --git a/packages/embark/src/lib/core/engine.js b/packages/embark/src/lib/core/engine.js index 188dc549a..e1278fbe4 100644 --- a/packages/embark/src/lib/core/engine.js +++ b/packages/embark/src/lib/core/engine.js @@ -113,7 +113,7 @@ class Engine { } coreProcessService(_options){ - this.registerModule('core_process', { + this.registerModulePackage('embark-core/process', { events: this.events }); }