Commit Graph

1693 Commits

Author SHA1 Message Date
Jih-Chi Lee
c5f5b006d8 Fix using pre-release tags with a tarball url in --scripts-version (#876)
* Add supports for prelease tags version

* Add comment to regex

* Cut everything after the first -\d

* Make semver version optional, so just package name get parsed correctly
2016-10-12 13:46:14 +01:00
Kanitkorn Sujautra
88c15d0988 Create asset filenames mapping on the build output (#891)
* Create asset filenames mapping on the build output

I use danethurber/webpack-manifest-plugin on Webpack production
configuration to create a file named `asset-manifest.json` which contain a
mapping of all asset filenames to their corresponding output file.

`asset-manifest.json` will be located at the root of output folder.

This'll resolve #600

* Add an explanation for ManifestPlugin

* Make webpack-manifest-plugin's version exact
2016-10-11 15:19:52 +01:00
Jarle Friestad
4e5a561d98 Dispose error overlay when linting errors have been corrected (#856)
* Dispose error overlay when linting errors have been corrected

* Fixed spelling error

* Minor style tweaks
2016-10-11 12:44:58 +01:00
Patrick Dillon
1359cc492c Support passing scoped package names to --scripts-version arg (#826)
* Support passing scoped package names to --scripts-version arg

* Factor out bitwise operator in indexOf test

* Comment on stripping only version or tag from package name arg
2016-10-11 12:38:45 +01:00
Chase Colman
3539d0401a Upgrade to Jest 16 (#858)
* Update react-scripts dependencies to use jest 16

* Remove testRegex from Jest config (now default)
2016-10-11 12:38:12 +01:00
Shubheksha Jalan
351e449ef0 Disable ES2015 transforms based on node version using babel-preset-env (#878)
* Disable ES2015 transforms based on node version using babel-preset-env

* pass major version number for node to babel-preset-env instead of version string

* use parseFloat() instead of parseInt() to parse node version

* fixed style nits
2016-10-11 12:25:43 +01:00
Patrick Dillon
c6428eaff9 Exit production build if any errors are in build stats (#859)
* Exit on any errors passed in build stats

* Match console error output in start.js
2016-10-07 15:12:53 +01:00
Dan Abramov
410a6a957a Clean up e2e script (#867)
* Clean up e2e script

* Link to local packages after ejecting
2016-10-07 12:05:35 +01:00
James Danger Hycner
90ce8abfa6 #765 - Work on removing publish feature flags. Removing copying files in cra.sh & release.sh (#861) 2016-10-07 11:24:59 +01:00
Alexis Kofman
ad57c457fa Bump babel-plugin-transform-regenerator (#864) 2016-10-07 10:49:58 +01:00
Shmavon Gazanchyan
5c3ab84fdf Correct a comment mistype in webpack production config (#855) 2016-10-06 01:08:08 +01:00
Boris Serdiuk
15c20f1729 load setupTests file at setupTestFramework stage (#846)
fixes facebookincubator/create-react-app#824
2016-10-05 12:18:04 +01:00
Sam Pastoriza
11c9bdc631 Spell check (#845) 2016-10-04 22:54:35 +01:00
Ville Immonen
38a1f27ec1 Tweak readme 2016-10-04 15:36:53 +03:00
Jan Potoms
feb6036fb2 Update instructions on publishing to GitHub pages (#841)
* Update instructions on publishing to GitHub pages

* Update README formatting
2016-10-04 15:34:41 +03:00
Michal Kvasničák
4feff2acf7 Make webpackHotDevClient support webpack 2 too (#840)
* Support webpack 2

* Code style
2016-10-04 13:25:13 +01:00
Dan Abramov
df21070ede Tweak eject output 2016-10-03 13:41:49 +01:00
Dan Abramov
68d9ff6d6a Promote "React must be in scope" to be an error (#822) 2016-10-03 12:37:35 +01:00
unixdev
856001ff8c Fix script name to open chrome (#831)
A previous commit renamed the apple script to open chrome from
`chrome.applescript` to `openChrome.applescript`. That created
a minor bug. Even when chrome was open with the client app,
`npm start` would open the client app in a new Safari tab on
macOS instead of re-using the open tab in chrome.
2016-10-03 12:36:56 +01:00
Jisu Park
94ec8856ae docs(readme): peer dependencies applied (#818) 2016-10-02 13:14:41 +01:00
José Antonio Chio
0a5a04b075 Fix typos on ISSUE_TEMPLATE.md (#817) 2016-10-01 20:26:28 +01:00
Dan Abramov
695f9225f0 Add explicit linebreaks (#813) 2016-10-01 12:00:05 +01:00
Vadim Peretokin
88aa0c71d8 Fix typo (#810) 2016-10-01 12:14:29 +03:00
Brian Ng
909d938166 Fix some typos (#809) 2016-10-01 12:13:42 +03:00
Andrew Zakordonets
27e76bebbe Beaufity output of eject.js script (#769)
* Beaufity output of eject.js script

* change formatting of the eject.js output and move colors to cyan

* change message about file copy

* add missing three dots to some statements in eject.js script

* change color of "copying files" line and do not repeat copy path anymore in log

* fix merge conflict

* Remove yellow color from "Removing dependency" line

* changing color to "Adding dependency" line

* Add line that outputs which react script is getting replaced by similar node script

* remove not used anymore colors

* add console line about updating Jest configs

* fix typo

* change formatting of replacing script output in eject.js

* remove "Writing package.json" file console output

* make quotes cyan in "Replacing script" console output

* update console log output for Jest, Babel, ESLint update and group them under one statement

* Style nits
2016-09-30 18:39:24 +01:00
Thien Do
92d9cda964 Define process.env as object (#807)
* Define process.env as object

* Fix define process.env

* fix NODE_ENV check

* Fix style nitpick
2016-09-30 18:06:26 +01:00
Sebastian De Deyne
0ad930e121 Typo fix in webpack.config.dev.js comments (#777)
* Typo fix in webpack.config.dev.js comments

* Typo fix in webpack.config.prod.js comments
2016-09-30 13:41:21 +01:00
Mathias Biilmann Christensen
590334e185 Add Netlify to deploy instructions 2016-09-30 13:35:58 +01:00
Dan Abramov
a8d29c8ca0 Fix usage example to match react-dev-utils@0.2.x API 2016-09-30 13:25:52 +01:00
Aaron Cannon
90e3cc1fb2 Relaxed eslint rule no-unused-expressions (#724)
Now allows the use of short circuit and ternary expressions.
2016-09-30 13:20:24 +01:00
Dan Abramov
91b32a2769 Fix the doc 2016-09-28 20:24:48 +01:00
Dan Abramov
dc6074abbc Publish
- react-dev-utils@0.2.1
 - react-scripts@0.6.1
react-dev-utils@0.2.1 v0.6.1 react-scripts@0.6.1
2016-09-27 15:53:27 +01:00
Dan Abramov
f4ca972489 Add 0.6.1 changelog 2016-09-27 15:42:02 +01:00
Fernando Montoya
d72c749337 Moved Babel and ESLint config to package.json after ejecting (#773) 2016-09-27 11:17:46 +01:00
vaibhav
37819ee8ef added link to better visualizing tool (#764)
issue here #762
2016-09-26 14:06:46 +01:00
Ville Immonen
7d0fd03b00 Fix the right and bottom padding of the error overlay (#758) 2016-09-26 10:29:55 +01:00
Christopher Chedeau
52bc72fbde Remove the . at the end of the init message (#760)
Otherwise it makes it an invalid path :(
2016-09-26 10:22:55 +01:00
Ville Immonen
4c183b729a Bump recursive-readdir (#756)
Removes a deprecation warning:
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

See: https://github.com/jergason/recursive-readdir/pull/39
2016-09-25 23:32:08 +01:00
Shubheksha Jalan
1b6f58cf05 Forked react-scripts should retain the binary name (#754)
* Forked react-scripts should retain the binary name

* Forked react-scripts should retain the binary name -- fixed issue with regex

* Forked react-scripts should retain the binary name -- fixed style nit
2016-09-25 23:31:53 +01:00
Dan Abramov
e0dfa30525 Mention the npm bug in migration instructions 2016-09-25 15:38:15 +01:00
Dan Abramov
cc97ed5636 Add an extra section about updating to README 2016-09-25 14:43:52 +01:00
Dan Abramov
059536291e 0.6.0 v0.6.0 2016-09-25 13:07:08 +01:00
Dan Abramov
f3c939dea5 Add 0.6.0 changelog 2016-09-25 12:54:01 +01:00
Dan Abramov
17ab11e279 Add an unobtrusive log when server disconnects 2016-09-25 12:41:33 +01:00
Dan Abramov
e872907b50 Fix error overlay in Firefox (#749) 2016-09-25 12:33:43 +01:00
Dan Abramov
2b7a4f147d Add fixed versions of ESLint plugins to the guide 2016-09-25 11:42:00 +01:00
Dan Abramov
9cce0fb59f Add syntax error overlay in development (#744)
* Add syntax error overlay in development

* Support HMR being disabled

* Tweak CSS
2016-09-25 11:31:10 +01:00
Ville Immonen
d75a771515 Fix README edit link (#739) 2016-09-24 22:39:09 +03:00
Forresst
d1250743ad Docs: Fix link to recent version of this guide (#732)
Fix link to recent version of this guide
2016-09-24 10:48:37 +01:00
Dan Abramov
12c95f313a 0.5.1 v0.5.1 2016-09-24 00:56:02 +01:00