Commit Graph

36 Commits

Author SHA1 Message Date
Dan Abramov
0aeffe62ef Switch to Yarn Workspaces (#3755)
* Switch to Yarn Workspaces

* Feedback

* Move flowconfig

* Use publish script

* Keep git status check

* Fix Flow without perf penalty

* Remove Flow from package.json "test"

* Try running it from script directly (?)

* Try magic incantations

* lol flow COME ON

* Try to skip Flow on AppVeyor

* -df

* -df

* -df

* Try to fix CI

* Revert unrelated changes

* Update CONTRIBUTING.md
2018-01-12 01:54:53 +00:00
Ade Viankakrisna Fadlil
b02fe66732 clean up changes to npm and yarn registry (#3756) 2018-01-11 23:25:27 +00:00
Joe Haddad
1098a4a177 Oops 2018-01-11 02:21:25 -05:00
Joe Haddad
ebddb83dd6 Remove redundant steps in e2e tests (#3747)
* This doesn't look needed anymore

* Remove unnecessary rebuilds
2018-01-11 01:40:03 -05:00
Joe Haddad
29e06fc91a Follow-up: use private registry (#3746)
* Convert e2e-installs

* Convert kitchensink tests

* Upgrade npm for kitchensink
2018-01-11 01:38:10 -05:00
Dan Abramov
d29d41b3c6 Try to use Yarn in more E2E scripts (#3739)
* Try to use Yarn in more E2E scripts

* Keep using npm pack

* Maybe this will fix Windows?

* Try this
2018-01-11 00:54:49 +00:00
Dan Abramov
dcd8ea6b5c Always use Yarn on CI (#3738) 2018-01-10 23:30:59 +00:00
Dan Abramov
a03524c594 Use latest npm in e2e tests (#3735)
* Use latest npm in e2e tests

* Keep default npm version in "simple" test

* Try to fix CI by using a version that supports Yarn
2018-01-10 21:55:18 +00:00
Joe Lim
231873e948 one-line waiting for app start (#3411)
* one-line waiting for app start

* remove fixed todo
2017-11-05 07:12:50 -05:00
Joe Haddad
de1beec690 Stop using npm link in tests (#3345)
* Try a custom function

* fix path

* install rsync

* Test with node 8

* Ensure package is removed from the tree

* Remove ours

* matching functions

* try cygwin

* try c:/

* sigh

* Try /cygdrive/

* Try /cygdrive/

* Revert "Try /cygdrive/"

This reverts commit ab1ed779456d39bedbdb128a7aec3bb88b8eeb1c.

* Use sub-optimal copy

* Remove rsync install

* Fix variable

* Continue on err

* Don't link react-scripts, lol

* run yarn after eject

* re-enable cleanup

* uninstall yarn

* try with force

* appveyor ... seriously?

* swallow bad eject

* remove eject error swallow

* Revert "run yarn after eject"

This reverts commit eebf1dbc19aeb6e1f66d5ec27bda2d076bea0956.

* Run yarn after eject

* add a comment
2017-10-30 14:18:25 +00:00
Joe Haddad
fedc539246 Fix license comments 2017-09-26 20:15:14 -04:00
Sophie Alpert
2e82ebb337 BSD+Patents -> MIT (#3189)
* File headers BSD+Patents -> MIT

* BSD+Patents -> MIT
2017-09-26 10:30:05 +01:00
Tharaka Wijebandara
89bf273ec8 Link local react-error-overlay package in kitchensink test 2017-09-16 21:15:05 +05:30
Ade Viankakrisna Fadlil
0e064b30ca Revert "run npm 5.4.0 in CI (#3026)" (#3107)
This reverts commit fcb6dc5557.
2017-09-11 21:40:11 -04:00
Ade Viankakrisna Fadlil
fcb6dc5557 run npm 5.4.0 in CI (#3026)
* run npm 5.4.0 in CI

* run npm cache clean with --force in CI

* use link instead of install

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh
2017-09-07 10:47:55 +01:00
Joe Haddad
aad5987a03 Bootstrap with Yarn when available (#2673)
* Bootstrap with Yarn if we can

* Update test scripts

* Check OS and npm concurrency ability

* Windows support

* Update bootstrap.js

* Install yarn before bootstrap
2017-06-29 00:45:45 -04:00
Dan Abramov
657b3fd6c0 Test Node 8 on Travis (#2659)
* Test Node 8 on Travis

We still test Node 7 on AppVeyor

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh

* Update e2e-simple.sh

* Update e2e-simple.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh
2017-06-29 00:09:13 +01:00
Ro Savage
32f82c03cb Added cache clear to e2e scripts (#2400)
* Added cache clear to e2e scripts

* Install latest yarn on AppVeyor to avoid windows crashing bug in yarn

* Alternative fix for yarn crashing e2e tests on windows machines
2017-05-29 19:00:43 +01:00
Ro Savage
e6ddfb0411 Fix kill command in e2e-kitchensink.sh cleanup (#2397) 2017-05-29 11:09:40 +01:00
Dan Abramov
3f342383c3 Revert "Catch "No tests found" during CI" (#2390)
* Revert "Fix wrong path expansion in end-to-end test (#2388)"

This reverts commit 2aafaad72d.

* Revert "Suggest just "yarn build" (#2385)"

This reverts commit 70bf12505c.

* Revert "Catch "No tests found" during CI (#2387)"

This reverts commit 5317b3f910.
2017-05-27 23:26:03 +01:00
Dan Abramov
2aafaad72d Fix wrong path expansion in end-to-end test (#2388)
* Update e2e-kitchensink.sh

* Try again (differently)
2017-05-27 21:38:00 +01:00
Fabrizio Castellarin
5317b3f910 Catch "No tests found" during CI (#2387) 2017-05-27 20:32:12 +01:00
Joe Haddad
f366028031 Fix CI 2017-05-15 13:50:30 -04:00
Joe Haddad
70768b321e Add react-error-overlay package (#2111)
* ༼ つ ◕_◕ ༽つ stack-frame-overlay

* Fix linting

* Remove auto overlay

* Fix e2e

* Pull in the rest

* Appease flow

* Correct dep

* Remove old repo references

* Check flow on test

* Test overlay in e2e

* Add cross env

* Rename package

* Make sure it gets built post-install

* Update the README

* Remove extra builds now that there's a postinstall script

* Revert "Remove extra builds now that there's a postinstall script"

This reverts commit 8bf601dbd36c1e0da7f785fa9ade70ab08ed8772.

* Remove broken script

* Fix some dev ergo
2017-05-10 19:56:30 -04:00
Joe Haddad
a53f22b76d Fix AppVeyor CI (#2010) 2017-04-21 22:05:06 -04:00
Joe Haddad
31243283ab Add linked modules test (#1913) 2017-04-14 23:46:04 -04:00
Ade Viankakrisna Fadlil
4ec5af39ac add double quotes to escape spaces in paths in e2e (#1707)
* add double quotes to escape spaces in path

* Change $* to "$@" props to @n3tr

* escape spaces in path for all e2e tests
2017-03-05 15:42:10 +00:00
Joe Haddad
c7a9daeb80 Fix Jest tests for Cygwin 2017-03-02 22:33:47 -05:00
Joe Haddad
a3a223aa1e Add appveyor.yml (#1648)
* Add appveyor.yml

* Execute mocha directly in e2e test

* Replace e2e process substitution

* Kill nohup node processes after e2e

* Disable known failing Windows test

* Only build master
2017-02-27 18:41:49 -05:00
Dan Abramov
745d341ffb Use Yarn latest in e2e (#1534)
* Use Yarn latest in e2e

* Here too

* And here plz
2017-02-15 00:34:05 +00:00
Marcus R. Brown
f840b4d4ba Fix test -e with wildcard arguments. (#1503)
The `test` command fails with multiple arguments when given a unary operator such as '-e'. Add a function that can test one or more files by looping over all files.
2017-02-12 01:34:15 +00:00
Joe Haddad
12288836e1 Upgrade webpack (#1291)
* Upgrade webpack

* Address more webpack v2 ...

* Update html-webpack-plugin

* Remove LoaderOptionsPlugin from dev config

* ExtractTextPlugin still uses webpack 1 syntax
... and doesn't support complex options (yet)

* Grammar nit

* Update extract text webpack plugin

* - Remove webpack.LoaderOptionsPlugin
- Update deps

* Lerna hoists packages

* Update extract-text-webpack-plugin

* Update webpack-dev-server

* Remove imports for the tests

* stop removing babelrc
2017-02-11 14:11:00 -05:00
Joe Haddad
613b584f42 Add PUBLIC_URL env variable for advanced use (#937) (#1504)
* Add `PUBLIC_URL` env variable for advanced use (#937)
* Add support for `PUBLIC_URL` env variable
* Remove unnecessary duplications
* Simplify served path choice logic
* Honor PUBLIC_URL in development
* Add e2e tests

Enables serving static assets from specified host.
2017-02-09 23:15:15 -05:00
Joe Haddad
adab23fa00 e2e: Reduce complexity of e2e and improve Jest coverage (#1484) 2017-02-07 23:04:01 -05:00
Fabrizio Castellarin
1d586aaf31 E2e jsdom fix (#1470)
* E2E: run tests when react is ready

* Entangle e2e with callbacks

* Remove unused e2e lines
2017-01-30 19:24:12 +00:00
Fabrizio Castellarin
9099570b94 Use a more sophisticated template for end-to-end testing. (#1187)
* Use a more sophisticated template for end-to-end testing.

* Not publish integration tests to npm

* Use "commander" for  cli argv handling

* Handle different scripts version forms and exits without a name given

* Prepare the commands for testing with a template

* Fix dev "template" path

* Add various features to test

* Test various features separately

* Test language features

* Comment unused e2e.sh lines

* Add "development" tests

* Test environment variables

* Test webpack plugins

* Replace kitchensink README

* Switch integration tests from jest to mocha

* Use `fs-extra`

* Use the correct folders

* Do some cleanup

* Print a better message for `--template`

* Test `npm start` with and without https

* Separate fast e2e testing from kitchensink testing

* Hide `--internal-testing-template` (former `--template`) CLI option
2017-01-23 20:43:16 +01:00