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:
committed by
Nicolò Ribaudo
parent
facfd4d8a1
commit
de75dbf2a0
@@ -16,3 +16,4 @@ flow-typed
|
||||
.github
|
||||
.idea
|
||||
/build
|
||||
CONTRIBUTING.md
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user