Commit Graph

51 Commits

Author SHA1 Message Date
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
Dan Abramov
0e611e2374 Remove Flow stubs as Flow now supports CSS and resources out of the box 2016-09-23 10:00:32 +01:00
Dan Abramov
ba34b0b79b Eject .babelrc instead of separate configs (#705)
Fixes #410, #674
2016-09-23 00:33:14 +01:00
Dan Abramov
5bf14f3d18 Fix up eject script 2016-09-23 00:30:36 +01:00
Dan Abramov
435fcef092 Bump babel preset version 2016-09-22 23:38:47 +01:00
Dan Abramov
bc6392afaf Add support for public/ folder (#703) 2016-09-22 21:25:34 +01:00
Ville Immonen
5b85a3624f Extract Babel configuration to babel-preset-react-app (#701) 2016-09-22 20:17:54 +01:00
Dan Abramov
8b8afd3191 Bump eslint-config-react-app version to 0.2.0 2016-09-22 14:37:45 +01:00
Ville Immonen
2ed2b59a69 Update eslint-plugin-react and enable new rules (#696)
* Update eslint-plugin-react and enable new rules

New rules:
* `react/no-danger-with-children` (yannickcr/eslint-plugin-react#710)
* `react/no-find-dom-node` (yannickcr/eslint-plugin-react#678)
* `react/style-prop-object` (yannickcr/eslint-plugin-react#715)

* Remove react/no-find-dom-node for now
2016-09-22 13:58:23 +01:00
Kyle Roach
d2128b62f0 Added instructions for using local images (#589) 2016-09-21 15:52:13 +01:00
Ville Immonen
a2d0469c39 Create a shareable ESLint configuration package (#689)
* Move ESLint configuration to a separate package

* Remove the ESLint configuration, moved to eslint-config-react-app

* Update ESLint instructions

* Pin the package versions in eslint-config-react-app

* Add a README for eslint-config-react-app

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update package.json

* Update package.json

* Update production eslint-loader config

* Add the ESLint config to devDependencies of the repo
2016-09-21 15:08:02 +01:00
Simen Bekkhus
07623e2f84 Use pre node@4 compatible path-exists (#685)
* Revert "Add ES5 version of `path-exists` to CLI"

This reverts commit fc3ab46d2a.

* Use pre node@4 compatible `path-exists`

Ref #617
2016-09-20 02:00:51 +03:00