sourcecred/config
William Chargin 5e0833421a
Make `execDependencyGraph` a CommonJS module (#767)
Summary:
This simplifies interfaces everywhere.

See also #216, which did the opposite of this as a temporary fix due to
a Babel/Webpack interaction that no longer exists as of #766.

Test Plan:
Note that `node bin/sourcecred.js load sourcecred/example-git` still
works (after `yarn backend`). Note that `yarn test` still works. These
demonstrate that the module works from both a Webpack context and a Node
context. Note that `git grep --name-only execDependencyGraph` yields
exactly those files touched in this commit. Note that `yarn test --full`
passes.

wchargin-branch: commonjs-execDependencyGraph
2018-09-04 22:01:22 -07:00
..
jest Add `GitState`, `Environment` to the `VersionInfo` (#692) 2018-08-16 13:38:13 -07:00
RemoveBuildDirectoryPlugin.js webpack: empty build dir instead of removing it (#768) 2018-09-04 21:44:09 -07:00
babel.js babel: transform ES6 modules to CommonJS (#766) 2018-09-04 21:47:36 -07:00
env.js Allow backend `process.env` to see the runtime env (#748) 2018-08-31 16:34:18 -07:00
paths.js Replace `oclif` with `cli` (#744) 2018-09-02 16:11:56 -07:00
polyfills.js Ensure that flow is used in all js files (#232) 2018-05-07 20:02:19 -07:00
test.js Make `execDependencyGraph` a CommonJS module (#767) 2018-09-04 22:01:22 -07:00
webpack.config.backend.js Allow backend `process.env` to see the runtime env (#748) 2018-08-31 16:34:18 -07:00
webpack.config.web.js Rename `makeWebpackConfig` to `webpack.config.web` (#770) 2018-09-04 21:45:10 -07:00