Commit Graph

449 Commits

Author SHA1 Message Date
Dan Abramov
a51be9582a Publish
- react-dev-utils@4.0.0
 - react-error-overlay@2.0.0
 - react-scripts@1.0.12
2017-08-27 19:26:52 -07:00
Sylvain Baronnet
2cbb76018a Default Favicon lossless optimisation (#2917) 2017-08-27 20:17:21 -06:00
Christophe Hurpeau
fbbc64fce2 update babel-runtime dependency in react-error-overlay and react-scripts (#2991)
* update babel-runtime dependency in react-error-overlay and react-scripts

`babel-runtime@6.23.0` have a dependency on `regenerator-runtime@0.10.5`
`babel-runtime@6.26.0` on `regenerator-runtime@0.11.0`

> npm ls regenerator-runtime

```
└─┬ react-scripts@1.0.11
  ├─┬ babel-core@6.25.0
  │ └─┬ babel-runtime@6.26.0
  │   └── regenerator-runtime@0.11.0
  ├─┬ babel-eslint@7.2.3
  │ └─┬ babel-traverse@6.26.0
  │   └─┬ babel-runtime@6.26.0
  │     └── regenerator-runtime@0.11.0
  ├─┬ babel-runtime@6.23.0
  │ └── regenerator-runtime@0.10.5
  └─┬ react-error-overlay@1.0.10
    └─┬ babel-runtime@6.23.0
      └── regenerator-runtime@0.10.5
```

* fix requested changes
2017-08-27 20:12:11 -06:00
Tharaka Wijebandara
ecd1f0544b Convert react-error-overlay to React (#2515)
* Convert react-error-overlay to React

* Update compile-time error overlay to use react-error-overlay components

 * Refactor react-error-overlay components to container and presentational components.

 * Make the compile-time error overlay a part of react-error-overlay package.

 * Use react-error-overlay as dependency in react-dev-utils to show compile-time errors.

* Run Prettier

* Move the function name fix into StackFrame itself

* Fix clicking on source code snippet to open the code in editor

* Use exact objects + minor style tweak

* Don't linkify frames that don't exist on the disk

* Fix lint

* Consolidate iframe rendering logic

* Remove circular dependency between react-dev-utils and react-error-overlay

* Fix lint

* Fix decoupling of react-dev-utils and react-error-overlay by moving middleware

* Deduplicate identical errors
2017-08-27 19:45:55 -06:00
Ekaterina Prigara
5ea6de91c2 Docs: debugging in WebStorm (#2986)
* Debugging in WebStorm

* Fixed formatting for shortcuts

* Added note about default URL
2017-08-21 11:40:52 -04:00
Pier-Luc Gendreau
6efab2e12d Remove Modulus from user guide (#2948)
The service was rebranded to xervo.io and was completely shut down in April 2017
2017-08-14 11:51:38 +02:00
Thomas Bassetto
10c1f577da Update README.md (#2927)
Fixing a small typo.
2017-08-09 08:57:37 -04:00
Joe Haddad
bfaee410c5 Publish
- babel-preset-react-app@3.0.2
 - create-react-app@1.4.0
 - eslint-config-react-app@2.0.0
 - react-dev-utils@3.1.0
 - react-error-overlay@1.0.10
 - react-scripts@1.0.11
2017-08-08 23:39:58 -04:00
Joe Haddad
9b23be825a Update dev deps (#2923)
* Bump deps

* Fix linter errors

* Whoops

* Try to bump webpack

* Update peer deps to min for eslint 4.x
2017-08-08 23:15:34 -04:00
Joe Haddad
4cdd5ac427 Update README.md 2017-08-08 21:55:13 -04:00
Ade Viankakrisna Fadlil
1e3a64fa43 Use env variable to disable source maps (#2818)
* use env variable to disable source maps

* Rename to use SOURCE_MAP with explicit value

* Update webpack.config.prod.js
2017-08-08 21:53:37 -04:00
Stéphane Goetz
badfc2a8d9 Make formatWebpackMessages return all messages (#2834)
* Move the reduction of the messages to a single place in the place it is used.

* Fix variable name
2017-08-08 21:37:04 -04:00
Konstantin Tarkus
2766bbd1ff Fix the order of arguments in spawned child proc (#2913)
* Fix the order of arguments in spawned child proc

* Update react-scripts.js

* Remove a comma

* Update react-scripts.js
2017-08-08 21:35:26 -04:00
themre
e12d053c27 Feature/webpack 3 4 (#2875)
* bump wp3

* try bump babel-loader

* bump 3.4.1
2017-08-02 10:33:13 +01:00
iamdoron
24b18aedd9 Allow importing package.json (#2468)
* Allow importing package.json

* Remove package.json import from App.js template

* fix importing package.json

* Rename variable to reflect path is relative to root

* Check for both package & package.json in ModuleScopePlugin

* Use regex to check relative path to package.json

* Strictly enforce package.json extension on scope plugin

* Add allowedPaths to ModuleScopePlugin ctor and use it to allow app package.json

* Remove package.json import from App.js template

* Add package.json to react-scripts/template, show package version and name in the template

* Remove import package.json from template

* Remove template/package.json and its references in code

* Update ModuleScopePlugin.js

* Update README.md
2017-08-01 22:50:58 -04:00
Ade Viankakrisna Fadlil
b643f5710a Format UglifyJs error (#2650)
* format UglifyJs error

* move formatBuildError to react-dev-utils

* fix readme

* use regex for plucking the path from stack

* make path human readable and fallback to show error if regex not matched

* rename to printBuildError and add link to the docs

* fix link indentation

* improve readibility + shorten link
2017-08-01 21:57:50 -04:00
Joe Haddad
57f2cd70f7 Update README.md 2017-08-01 21:49:01 -04:00
Joe Haddad
6443441bd5 Update README.md 2017-08-01 21:47:01 -04:00
Kiho · Cham
a73252f06f Use modern syntax feature (#2873)
The create-react-app need node >= 6, and node version 6 support a lot of ES6, and let's switch using '+' to concat string with template string.
2017-08-01 21:04:25 -04:00
themre
b1c12241e4 Bump Webpack 3.4 (#2850)
* bump wp3

* try bump babel-loader
2017-07-26 09:58:42 +01:00
themre
bc82755aff Feature/webpack3 (#2574)
* Add source-map-loader to support source maps of dependencies

* merge with latest develop

* add ModuleConcatenationPlugin

* revert source-map-loader

* bump to 3.1 and update dev-server

* rebase to master

* rebase again

* bump webpack

* remove ModuleConcatenationPlugin, downgraded react packages, bump etwp

* ETWP rc1 only for testing

* bump ETWP and webpack 3

* bump WP3

* revert to 3.2.0

* bump sw-precache-webpack-plugin

* bump back to 3.3.0

* bump dev-server and manifest
2017-07-25 20:28:45 +01:00
Dan Abramov
d679843d05 Add explicit "Opting Out of Caching" header (#2822) 2017-07-19 18:19:18 +01:00
Christian Bundy
0482058724 Upgrade webpack-dev-server (#2806) 2017-07-18 02:16:38 -04:00
zeel
3ffad55e68 Moved npm run build before npm test (#2725)
Closes #2713
2017-07-13 11:28:12 -04:00
Ade Viankakrisna Fadlil
a7e71442c6 Docs for react-router v4 basename feature (#2668)
* Docs for react-router v4 basename feature

Fix https://github.com/facebookincubator/create-react-app/issues/2593

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-07-12 15:49:43 -04:00
Andreas Hoffmann
a08eb3b44b Use Rule.oneOf to resolve correct loader (#2747)
* Use oneOf to resolve correct loader

* Add html and json fallthrough again

* Use oneOf to resolve correct loader in dev

* Document file-loaders `js` exclusion

* Remove `jsx` from exclusion in prod config
2017-07-09 21:59:19 +01:00
Đinh Quang Trung
bbbc15dc8e ESLint 4 (#2735)
* Update eslint-loader 1.7.1 -> 1.9.0

* Add eslintPath option

* Update eslint 3.19.0 -> 4.1.1

* Update peer dependencies

* Move eslintPath config to outside @remove-on-eject
2017-07-07 11:40:29 +01:00
Mostafa Hajizadeh
16f0d4a56c Add "node" to Jest's moduleFileExtensions (#2738)
Jest's default value for this option is ["js", "json", "jsx", "node"].
CRA's current value is ["web.js", "js", "json", "web.jsx", "jsx"], which
is missing one of default ones: "node". This change fixes that.

This "node" extension is used in packages that use native code.
2017-07-07 11:37:32 +01:00
Danny Ho
85a9bc8590 Remove Windows note for source-map-explorer (#2719)
Glob support has been added in source-map-explorer@1.4+
2017-07-03 21:03:00 +01:00
Dan Abramov
ad35fd1d13 Publish
- create-react-app@1.3.3
 - react-dev-utils@3.0.2
 - react-error-overlay@1.0.9
 - react-scripts@1.0.10
2017-06-29 19:03:41 +01:00
Dan Abramov
adf334f886 Publish
- react-scripts@1.0.9
2017-06-29 13:11:46 +01:00
Dan Abramov
567d981ee2 Fix external CSS imports (#2680)
* Fix external CSS imports

* Add external CSS import to integration test

* Fix assertion
2017-06-29 12:59:49 +01:00
Daniel Banck
7b5a589f3d Fix minor typo (#2679)
"Styleguidist combines of a style guide, ..." --> "Styleguidist combines a style guide, ..."
2017-06-29 11:33:20 +01:00
Ade Viankakrisna Fadlil
a0bc9493b4 Add more info about apache client side routing (#2666)
* Add more info about apache client side routing

After a revelation in https://github.com/facebookincubator/create-react-app/issues/2593#issuecomment-311729534

* Update README.md
2017-06-29 00:14:16 -04:00
Jaco Bovenschen
d0aa6b2392 Add json and css to lint-staged in template README (#2671)
* Add json and css to lint-staged in template README

This changes the proposed way about using prettier inside the README.md, because prettier supports css since the 1.4.0 release and json since the 1.5.0 release. 

Was not sure if it was a good idea to add different regexes for json and css inside the README.md don't have a real opinion about it myself, could maybe easier for starters to do so if they wan't to add things like eslint or stylelint the the commit hooks.

* Use capitalization for Javascript, CSS and JSON

* Change 'Javascript to JavaScript'
2017-06-28 20:35:20 +01:00
Dan Abramov
7796c94d79 Publish
- babel-preset-react-app@3.0.1
 - create-react-app@1.3.2
 - eslint-config-react-app@1.0.5
 - react-dev-utils@3.0.1
 - react-error-overlay@1.0.8
 - react-scripts@1.0.8
2017-06-28 17:30:24 +01:00
Dan Abramov
a171d93064 Reformat source code with Prettier 1.5.2 2017-06-28 16:23:16 +01:00
Fabrizio Castellarin
60ae2b6d4c Local testing docker links (#2662)
* Fix a command style in docs

* Add a link to docker's docs
2017-06-28 16:01:08 +01:00
Evan Jones
6ab0ec0075 Better React Native Web support (#2511)
* Better React Native Web support

* Adding better react-native-web support for jest testing
2017-06-28 15:29:58 +01:00
Dan Abramov
16e5d15e92 Bump dependencies (#2658) 2017-06-28 15:05:30 +01:00
Dan Abramov
0cebe046e1 Minor code style edits to user guide (#2660)
* Minor code style edits to user guide

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-06-28 15:05:12 +01:00
Dan Abramov
c578d148b7 Don't ask to install webpack for using Styleguidist (#2656)
* Don't ask to install webpack for using Styleguidist

* Update README.md
2017-06-28 14:27:52 +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
Dan Abramov
7cf4de71fa Warn about large bundle sizes (#2648) 2017-06-28 00:00:49 +01:00
Colin Galindo
a4197b610e Add instructions to use source-map-explorer (#1641) 2017-06-27 22:40:33 +01:00
Dan Abramov
91064a1c7f Ignore "Skipping static resource" message from SW precache (#2645) 2017-06-27 22:28:00 +01:00
Artem Sapegin
12a2e42a94 Add React Styleguidist (#2044) 2017-06-27 21:52:30 +01:00
Maarten Hus
5474e2dff9 Added instruction on how to install Prettier (#2006)
* Added instruction on how to install Prettier

* Tweak style

* Update README.md

* Update README.md

* Support JSX

* Update README.md

* Update README.md
2017-06-27 17:51:58 +01:00
Heng Li
60691e6b1c Update README.md (#1813) 2017-06-27 17:32:51 +01:00
Gabriel Aumala
117d82b28d Add more info about OOM build failiure [docs] (#2060)
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
2017-06-27 17:26:54 +01:00