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:
parent
facfd4d8a1
commit
de75dbf2a0
@ -17,9 +17,9 @@ codemods/*/lib
|
|||||||
codemods/*/dist
|
codemods/*/dist
|
||||||
codemods/*/test/fixtures
|
codemods/*/test/fixtures
|
||||||
codemods/*/test/tmp
|
codemods/*/test/tmp
|
||||||
|
packages/babel-compat-data/build
|
||||||
packages/babel-preset-env/data/[^(plugin-features|shipped-proposals).js]
|
packages/babel-preset-env/data/[^(plugin-features|shipped-proposals).js]
|
||||||
packages/babel-preset-env/test/debug-fixtures
|
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.js
|
||||||
packages/babel-preset-env-standalone/babel-preset-env.min.js
|
packages/babel-preset-env-standalone/babel-preset-env.min.js
|
||||||
packages/babel-standalone/babel.js
|
packages/babel-standalone/babel.js
|
||||||
|
|||||||
@ -16,3 +16,4 @@ flow-typed
|
|||||||
.github
|
.github
|
||||||
.idea
|
.idea
|
||||||
/build
|
/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)
|
### 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]`,
|
`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
|
## Tests
|
||||||
|
|
||||||
### Running tests locally
|
### Running tests
|
||||||
|
See general [CONTRIBUTING.md](https://github.com/babel/babel/blob/master/CONTRIBUTING.md#running-lintingtests).
|
||||||
```bash
|
|
||||||
npm test
|
|
||||||
```
|
|
||||||
|
|
||||||
### Checking code coverage locally
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run coverage
|
|
||||||
```
|
|
||||||
|
|
||||||
### Writing tests
|
### Writing tests
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user