Skip to content

Update Upstream #26

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

Open
wants to merge 231 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
476fe85
Remove trailing spaces from copyright
maciej-ka Jan 28, 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
f17914c
enable manifest plugin on dev
viankakrisna Feb 11, 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
fb8e78b
bump lint-staged to node 10 compatible version
andriijas Apr 27, 2018
0fe6fea
bump babel 7 to beta 46
andriijas Apr 27, 2018
32eebfe
Bumped jest version to 22.4.1 (#4362)
Apr 27, 2018
cc36849
fix broken css module support in prod (#4361)
andriijas Apr 27, 2018
da4a87f
Support package distribution tags (#4350)
Apr 27, 2018
458336b
Update sass-loader to 7.0.1 (#4376)
Apr 28, 2018
7b2eae1
Update envinfo and issue template (#4375)
tabrindle Apr 30, 2018
e5e9f59
Update getCSSModuleLocalIdent to support Sass (#4391)
arianon May 8, 2018
3aaddef
ensureSlash: Fix accidental string-to-NaN coercion (#4424)
wchargin May 8, 2018
9843be5
Update the thread loader test in errors (#4420)
marcofugaro May 9, 2018
a8a64c3
Update babel-plugin-macros (#4432)
stereobooster May 11, 2018
0f84a4b
add create-react-app-parcel (#4449)
swyxio May 12, 2018
c2aa163
Fix e2e:docker script (#4454)
May 14, 2018
69cc07f
Update svgr (#4461)
iansu May 14, 2018
493a379
Map (css|sass|scss) modules to identity-obj-proxy in jest (#4419)
kusold May 16, 2018
d72678f
- [x] Upgrade to webpack 4.8.X (#4077)
andriijas May 20, 2018
d1454fe
Webpack4 (#4490)
May 20, 2018
0e0f260
`.mjs` should not resolve before .js files (#4085) (#4318)
craigmulligan May 20, 2018
e645d3e
Fix typo in createReactApp.js warning message (#4309)
jamesvsshark May 20, 2018
0dfc6f6
Update node-sass-chokidar docs (#4205)
originell May 20, 2018
86a82b1
Update docs about High Sierra npm test issues (#4497)
saimonmoore May 22, 2018
61c864c
Update paths.js, rename shadow path variable (#4435)
May 23, 2018
581c453
Scope hoisting in webpack 4 (#4504)
May 24, 2018
72906d9
Adjust browser defaults (#4470)
Timer May 24, 2018
c1b0175
Merge pull request #3929 from maciej-ka/remove-trailing-spaces-from-c…
May 31, 2018
7c85938
Create a `--stats` flag for react-scripts `build`. Update README.
joshwcomeau Jan 31, 2018
76ef9fa
Merge pull request #4014 from viankakrisna/enable-manifest-plugin-on-dev
May 31, 2018
227c44f
Update file tree view (#4546)
antzshrek Jun 1, 2018
80b24d5
Remove outdated bit from README, update bundle-analyzer link
joshwcomeau Jun 3, 2018
a98c3df
Merge pull request #3945 from joshwcomeau/bundle-stats
Jun 4, 2018
6370e40
Temporarily remove doc section on webpack analyzer (#4564)
gaearon Jun 5, 2018
fffe909
Move whitespace comment closer to where it applies (#4566)
mgedmin Jun 5, 2018
d0afe4b
Configured the thread-loader to keeping workers alive in development …
Jun 5, 2018
3e16544
Added thread-loader config for application code entrypoint (#4582)
Jun 7, 2018
f26ed0f
Use yarn in predeploy script if built using yarn (#4623)
alexbrazier Jun 18, 2018
e1ee803
Fix node 10 npm login issue (#4626)
Jun 18, 2018
26febc5
Add instructions on alternative methods of app creation (#4638)
RusinovAnton Jun 20, 2018
805ab39
Add modes to our Babel preset (1.x) (#4668)
gaearon Jun 23, 2018
8de0412
babel-preset-react-app@3.1.2
gaearon Jun 23, 2018
1407287
Add mode entry points to our preset (#4669)
gaearon Jun 23, 2018
d366039
Support scoped packages for cra --scripts-version option (#4677)
Jun 25, 2018
ea7b374
add react-testing-library documentation/examples (#4679)
Jun 26, 2018
26f701f
Suggest `reactstrap` instead of `react-bootstrap` (#4703)
Brew-Brew Jun 30, 2018
4a87838
remove extra dot on devtool link comment (#4741)
shelldandy Jul 5, 2018
706b319
Fix typo (#4738)
mwilc0x Jul 5, 2018
366e5d3
[internal] Separate out kitchensink test into two (#4767)
Jul 15, 2018
92d9c5a
Add Node 10 to CI config and remove Node 6 (#4383)
iansu Jul 16, 2018
8169a93
Bump babel-loader to fix npm warning (#4776)
frenzzy Jul 23, 2018
52449c3
Only use safe options when packing CSS assets (#4706)
Jul 23, 2018
506b3f1
Update code of conduct link (#4814)
ashleymaguire Jul 23, 2018
69c3d4b
Update support info for service workers (#4825)
j-f1 Jul 26, 2018
ca59983
Fix link to the article about BEM (#4858)
Terbiy Aug 7, 2018
577a274
Use file name whitelist to prevent RCE (#4866)
acdlite Aug 22, 2018
24b101d
Use file name whitelist to prevent RCE (#4866)
acdlite Aug 22, 2018
96ba7bd
Bump versions
gaearon Aug 22, 2018
ca88a69
Bump versions
gaearon Aug 22, 2018
550fccb
Bump release
gaearon Aug 22, 2018
dc74990
Add 1.1.5 release notes
gaearon Aug 24, 2018
a671462
Add 1.1.5 release notes
gaearon Aug 24, 2018
7b7acde
Update webpack-dev-server 3.1.5 → 3.1.7 (#4955)
addaleax Sep 2, 2018
11580f2
Update jest version (#4846)
skoging Sep 17, 2018
d66216e
docs: flowtype.org -> flow.org (#4881)
Sep 17, 2018
a3707eb
Pin package versions
Timer Sep 17, 2018
311215d
Upgrade `webpack` and `thread-loader`
Timer Sep 17, 2018
97d7da7
Purge AppVeyor cache
Timer Sep 17, 2018
7edb1b5
Add prettierrc file for monorepo development
Timer Sep 17, 2018
22353ec
Fix ESLint output formatting
Timer Sep 17, 2018
710557f
Fix syntax error message massaging
Timer Sep 17, 2018
5ba88da
Fix css error message massaging
Timer Sep 17, 2018
74e4527
Fix message massaging for ESLint warnings
Timer Sep 17, 2018
98a875a
Fix unfound export error
Timer Sep 17, 2018
54dc975
Add test cases so message output can be tweaked with confidence
Timer Sep 17, 2018
e6ba967
Force color during Jest tests (for CI)
Timer Sep 17, 2018
2300f9e
Switch from uglifyjs to terser (#5026)
Timer Sep 18, 2018
02b30d6
Revert "Fix typos in example monorepo documentation. (#4164)"
Timer Sep 18, 2018
d8c2da5
Revert "Add support for new yarn workspaces config format (#4001)"
Timer Sep 18, 2018
cc328d6
Revert "Use yarn when running inside yarn workspace. (#3997)"
Timer Sep 18, 2018
10e8fd5
Revert "Ensure workspaces key exists in parent package.json (#3989)"
Timer Sep 18, 2018
92e40c3
Revert "Add react-scripts version compatibility for monorepos. (#3953)"
Timer Sep 18, 2018
50b4857
Revert "Add support for yarn and lerna monorepos. (#3741)"
Timer Sep 18, 2018
ac12d38
Upgrade workplace dependencies
Timer Sep 18, 2018
7398ee6
Revert Lerna dependency, there's too many bugs in v3
Timer Sep 18, 2018
9bbc177
Remove `mjs` support (#5027)
Timer Sep 18, 2018
f11bea1
Fix file size reporter on Windows (#5025)
fiddep Sep 19, 2018
d555256
Disable webpack chunk coalescing (#5030)
Timer Sep 19, 2018
c1ccbbc
Upgrade `html-webpack-plugin` to fix tests (#5031)
Timer Sep 19, 2018
1b28131
Updates to reflect service worker registration being opt-in (#3924)
jeffposnick Sep 19, 2018
25ebe01
Upgrade `react-scripts` dependencies (#5032)
Timer Sep 19, 2018
e41c67d
Upgrade Prettier
Timer Sep 19, 2018
c9e1876
Lock babel configuration back to IE 9 support (ES5) (#5033)
Timer Sep 19, 2018
0bdbe42
Upgrade to Babel 7 stable (#5042)
Timer Sep 20, 2018
0da9f2d
Switch back to main eslint-loader
Timer Sep 20, 2018
054ba79
Turn off use built ins
Timer Sep 20, 2018
c989b70
Further tweak runtime plugin per documentation
Timer Sep 20, 2018
4abc5c4
Always lint with latest React version (#5043)
Timer Sep 20, 2018
7d41493
Reorder Storybook resources to be more helpful (#5035)
imgntn Sep 20, 2018
a1a08db
Correct Babel dependency behavior (#5046)
Timer Sep 20, 2018
e2dc3fc
Lessen significance of browserslist
Timer Sep 20, 2018
9ac99ce
Change browsers output to be a single line
Timer Sep 20, 2018
e8b0ee8
Allow dynamic import proposal in node_modules (#5047)
Timer Sep 20, 2018
2ed8ecc
Switch to eval-source-map (#4930)
jasonLaster Sep 20, 2018
d0ed845
Convert test suite to Jest (#4550)
Sep 21, 2018
58e00a3
Bump (peer) dependencies to ESLint 5.6 (#5050)
Sep 21, 2018
ca2e9f0
Adjust ESLint configuration for v5 (#5051)
Timer Sep 21, 2018
5254ffe
Use Yarn cache for Travis (#4774)
Sep 21, 2018
2aaf71e
Add `eslintConfig` to new projects automatically (#1457)
lifeiscontent Sep 21, 2018
7be14b9
Tweak init.js after merge
Timer Sep 21, 2018
f9849a2
Safely assume module type for `node_modules` (#5052)
lixiaoyan Sep 21, 2018
74c4bae
Normalize babel caching across the board (#5053)
Timer Sep 21, 2018
0cfe758
Ensure files get purged when they should (#5054)
Timer Sep 21, 2018
fdc916a
Cache identifier follow up (#5055)
Timer Sep 21, 2018
b98d5c9
Move favicon.ico <link> to accommodate Chrome (#4891)
thejohnfreeman Sep 21, 2018
78f0a96
Switch back to cheap-module-source-map (#5059)
jasonLaster Sep 21, 2018
e88809f
Inline the webpack runtime chunk (#5058)
Timer Sep 21, 2018
2150693
Upgrade svgr to v2 and disable Prettier/SVGO (#5062)
Timer Sep 21, 2018
b181f92
fix minor typo in troubleshooting github pages (#5064)
kaznovac Sep 22, 2018
b8da584
Optimize webpack rebuild speed (#5065)
Timer Sep 22, 2018
cd162d2
Switch back to basic proxy only (#5072)
Timer Sep 24, 2018
bca6334
Integrating with an API Backend: add API Platform (#5070)
dunglas Sep 24, 2018
2ee4fa8
Add user defined proxy via middleware (#5073)
Timer Sep 24, 2018
62b0942
Change default test environment to jsdom (#5074)
Timer Sep 24, 2018
88a3de9
Set browsers automatically if not an interactive terminal
Timer Sep 24, 2018
03a7091
Revert "Add loader for .graphql files (#3909)" (#5076)
Timer Sep 24, 2018
77c32b5
Small typo fix (#5077)
tteltrab Sep 24, 2018
eba5995
Update usage advice of husky to 1.0 (#5071)
martinlechner1 Sep 24, 2018
9084a1f
Relax peer dependencies
Timer Sep 24, 2018
2e19824
Update tons of packages (#5080)
Timer Sep 24, 2018
d609a3f
Update transform dynamic import
Timer Sep 24, 2018
9cff39e
Relax peer dep
Timer Sep 24, 2018
11737bc
Prevent the cache of files using Babel Macros (#5078)
Timer Sep 25, 2018
fb6e6f7
Add `postcss-preset-env`, remove `autoprefixer` (#4716)
heygrady Sep 25, 2018
5f381e7
Allow stage 3 css transforms (#5091)
Timer Sep 25, 2018
5599eff
Drop IE 11 support by default (#5090)
Timer Sep 25, 2018
adfb20c
Turn on Babel `helpers` (#5093)
Timer Sep 25, 2018
969fb37
Disable source maps for node_modules (#5096)
Timer Sep 26, 2018
000d79a
Cache Yarn and npm instead of our own node_modules
Timer Sep 26, 2018
a87c673
Narrow down to Yarn Cache folder
Timer Sep 26, 2018
0551727
Allow failures on installs
Timer Sep 26, 2018
725d388
Move allow failures to the correct location
Timer Sep 26, 2018
63398bd
Remove babelrc dependency for kitchensink test (#5098)
Sep 26, 2018
deffd04
Fix babel runtime exclude rule
Timer Sep 26, 2018
523d6e9
Revert "Remove CSS modules docs (#3832)" (#3833)
Timer Sep 26, 2018
6c0cf8c
Update targeted IE version in documentation (#4551)
antzshrek Sep 26, 2018
5b4c94c
Format user guide
Timer Sep 26, 2018
21c7511
Format Markdown and CSS files on commit
Timer Sep 26, 2018
d7bffca
Update Sass documentation
Timer Sep 26, 2018
bfb17b2
Tweak browser support section
Timer Sep 26, 2018
1448b24
Make Sass missing message friendlier (#4514)
Timer Sep 26, 2018
4562ab6
Merge branch 'master' into next
Timer Sep 26, 2018
98b63a3
Update template browser defaults
Timer Sep 26, 2018
ac5376f
Publish
Timer Sep 26, 2018
54323f0
Remove advanced proxy guide
Timer Sep 26, 2018
cbf5320
Update minify instructions (#5105)
sag1v Sep 26, 2018
46b18d9
Prevent Babel config overridden (#5109)
lixiaoyan Sep 26, 2018
409e571
Add dynamic import transformer for dependencies in test env (#5110)
lixiaoyan Sep 26, 2018
52f2946
Eliminate regenerator from preset-react-app plugins (#4630)
conartist6 Sep 27, 2018
1b57f01
Remove highlightCode:true because it's now the default (#5085)
marcofugaro Sep 27, 2018
908595a
Fix Troubleshooting link (#5102)
PatrickJS Sep 27, 2018
e11334f
Clean up @babel/plugin-transform-regenerator (#5119)
lixiaoyan Sep 27, 2018
fa6e5bd
Change polyfill link to our package
Timer Sep 27, 2018
d3e56cd
Update `fetch` documentation about polyfills
Timer Sep 27, 2018
fed4100
Output CSS sourcemaps in separate file (#5131)
Timer Sep 27, 2018
ed93715
Lists loader-utils in the dependencies (#5134)
arcanis Sep 27, 2018
6510a27
Drop loader utils from `react-scripts`
Timer Sep 27, 2018
328c312
Don't polyfill fetch for Node (#5132)
Timer Sep 27, 2018
3b71621
Workbox service worker (#4169)
davejm Sep 27, 2018
ce5a2e4
Adjust regex fed to RegExp
Timer Sep 27, 2018
be8f9da
Fix displaying third party webpack plugins errors (#5137)
Fer0x Sep 27, 2018
a73829f
Reference issue to test
Timer Sep 27, 2018
27ac52a
Remove runtime alias hack (#5142)
Timer Sep 27, 2018
7644f73
Mention .module.scss/sass convention (#5145)
mareksuscak Sep 27, 2018
af61071
Add behavior e2e tests (#5146)
Timer Sep 27, 2018
39c73ce
Switch back to babel-loader (#5143)
iansu Sep 27, 2018
2a7346e
Run behavioral smoke tests with Jest, add output tests (#5150)
Timer Sep 28, 2018
3ae3cf3
Toggle `mjs` files to `javascript/auto` type (#5151)
Timer Sep 28, 2018
c5c7da0
Publish
Timer Sep 28, 2018
72fe2df
Cleanup README
Timer Sep 28, 2018
97c7131
Forwards args through thread-loader (#5157)
arcanis Sep 28, 2018
e4270bd
Bumps workbox to the next patch release (#5158)
arcanis Sep 28, 2018
bf408bd
Add CSS Grid Layout instructions
Timer Sep 28, 2018
42026a0
Correctly lookup assets when using a relative build directory (#5163)
Timer Sep 29, 2018
232e892
Drop comment
Timer Sep 29, 2018
401ff54
Filter out precache assets
Timer Sep 29, 2018
7f5ec49
Add additional troubleshooting for Github Pages (#5169)
Sep 29, 2018
5abff64
Remove thread-loader (#5170)
Timer Sep 29, 2018
7b1a32b
Polish webpack message output (#5174)
Timer Sep 30, 2018
ac214e3
Switch AppVeyor to GCE
Timer Sep 30, 2018
70b3110
Use Workbox CDN as default (#5180)
Timer Sep 30, 2018
72d4ab0
Strip flow syntax before any other transform (#5182)
Timer Oct 1, 2018
3c70340
Updates to README to reflect Workbox usage (#5111)
jeffposnick Oct 1, 2018
02b8c35
Test class properties (#5183)
Timer Oct 1, 2018
789933c
Still emit runtime chunk (#5184)
Timer Oct 1, 2018
e85019f
Add docs about browsers list post processing CSS
Timer Oct 1, 2018
b5bae25
Make the use of a tidle more prominent
Timer Oct 1, 2018
df98c0c
Update notes about advanced proxy
Timer Oct 1, 2018
2afcd4f
Add license file to all packages (#5192)
Timer Oct 1, 2018
aa57262
Fix typo in 'Configuring the Proxy Manually' (#5193)
fabriziocucci Oct 1, 2018
53e4c0a
Format SVG React snapshots as <svg> tag with props (#5196)
gaearon Oct 1, 2018
4a96247
Treat .css and .sass/.scss as side effectful (#5197)
gaearon Oct 1, 2018
9f7f2ab
Document adding SVGs as React components (#5147)
mareksuscak Oct 1, 2018
3783dd3
Tweak user guide a bit
gaearon Oct 1, 2018
f59165f
Oops
gaearon Oct 1, 2018
9e074bb
Plug'n'Play support (#5136)
arcanis Oct 1, 2018
1e1019a
Polyfill error overlay for IE9 support (#5198)
Timer Oct 1, 2018
194a291
Fix overlay IE 11 compatibility (#5203)
Timer Oct 1, 2018
f0784fc
Publish
Timer Oct 1, 2018
6261576
Correct package dependency version
Timer Oct 1, 2018
e0fe2d3
Disable react/no-deprecated rule (#5205)
Timer Oct 1, 2018
bd1b9fa
Publish eslint-config-react-app@3.0.2
Timer Oct 1, 2018
22d6f42
Update CHANGELOG.md
gaearon Oct 1, 2018
9e88a8e
Update README.md
gaearon Oct 1, 2018
79485d7
Update README.md
gaearon Oct 1, 2018
860d90f
Update eslint-config-react-app/README to reflect new dependency versi…
danielberndt Oct 14, 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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ build
my-app*
packages/react-scripts/template
packages/react-scripts/fixtures
fixtures/
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"es6": true
},
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 2018
},
"rules": {
"no-console": "off",
Expand Down
17 changes: 8 additions & 9 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,18 @@
### Environment

<!--
Please fill in all the relevant fields by running these commands in terminal.
-->
To help identify if a problem is specific to a platform, browser, or module version, information about your environment is required.
This enables the maintainers quickly reproduce the issue and give feedback.

1. `node -v`:
2. `npm -v`:
3. `yarn --version` (if you use Yarn):
4. `npm ls react-scripts` (if you haven’t ejected):
Run the following command in your React app's folder in terminal.
Note: The result is copied to your clipboard directly.

Then, specify:
`npx create-react-app --info`

1. Operating system:
2. Browser and version (if relevant):
Paste the output of the command in the section below.
-->

(paste the output of the command here)

### Steps to Reproduce

Expand Down
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"singleQuote": true,
"semi": true
}
31 changes: 18 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,33 @@ dist: trusty
language: node_js
node_js:
- 8
- 9
- 10
cache:
yarn: true
directories:
- node_modules
- packages/create-react-app/node_modules
- packages/react-scripts/node_modules
- .npm
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
- export PATH="$HOME/.yarn/bin:$PATH"
install: true
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'
- 'if [ $TEST_SUITE = "monorepos" ]; then tasks/e2e-monorepos.sh; fi'
- '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 = "kitchensink-eject" ]; then tasks/e2e-kitchensink-eject.sh; fi'
- 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
- 'if [ $TEST_SUITE = "behavior" ]; then tasks/e2e-behavior.sh; fi'
env:
matrix:
- TEST_SUITE=simple
- TEST_SUITE=installs
- TEST_SUITE=kitchensink
- TEST_SUITE=monorepos
- TEST_SUITE=kitchensink-eject
- TEST_SUITE=behavior
matrix:
include:
- node_js: 0.10
- os: osx
node_js: 8
env: TEST_SUITE=behavior
- node_js: 4
env: TEST_SUITE=old-node
- node_js: 6
env: TEST_SUITE=kitchensink
3 changes: 0 additions & 3 deletions .yarnrc

This file was deleted.

32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
## 2.0.2 (October 1, 2018)

TODO (work in progress)

## 1.1.5 (August 24, 2018)

* `react-scripts`

* Update the `webpack-dev-server` dependency

* `react-dev-utils`

* [#4866](https://github.com/facebook/create-react-app/pull/4866) Fix a Windows-only vulnerability (`CVE-2018-6342`) in the development server ([@acdlite](https://github.com/acdlite))
* Update the `sockjs-client` dependency

#### Committers: 1
- Andrew Clark ([acdlite](https://github.com/acdlite))

### Migrating from 1.1.4 to 1.1.5

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

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

or

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

## 1.1.4 (April 3, 2018)

#### :bug: Bug Fix
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +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.
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://code.fb.com/codeofconduct/) so that you can understand what actions will and will not be tolerated.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ packages/
### Package Descriptions
#### [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/master/packages/babel-preset-react-app)
This package is a babel preset intended to be used with `react-scripts`.<br>
It targets platforms that React is designed to support (IE 9+) and enables experimental features used heavily at Facebook.<br>
It targets platforms that React is designed to support (IE 11+) and enables experimental features used heavily at Facebook.<br>
This package is enabled by default for all `create-react-app` scaffolded applications.
#### [create-react-app](https://github.com/facebook/create-react-app/tree/master/packages/create-react-app)
The global CLI command code can be found in this directory, and shouldn't often be changed. It should run on Node 0.10+.
Expand Down
41 changes: 29 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,30 @@ Just create a project, and you’re good to go.

**You’ll need to have Node >= 6 on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to easily switch Node versions between different projects.

To create a new app, run a single command:
To create a new app, you may choose one of the following methods:

### npx

```sh
npx create-react-app my-app
```

*([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))*

### npm

```sh
npm init react-app my-app
```
*`npm init <initializer>` is available in npm 6+*

### Yarn

```sh
yarn create react-app my-app
```
*`yarn create` is available in Yarn 0.25+*

It will create a directory called `my-app` inside the current folder.<br>
Inside that directory, it will generate the initial project structure and install the transitive dependencies:

Expand All @@ -54,16 +70,16 @@ my-app
├── package.json
├── .gitignore
├── public
── favicon.ico
── index.html
── favicon.ico
── index.html
│ └── manifest.json
└── src
── App.css
── App.js
── App.test.js
── index.css
── index.js
── logo.svg
── App.css
── App.js
── App.test.js
── index.css
── index.js
── logo.svg
└── registerServiceWorker.js
```

Expand Down Expand Up @@ -101,7 +117,6 @@ Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
By default, it also [includes a service worker](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app) so that your app loads from local cache on future visits.

Your app is ready to be deployed.

Expand Down Expand Up @@ -147,7 +162,7 @@ The [User Guide](https://github.com/facebook/create-react-app/blob/master/packag
- [Analyzing the Bundle Size](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#analyzing-the-bundle-size)
- [Deployment](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment)
- [Advanced Configuration](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#advanced-configuration)
- [Troubleshooting](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#troubleshooting)
- [Troubleshooting](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#troubleshooting-1)

A copy of the user guide will be created as `README.md` in your project folder.

Expand All @@ -173,7 +188,7 @@ Your environment will have everything you need to build a modern single-page Rea
* A fast interactive unit test runner with built-in support for coverage reporting.
* A live development server that warns about common mistakes.
* A build script to bundle JS, CSS, and images for production, with hashes and sourcemaps.
* An offline-first [service worker](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers) and a [web app manifest](https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/), meeting all the [Progressive Web App](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app) criteria.
* An offline-first [service worker](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers) and a [web app manifest](https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/), meeting all the [Progressive Web App](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app) criteria. (*Note: Using the service worker is opt-in as of `react-scripts@2.0.0` and higher*)
* Hassle-free updates for the above tools with a single dependency.

Check out [this guide](https://github.com/nitishdayal/cra_closer_look) for an overview of how these tools fit together.
Expand Down Expand Up @@ -202,6 +217,8 @@ Here’s a few common cases where you might want to try something else:

* If you want to use **TypeScript**, consider using [create-react-app-typescript](https://github.com/wmonk/create-react-app-typescript).

* If you want to use **Parcel** instead of **Webpack** as your bundler, consider using [create-react-app-parcel](https://github.com/sw-yx/create-react-app-parcel).

* Finally, if you need **more customization**, check out [Neutrino](https://neutrino.js.org/) and its [React preset](https://neutrino.js.org/packages/react/).

All of the above tools can work with little to no configuration.
Expand Down
2 changes: 0 additions & 2 deletions appveyor.cleanup-cache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ Edit this file to trigger a cache rebuild.
http://help.appveyor.com/discussions/questions/1310-delete-cache

----

bump
37 changes: 23 additions & 14 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
image: Visual Studio 2017

environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
APPVEYOR_BUILD_WORKER_CLOUD: 'GCE'
matrix:
- nodejs_version: 10
test_suite: 'simple'
- nodejs_version: 10
test_suite: 'installs'
- nodejs_version: 10
test_suite: 'kitchensink'
- nodejs_version: 10
test_suite: 'kitchensink-eject'
- nodejs_version: 8
test_suite: "simple"
test_suite: 'simple'
- nodejs_version: 8
test_suite: "installs"
test_suite: 'installs'
- nodejs_version: 8
test_suite: "kitchensink"
test_suite: 'kitchensink'
- nodejs_version: 8
test_suite: "monorepos"
- nodejs_version: 6
test_suite: "simple"
- nodejs_version: 6
test_suite: "installs"
- nodejs_version: 6
test_suite: "kitchensink"
- nodejs_version: 6
test_suite: "monorepos"
test_suite: 'kitchensink-eject'
cache:
- node_modules -> appveyor.cleanup-cache.txt
- packages\react-scripts\node_modules -> appveyor.cleanup-cache.txt
- '%APPDATA%\npm-cache -> appveyor.cleanup-cache.txt'
- '%LOCALAPPDATA%\Yarn\Cache -> appveyor.cleanup-cache.txt'

clone_depth: 50

matrix:
fast_finish: true
allow_failures:
- test_suite: 'installs'

platform:
- x64

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: |
(New-Object Net.WebClient).DownloadFile("https://nightly.yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart

build: off

Expand All @@ -42,4 +49,6 @@ skip_commits:
test_script:
- node --version
- npm --version
- yarn --version
- yarn cache dir
- bash tasks/e2e-%test_suite%.sh
5 changes: 5 additions & 0 deletions fixtures/output/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
testEnvironment: 'node',
testMatch: ['**/*.test.js'],
setupTestFrameworkScriptFile: './setupOutputTests.js',
};
6 changes: 6 additions & 0 deletions fixtures/output/setupOutputTests.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
beforeAll(() => {
jest.setTimeout(1000 * 60 * 5);
});
beforeEach(() => {
jest.setTimeout(1000 * 60 * 5);
});
Loading