0.21.0 • Published 2 years ago

vega-lite-dev-config v0.21.0

Weekly downloads
601
License
BSD-3-Clause
Repository
github
Last release
2 years ago

vega-lite-dev-config

Build Status npm version

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"
  }
}
0.21.0-next.0

2 years ago

0.21.0

2 years ago

0.20.0

2 years ago

0.19.0

3 years ago

0.19.0-next.0

3 years ago

0.20.0-next.0

2 years ago

0.18.1

3 years ago

0.18.0

3 years ago

0.17.3

3 years ago

0.17.2

3 years ago

0.17.1

3 years ago

0.17.0

3 years ago

0.16.5

3 years ago

0.16.6

3 years ago

0.16.3

3 years ago

0.16.4

3 years ago

0.15.0

3 years ago

0.15.1

3 years ago

0.16.0-alpha.0

3 years ago

0.16.0

3 years ago

0.16.1

3 years ago

0.16.2

3 years ago

0.14.8

3 years ago

0.14.7

4 years ago

0.14.6

4 years ago

0.14.5

4 years ago

0.14.4

4 years ago

0.14.3

4 years ago

0.14.2

4 years ago

0.14.1

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.9

4 years ago

0.11.8

4 years ago

0.11.7

4 years ago

0.11.5

4 years ago

0.11.2

4 years ago

0.10.1

4 years ago

0.10.2

4 years ago

0.10.3

4 years ago

0.10.0

4 years ago

0.9.1

4 years ago

0.7.2

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.3

4 years ago

0.3.1

4 years ago

0.3.0

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago