227 Commits

Author SHA1 Message Date
Sergey Rubanov
b978996ba4 Remove add-module-exports use internally (#5131) 2017-01-19 23:02:19 -05:00
Sven SAULEAU
51e8fd1868 Update babel-types README (#4905) [skip ci] 2016-11-28 20:22:59 -05:00
Benjamin E. Coe
db67d7fdce Switch to nyc, babel-plugin-istanbul & codecov-node for code coverage (#4885)
* Switch to nyc, babel-plugin-istanbul & codecov-node for code coverage

This setup (very much like Babylon's) let us trace code coverage back to the `src/` directories of packages.

* Exclude package tests from coverage report

* fix: upgrade to version of nyc that tweaks a couple more things for babel

* fix: remove comment based on @hzoo's review
2016-11-28 14:17:52 -05:00
Andrew Levine
7cfe5c13e3 Add TEST_DEBUG env var option for test.sh, to enable node 6 debugger (#4764) 2016-10-23 23:58:25 -04:00
Daniel Tschinder
1dca51f8ab Enable babel for tests (#4564)
* Enable babel for tests

This enables babel for tests by using a mocha compiler
It uses the babel config from package.json
Transformed OptionsManager test to es2015 to see if it works
Removed the 5s timeout from cli tests, as the default timeout is already 10s, this should probably fix the timouts on travis that we had in babylon
Also run the cli tests on travis, they were disabled if istanbul active, but istanbul is always active on travis so we were never running this tests.

* ignore scripts directory

* only register for tests

* Set only flag correctly
2016-10-12 10:56:50 +02:00
Forbes Lindesay
3bc3c9a3ed Babel types docs (#3549)
* Update babel-types documentation

Mostly just re-run generate-babel-types-docs but also update for some
more validator types.

* Rebuild docs as part of "build-dost"

* Include fields not in BUILDER_KEYS in babel-types docs

These fields don’t have a shorthand for you to pass them to the helper
method, but they are still useful to know about.

* Fields not included in BUILDER_KEYS cannot be "required"

We don’t ever type-check fields not in BUILDER_KEYS so they are never
required.
2016-06-27 17:01:58 -04:00
Henry Zhu
d657649031 Use local add-module-exports 2016-04-25 21:53:28 -04:00
Henry Zhu
7bcfa02edd Know how to write good shell scripts 2016-02-08 19:59:34 -05:00
Henry Zhu
fff27b458f Internal: actually fail/exit when flow fails 2016-02-04 18:47:00 -05:00
Henry Zhu
f59faeeeaa only run flow check in CI if npm 3 2016-02-04 11:07:05 -05:00
Sebastian McKenzie
d8445e0e78 Merge pull request #2933 from ForbesLindesay/babel-types-docs
Generate documentation for babel-types
2015-12-12 01:33:48 +11:00
Sebastian McKenzie
f60261eafb update to lerna 2015-12-04 23:23:50 +11:00
Sebastian McKenzie
7ce5c4307a remove travis git scripts - Fixes T6661 2015-11-18 20:41:41 -08:00
Daniel Lo Nigro
0076204f80 Fix Flow.
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.

Closes #3064
2015-11-15 21:30:22 -08:00
Sebastian McKenzie
c0afdfd1a8 remove babel-browser 2015-11-12 14:20:09 -08:00
Sebastian McKenzie
6530d565d9 fix ship method 2015-11-12 14:10:36 -08:00
Sebastian McKenzie
18e419db50 ignore duplicate publish errors 2015-11-12 13:40:10 -08:00
Sebastian McKenzie
9be985c712 add retries 2015-11-12 13:33:02 -08:00
Sebastian McKenzie
5c22a23754 perform package publish in series rather than parallel 2015-11-12 12:00:59 -08:00
Sebastian McKenzie
445e914c4e remove VERSION rollback 2015-11-11 23:37:37 -08:00
Sebastian McKenzie
b6515634c7 clean up tag creation and removal 2015-11-11 23:37:02 -08:00
Sebastian McKenzie
7791de81c1 fix async parallelLimit in publish script 2015-11-11 23:32:21 -08:00
Sebastian McKenzie
cfdc2b7268 add missing async declaration 2015-11-11 23:28:33 -08:00
Sebastian McKenzie
562023726f move up changedPackages declaration 2015-11-11 23:27:44 -08:00
Sebastian McKenzie
afe12412a8 add npm owners 2015-11-11 23:24:39 -08:00
Sebastian McKenzie
a203596e0c make publish script parallel 2015-11-11 23:24:35 -08:00
Sebastian McKenzie
65dc981ce9 remove longest name detection and just use 50 2015-11-11 02:52:42 -08:00
Sebastian McKenzie
6f7a81c30d add tagging to npm publish to prevent publish racing 2015-11-11 02:52:14 -08:00
ForbesLindesay
650cb22fd8 s/aliases/Aliases:/ 2015-11-10 10:34:36 +00:00
ForbesLindesay
4f9bff0c6b Generate documentation for babel-types 2015-11-10 10:34:36 +00:00
Sebastian McKenzie
8b424452a2 remove open command from test-cov 2015-11-09 18:11:13 -08:00
Sebastian McKenzie
0df276272a add progress bar to bootstrap script and clean up the output 2015-11-08 23:04:29 -08:00
Sebastian McKenzie
9d43776fbe add dummy package.json output to bootstrap script 2015-11-06 21:03:22 -05:00
Sebastian McKenzie
4d1145f872 add make build to bootstrap script again 2015-11-05 12:45:04 +00:00
Sebastian McKenzie
f16f88d6bb add concurrency to bootstrap script 2015-11-05 12:28:00 +00:00
Sebastian McKenzie
35b5ff103c fix mocha.opts reference 2015-11-05 10:00:57 +00:00
Sebastian McKenzie
232439460f switch to gulp for build process 2015-11-04 00:00:18 +00:00
Sebastian McKenzie
1e725f4806 add babel-browser package - fixes #2635, closes #2721 2015-11-03 10:43:43 +00:00
Sebastian McKenzie
950f4b2aea ensure package.json files have a newline 2015-10-31 01:02:44 +00:00
Sebastian McKenzie
255288cda5 fix babel-runtime dependencies - fixes #2655 2015-10-30 19:16:42 +00:00
Sebastian McKenzie
9aefb03625 when publishing, don't override 5.x dependencies 2015-10-30 18:13:29 +00:00
Sebastian McKenzie
ae7d5367f1 6.0.0
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
6467bf6809 add script to generate a flow lib file for babel types 2015-10-05 16:42:08 +01:00
Sebastian McKenzie
3e6b76aa41 add support for devDependencies to publish script 2015-10-05 16:41:54 +01:00
Sebastian McKenzie
91f9cfb902 remove browser tests 2015-10-05 16:41:32 +01:00
Sebastian McKenzie
65e059e69b allow local packages to be specified as devDependencies in bootstrap script 2015-10-05 16:41:11 +01:00
Sebastian McKenzie
a86119a5ec update test script mocha.opts location 2015-09-01 05:06:08 +01:00
Sebastian McKenzie
4f2da607b0 add catch to npm uninstall babel in bootstrap 2015-09-01 05:05:59 +01:00
Sebastian McKenzie
5d695482f0 remove build-plugins 2015-09-01 05:05:45 +01:00
Sebastian McKenzie
20bcdc0206 add rollback support to publish script 2015-09-01 04:49:29 +01:00