Commit Graph

62 Commits

Author SHA1 Message Date
Michael Scholtz
e4e86cd5d3 Fix Travis CI config in template README.md (#910) 2016-10-17 22:51:22 +03:00
Mike Francis
7de747daa8 Added note about env server restart (#903)
* Added note about env server restart

As discussed in [#870](https://github.com/facebookincubator/create-react-app/issues/870)

* Style nit
2016-10-14 12:37: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
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
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
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
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
Dan Abramov
df21070ede Tweak eject output 2016-10-03 13:41:49 +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
dc6074abbc Publish
- react-dev-utils@0.2.1
 - react-scripts@0.6.1
2016-09-27 15:53:27 +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
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
059536291e 0.6.0 2016-09-25 13:07:08 +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 2016-09-24 00:56:02 +01:00
Dan Abramov
cb05a4ca6e Remove unintentionally committed bundledDependencies 2016-09-24 00:34:23 +01:00
Kasper Peulen
500fb749e0 simplify protocol === "https" ? true : false to protocol === "https" (#730) 2016-09-24 00:27:20 +01:00
Dan Abramov
7ac8777ed1 Publish
- babel-preset-react-app@0.2.1
 - create-react-app@0.5.0
 - eslint-config-react-app@0.2.1
 - react-dev-utils@0.1.0
 - react-scripts@0.5.0
2016-09-23 22:31:36 +01:00
Dan Abramov
cdbb5382be 0.5.0 2016-09-23 22:21:40 +01:00
Dan Abramov
176dd373b2 Fix eject 2016-09-23 22:20:40 +01:00
Dan Abramov
54615eee21 Explain how to use #703 2016-09-23 21:53:20 +01:00
Dan Abramov
fda91eba56 Don't hardcode react-scripts package name (#728)
* Don't hardcode react-scripts package name

Fixes issue described in https://github.com/facebookincubator/create-react-app/issues/682#issuecomment-248781486.

* Update eject.js
2016-09-23 21:29:14 +01:00
Dan Abramov
96eefaeefa Bump eslint preset version 2016-09-23 20:58:22 +01:00
Dan Abramov
b6d964f361 Bump babel preset version 2016-09-23 20:56:39 +01:00
Dan Abramov
e5bf5af296 Extract some utilities into a separate package (#723)
* Extract some utilities into a separate package

* Add utils dir to `files` in package.json

* Do not create an empty `utils` dir on eject
2016-09-23 20:53:08 +01:00
ekaradon
fbccb820bb Add host as adjustable parameter through env variables (#717)
* Add host as adjustable parameter through env variables

eg: `HOST=test.dev.local npm start`

* Style nit
2016-09-23 15:01:35 +01:00
Dan Abramov
92afcaf854 Add READMEs for packages 2016-09-23 13:00:11 +01:00
Dan Abramov
5b7a306cba Minor tweaks 2016-09-23 12:41:14 +01:00
Dan Abramov
9a70038b6d Preserve scripts/test.js after ejecting (#715)
Fixes #702
2016-09-23 12:35:26 +01:00
Dan Abramov
f54c9d8fb5 Remove other flow command 2016-09-23 12:07:29 +01:00
Dan Abramov
39d4da6165 Flow files are removed now 2016-09-23 12:06:57 +01:00
Jiansen HE
4e8c5e007a Add notes on enabling Travis CI for created repo (#677) 2016-09-23 12:00:46 +01:00
Ayrton De Craene
8e5183ac1b Load environment file in development (#695)
* Load environment file via dotenv if .env file is present

* Document loading environment variables in .env file

* Minor doc tweaks
2016-09-23 11:59:38 +01:00
Aeneas
2050174631 openBrowser() causes docker-compose set ups to fail because of spawn EACCESS (#711)
* openBrowser() causes docker-compose set ups to fail because of spawn EACCESS - closes #710

Signed-off-by: Aeneas Rekkas (arekkas) <aeneas@ory.am>

* Ignore errors
2016-09-23 11:33:23 +01:00