Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/create-react-app
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.17
Choose a base ref
...
head repository: facebook/create-react-app
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref

Commits on Nov 4, 2017

  1. 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
    xjlim authored and Timer committed Nov 4, 2017
    Copy the full SHA
    36cd35d View commit details

Commits on Nov 5, 2017

  1. one-line waiting for app start (#3411)

    * one-line waiting for app start
    
    * remove fixed todo
    xjlim authored and Timer committed Nov 5, 2017
    Copy the full SHA
    231873e View commit details
  2. Copy the full SHA
    5b4ff56 View commit details

Commits on Nov 7, 2017

  1. Improve eject message (#3416)

    * improve eject message
    
    * cross os implementation
    xjlim authored and Timer committed Nov 7, 2017
    Copy the full SHA
    4bec877 View commit details

Commits on Nov 9, 2017

  1. add —use-npm flag to bypass yarn (#3409)

    * add —use-npm flag to bypass yarn
    
    * add e2e test for —use-npm flag
    tabrindle authored and Timer committed Nov 9, 2017
    Copy the full SHA
    756a9a0 View commit details

Commits on Nov 14, 2017

  1. Explain how to debug tests (#2992)

    * docs: adding section about debugging tests
    
    * docs: removing node-inspector references
    
    * docs: replacing terminal command with npm script
    
    * Update README.md
    MattMorgis authored and Timer committed Nov 14, 2017
    Copy the full SHA
    b555192 View commit details

Commits on Nov 15, 2017

  1. Fix dead link (#3453)

    Fix another dead link
    vannio authored and gaearon committed Nov 15, 2017
    Copy the full SHA
    801fec2 View commit details
  2. Copy the full SHA
    daf8df1 View commit details

Commits on Nov 17, 2017

  1. Fix broken link to href-no-hash eslint rule (#3460)

    This fixes the broken link to removed `href-no-hash.md` file, that is no longer available in the [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) plugin (since [6.0.0](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/a14617528cda23c6c88902ace1d083e4e13ac271/CHANGELOG.md))
    hazolsky authored and Timer committed Nov 17, 2017
    Copy the full SHA
    47af4b4 View commit details

Commits on Nov 19, 2017

  1. Fix misspelling (#3468)

    JANG SUN HYUK authored and gaearon committed Nov 19, 2017
    Copy the full SHA
    657d145 View commit details

Commits on Nov 21, 2017

  1. Copy the full SHA
    c789794 View commit details

Commits on Nov 25, 2017

  1. Copy the full SHA
    032e621 View commit details

Commits on Nov 27, 2017

  1. Add link to nvm-windows (#3489)

    davidgilbertson authored and Timer committed Nov 27, 2017
    Copy the full SHA
    733ba3a View commit details
  2. Copy the full SHA
    770fdf4 View commit details
  3. Copy the full SHA
    9af0422 View commit details

Commits on Dec 7, 2017

  1. Copy the full SHA
    af291f3 View commit details

Commits on Dec 11, 2017

  1. Updates comment to reflect codebase (#3576)

    the code got updated from `detect()` to `choosePort` while the comment did not.
    rahulcs authored and Timer committed Dec 11, 2017
    Copy the full SHA
    a1c5b8f View commit details

Commits on Dec 15, 2017

  1. Fixed typo in webpack.config.dev.js (#3601)

    Replaced `it's` with `its`
    nmenglund authored and Timer committed Dec 15, 2017
    Copy the full SHA
    bd682de View commit details

Commits on Dec 18, 2017

  1. Updated Debugging Tests for VSCode (#3605)

    The launch configuration code provided is not compatible with VSCode since version 1.19.
    The proposed documentation change is based on the response by a VSCode team member.
    
    References:
    #3602 (comment)
    microsoft/vscode#40293 (comment)
    amadeogallardo authored and Timer committed Dec 18, 2017
    Copy the full SHA
    ed5c48c View commit details

Commits on Jan 2, 2018

  1. Use friendlier syntax for setting env var on Windows (#3533)

    * use safer/more aesthetic syntax
    
    * fix typo
    cdanielsen authored and Timer committed Jan 2, 2018
    Copy the full SHA
    76e3165 View commit details
  2. Update README.md (#3645)

    elie222 authored and Timer committed Jan 2, 2018
    Copy the full SHA
    5d7845a View commit details
  3. Fix typo in the User Guide (#3670)

    Replace `provide a lot value` with `provide a lot of value`.
    qbahers authored and Timer committed Jan 2, 2018
    Copy the full SHA
    12120f6 View commit details

Commits on Jan 4, 2018

  1. Fix path regex match bug (#3686)

    * Fix path regex match bug
    
    * Use the escape-string-regexp package to escape regex characters
    
    * Remove redundant character escape from path
    
    * Add removed escape of backslashes
    Norris1z authored and Timer committed Jan 4, 2018
    Copy the full SHA
    8cae659 View commit details

Commits on Jan 8, 2018

  1. Copy the full SHA
    bb71830 View commit details
  2. Copy the full SHA
    ece9523 View commit details
  3. Copy the full SHA
    1c9301a View commit details
  4. Copy the full SHA
    1908dd1 View commit details
  5. Copy the full SHA
    f175c90 View commit details
  6. Link to React docs

    gaearon authored Jan 8, 2018
    Copy the full SHA
    5537126 View commit details
  7. Fix the router doc

    gaearon authored Jan 8, 2018
    Copy the full SHA
    4f0cdcf View commit details
  8. Copy the full SHA
    16934fa View commit details
  9. on -> to

    gaearon authored Jan 8, 2018
    Copy the full SHA
    8bb7291 View commit details
  10. Link to a new help section

    gaearon authored Jan 8, 2018
    Copy the full SHA
    6c594ad View commit details
  11. Use npx in README

    gaearon authored Jan 8, 2018
    Copy the full SHA
    0ce8185 View commit details
  12. Add a link to an overview

    gaearon authored Jan 8, 2018
    Copy the full SHA
    43e794d View commit details
  13. Rewrite README

    gaearon authored Jan 8, 2018
    Copy the full SHA
    7f081ad View commit details
  14. Update README.md

    gaearon authored Jan 8, 2018
    Copy the full SHA
    965eddc View commit details
  15. Update README.md

    gaearon authored Jan 8, 2018
    Copy the full SHA
    5e2290b View commit details
  16. Update README.md

    gaearon authored Jan 8, 2018
    Copy the full SHA
    4bbff3b View commit details
  17. Update README.md

    gaearon authored Jan 8, 2018
    Copy the full SHA
    b2f48ce View commit details
  18. Update README.md

    gaearon authored Jan 8, 2018
    Copy the full SHA
    7ecbc02 View commit details
  19. Update readme.md (#3712)

    Add TypeScript to **Popular Alternatives**
    iamclaytonray authored and gaearon committed Jan 8, 2018
    Copy the full SHA
    58e31f9 View commit details
  20. Update README.md

    gaearon authored Jan 8, 2018
    Copy the full SHA
    077dc22 View commit details
  21. Autodetect MacVim editor (#3545)

    Adds support for the error overlay to detect and open the file with the error in MacVim.
    
    Relates to #2636.
    gnapse authored and gaearon committed Jan 8, 2018
    Copy the full SHA
    1b067c5 View commit details
  22. Add a note about Babel

    gaearon authored Jan 8, 2018
    Copy the full SHA
    419e4d8 View commit details
  23. Relax no-cond-assign rule (#3716)

    Fixes #2793
    gaearon authored Jan 8, 2018
    Copy the full SHA
    ce07e98 View commit details
  24. Update README.md (#3717)

    * Update README.md with a note that reminds users to prepend REACT_APP_ to their environment variables. 
    * Based on #865, where Dan Abramov suggests the person who filed the issue create a PR with these changes.
    * Took the language from [Adding Custom Environment Variables](https://github.com/facebookincubator/create-react-app/tree/master/packages/react-scripts/template#adding-custom-environment-variables)
    maecapozzi authored and gaearon committed Jan 8, 2018
    Copy the full SHA
    5e2c051 View commit details
  25. Document NODE_PATH

    gaearon authored Jan 8, 2018
    Copy the full SHA
    3a009b3 View commit details
  26. Add missing TOC entries

    gaearon authored Jan 8, 2018
    Copy the full SHA
    8234e46 View commit details
  27. Add missing TOC entry

    gaearon authored Jan 8, 2018
    Copy the full SHA
    9d13edc View commit details
Showing with 1,323 additions and 844 deletions.
  1. +6 −13 .travis.yml
  2. +3 −0 .yarnrc
  3. +187 −0 CHANGELOG.md
  4. +3 −0 CODE_OF_CONDUCT.md
  5. +21 −8 CONTRIBUTING.md
  6. +48 −82 README.md
  7. +1 −3 appveyor.yml
  8. +0 −67 bootstrap.js
  9. +4 −5 lerna.json
  10. +13 −8 package.json
  11. +6 −0 packages/babel-preset-react-app/README.md
  12. +4 −0 packages/babel-preset-react-app/index.js
  13. +2 −1 packages/babel-preset-react-app/package.json
  14. +56 −8 packages/create-react-app/createReactApp.js
  15. +2 −1 packages/create-react-app/package.json
  16. +1 −1 packages/eslint-config-react-app/README.md
  17. +1 −1 packages/eslint-config-react-app/index.js
  18. +1 −1 packages/eslint-config-react-app/package.json
  19. +23 −15 packages/react-dev-utils/FileSizeReporter.js
  20. +8 −4 packages/react-dev-utils/WebpackDevServerUtils.js
  21. +5 −0 packages/react-dev-utils/__tests__/.eslintrc
  22. +55 −0 packages/react-dev-utils/__tests__/ignoredFiles.test.js
  23. +1 −3 packages/react-dev-utils/clearConsole.js
  24. +3 −1 packages/react-dev-utils/errorOverlayMiddleware.js
  25. +1 −1 packages/react-dev-utils/getProcessForPort.js
  26. +20 −0 packages/react-dev-utils/ignoredFiles.js
  27. +43 −7 packages/react-dev-utils/launchEditor.js
  28. +11 −4 packages/react-dev-utils/package.json
  29. +87 −97 packages/react-dev-utils/printHostingInstructions.js
  30. +3 −1 packages/react-dev-utils/webpackHotDevClient.js
  31. +10 −4 packages/react-error-overlay/.flowconfig
  32. +19 −0 packages/react-error-overlay/flow/env.js
  33. +5 −5 packages/react-error-overlay/package.json
  34. +2 −2 packages/react-error-overlay/src/index.js
  35. +5 −1 packages/react-error-overlay/src/utils/parseCompileError.js
  36. +7 −4 packages/react-scripts/config/env.js
  37. +1 −1 packages/react-scripts/config/jest/cssTransform.js
  38. +1 −1 packages/react-scripts/config/jest/fileTransform.js
  39. +2 −2 packages/react-scripts/config/webpack.config.dev.js
  40. +2 −2 packages/react-scripts/config/webpack.config.prod.js
  41. +2 −7 packages/react-scripts/config/webpackDevServer.config.js
  42. +4 −0 packages/react-scripts/fixtures/kitchensink/.env
  43. +17 −0 packages/react-scripts/fixtures/kitchensink/integration/env.test.js
  44. +5 −0 packages/react-scripts/fixtures/kitchensink/src/App.js
  45. +21 −0 packages/react-scripts/fixtures/kitchensink/src/features/env/ExpandEnvVariables.js
  46. +17 −0 packages/react-scripts/fixtures/kitchensink/src/features/env/ExpandEnvVariables.test.js
  47. +3 −1 packages/react-scripts/fixtures/kitchensink/src/features/syntax/ObjectDestructuring.js
  48. +5 −4 packages/react-scripts/package.json
  49. +10 −4 packages/react-scripts/scripts/eject.js
  50. +16 −1 packages/react-scripts/scripts/start.js
  51. +215 −11 packages/react-scripts/template/README.md
  52. +1 −0 packages/react-scripts/template/src/App.test.js
  53. +9 −0 packages/react-scripts/template/src/registerServiceWorker.js
  54. +1 −0 screencast.svg
  55. +109 −0 tasks/cra.js
  56. +0 −84 tasks/cra.sh
  57. +52 −68 tasks/e2e-installs.sh
  58. +36 −142 tasks/e2e-kitchensink.sh
  59. +61 −0 tasks/e2e-old-node.sh
  60. +65 −150 tasks/e2e-simple.sh
  61. +0 −6 tasks/local-test.sh
  62. +1 −8 tasks/{release.sh → publish.sh}
  63. +0 −4 template/README.md
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
@@ -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
187 changes: 187 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,190 @@
## 1.1.0 (January 15, 2018)

#### :rocket: New Feature

* `react-scripts`

* [#3387](https://github.com/facebookincubator/create-react-app/pull/3387) Add support for variable expansion in `.env` files. ([@moos](https://github.com/moos))

* `react-error-overlay`

* [#3474](https://github.com/facebookincubator/create-react-app/pull/3474) Allow the error overlay to be unregistered. ([@Timer](https://github.com/Timer))

* `create-react-app`

* [#3408](https://github.com/facebookincubator/create-react-app/pull/3408) Add `--info` flag to help gather bug reports. ([@tabrindle](https://github.com/tabrindle))
* [#3409](https://github.com/facebookincubator/create-react-app/pull/3409) Add `--use-npm` flag to bypass Yarn even on systems that have it. ([@tabrindle](https://github.com/tabrindle))
* [#3725](https://github.com/facebookincubator/create-react-app/pull/3725) Extend `--scripts-version` to include `.tar.gz` format. ([@SaschaDens](https://github.com/SaschaDens))
* [#3629](https://github.com/facebookincubator/create-react-app/pull/3629) Allowing `"file:<path>"` `--scripts-version` values. ([@GreenGremlin](https://github.com/GreenGremlin))


#### :bug: Bug Fix

* `babel-preset-react-app`, `react-scripts`

* [#3788](https://github.com/facebookincubator/create-react-app/pull/3788) Fix object destructuring inside an array on Node 6. ([@gaearon](https://github.com/gaearon))

* `react-dev-utils`

* [#3784](https://github.com/facebookincubator/create-react-app/pull/3784) Detach browser process from the shell on Linux. ([@gaearon](https://github.com/gaearon))
* [#3726](https://github.com/facebookincubator/create-react-app/pull/3726) Use proxy for all request methods other than `GET`. ([@doshisid](https://github.com/doshisid))
* [#3440](https://github.com/facebookincubator/create-react-app/pull/3440) Print full directory name from `lsof`. ([@rmccue](https://github.com/rmccue))
* [#2071](https://github.com/facebookincubator/create-react-app/pull/2071) Fix broken console clearing on Windows. ([@danielverejan](https://github.com/danielverejan))
* [#3686](https://github.com/facebookincubator/create-react-app/pull/3686) Fix starting a project in directory with `++` in the name. ([@Norris1z](https://github.com/Norris1z))

* `create-react-app`

* [#3320](https://github.com/facebookincubator/create-react-app/pull/3320) Fix offline installation to respect proxy from `.npmrc`. ([@mdogadailo](https://github.com/mdogadailo))

* `react-scripts`

* [#3537](https://github.com/facebookincubator/create-react-app/pull/3537) Add `mjs` and `jsx` filename extensions to `file-loader` exclude pattern. ([@iansu](https://github.com/iansu))
* [#3511](https://github.com/facebookincubator/create-react-app/pull/3511) Unmount the component in the default generated test. ([@gaearon](https://github.com/gaearon))

#### :nail_care: Enhancement

* `react-scripts`

* [#3730](https://github.com/facebookincubator/create-react-app/pull/3730) Print when `HOST` environment variable is set. ([@iansu](https://github.com/iansu))
* [#3455](https://github.com/facebookincubator/create-react-app/pull/3455) Add a localhost-only log message pointing folks to the PWA docs. ([@jeffposnick](https://github.com/jeffposnick))
* [#3416](https://github.com/facebookincubator/create-react-app/pull/3416) Improve eject message. ([@xjlim](https://github.com/xjlim))

* `create-react-app`

* [#3740](https://github.com/facebookincubator/create-react-app/pull/3740) Allow more non-conflicting files in initial project directory. ([@GreenGremlin](https://github.com/GreenGremlin))

* `react-dev-utils`

* [#3104](https://github.com/facebookincubator/create-react-app/pull/3104) Add link to deployment docs after build. ([@viankakrisna](https://github.com/viankakrisna))
* [#3652](https://github.com/facebookincubator/create-react-app/pull/3652) Add `code-insiders` to the editor list. ([@shrynx](https://github.com/shrynx))
* [#3700](https://github.com/facebookincubator/create-react-app/pull/3700) Add editor support for Sublime Dev & VSCode Insiders. ([@yyx990803](https://github.com/yyx990803))
* [#3545](https://github.com/facebookincubator/create-react-app/pull/3545) Autodetect MacVim editor. ([@gnapse](https://github.com/gnapse))

* `react-dev-utils`, `react-error-overlay`

* [#3465](https://github.com/facebookincubator/create-react-app/pull/3465) Open editor to exact column from build error overlay. ([@tharakawj](https://github.com/tharakawj))

* `react-dev-utils`, `react-scripts`

* [#3721](https://github.com/facebookincubator/create-react-app/pull/3721) Support setting `none` in `REACT_EDITOR` environment variable. ([@raerpo](https://github.com/raerpo))

* `eslint-config-react-app`

* [#3716](https://github.com/facebookincubator/create-react-app/pull/3716) Relax `no-cond-assign` rule. ([@gaearon](https://github.com/gaearon))

#### :memo: Documentation

* User Guide

* [#3659](https://github.com/facebookincubator/create-react-app/pull/3659) Add info about service-worker and HTTP caching headers into Firebase section. ([@bobrosoft](https://github.com/bobrosoft))
* [#3515](https://github.com/facebookincubator/create-react-app/pull/3515) Add Powershell commands to README.md. ([@Gua-naiko-che](https://github.com/Gua-naiko-che))
* [#3656](https://github.com/facebookincubator/create-react-app/pull/3656) Better documentation for setupTests.js when ejecting. ([@dannycalleri](https://github.com/dannycalleri))
* [#1791](https://github.com/facebookincubator/create-react-app/pull/1791) Add link for automatic deployment to azure. ([@ulrikstrid](https://github.com/ulrikstrid))
* [#3717](https://github.com/facebookincubator/create-react-app/pull/3717) Update README.md. ([@maecapozzi](https://github.com/maecapozzi))
* [#3710](https://github.com/facebookincubator/create-react-app/pull/3710) Link to an explanation for forking react-scripts. ([@gaearon](https://github.com/gaearon))
* [#3709](https://github.com/facebookincubator/create-react-app/pull/3709) Document adding a router. ([@gaearon](https://github.com/gaearon))
* [#3670](https://github.com/facebookincubator/create-react-app/pull/3670) Fix typo in the User Guide. ([@qbahers](https://github.com/qbahers))
* [#3645](https://github.com/facebookincubator/create-react-app/pull/3645) Update README.md. ([@elie222](https://github.com/elie222))
* [#3533](https://github.com/facebookincubator/create-react-app/pull/3533) Use safer/more aesthetic syntax for setting environment variables on Windows. ([@cdanielsen](https://github.com/cdanielsen))
* [#3605](https://github.com/facebookincubator/create-react-app/pull/3605) Updated Debugging Tests for VSCode. ([@amadeogallardo](https://github.com/amadeogallardo))
* [#3601](https://github.com/facebookincubator/create-react-app/pull/3601) Fixed typo in webpack.config.dev.js. ([@nmenglund](https://github.com/nmenglund))
* [#3576](https://github.com/facebookincubator/create-react-app/pull/3576) Updates comment to reflect codebase. ([@rahulcs](https://github.com/rahulcs))
* [#3510](https://github.com/facebookincubator/create-react-app/pull/3510) Update User Guide with deploying to GitHub User pages. ([@aaronlna](https://github.com/aaronlna))
* [#3503](https://github.com/facebookincubator/create-react-app/pull/3503) Update Prettier editor integration link. ([@gaving](https://github.com/gaving))
* [#3453](https://github.com/facebookincubator/create-react-app/pull/3453) Fix dead links. ([@vannio](https://github.com/vannio))
* [#2992](https://github.com/facebookincubator/create-react-app/pull/2992) Docs: How to Debug Unit Tests. ([@MattMorgis](https://github.com/MattMorgis))

* Other

* [#3729](https://github.com/facebookincubator/create-react-app/pull/3729) Update README.md to note Neutrino's support of react components. ([@eliperelman](https://github.com/eliperelman))
* [#2841](https://github.com/facebookincubator/create-react-app/pull/2841) Documentation to help windows contributors. ([@Dubes](https://github.com/Dubes))
* [#3489](https://github.com/facebookincubator/create-react-app/pull/3489) Add link to nvm-windows. ([@davidgilbertson](https://github.com/davidgilbertson))

* `eslint-config-react-app`

* [#3460](https://github.com/facebookincubator/create-react-app/pull/3460) Fix broken link to `href-no-hash` eslint rule. ([@hazolsky](https://github.com/hazolsky))

#### :house: Internal

* Other

* [#3769](https://github.com/facebookincubator/create-react-app/pull/3769) Enable Yarn check files. ([@Timer](https://github.com/Timer))
* [#3756](https://github.com/facebookincubator/create-react-app/pull/3756) Clean up changes to npm and yarn registry in E2E tests. ([@viankakrisna](https://github.com/viankakrisna))
* [#3744](https://github.com/facebookincubator/create-react-app/pull/3744) Use private registry in E2E tests. ([@Timer](https://github.com/Timer))
* [#3738](https://github.com/facebookincubator/create-react-app/pull/3738) Always use Yarn on CI. ([@gaearon](https://github.com/gaearon))
* [#2309](https://github.com/facebookincubator/create-react-app/pull/2309) Port `cra.sh` development task to javascript. ([@ianschmitz](https://github.com/ianschmitz))
* [#3411](https://github.com/facebookincubator/create-react-app/pull/3411) Simplify waiting for app start in E2E tests. ([@xjlim](https://github.com/xjlim))
* [#3755](https://github.com/facebookincubator/create-react-app/pull/3755) Switch to Yarn Workspaces. ([@gaearon](https://github.com/gaearon))
* [#3757](https://github.com/facebookincubator/create-react-app/pull/3757) Try updating Flow. ([@gaearon](https://github.com/gaearon))
* [#3414](https://github.com/facebookincubator/create-react-app/pull/3414) Export `dismissRuntimeErrors` function. ([@skidding](https://github.com/skidding))
* [#3036](https://github.com/facebookincubator/create-react-app/pull/3036) Cleaning up `printHostingInstructions` a bit. ([@GreenGremlin](https://github.com/GreenGremlin))
* [#3514](https://github.com/facebookincubator/create-react-app/pull/3514) Fix `FileSizeReporter` for multi build Webpack setups. ([@iiska](https://github.com/iiska))
* [#3362](https://github.com/facebookincubator/create-react-app/pull/3362) Refactor extra watch options regex to `react-dev-utils`. ([@xjlim](https://github.com/xjlim))

#### Committers: 47

- Aaron Lamb ([aaronlna](https://github.com/aaronlna))
- Ade Viankakrisna Fadlil ([viankakrisna](https://github.com/viankakrisna))
- Amadeo Gallardo ([amadeogallardo](https://github.com/amadeogallardo))
- Andy Kenward ([andykenward](https://github.com/andykenward))
- Christian Danielsen ([cdanielsen](https://github.com/cdanielsen))
- Clayton Ray ([iamclaytonray](https://github.com/iamclaytonray))
- Dan Abramov ([gaearon](https://github.com/gaearon))
- Daniel Verejan ([danielverejan](https://github.com/danielverejan))
- Danny Calleri ([dannycalleri](https://github.com/dannycalleri))
- David Boyne ([boyney123](https://github.com/boyney123))
- David Gilbertson ([davidgilbertson](https://github.com/davidgilbertson))
- Eli Perelman ([eliperelman](https://github.com/eliperelman))
- Elie ([elie222](https://github.com/elie222))
- Ernesto García ([gnapse](https://github.com/gnapse))
- Evan You ([yyx990803](https://github.com/yyx990803))
- Gavin Gilmour ([gaving](https://github.com/gaving))
- Ian Schmitz ([ianschmitz](https://github.com/ianschmitz))
- Ian Sutherland ([iansu](https://github.com/iansu))
- JANG SUN HYUK ([wkdtjsgur100](https://github.com/wkdtjsgur100))
- Jeffrey Posnick ([jeffposnick](https://github.com/jeffposnick))
- Joe Haddad ([Timer](https://github.com/Timer))
- Joe Lim ([xjlim](https://github.com/xjlim))
- Jonathan ([GreenGremlin](https://github.com/GreenGremlin))
- Juhamatti Niemelä ([iiska](https://github.com/iiska))
- Mae Capozzi ([maecapozzi](https://github.com/maecapozzi))
- Maksym Dogadailo ([mdogadailo](https://github.com/mdogadailo))
- Mario Nebl ([marionebl](https://github.com/marionebl))
- Matt Morgis ([MattMorgis](https://github.com/MattMorgis))
- Misha Khokhlov ([hazolsky](https://github.com/hazolsky))
- Moos ([moos](https://github.com/moos))
- Nils Magnus Englund ([nmenglund](https://github.com/nmenglund))
- Norris Oduro ([Norris1z](https://github.com/Norris1z))
- Ovidiu Cherecheș ([skidding](https://github.com/skidding))
- Quentin Bahers ([qbahers](https://github.com/qbahers))
- Rafael E. Poveda ([raerpo](https://github.com/raerpo))
- Rahul Chanila ([rahulcs](https://github.com/rahulcs))
- Ryan McCue ([rmccue](https://github.com/rmccue))
- Sascha Dens ([SaschaDens](https://github.com/SaschaDens))
- Siddharth Doshi ([doshisid](https://github.com/doshisid))
- Tao Gómez Gil ([Gua-naiko-che](https://github.com/Gua-naiko-che))
- Tharaka Wijebandara ([tharakawj](https://github.com/tharakawj))
- Trevor Brindle ([tabrindle](https://github.com/tabrindle))
- Ulrik Strid ([ulrikstrid](https://github.com/ulrikstrid))
- Vladimir Tolstikov ([bobrosoft](https://github.com/bobrosoft))
- [Dubes](https://github.com/Dubes)
- [vannio](https://github.com/vannio)
- shrynx ([shrynx](https://github.com/shrynx))

### Migrating from 1.0.17 to 1.1.0

Inside any created project that has not been ejected, run:

```
npm install --save --save-exact react-scripts@1.1.0
```

or

```
yarn add --exact react-scripts@1.1.0
```

## 1.0.17 (November 3, 2017)

#### :nail_care: Enhancement
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
@@ -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.
@@ -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.

Loading