Commit Graph

1126 Commits

Author SHA1 Message Date
Florian Goße
e839dff82c Use keyword warn in eslint config (#234)
* Use keyword `warn` in eslint config

We can use the keyword `warn` for rule configuration instead of a number.

* Fix comment which where WARNING was replaced

* Remove extra apostrophe
2016-07-27 11:30:20 +01:00
Dan Abramov
62679927b9 Use shorter hashes in production builds 2016-07-26 22:35:41 +01:00
Dan Abramov
80505887b3 Pin dependencies 2016-07-26 22:32:00 +01:00
Dan Abramov
9b6e87c6cb Remove build directory without ending up in trash
This is frustrating with shells like `fish` that track directory moves
2016-07-26 22:31:11 +01:00
Héliton Nordt
895cfaf9bb Use double quotes for JSX properties (#225)
It helps to maintain consistency with React docs
2016-07-26 21:45:35 +01:00
Héliton Nordt
1670fb13e7 Add .DS_Store to gitignore template (#224) 2016-07-26 11:11:57 -07:00
Héliton Nordt
591fbbfa59 Avoid CSS globals (#220) 2016-07-26 09:49:29 -07:00
Dan Abramov
4ca7b0da06 Document how to add linting in an editor 2016-07-26 15:08:25 +01:00
Dan Abramov
9a4e9678ad Add some newlines to the console output 2016-07-26 12:11:16 +01:00
Kevin Lacker
f8bb37fb31 Merge pull request #202 from lacker/cleanlint
allow 2 * x + 1
2016-07-25 22:18:39 -07:00
Kevin Lacker
4c55619648 allow 2 * x + 1 2016-07-25 22:03:01 -07:00
Amjad Masad
3e9fb8572c "transient" -> "transitive" (#187) 2016-07-25 18:15:55 -07:00
Dan Abramov
750472be94 Delete package.json from template
This way the one generated by `init.js` doesn’t get overwritten later.
This fixes #149 which got broken as part of #94
2016-07-25 23:51:40 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00
breaddevil
d69ee278f7 update webpack css include path, allow files to be loaded from the project root node_modules folder. (#178) 2016-07-25 19:40:26 +01:00
Ethan Cohen
90d49f83d5 [dependency] - Add select eslint-plugin-jsx-a11y rules to lint config. (#175)
This project is a really good use case to apply some accessibility
rules to the lint config. For beginners getting started with React, we
can also teach/enforce basic accessibility rules in the web at author
time.

For now, I’ve just applied to the rules that are listed in
`eslint-config-airbnb` because these are most real-world tested, and we
can continue to add.

Happy to help if there are any questions/issues/concerns about the
plugin!
2016-07-25 18:43:53 +01:00
Forbes Lindesay
9dc23a3484 Simplify path resolving for react-scripts (#168) 2016-07-25 12:05:54 +01:00
Kevin Lacker
06df2ecb46 Merge pull request #166 from lacker/master
fix cdpath bug
2016-07-24 23:44:18 -07:00
Kevin Lacker
511668c538 fix cdpath bug 2016-07-24 22:16:28 -07:00
Dan Abramov
458d3f9eb1 Provide instructions on publishing GH Pages (#162)
* Provide instructions on GH Pages deploy

* Add docs for GH Pages deployment

* Prevent incorrect paths in file-loader

* Minor message tweaks

* Update README.md

* Fix relative paths
2016-07-25 00:55:59 +01:00
Donald Hruska
ef4f8e9058 Don't assume the project is hosted at the root (#94)
* Don't assume the project is hosted at the root
* Require package.json in webpack.config.prod.js and use homepage if set; otherwise use '/'

* Fix package.json path and add sample package.json for tests

* Update publicPath to use relative path portion of URL defined in homepage

* Update successful bundle generation message

* Show bundle generation success message based on presence of homepage in package.json
2016-07-25 00:07:33 +01:00
Can Göktas
055b414178 Fix typo in CONTRIBUTING.md (#161) 2016-07-24 22:26:50 +01:00
Keyan Zhang
76935de8e2 Explicitly specify ESLint config path for editor plugins in package.json (#149)
* explicitly specify ESLint config path for editor plugins

* changed to use single quote
2016-07-24 22:19:58 +01:00
Max Stoiber
d3359507cf Contributing instructions step two (#160)
* Move setup instructions to CONTRIBUTING.md

* Reword setup instructions slightly
2016-07-24 21:26:45 +01:00
Max Stoiber
d7ded9e33e Add first CONTRIBUTING.md (#150)
Ref #92
2016-07-24 17:34:31 +01:00
Max Stoiber
662fdb7055 Disable jsx-handler-name eslint rule (#157)
Ref #156

Not sure if we can simply delete the line and that'll disable it, so I
went with setting it to 0. Let me know!
2016-07-24 12:18:28 +01:00
Max Stoiber
59ff0b59e0 Fix --version (#152) 2016-07-24 00:28:59 -07:00
Greg Gamel
f2c12750cb Update README to correct typo (#148)
Missing letter added.
2016-07-24 07:24:05 +02:00
Krish Munot
f82ecad718 updating to ellipses (#144) 2016-07-23 23:45:39 -05:00
Alex
c9fd6979ac Fix issue #127 (#128) 2016-07-23 21:19:07 +01:00
Conor Hastings
10eae80ead add node engine to package.json and call checkNodeVersion function in cli (#88) 2016-07-23 08:17:58 -07:00
Glenn Reyes
a35ac92807 Resolve imported CSS files from node_modules (#105)
* Resolve imported CSS files from anywhere
* Resolve imported CSS files from src and node_modules folder only

Closes #103
2016-07-23 09:02:44 +02:00
Cory House
3ac4035afe Typo fix (#122) 2016-07-22 20:28:48 -07:00
Shu Uesugi
cd403b32ad Add build directory to gitignore (#112) 2016-07-22 17:23:53 -07:00
Nathan Verni
e3954981ea Adds .gitignore file to default template (#79)
* Adds .gitignore file to default template

* Simplify renames

* Reference npm issue in comment

* Removing leading slash
2016-07-22 13:14:52 -07:00
Nathan Verni
1bffa4cf33 Ignores my-app* directories (#86)
The Contributing instructions in the README give my-app as the sample
app name when running `npm run create-react-app my-app`. This just adds
those directories to the .gitignore so they don't accidentally get
committed.
2016-07-22 20:07:09 +01:00
Dan Abramov
ab90e7fb43 Add explicit <br>s 2016-07-22 19:11:09 +01:00
Satyajit Sahoo
8eb6e05522 Add quik to alternatives (#77)
Quik is a tool to prototype and build apps with React and Babel with zero-setup. It also supports HMR, CSS modules, Sass etc.

https://github.com/satya164/quik
2016-07-22 19:10:34 +01:00
Gustaf Dalemar
aac31836ae Add roc to the list of alternatives (#83) 2016-07-22 19:09:22 +01:00
Paulo Ragonha
cb7b9583b9 Add Sagui to the list of alternatives (#81) 2016-07-22 18:23:14 +01:00
eanplatter
9c31d4f916 Fix dependency issue (#75) v0.1.0 2016-07-22 07:08:07 -07:00
eanplatter
ad2550f70e Recursively copy the template folder (#74)
* Recursively copy the template folder

* add fs-extra library
2016-07-22 06:42:46 -07:00
Dan Abramov
3740473478 Update README.md 2016-07-22 14:05:00 +01:00
Dan Abramov
589384cad3 Update README.md 2016-07-22 14:03:55 +01:00
Dan Abramov
f17d037e15 Update README.md 2016-07-22 13:43:50 +01:00
Dan Abramov
ca56aed3cc Update README.md 2016-07-22 13:42:45 +01:00
Dan Abramov
beeca357e5 Add some pictures 2016-07-22 13:36:36 +01:00
Dan Abramov
339de14dac Create CHANGELOG.md 2016-07-22 13:21:42 +01:00
Dan Abramov
03c62f1c25 Eject Flow stubs
Related to #72, c2ba7a4a6c
2016-07-22 13:19:58 +01:00
Dan Abramov
8c711e22f2 Add a link to howto 2016-07-22 13:11:13 +01:00