Commit Graph

1723 Commits

Author SHA1 Message Date
Kent C. Dodds
3c3547f942 add experimental babel-plugin-macros support (#3675)
* add experimental babel-plugin-macros support

closes #2730

This will remain undocumented until the brave have tried it in the wild.

**Test Plan:**

There's currently no established way to test changes to
`babel-preset-react-app`. But I did create
[`unmaintained-react-scripts-babel-macros`](https://www.npmjs.com/package/unmaintained-react-scripts-babel-macros)
[a while back](https://github.com/facebookincubator/create-react-app/issues/2730#issuecomment-328153982)
and it worked well.

* Pin the version
2018-01-15 00:06:24 -05:00
Andrey Sitnik
0a331710aa Move browsers to cross-tool config (#3644) 2018-01-15 00:06:24 -05:00
Joe Haddad
1f18ab7879 Specify ecma version (#3743) 2018-01-15 00:06:24 -05:00
Ade Viankakrisna Fadlil
ff544949b9 Use uglifyjs-webpack-plugin v1 (#3618) 2018-01-15 00:06:24 -05:00
Dan Abramov
d979964126 Tweak publishing note v1.1.0 2018-01-15 00:55:15 +00:00
Dan
e73a783ef1 Publish
- babel-preset-react-app@3.1.1
 - create-react-app@1.5.0
 - eslint-config-react-app@2.1.0
 - react-dev-utils@5.0.0
 - react-error-overlay@4.0.0
 - react-scripts@1.1.0
babel-preset-react-app@3.1.1 react-dev-utils@5.0.0 eslint-config-react-app@2.1.0 create-react-app@1.5.0 react-error-overlay@4.0.0 react-scripts@1.1.0
2018-01-15 00:53:37 +00:00
Dan Abramov
aa5bdcd05f Changelog for 1.1.0 (#3795) 2018-01-15 00:37:46 +00:00
Dan Abramov
95b26012a4 Tweak section on expanding env variables 2018-01-15 00:36:53 +00:00
Dan Abramov
12d05447b9 Test Node 9 on CI (#3793)
* Test Node 9 on CI

* Oops
2018-01-14 23:57:49 +00:00
Ian Sutherland
b86fe056a3 Add warning when HOST environment variable is set (#3730)
* Add warning when HOST environment variable is set (#3719)

* Improve HOST environment variable warning message

* Adjust text and message

Closes #3719
2018-01-14 14:14:37 -05:00
Dan Abramov
22f9fe0d33 Always include destructuring transform (#3788)
* Always include destructuring transform

* Fix lint
2018-01-14 15:37:00 +00:00
Dan Abramov
1e9eaf3630 Bump detect-port-alt (#3787)
* Bump detect-port-alt

* Bump again
2018-01-14 15:05:38 +00:00
Dan Abramov
77148107d9 Add npx note to quick overview 2018-01-14 11:52:10 +00:00
Dan Abramov
585608e3d6 Update opn (#3784) 2018-01-14 10:24:00 +00:00
Dan Abramov
a3d33c4608 Add an explicit link to Code of Conduct (#3781)
All FB open source projects including this one enforce [our code of conduct](https://code.facebook.com/pages/876921332402685/open-source-code-of-conduct), but I just realized we haven't explicitly linked to it from a Markdown file. So I'm doing just that.
2018-01-14 02:48:15 +00:00
Joe Haddad
238af4b1da Enable Yarn check files (#3769)
* This is a good default.
Adds approx 4 seconds to install time, but can save some headaches.

* Add no lockfile for add, too
2018-01-12 22:14:27 -05:00
Dan Abramov
3f0994775f Pin Lerna 2018-01-12 13:50:42 +00:00
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
Dan Abramov
3f7851deab Try updating Flow (#3757) 2018-01-12 00:01:30 +00:00
Ade Viankakrisna Fadlil
b02fe66732 clean up changes to npm and yarn registry (#3756) 2018-01-11 23:25:27 +00:00
Dan Abramov
4c0bf037d1 Delete old file
It's been here long enough.
2018-01-11 12:35:51 +00:00
Jonathan
89bf2fcc55 Adding some more non-conflicting files to validFiles (#3740) 2018-01-11 12:29:35 +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
Ade Viankakrisna Fadlil
7b881f12e3 move the link for deployment to the bottom (#3736) 2018-01-10 17:43:32 +00:00
Ade Viankakrisna Fadlil
7fd37d35ed add link to deployment docs after build (#3104)
* add link to deployment docs after build

* Update printHostingInstructions.js
2018-01-10 16:51:12 +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
Vladimir Tolstikov
d49744f04c docs: add info about HTTP caching headers into Firebase section (#3659) 2018-01-10 13:02:45 +00:00
Siddharth Doshi
0ec41350db Use proxy for all request methods other than GET (#3726)
* Use proxy for all request methods other than GET

* Add comment
2018-01-10 12:00:03 +00:00
Eli Perelman
91d968f916 Update README.md to note Neutrino's support of react components (#3729) 2018-01-09 23:48:44 +00:00
Jonathan
72b6eb8c3c Cleaning up printHostingInstructions a bit (#3036)
* Replacing literal 'build' with `buildFolder` variable

* Cleaning up the printHostingInstructions a bit

* Fixing undefined variable
2018-01-09 17:41:10 +00:00
Dubes
c162920e7f Documentation to help windows contributors (#2841)
* Added documentation for contributors using windows 10

Hopefully encourages devs on Windows machine to contribute

* corrected the wordings a little
2018-01-09 17:38:54 +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
Sascha Dens
11f09a16aa Extend --scripts-version to include .tar.gz format (#3725)
* Extend --scripts-version to include .tar.gz format

* Removal of debug console.log
2018-01-09 17:34:46 +00:00
Maksym Dogadailo
3a0b836be3 added getProxy (#3320)
* added getProxy

getProxy checks proxy settings from process.env.https_proxy or Yarn (NPM) config (.npmrc)

* changed yarn for npm to get https-proxy 

default value for https-proxy is null, not undefined like in yarn
2018-01-09 17:30:25 +00:00
Ryan McCue
887fd10ed8 Print full directory name from lsof (#3440)
awk splits lines based on spaces, which causes directory names with spaces to end up in other fields. Using a for loop allows us to print from the 9th field onwards instead of just the 9th field.
2018-01-09 16:07:21 +00:00
Moos
dccc752cac fix #2223 - [feature] Implement dotenv-expand to accept variable expa… (#3387)
* fix #2223 - [feature] Implement dotenv-expand to accept variable expansion in dot env files

* add to README TOC

* fix readme

* Update README.md
2018-01-09 16:05:36 +00:00
Trevor Brindle
b507a9aec1 add envinfo package, —info flag (#3408)
* add envinfo package, —info flag

* update envinfo to use new duplicates option
2018-01-09 16:02:15 +00:00
David Boyne
ab507e62f8 Updated babel-preset-react-app README.md (#3463)
Added some more documentation to install the babel-preset-react-app making it more clear on how to get started with this preset outside of create-react-app.
2018-01-09 15:59:26 +00:00
Tao Gómez Gil
373687feaf Add Powershell commands to README.md (#3515) 2018-01-09 15:50:20 +00:00
Andy Kenward
5d154cbcee Travis CI use trusty instead precise (#3661)
It appears trusty has Yarn ^v1.0.0 now.

So (#3054) shouldn’t be an issue changing to trusty. As Travis CI [precise support](https://blog.travis-ci.com/2017-08-31-trusty-as-default-status) will be dropped in March 2018 .
2018-01-09 15:49:48 +00:00
Jonathan
0d716713c4 Allowing "file:<path>" --scripts-version values (#3629)
* Allowing for local "file:" prefixed scripts packages

* Fixing test failure
2018-01-09 15:49:17 +00:00
Tharaka Wijebandara
10b05c7662 Open editor to exact column from build error overlay (#3465)
* Open editor to exact column from build error overlay

* Update launch editor validations
2018-01-09 15:47:22 +00:00
shrynx
85bf3a937b added code-insiders to the editor list (#3652) 2018-01-09 15:46:46 +00:00