Commit Graph

96 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
Joe Haddad
75d71e1541 Use private registry (#3744)
* Run e2e-simple in a realistic scenario

* Use npx for everything

* oops
2018-01-11 00:49:39 -05:00
Dan Abramov
99c14e710f Separate old Node E2E test (#3742)
* Separate old Node E2E test

* Try this for old node
2018-01-11 01:55:55 +00: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
Dan Abramov
70b3a4db89 Lint against files with old license (#3361)
* Lint against files with old license

* Update e2e-simple.sh

* Update e2e-simple.sh

* oh no
2018-01-10 16:24:27 +00:00
Ian Schmitz
b20b96a971 Port cra.sh development task to javascript (#2309)
* Port cra.sh development task to javascript

* Port cra.sh development task to javascript

Use absolute path when generating .tgz path
2018-01-09 17:38:33 +00:00
Trevor Brindle
756a9a0fa8 add —use-npm flag to bypass yarn (#3409)
* add —use-npm flag to bypass yarn

* add e2e test for —use-npm flag
2017-11-09 14:03:40 -05: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 Lim
36cd35d684 Refactor extra watch options regex to react-dev-utils (#3362)
* extra watch options regex to react-dev-utils

* fix regex

* add test

* fix eslint error

* include react-dev-utils test in CI script

* attempt to fix import error

* attempt to fix error on CI

* Update .eslintrc
2017-11-03 22:23:31 -04: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
Dan Abramov
9559ba486e Put react-scripts in dependencies, not devDependencies (#2657)
* Put react-scripts in dependencies, not devDependencies

* Sort dependencies on eject

* Remove CI check
2017-06-28 14:04:26 +01:00
Fabrizio Castellarin
1f91848d51 E2E testing enhancements (#2408)
* Local testing with docker

* Docs on e2e testing

* `bash` callback after docker

* Add a TL;DR in the CONTRIBUTING section

* Local e2e testing with modified files

* Remove the N.B. from the README

* Fixed a fixme in e2e doc
2017-06-26 17:34:03 +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
Dan Abramov
812658a14d 1.0.4 changelog 2017-05-22 12:42:23 +01:00
Joe Haddad
c27d765014 Test module scoping (#2198)
* Correct readme

* Add tests

* Update README.md
2017-05-17 14:52:55 -05:00
Dan Abramov
5ecda24f76 Unpin Yarn (#2124)
* Unpin Yarn

* Try 0.24.2

* Update e2e-simple.sh
2017-05-15 21:04:02 +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
Ian Schmitz
f35593c12d Bump minimal Node version to 6 (#1897)
* Bump minimal Node version to 4.7.0

* Bump minimal Node version to 4.7.0

Modified additional files that needed a bump to 4.7.0 minimum node version

* Bump minimal Node version to 4.7.0

Reverse changes to packages/create-react-app/index.js as this file needs to continue to work on Node 0.10+

* Bump minimal node version to 6

* Bump minimal node version to 6

* Bump minimal node version to 6
2017-05-09 11:11:31 +01:00
Dan Abramov
f1563b98b0 Temporarily pin Yarn to fix CI 2017-05-03 16:40:47 +01: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
Lorenzo Palmes
1e1a3cbf10 Test for accidental extraneous dependencies (#1825)
* Added test to check for accidental dependencies

* Refactored test into a function

* Removed non capturing group from grep

* Update e2e-installs.sh
2017-03-23 19:49:05 -04:00
Dan Abramov
1bfd5dafdf Fix internal linting setup and add missing headers (#1741) 2017-03-06 14:20:29 +00:00
Joe Haddad
3fa5e8e7d7 Properly extract package name for installing tgz of scoped packages (#1706)
* Properly extract package name

* Download package if need be ...

* Oops

* Add e2e test based on #1537, but without specific filename

* Pass packageName through promises

A little bit more verbose but explicit and doesn't rely on shared mutable state.

* Fix up directory name in test

* Tweak failure message

* Fix lint
2017-03-05 23:45:29 +00:00
Dan Abramov
2f7e3a2168 Lint internal scripts with eslint:recommended (#1729)
* Lint internal scripts with eslint:recommended

* Warnings r bad
2017-03-05 22:29:28 +00:00
Mato Ilic
5414cff033 Create empty package.json in e2e test (#1401) (#1402)
* Create empty package.json in e2e test

Create empty package.json in e2e test while installing packaged CLI to prevent installation issues.

* Use "npm init" to initialize package.json instead of just writing an empty object into it.

* Fix typo
2017-03-05 17:13:26 +00: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
43139bc093 Re-enable e2e-install directory test 2017-03-01 20:11:08 -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
Joe Haddad
a1858c7b38 Fix e2e-simple (cont.) 2017-02-27 18:39:41 -05:00
Joe Haddad
d0695f7d5d Fix e2e when used with cold cache (#1667)
Resolves #1666
2017-02-27 10:46:42 -05:00