Brian Ng
8823e4247e
Fix up flow errors ( #7227 )
...
* charcodes@0.1.0
* Add hasFlowComment to tokenizer/state
* Fix babel-types flow errors
* Add isIterator to tokenizer/state
* Remove unnecessary argument from flow/readToken
* Add annotation to tokenizer/isIterator
* Fix reference to generated index.js.flow
* Add workaround in babel-template expression formatter
* Fix tsEatThenParseType return type
* Fix inconsistency with ParseSubscript state
* Add workaround for flow handling error with tagged template in optional chain
* Add flow workaround in expectPlugin inside tokenizer
2018-02-25 18:12:33 -08:00
Brian Ng
959865b48d
Update babel to beta.40 ( #7413 )
2018-02-23 08:44:45 -06:00
Brian Ng
d75a6b8468
Remove istanbul hacks ( #7403 )
2018-02-21 09:56:30 -06:00
Henry Zhu
eb38ea2b10
Update babel to beta.39 ( #7302 )
2018-01-30 22:59:00 -05:00
Nicolò Ribaudo
f19d559ff3
Compile Babylon with Gulp ( #7240 )
2018-01-30 23:13:40 +01:00
Mauro Bringolf
92fc26d399
Remove check-constants plugin ( #6987 )
...
* Rebased onto new version
* Moved constants check into a separate method
2018-01-26 10:43:09 -05:00
Brian Ng
064c17e03f
Bump prettier and related deps ( #7244 )
2018-01-20 17:00:21 +01:00
Henry Zhu
47ce7e71c9
Update to beta.38 ( #7231 )
2018-01-17 18:03:11 -05:00
Henry Zhu
b1bf7798ab
update to v7-beta.37 ( #7104 )
2018-01-08 12:05:49 -05:00
Brian Ng
c7980b2b90
Bump prettier ( #6991 )
2017-12-07 17:36:49 -05:00
Daniel Tschinder
de5ab72c49
Update flow to 0.59 and fix some flow issues ( #6957 )
2017-12-02 08:59:46 -05:00
Henry Zhu
607916880d
update to beta.33 ( #6948 )
...
* update to beta.33
* typeof is excluded by default in loose mode
2017-12-02 08:59:08 -05:00
Henry Zhu
394ad93d22
Update to v7-beta.31 ( #6804 )
2017-11-13 10:50:29 -05:00
Daniel Tschinder
3b540e3f5a
Integrate babylon into babel workflow
2017-11-01 23:26:51 +01:00
Henry Zhu
dbff057b8c
update lockfile [skip ci]
2017-10-31 21:26:54 -04:00
Henry Zhu
0e2a249746
Update to beta.5 with scoped packages 👻 ( #6654 )
...
* Update to beta.5 with scoped packages
* update to released version
* allow node 9 [skip ci]
2017-10-31 19:55:54 -04:00
Henry Zhu
397953c32d
update lock [skip ci]
2017-10-30 12:21:20 -04:00
Henry Zhu
279f55cd9b
update to babylon beta.29
2017-10-16 20:10:55 -05:00
Henry Zhu
3659652fae
update to beta.3 ( #6488 )
2017-10-16 10:51:56 -04:00
Brian Ng
38355d9230
Tweak babel-preset-env for monorepo
2017-10-05 17:35:16 -05:00
Logan Smyth
70a5b77943
Move babel-standalone's build scripts to the repo root. ( #6383 )
2017-10-05 10:44:56 -04:00
Logan Smyth
93c3c147d6
Upgrade selfhosted compilation to beta.2 (Take 2) ( #6382 )
...
* Avoid bug in current version of typeof-symbol transform.
* Selfhost Babel on most recent beta release.
2017-10-03 17:04:30 -07:00
Henry Zhu
4a8137c6b4
Merge pull request #6335 from jridgewell/pipeline
...
Pipeline operator
2017-10-02 16:32:15 -04:00
Brian Ng
789ce386ed
Bump prettier ( #6355 )
2017-09-30 09:53:52 -04:00
Gilbert
81496ab7b1
Pipeline operator
2017-09-29 19:01:18 -04:00
Brian Ng
832408e85d
Fix generator missing parens on Flow union types ( #6334 )
2017-09-29 14:43:38 -04:00
Brian Ng
c821d3a591
Updates for handling codemods folder ( #6279 )
...
* add codemod folder to gitignore, update build/test scripts to handle codemods, lerna config
2017-09-26 10:38:18 -04:00
Henry Zhu
314bd31b85
update generator/babel-types printing, babylon ( #6306 )
...
* update generator printing, babylon [skip ci]
* Update babel-types for TS node types
2017-09-26 10:01:55 -04:00
Astha Sharma
3a2b7fe3cd
JSX pragma revert ( #6195 )
...
* Removed the deprecated jsx pragma detection code and the concerned tests that included jsx-pragma
* Removed extra tests
* Restored packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-pragma-option/
* Added JSX_ANNOTATION_REGEX
* Reverted the tests for jsx-pragma-options and removed those which throw deprecated message
2017-09-04 00:25:56 -04:00
Daniel Tschinder
ab30fa54cb
Update debug to 3.0 ( #6184 )
2017-08-31 23:30:04 -04:00
Daniel Tschinder
44f6ff5e85
Update prettier, eslint + plugins, flow, husky and lint-staged ( #6183 )
2017-08-31 22:56:29 +02:00
Daniel Tschinder
0189b38702
Merge branch '6.x' into 7.0
...
# Conflicts:
# CONTRIBUTING.md
# Makefile
# README.md
# lerna.json
# lib/types.js
# package.json
# packages/babel-cli/package.json
# packages/babel-code-frame/package.json
# packages/babel-core/package.json
# packages/babel-core/test/fixtures/transformation/misc/regression-2892/expected.js
# packages/babel-generator/package.json
# packages/babel-generator/src/generators/flow.js
# packages/babel-generator/src/index.js
# packages/babel-generator/test/fixtures/flow/declare-statements/expected.js
# packages/babel-generator/test/fixtures/flow/object-literal-types/expected.js
# packages/babel-generator/test/fixtures/flow/opaque-type-alias/expected.js
# packages/babel-helper-bindify-decorators/package.json
# packages/babel-helper-builder-binary-assignment-operator-visitor/package.json
# packages/babel-helper-builder-conditional-assignment-operator-visitor/package.json
# packages/babel-helper-builder-react-jsx/package.json
# packages/babel-helper-call-delegate/package.json
# packages/babel-helper-define-map/package.json
# packages/babel-helper-explode-assignable-expression/package.json
# packages/babel-helper-explode-class/package.json
# packages/babel-helper-fixtures/package.json
# packages/babel-helper-function-name/package.json
# packages/babel-helper-get-function-arity/package.json
# packages/babel-helper-hoist-variables/package.json
# packages/babel-helper-optimise-call-expression/package.json
# packages/babel-helper-plugin-test-runner/package.json
# packages/babel-helper-regex/package.json
# packages/babel-helper-remap-async-to-generator/package.json
# packages/babel-helper-replace-supers/package.json
# packages/babel-helper-transform-fixture-test-runner/package.json
# packages/babel-helpers/package.json
# packages/babel-plugin-transform-async-generator-functions/package.json
# packages/babel-plugin-transform-async-to-generator/package.json
# packages/babel-plugin-transform-async-to-module-method/package.json
# packages/babel-plugin-transform-class-constructor-call/package.json
# packages/babel-plugin-transform-class-properties/package.json
# packages/babel-plugin-transform-decorators/package.json
# packages/babel-plugin-transform-es2015-block-scoping/package.json
# packages/babel-plugin-transform-es2015-classes/package.json
# packages/babel-plugin-transform-es2015-classes/test/fixtures/regression/T6755/expected.js
# packages/babel-plugin-transform-es2015-computed-properties/package.json
# packages/babel-plugin-transform-es2015-duplicate-keys/package.json
# packages/babel-plugin-transform-es2015-function-name/package.json
# packages/babel-plugin-transform-es2015-modules-amd/package.json
# packages/babel-plugin-transform-es2015-modules-commonjs/package.json
# packages/babel-plugin-transform-es2015-modules-commonjs/src/index.js
# packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/export-destructured/expected.js
# packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-const-destructuring-object-default-params/expected.js
# packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-const-destructuring-object-rest/expected.js
# packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-const-destructuring-object/expected.js
# packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/options.json
# packages/babel-plugin-transform-es2015-modules-systemjs/package.json
# packages/babel-plugin-transform-es2015-modules-umd/package.json
# packages/babel-plugin-transform-es2015-object-super/package.json
# packages/babel-plugin-transform-es2015-parameters/package.json
# packages/babel-plugin-transform-es2015-shorthand-properties/package.json
# packages/babel-plugin-transform-es2015-sticky-regex/package.json
# packages/babel-plugin-transform-es2015-unicode-regex/package.json
# packages/babel-plugin-transform-es5-property-mutators/package.json
# packages/babel-plugin-transform-exponentiation-operator/package.json
# packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/opaque-type-alias/expected.js
# packages/babel-plugin-transform-object-rest-spread/package.json
# packages/babel-plugin-transform-object-rest-spread/src/index.js
# packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest/nested-2/expected.js
# packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest/nested/expected.js
# packages/babel-plugin-transform-proto-to-assign/package.json
# packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export-default/expected.js
# packages/babel-plugin-transform-react-constant-elements/test/fixtures/constant-elements/regression-node-type-export/expected.js
# packages/babel-plugin-transform-react-display-name/package.json
# packages/babel-plugin-transform-react-display-name/src/index.js
# packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/assignment-expression/expected.js
# packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/nested/expected.js
# packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/object-property/expected.js
# packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/variable-declarator/expected.js
# packages/babel-plugin-transform-react-jsx-compat/package.json
# packages/babel-plugin-transform-react-jsx/package.json
# packages/babel-plugin-transform-regenerator/package.json
# packages/babel-plugin-transform-regenerator/test/fixtures/regression/6733/expected.js
# packages/babel-plugin-transform-regenerator/test/fixtures/regression/T7041/expected.js
# packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/expected.js
# packages/babel-plugin-transform-runtime/README.md
# packages/babel-plugin-transform-runtime/test/fixtures/runtime/custom-runtime/expected.js
# packages/babel-plugin-transform-runtime/test/fixtures/runtime/full/expected.js
# packages/babel-plugin-transform-runtime/test/fixtures/runtime/regenerator-runtime/expected.js
# packages/babel-plugin-transform-strict-mode/package.json
# packages/babel-polyfill/package.json
# packages/babel-preset-es2015/package.json
# packages/babel-preset-es2016/package.json
# packages/babel-preset-es2017/package.json
# packages/babel-preset-latest/package.json
# packages/babel-preset-react/package.json
# packages/babel-preset-stage-0/package.json
# packages/babel-preset-stage-1/package.json
# packages/babel-preset-stage-2/package.json
# packages/babel-preset-stage-3/package.json
# packages/babel-register/README.md
# packages/babel-register/package.json
# packages/babel-runtime/package.json
# packages/babel-template/package.json
# packages/babel-traverse/package.json
# packages/babel-traverse/src/scope/lib/renamer.js
# packages/babel-traverse/test/evaluation.js
# packages/babel-traverse/test/replacement.js
# packages/babel-types/README.md
# packages/babel-types/package.json
# packages/babel-types/src/converters.js
# packages/babel-types/src/definitions/core.js
# packages/babel-types/src/definitions/es2015.js
# packages/babel-types/src/definitions/flow.js
# packages/babel-types/test/converters.js
# packages/babel-types/test/validators.js
# scripts/generate-interfaces.js
# yarn.lock
2017-08-31 17:44:17 +02:00
Brandon Max
84580cc2d1
Refactor es2015-loose and es2015-no-commonjs presets to use preset op… ( #6168 )
2017-08-30 00:02:54 -04:00
Daniel Lo Nigro
93cf26abca
Fix babel-standalone for realz ( #6137 )
...
* Fix babel-standalone
* Fix infinite loop in Makefile (oops)
* Override Node.js module resolution to handle babel-core
2017-08-22 13:46:30 -07:00
Astha Sharma
62c22c7b5d
Removed the deprecated jsx pragma detection code ( #6145 )
...
* Removed the deprecated jsx pragma detection code and the concerned tests that included jsx-pragma
* Removed extra tests
* Restored packages/babel-plugin-transform-react-jsx/test/fixtures/react/honor-custom-jsx-pragma-option/
2017-08-22 15:29:06 -04:00
Bryan Wain
63baaa7148
add --config-file option to CLI to pass in .babelrc location ( #6133 )
2017-08-22 13:58:24 -04:00
Sangboak Lee
c6a094a9d2
Split export extensions into 2 different plugins, update stage presets ( #6080 )
2017-08-19 09:35:40 -04:00
Daniel Lo Nigro
a04c18af71
Move babel-standalone into main Babel repo ( #6029 )
...
* Move babel-standalone into main Babel repo
* Don't try to gather coverage data for babel-standalone test
* Fix JSX test
* Always use npm v4 on Travis
* Include pull request number as part of version number
* Cherry-picking 5721b2e43e
Remove deprecated packages to prevent Babel v6 files from being pulled in
* Use RootMostResolvePlugin to dedupe packages
* Avoid destructuring so the build works on archaic Node.js versions
* - Fix version number
- Remove Babili packages (they should be in separate babili-standalone)
- Remove deprecated syntax-class-constructor-call
* - Remove more Babili packages
- Remove `babel-plugin-inline-replace-variables` for now as it pulls in Babel 6 stuff
* Actually remove reference to babel-plugin-undeclared-variables-check
* Add Babylon to root package.json so we hoist the right version. This fixes the tests.
2017-08-11 23:36:19 -07:00
Henry Zhu
f667f07d82
update to alpha.18 ( #6062 )
2017-08-07 21:15:20 -04:00
Henry Zhu
94f54da30b
lockfile [skip ci]
2017-08-07 20:01:33 -04:00
Henry Zhu
7f92e1d9dd
Update gulp, fix build ( #6061 )
...
* gulp-babel 7.0
2017-08-07 17:09:22 -04:00
Henry Zhu
66ec5263a4
Use Yarn Workspaces ( #6056 )
...
* update lerna and lerna-changelog
* Lerna: enable yarn, yarn workspaces [skip ci]
* use older version of Babel since it matches on semver (cannot be the same version)
* install yarn version
* revert node engine change
* update flow
* circle ci on 8
* update lock
2017-08-05 14:48:15 -04:00
Henry Zhu
99ab2b206c
update to alpha.18 ( #6050 )
2017-08-03 20:40:53 -04:00
Henry Zhu
77cfa94682
yarn: fix ci?
2017-08-03 20:02:31 -04:00
Henry Zhu
d479673074
prepublish [skip ci]
2017-08-03 18:18:36 -04:00
Henry Zhu
f01438e9b1
update devdeps to latest, update babylon ( #6012 )
...
* temporary flow strip measure
2017-07-26 07:57:49 -04:00
Henry Zhu
76060bb2c7
commit yarn.lock
2017-07-25 17:10:10 -04:00
Daniel Tschinder
19c4dd2d8c
Update chai to 4.x ( #6002 )
2017-07-24 15:19:32 -04:00
Daniel Tschinder
b081f68e87
Update output-file-sync to 2.0 ( #5996 )
...
* Update output-file-sync to 2.0
* Ignore test tmp directory
2017-07-23 09:21:51 -04:00
Daniel Tschinder
04b4e414ad
Fix clean to remove package-lock files ( #5991 )
...
Otherweise the same versions get installed over an over again in
dev environments
2017-07-23 09:20:36 -04:00