vega-lite-dev-config v0.21.0
vega-lite-dev-config
Version-controlled build config for easy re-use and sharing using Beemo.
Install
yarn add --dev vega-lite-dev-config
Before using the build config provided you should remove any older dependencies or config files for the drivers you intend to use (e.g., remove eslint
and .eslintrc
). vega-lite-dev-config
will handle these dependencies, and it will auto-generate the config files for you.
Using drivers
This project is built with 🤖beemo, and therefore requires a ".config/beemo.ts"
configuration file with a list of drivers you want to enable. You can optionally configure some drivers as shown below:
// .config/beemo.ts
module.exports = {
module: 'vega-lite-dev-config',
"drivers": {
"babel": true,
"prettier": true,
"eslint": true,
"jest": true,
"typescript": {
"buildFolder": "build"
}
}
};
If you want to customize the drivers, you need to create overrides as described in the Beemo docs.
Executing drivers
Executing a driver will initialize 🤖 Beemo's pipeline, generate configuration files (e.g., it will generate a .eslintrc
or prettier.config.js
, and execute the underlying driver binary and logging to the console.
All arguments passed to Beemo are passed to the driver's underlying binary.
You may define these commands as scripts in your package.json:
// package.json
{
"scripts": {
"prepare": "beemo create-config --react", // Remove --react if you do not use React
"prettierbase": "beemo prettier '{src,test,types}/**/*.{md,css}' # eslint takes care of tsx?/jsx?",
"eslintbase": "beemo eslint '{src,test,types}/**/*.{ts,tsx,js,jsx}'",
"format": "yarn eslintbase --fix && yarn prettierbase --write",
"lint": "yarn eslintbase && yarn prettierbase --check",
"tsc": "beemo typescript",
"tsc:watch": "yarn run tsc --watch"
}
}
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago