update compat-data related docs/config [skip ci] (#11030)

* ignore compat-data build

* ignore CONTRIBUTING.md when publishing preset-env

* docs: update preset-env CONTRIBUTING.md
This commit is contained in:
Huáng Jùnliàng 2020-01-19 19:00:38 -05:00 committed by Nicolò Ribaudo
parent facfd4d8a1
commit de75dbf2a0
3 changed files with 5 additions and 13 deletions

View File

@ -17,9 +17,9 @@ codemods/*/lib
codemods/*/dist
codemods/*/test/fixtures
codemods/*/test/tmp
packages/babel-compat-data/build
packages/babel-preset-env/data/[^(plugin-features|shipped-proposals).js]
packages/babel-preset-env/test/debug-fixtures
packages/babel-preset-env/build
packages/babel-preset-env-standalone/babel-preset-env.js
packages/babel-preset-env-standalone/babel-preset-env.min.js
packages/babel-standalone/babel.js

View File

@ -16,3 +16,4 @@ flow-typed
.github
.idea
/build
CONTRIBUTING.md

View File

@ -63,7 +63,7 @@ If you want to mark a new proposal as shipped, add it to [this list](https://git
### Update [`plugins.json`](https://github.com/babel/babel/blob/master/packages/babel-preset-env/data/plugins.json)
Until `compat-table` is a standalone npm module for data we are using the git commit in `scripts/download-compat-table.sh`
Until `compat-table` is a standalone npm module for data we are using the git commit in `packages/babel-compat-data/scripts/download-compat-table.sh`
`COMPAT_TABLE_COMMIT=[latest-commit-hash]`,
@ -71,17 +71,8 @@ So we update and then run `npm run build-data`. If there are no changes, then `p
## Tests
### Running tests locally
```bash
npm test
```
### Checking code coverage locally
```bash
npm run coverage
```
### Running tests
See general [CONTRIBUTING.md](https://github.com/babel/babel/blob/master/CONTRIBUTING.md#running-lintingtests).
### Writing tests