- Created a new VSCode Extension subproject - Created a new Bolt CLI subproject - Created a new Bolt Language Server subproject - Created a new Bolt Compiler subproject - Moved most existing code to the new Compiler subproject - Added a small language server - Laid the foundations for a Hindley-Milner type checker - Fixed some bugs and type errors in the compiler - Removed the unused testing infrastructure - Added an example parser test that should be run with Ava
21 lines
472 B
JavaScript
21 lines
472 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const path = require('path');
|
|
const glob = require('glob');
|
|
|
|
function getAllPackages() {
|
|
return glob.sync('**/package.json', {
|
|
ignore: ['node_modules', '.*'],
|
|
cwd: __dirname,
|
|
});
|
|
}
|
|
|
|
const webpackConfig = [];
|
|
|
|
for (const packageJsonPath of getAllPackages()) {
|
|
const webpackConfigPath = path.resolve(path.dirname(packageJsonPath), 'webpack.config.js');
|
|
webpackConfig.push(require(webpackConfigPath));
|
|
}
|
|
|
|
module.exports = webpackConfig;
|
|
|