embark/packages/stack
Michael Bradley, Jr e0f7913a02 feat: add support for `embark.config.js`
This commit introduces support for using `embark.config.js` to calculate the
embark configuration object that is otherwise provided via `embark.json`.

If an `embark.config.js` file is present, it will be used over the
`embark.json` file.  The `embark.config.js` module needs to export either an
object or a function that can be asynchronous and has to return or resolve with
an embark configuration object:

```js
// embark.config.js

module.exports = async function () {
  let config = ...; // do lazy calculation of `embarkConfig`;
  return config;
}
```
2020-03-06 09:45:43 -06:00
..
api chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
authenticator chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
blockchain feat: add support for `embark.config.js` 2020-03-06 09:45:43 -06:00
communication feat: add support for `embark.config.js` 2020-03-06 09:45:43 -06:00
compiler chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
contracts-manager chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
deployment chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
embarkjs chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
library-manager chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
namesystem chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
pipeline chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
process-logs-api-manager chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
proxy chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
storage feat: add support for `embark.config.js` 2020-03-06 09:45:43 -06:00
test-runner chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
watcher chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00
webserver chore(prerelease): 5.3.0-nightly.5 2020-03-06 00:15:50 +00:00