Merge branch 'master' into 7.0
# Conflicts: # .travis.yml # CHANGELOG.md # lerna.json # packages/babel-cli/package.json
This commit is contained in:
commit
661102c7ea
26
.travis.yml
26
.travis.yml
@ -6,26 +6,30 @@ cache:
|
|||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
node_js:
|
node_js:
|
||||||
- '6'
|
- '6'
|
||||||
- '5'
|
- '5'
|
||||||
- '4'
|
- '4'
|
||||||
|
|
||||||
|
env:
|
||||||
|
- JOB=test
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- 'if [ -n "${LINT-}" ]; then make lint ; fi'
|
- 'if [ "$JOB" = "test" ]; then make test-ci; fi'
|
||||||
- 'if [ -z "${LINT-}" ]; then make test-ci ; fi'
|
- 'if [ "$JOB" = "test-coverage" ]; then make test-ci-coverage; fi'
|
||||||
- 'if [ -n "${FLOW-}" ]; then make flow ; fi'
|
- 'if [ "$JOB" = "lint" ]; then make lint && make flow; fi'
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
|
- node_js: "7"
|
||||||
|
env: JOB=test-coverage
|
||||||
- node_js: "node"
|
- node_js: "node"
|
||||||
env:
|
env: JOB=lint
|
||||||
- LINT: true
|
|
||||||
- FLOW: true
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
on_success: change
|
|
||||||
on_failure: always
|
|
||||||
slack:
|
slack:
|
||||||
|
on_success: change
|
||||||
|
on_failure: always
|
||||||
rooms:
|
rooms:
|
||||||
# Generate with
|
# Generate with
|
||||||
# travis encrypt "babeljs:<token>#activity" --add notifications.slack.rooms
|
# travis encrypt "babeljs:<token>#activity" --add notifications.slack.rooms
|
||||||
|
|||||||
10
CHANGELOG.md
10
CHANGELOG.md
@ -13,11 +13,19 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
|
|||||||
|
|
||||||
See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
See [CHANGELOG - 6to5](CHANGELOG-6to5.md) for the pre-4.0.0 version changelog.
|
||||||
|
|
||||||
|
## 6.22.2 (2017-01-19)
|
||||||
|
|
||||||
|
#### :bug: Bug Fix
|
||||||
|
|
||||||
|
* `babel-cli`
|
||||||
|
* Fix issue with `babel-node` throwing errors when passed non-"-" args [#5162](https://github.com/babel/babel/pull/5162).
|
||||||
|
|
||||||
## 6.22.1 (2017-01-19)
|
## 6.22.1 (2017-01-19)
|
||||||
|
|
||||||
#### :bug: Bug Fix
|
#### :bug: Bug Fix
|
||||||
|
|
||||||
Temporary fix with `babel-traverse` via [#5019](https://github.com/babel/babel/pull/5019) for transform-react-constant-elements.
|
* `babel-traverse`
|
||||||
|
* Temporary fix with `babel-traverse` via [#5019](https://github.com/babel/babel/pull/5019) for transform-react-constant-elements.
|
||||||
|
|
||||||
## 6.22.0 (2017-01-19)
|
## 6.22.0 (2017-01-19)
|
||||||
|
|
||||||
|
|||||||
18
Makefile
18
Makefile
@ -2,7 +2,7 @@ MAKEFLAGS = -j1
|
|||||||
|
|
||||||
export NODE_ENV = test
|
export NODE_ENV = test
|
||||||
|
|
||||||
.PHONY: build build-dist watch lint fix clean test-clean test-only test test-cov test-ci publish bootstrap
|
.PHONY: build build-dist watch lint fix clean test-clean test-only test test-ci publish bootstrap
|
||||||
|
|
||||||
build: clean
|
build: clean
|
||||||
./node_modules/.bin/gulp build
|
./node_modules/.bin/gulp build
|
||||||
@ -16,7 +16,7 @@ build-dist: build
|
|||||||
|
|
||||||
watch: clean
|
watch: clean
|
||||||
rm -rf packages/*/lib
|
rm -rf packages/*/lib
|
||||||
BABEL_ENV=development ./node_modules/.bin/gulp watch
|
./node_modules/.bin/gulp watch
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
./node_modules/.bin/eslint packages/ --format=codeframe
|
./node_modules/.bin/eslint packages/ --format=codeframe
|
||||||
@ -42,22 +42,19 @@ clean-all:
|
|||||||
rm -rf packages/*/node_modules
|
rm -rf packages/*/node_modules
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
# without lint
|
|
||||||
test-only:
|
test-only:
|
||||||
./scripts/test.sh
|
./scripts/test.sh
|
||||||
make test-clean
|
make test-clean
|
||||||
|
|
||||||
test: lint test-only
|
test: lint test-only
|
||||||
|
|
||||||
test-cov: clean
|
|
||||||
# rebuild with test
|
|
||||||
rm -rf packages/*/lib
|
|
||||||
BABEL_ENV=test ./node_modules/.bin/gulp build
|
|
||||||
./scripts/test-cov.sh
|
|
||||||
|
|
||||||
test-ci:
|
test-ci:
|
||||||
NODE_ENV=test make bootstrap
|
NODE_ENV=test make bootstrap
|
||||||
make test-cov
|
make test-only
|
||||||
|
|
||||||
|
test-ci-coverage:
|
||||||
|
NODE_ENV=test BABEL_ENV=cov make bootstrap
|
||||||
|
./scripts/test-cov.sh
|
||||||
./node_modules/.bin/codecov -f coverage/coverage-final.json
|
./node_modules/.bin/codecov -f coverage/coverage-final.json
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
@ -68,7 +65,6 @@ publish:
|
|||||||
# not using lerna independent mode atm, so only update packages that have changed since we use ^
|
# not using lerna independent mode atm, so only update packages that have changed since we use ^
|
||||||
./node_modules/.bin/lerna publish --only-explicit-updates
|
./node_modules/.bin/lerna publish --only-explicit-updates
|
||||||
make clean
|
make clean
|
||||||
#./scripts/build-website.sh
|
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
make clean-all
|
make clean-all
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"lerna": "2.0.0-beta.23",
|
"lerna": "2.0.0-beta.23",
|
||||||
"version": "6.22.1",
|
"version": "6.22.2",
|
||||||
"changelog": {
|
"changelog": {
|
||||||
"repo": "babel/babel",
|
"repo": "babel/babel",
|
||||||
"labels": {
|
"labels": {
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
"transform-flow-strip-types"
|
"transform-flow-strip-types"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"test": {
|
"cov": {
|
||||||
"auxiliaryCommentBefore": "istanbul ignore next",
|
"auxiliaryCommentBefore": "istanbul ignore next",
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"istanbul"
|
"istanbul"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "babel-cli",
|
"name": "babel-cli",
|
||||||
"version": "6.22.1",
|
"version": "6.22.2",
|
||||||
"description": "Babel command line.",
|
"description": "Babel command line.",
|
||||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||||
"homepage": "https://babeljs.io/",
|
"homepage": "https://babeljs.io/",
|
||||||
|
|||||||
@ -102,7 +102,7 @@ if (program.eval || program.print) {
|
|||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
let ignoreNext = false;
|
let ignoreNext = false;
|
||||||
args.forEach(function (arg, i2) {
|
args.some(function (arg, i2) {
|
||||||
if (ignoreNext) {
|
if (ignoreNext) {
|
||||||
ignoreNext = false;
|
ignoreNext = false;
|
||||||
return;
|
return;
|
||||||
@ -115,7 +115,7 @@ if (program.eval || program.print) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
i = i2;
|
i = i2;
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
args = args.slice(i);
|
args = args.slice(i);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user