Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v1.1.4 #31

Merged
merged 133 commits into from
Apr 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
36cd35d
Refactor extra watch options regex to react-dev-utils (#3362)
xjlim Nov 4, 2017
231873e
one-line waiting for app start (#3411)
xjlim Nov 5, 2017
5b4ff56
Export dismissRuntimeErrors function (#3414)
ovidiuch Nov 5, 2017
4bec877
Improve eject message (#3416)
xjlim Nov 7, 2017
756a9a0
add —use-npm flag to bypass yarn (#3409)
tabrindle Nov 9, 2017
b555192
Explain how to debug tests (#2992)
MattMorgis Nov 14, 2017
801fec2
Fix dead link (#3453)
vannio Nov 15, 2017
daf8df1
Add a localhost-only log message pointing folks to the PWA docs. (#3455)
jeffposnick Nov 15, 2017
47af4b4
Fix broken link to href-no-hash eslint rule (#3460)
hazolsky Nov 17, 2017
657d145
Fix misspelling (#3468)
Nov 19, 2017
c789794
Fix run-time error unregistering (#3474)
Timer Nov 21, 2017
032e621
Update Prettier editor integration link (#3503)
gaving Nov 25, 2017
733ba3a
Add link to nvm-windows (#3489)
davidgilbertson Nov 27, 2017
770fdf4
Update User Guide with deploying to GitHub User pages (#3510)
aaronlna Nov 27, 2017
9af0422
Unmount the App in the default test (#3511)
gaearon Nov 27, 2017
af291f3
Add mjs and jsx filename extensions to file-loader exclude pattern (#…
iansu Dec 7, 2017
a1c5b8f
Updates comment to reflect codebase (#3576)
rahulcs Dec 11, 2017
bd682de
Fixed typo in webpack.config.dev.js (#3601)
nmenglund Dec 15, 2017
ed5c48c
Updated Debugging Tests for VSCode (#3605)
amadeogallardo Dec 18, 2017
76e3165
Use friendlier syntax for setting env var on Windows (#3533)
cdanielsen Jan 2, 2018
5d7845a
Update README.md (#3645)
elie222 Jan 2, 2018
12120f6
Fix typo in the User Guide (#3670)
qbahers Jan 2, 2018
8cae659
Fix path regex match bug (#3686)
Norris1z Jan 4, 2018
bb71830
Document adding a router (#3709)
gaearon Jan 8, 2018
ece9523
Link to an explanation for forking react-scripts (#3710)
gaearon Jan 8, 2018
1c9301a
Add a section on supported browsers
gaearon Jan 8, 2018
1908dd1
Link to a new user guide section
gaearon Jan 8, 2018
f175c90
Link to section about routing
gaearon Jan 8, 2018
5537126
Link to React docs
gaearon Jan 8, 2018
4f0cdcf
Fix the router doc
gaearon Jan 8, 2018
16934fa
Add a section on publishing components to npm
gaearon Jan 8, 2018
8bb7291
on -> to
gaearon Jan 8, 2018
6c594ad
Link to a new help section
gaearon Jan 8, 2018
0ce8185
Use npx in README
gaearon Jan 8, 2018
43e794d
Add a link to an overview
gaearon Jan 8, 2018
7f081ad
Rewrite README
gaearon Jan 8, 2018
965eddc
Update README.md
gaearon Jan 8, 2018
5e2290b
Update README.md
gaearon Jan 8, 2018
4bbff3b
Update README.md
gaearon Jan 8, 2018
b2f48ce
Update README.md
gaearon Jan 8, 2018
7ecbc02
Update README.md
gaearon Jan 8, 2018
58e31f9
Update readme.md (#3712)
iamclaytonray Jan 8, 2018
077dc22
Update README.md
gaearon Jan 8, 2018
1b067c5
Autodetect MacVim editor (#3545)
gnapse Jan 8, 2018
419e4d8
Add a note about Babel
gaearon Jan 8, 2018
ce07e98
Relax no-cond-assign rule (#3716)
gaearon Jan 8, 2018
5e2c051
Update README.md (#3717)
maecapozzi Jan 8, 2018
3a009b3
Document NODE_PATH
gaearon Jan 8, 2018
8234e46
Add missing TOC entries
gaearon Jan 8, 2018
9d13edc
Add missing TOC entry
gaearon Jan 8, 2018
21d0723
Be clearer
gaearon Jan 8, 2018
1c8a7f3
Document that src/setupTests.js doesn't work if created after ejecting
gaearon Jan 8, 2018
e3e8cdd
Support setting none in REACT_EDITOR env variable (#3721)
raerpo Jan 9, 2018
d3a1765
Update the string that clears the console. (#2071)
Jan 9, 2018
d1adff0
Document AJAX requests
gaearon Jan 9, 2018
ea1b81b
Add data fetching doc to TOC
gaearon Jan 9, 2018
c603470
Add link for automatic deployment to azure (#1791)
ulrikstrid Jan 9, 2018
bef40ee
Add editor support for Sublime Dev & VSCode Insiders (#3700)
yyx990803 Jan 9, 2018
d61a331
Fix asset size comparison for multi build stats (#3514)
iiska Jan 9, 2018
fd1a244
Fix typo (#3478)
davidgilbertson Jan 9, 2018
344ddfa
Add SVG asciicast (#3677)
marionebl Jan 9, 2018
5a0b1ef
Better documentation for setupTests.js when ejecting (#3656)
dannycalleri Jan 9, 2018
85bf3a9
added code-insiders to the editor list (#3652)
shrynx Jan 9, 2018
10b05c7
Open editor to exact column from build error overlay (#3465)
tharakawj Jan 9, 2018
0d71671
Allowing "file:<path>" --scripts-version values (#3629)
GreenGremlin Jan 9, 2018
5d154cb
Travis CI use trusty instead precise (#3661)
andykenward Jan 9, 2018
373687f
Add Powershell commands to README.md (#3515)
Gua-naiko-che Jan 9, 2018
ab507e6
Updated babel-preset-react-app README.md (#3463)
boyney123 Jan 9, 2018
b507a9a
add envinfo package, —info flag (#3408)
tabrindle Jan 9, 2018
dccc752
fix #2223 - [feature] Implement dotenv-expand to accept variable expa…
moos Jan 9, 2018
887fd10
Print full directory name from lsof (#3440)
rmccue Jan 9, 2018
3a0b836
added getProxy (#3320)
mdogadailo Jan 9, 2018
11f09a1
Extend --scripts-version to include .tar.gz format (#3725)
SaschaDens Jan 9, 2018
b20b96a
Port cra.sh development task to javascript (#2309)
ianschmitz Jan 9, 2018
c162920
Documentation to help windows contributors (#2841)
Dubes Jan 9, 2018
72b6eb8
Cleaning up printHostingInstructions a bit (#3036)
GreenGremlin Jan 9, 2018
91d968f
Update README.md to note Neutrino's support of react components (#3729)
eliperelman Jan 9, 2018
0ec4135
Use proxy for all request methods other than GET (#3726)
sidoshi Jan 10, 2018
d49744f
docs: add info about HTTP caching headers into Firebase section (#3659)
bobrosoft Jan 10, 2018
70b3a4d
Lint against files with old license (#3361)
gaearon Jan 10, 2018
7fd37d3
add link to deployment docs after build (#3104)
viankakrisna Jan 10, 2018
7b881f1
move the link for deployment to the bottom (#3736)
viankakrisna Jan 10, 2018
a03524c
Use latest npm in e2e tests (#3735)
gaearon Jan 10, 2018
dcd8ea6
Always use Yarn on CI (#3738)
gaearon Jan 10, 2018
d29d41b
Try to use Yarn in more E2E scripts (#3739)
gaearon Jan 11, 2018
99c14e7
Separate old Node E2E test (#3742)
gaearon Jan 11, 2018
75d71e1
Use private registry (#3744)
Timer Jan 11, 2018
29e06fc
Follow-up: use private registry (#3746)
Timer Jan 11, 2018
ebddb83
Remove redundant steps in e2e tests (#3747)
Timer Jan 11, 2018
1098a4a
Oops
Timer Jan 11, 2018
89bf2fc
Adding some more non-conflicting files to validFiles (#3740)
GreenGremlin Jan 11, 2018
4c0bf03
Delete old file
gaearon Jan 11, 2018
b02fe66
clean up changes to npm and yarn registry (#3756)
viankakrisna Jan 11, 2018
3f7851d
Try updating Flow (#3757)
gaearon Jan 12, 2018
0aeffe6
Switch to Yarn Workspaces (#3755)
gaearon Jan 12, 2018
3f09947
Pin Lerna
gaearon Jan 12, 2018
238af4b
Enable Yarn check files (#3769)
Timer Jan 13, 2018
a3d33c4
Add an explicit link to Code of Conduct (#3781)
gaearon Jan 14, 2018
585608e
Update opn (#3784)
gaearon Jan 14, 2018
7714810
Add npx note to quick overview
gaearon Jan 14, 2018
1e9eaf3
Bump detect-port-alt (#3787)
gaearon Jan 14, 2018
22f9fe0
Always include destructuring transform (#3788)
gaearon Jan 14, 2018
b86fe05
Add warning when HOST environment variable is set (#3730)
iansu Jan 14, 2018
12d0544
Test Node 9 on CI (#3793)
gaearon Jan 14, 2018
95b2601
Tweak section on expanding env variables
gaearon Jan 15, 2018
aa5bdcd
Changelog for 1.1.0 (#3795)
gaearon Jan 15, 2018
e73a783
Publish
gaearon Jan 15, 2018
d979964
Tweak publishing note
gaearon Jan 15, 2018
2bf0929
pin envinfo version to 3.4.2 (#3853)
bondz Jan 18, 2018
034c6ad
1.5.1
gaearon Jan 18, 2018
bab2c29
Set the public path to the asset manifest entries (#2544)
robinvdvleuten Jan 20, 2018
eee2907
Include `{json,css}` files in prettier command (#3894)
reyronald Jan 22, 2018
815853d
Update instructions for continuous delivery with Netlify (#3971)
hubgit Feb 4, 2018
32ea0c0
Update dotenv-expand to fix bug with environment variables that conta…
iansu Feb 9, 2018
09d216e
Unpin and bump fsevents (for 1.x branch) (#4006)
gaearon Feb 9, 2018
984d661
Add 1.1.1 changelog
gaearon Feb 9, 2018
1a9722f
Revert "Set the public path to the asset manifest entries (#2544)"
gaearon Feb 9, 2018
0b1d636
Publish
gaearon Feb 9, 2018
c6375ed
`.mjs` should not resolve before .js files (#4085)
leebyron Mar 22, 2018
cb1608b
Add troubleshooting for Github Pages (#4197)
Mar 23, 2018
780a457
Add 1.1.2 changelog (#4242)
gaearon Apr 2, 2018
609aeea
Publish
gaearon Apr 2, 2018
d639e90
Work around Jest environment resolving bug (#4247)
gaearon Apr 3, 2018
f040d85
Changelog for 1.1.3
gaearon Apr 3, 2018
408db51
Publish
gaearon Apr 3, 2018
110fded
Update detect-port-alt (#4250)
Timer Apr 4, 2018
305bd70
Changelog for 1.1.4
Timer Apr 4, 2018
dfbc71c
Publish
Timer Apr 4, 2018
c569c36
Add back in publicPath override in webpack dev
frank-west-iii Apr 23, 2018
7facd46
Merge tag 'v1.1.4' into chores/cra-1.1.4
frank-west-iii Apr 23, 2018
c5e5f11
Update eslint-config-zeal
frank-west-iii Apr 23, 2018
8705835
Pull in formatted code from upstream
frank-west-iii Apr 24, 2018
ff0bebd
Remove duplicate polyfill require
frank-west-iii Apr 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
# Use Ubuntu Precise instead of new default Trusty which cause build fail
# with pre installed yarn v0.17.8
# https://github.com/facebookincubator/create-react-app/issues/3054
# TODO: remove after Trusty environment is updated with a lastet version of yarn
dist: precise
dist: trusty
language: node_js
node_js:
- 6
- 8
- 9
cache:
directories:
- node_modules
Expand All @@ -18,18 +14,15 @@ script:
- 'if [ $TEST_SUITE = "simple" ]; then tasks/e2e-simple.sh; fi'
- 'if [ $TEST_SUITE = "installs" ]; then tasks/e2e-installs.sh; fi'
- 'if [ $TEST_SUITE = "kitchensink" ]; then tasks/e2e-kitchensink.sh; fi'
- 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
env:
global:
- USE_YARN=no
matrix:
- TEST_SUITE=simple
- TEST_SUITE=installs
- TEST_SUITE=kitchensink
matrix:
include:
- node_js: 0.10
env: TEST_SUITE=simple
# There's a weird Yarn/Lerna bug related to prerelease versions.
# TODO: reenable after we ship 1.0.
# - node_js: 6
# env: USE_YARN=yes TEST_SUITE=simple
env: TEST_SUITE=old-node
- node_js: 6
env: TEST_SUITE=kitchensink
3 changes: 3 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--install.no-lockfile true
--install.check-files true
--add.no-lockfile true
309 changes: 309 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://code.facebook.com/pages/876921332402685/open-source-code-of-conduct) so that you can understand what actions will and will not be tolerated.
29 changes: 21 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,40 @@ All functionality must be retained (and configuration given to the user) if they

1. Clone the repo with `git clone https://github.com/facebookincubator/create-react-app`

2. Run `npm install` in the root `create-react-app` folder.
2. Run `yarn` in the root `create-react-app` folder.

Once it is done, you can modify any file locally and run `npm start`, `npm test` or `npm run build` just like in a generated project.
Once it is done, you can modify any file locally and run `yarn start`, `yarn test` or `yarn build` just like in a generated project.

If you want to try out the end-to-end flow with the global CLI, you can do this too:

```
npm run create-react-app my-app
yarn create-react-app my-app
cd my-app
```

and then run `npm start` or `npm run build`.

*Note: if you are using yarn, we suggest that you use `yarn install --no-lockfile` instead of the bare `yarn` or `yarn install` because we [intentionally](https://github.com/facebookincubator/create-react-app/pull/2014#issuecomment-300811661) do not ignore or add yarn.lock to our repo.*
and then run `yarn start` or `yarn build`.

## Contributing to E2E (end to end) tests

**TL;DR** use the command `yarn e2e:docker` to run unit and e2e tests.

More detailed information are in the dedicated [README](/packages/react-scripts/fixtures/kitchensink/README.md).

## Tips for contributors using Windows

The scripts in tasks folder and other scripts in `package.json` will not work in Windows out of the box. However, using [Bash on windows](https://msdn.microsoft.com/en-us/commandline/wsl/about) makes it easier to use those scripts without any workarounds. The steps to do so are detailed below:

### Install Bash on Ubuntu on Windows

A good step by step guide can be found [here](https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/)

### Install Node.js and yarn
Even if you have node and yarn installed on your windows, it would not be accessible from the bash shell. You would have to install it again. Installing via [`nvm`](https://github.com/creationix/nvm#install-script) is recommended.

### Line endings

By default git would use `CRLF` line endings which would cause the scripts to fail. You can change it for this repo only by setting `autocrlf` to false by running `git config core.autocrlf false`. You can also enable it for all your repos by using the `--global` flag if you wish to do so.

## Cutting a Release

1. Tag all merged pull requests that go into the release with the relevant milestone. Each merged PR should also be labeled with one of the [labels](https://github.com/facebookincubator/create-react-app/labels) named `tag: ...` to indicate what kind of change it is.
Expand All @@ -104,11 +117,11 @@ More detailed information are in the dedicated [README](/packages/react-scripts/
4. Note that files in `packages/create-react-app` should be modified with extreme caution. Since it’s a global CLI, any version of `create-react-app` (global CLI) including very old ones should work with the latest version of `react-scripts`.
5. Create a change log entry for the release:
* You'll need an [access token for the GitHub API](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Save it to this environment variable: `export GITHUB_AUTH="..."`
* Run `npm run changelog`. The command will find all the labeled pull requests merged since the last release and group them by the label and affected packages, and create a change log entry with all the changes and links to PRs and their authors. Copy and paste it to `CHANGELOG.md`.
* Run `yarn changelog`. The command will find all the labeled pull requests merged since the last release and group them by the label and affected packages, and create a change log entry with all the changes and links to PRs and their authors. Copy and paste it to `CHANGELOG.md`.
* Add a four-space indented paragraph after each non-trivial list item, explaining what changed and why. For each breaking change also write who it affects and instructions for migrating existing code.
* Maybe add some newlines here and there. Preview the result on GitHub to get a feel for it. Changelog generator output is a bit too terse for my taste, so try to make it visually pleasing and well grouped.
6. Make sure to include “Migrating from ...” instructions for the previous release. Often you can copy and paste them.
7. **Do not run `npm publish`. Instead, run `npm run publish`.**
7. Run `npm run publish`. (It has to be `npm run publish` exactly, not just `npm publish` or `yarn publish`.)
8. Wait for a long time, and it will get published. Don’t worry that it’s stuck. In the end the publish script will prompt for versions before publishing the packages.
9. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.

Expand Down
Loading