Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about installing watchman #1933

Closed
wants to merge 163 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
1228883
Upgrade webpack (#1291)
Timer Feb 11, 2017
8ec99b6
Suggest jest-enzyme for simplifying test matchers (#994)
blainekasten Feb 11, 2017
1fe6f55
Add SASS support documentation #1007 (#1008)
tsironis Feb 12, 2017
e8ae98d
Link to new Sass doc
gaearon Feb 12, 2017
071d996
Clarify Less/Sass support
gaearon Feb 12, 2017
f840b4d
Fix `test -e` with wildcard arguments. (#1503)
marcusrbrown Feb 12, 2017
9ffa9e4
Correctly Command in README.md (#1275)
lifez Feb 12, 2017
c7ba130
reactjs/redux#2004 List features beyond ES6 supported by create-react…
jonathanconway Feb 12, 2017
96ebb75
Add a link to supported features
gaearon Feb 12, 2017
ca7fb22
[documentation] how to disable autoprefix feature (#1320)
Feb 12, 2017
6c85568
Added link to Azure deployment tutorial (#1338)
tpetrina Feb 12, 2017
434e858
Add useful link to react-scripts (#1495)
pd4d10 Feb 12, 2017
411347f
Update language support wording to ES2017
Timer Feb 12, 2017
c9bc6ce
Tweak syntax doc (#1539)
gaearon Feb 12, 2017
915b130
Make node version check more robust in e2e.sh (#1295)
pugnascotia Feb 13, 2017
ce0d6ee
update CSS preprocessor instructions (#1543)
Feb 13, 2017
9df3104
Revert "Don't run CI on Node 0.10" (#1547)
Timer Feb 13, 2017
745d341
Use Yarn latest in e2e (#1534)
gaearon Feb 15, 2017
fc49946
Add support for dynamic import & disable require.ensure (#1538)
Timer Feb 15, 2017
1d5a277
Enable `watchContentBase` for webpack-dev-server (#1546)
SpaceK33z Feb 15, 2017
9c33f60
Re-enable transform-react-constant-elements (#1552)
existentialism Feb 15, 2017
6d22a78
modified documentation for setting up jest-enzyme (#1562)
kiranps Feb 15, 2017
b0bc46e
Use https in link to Ignoring files at Github (#1561)
Feb 15, 2017
075e729
add --recursive to sass watch script (#1564)
Feb 15, 2017
5e65f0d
Mention Windows support explicitly
gaearon Feb 15, 2017
c8cbbd0
Reorder
gaearon Feb 16, 2017
1fc1d82
Update README.md (#1573)
mkermani144 Feb 16, 2017
e9493a2
MacOS => macOS
gaearon Feb 16, 2017
41632fb
Revert "Bump babel deps and re-enable transform-react-constant-elemen…
gaearon Feb 16, 2017
bee4ece
Switch from Neo to Neutrino (#1576)
eliperelman Feb 17, 2017
dd9ec7b
fixes #1584 PORT env variable not always an integer (#1585)
matoilic Feb 18, 2017
1aa4b2b
babel-preset: remove babel-plugin-transform-es2015-parameters (#1598)
christophehurpeau Feb 21, 2017
2a8535b
Add note for using CHOKIDAR_USEPOLLING in virtual machines to enable …
AJamesPhillips Feb 22, 2017
d945370
Allow --scripts-version to be a git url (#1570)
tomconroy Feb 23, 2017
a82896c
Install react, react-dom, and react-scripts at the same time (#1253)
n3tr Feb 23, 2017
21fe19a
Bump deps for webpack 2 compat (#1621)
Timer Feb 23, 2017
7be0f4d
add a comment about NODE_ENV value set to 'production' during build s…
mderazon Feb 24, 2017
646690b
Update flow configuration documentation (#1518)
SBrown52 Feb 24, 2017
92a0680
Add note about when to import bootstrap CSS. (#1618)
joewoodhouse Feb 24, 2017
67d0d49
Document Sass imports
gaearon Feb 24, 2017
bec009c
Fix workflow if react-scripts package is linked via npm-link (#1356)
tuchk4 Feb 24, 2017
577c4e8
Document debugging in the browser. (#1540)
bondz Feb 24, 2017
e14e003
Link to "Debugging in the Editor"
gaearon Feb 24, 2017
0ef9e80
(feat): add webpack validation error logging (#1596)
johann-sonntagbauer Feb 24, 2017
09cfcde
Add lint rule to disallow require.ensure and System.import (#1536)
tharakawj Feb 24, 2017
c3240a1
Adding link to “Customizing” create-react-app (#1121)
Feb 24, 2017
1c0851d
Update index.js (#1603)
driquelme Feb 24, 2017
d6a83aa
Remove .bin files defined at react-scripts/package.json after eject …
tuchk4 Feb 24, 2017
41d1469
Bump `recursive-readdir`. (#1560)
wtgtybhertgeghgtwtg Feb 24, 2017
dd801e2
Disallow event global variable with no-restricted-globals rule (#1530…
vfil Feb 24, 2017
c8d9c47
Added a how-to on react-snapshot (#1577)
superhighfives Feb 24, 2017
53db95a
NPM version check for tip (#1193)
rangle-mobinni Feb 24, 2017
8d41328
Enable eslint caching in development (#1578)
viankakrisna Feb 24, 2017
925ab72
Use real build path name in build output (#1478)
chyipin Feb 24, 2017
5155797
adding a note on how to resolve "Could not find a required file." dep…
Feb 24, 2017
b609ac9
Use posix paths for Jest config during eject (#1635)
Timer Feb 24, 2017
dbf17fd
Setting a dynamic port value for the pushstate-server URL text (#1628)
mattccrampton Feb 24, 2017
3289c32
Fix up broken line
gaearon Feb 24, 2017
2288ddf
Support & test import() for non-bundled code (#1615)
Timer Feb 25, 2017
6876c40
Gracefully handle initial installation error (#1512)
chitchu Feb 25, 2017
f3d8fff
Published 0.9.1 at 9e2624f332eea9032051dceb95eebfad5c158561
Timer Feb 26, 2017
e1aaf39
Add changelog for 0.9.1
Timer Feb 26, 2017
f68cc67
Update changelog
Timer Feb 26, 2017
253c1e0
Add a note about known issue
gaearon Feb 26, 2017
2f6fac9
Fix npm test on Windows (#1647)
gaearon Feb 26, 2017
fbae44a
Add 0.9.2 changelog
gaearon Feb 26, 2017
ba5da93
0.9.2
gaearon Feb 26, 2017
e1e28d9
Merge changelogs
gaearon Feb 26, 2017
68e9bb9
Format differently
gaearon Feb 26, 2017
432ba82
Set Chrome userDataDir to be under .vscode folder (#1657)
ryansully Feb 27, 2017
d0695f7
Fix e2e when used with cold cache (#1667)
Timer Feb 27, 2017
a1858c7
Fix e2e-simple (cont.)
Timer Feb 27, 2017
a3a223a
Add appveyor.yml (#1648)
Timer Feb 27, 2017
2d93ae1
fix react dependency versions during initial install (#1669)
johann-sonntagbauer Feb 28, 2017
715968e
Remove Windows 0.10 simple test
Timer Feb 28, 2017
c51a611
add project name validation (#1662)
johann-sonntagbauer Feb 28, 2017
3509dcd
fix project cleanup on windows (#1675)
johann-sonntagbauer Feb 28, 2017
7c899fc
Revert "Enable eslint caching in development" (#1665)
gaearon Feb 28, 2017
2b824d8
add X-FORWARDED headers for proxy requests (#1677)
johann-sonntagbauer Feb 28, 2017
bf948bf
Use offline cached version with yarn when it's possible (#1423)
voxsim Feb 28, 2017
15e1ec2
Add 0.9.3 changelog (#1683)
gaearon Feb 28, 2017
ee3b788
Add "migrating" section for 0.9.3
gaearon Feb 28, 2017
a85ae1d
False expression should not be in dependencies
Timer Feb 28, 2017
10a8dc6
Published 0.9.3 from 0.9.x
gaearon Feb 28, 2017
342867e
appveyor: Build all branches
Timer Mar 1, 2017
1a838dc
Published CLI from 0.9.x
Timer Feb 28, 2017
60ba9f2
Suggest CRA 1.2.1 in changelog
gaearon Mar 1, 2017
af6a0ff
Fixed missing flag in first preprocess command (#1687)
mklemme Mar 1, 2017
43139bc
Re-enable e2e-install directory test
Timer Mar 1, 2017
404c354
Suggest to use .env for enabling polling mode (#1698)
gaearon Mar 2, 2017
45d1d24
Update extract-text-webpack-plugin to latest (#1700)
SimenB Mar 2, 2017
db64278
Diagnostic code (#1695)
tgig Mar 2, 2017
c7a9dae
Fix Jest tests for Cygwin
Timer Mar 3, 2017
59cab8f
Improve reliability of port hint. (#1696)
chrisdrackett Mar 3, 2017
b88d665
Modularise scripts (#1433)
djgrant Mar 4, 2017
72695a1
Remove unneeded `url` lib (#1715)
pd4d10 Mar 4, 2017
b421ed9
pin and bump lerna (#1688)
viankakrisna Mar 4, 2017
8951fbe
Lerna 2.0.0-beta.38 expects packages entry
Timer Mar 4, 2017
443ca23
Add docs for apache's client side routing setting (#1717)
viankakrisna Mar 5, 2017
3fe8289
Update now.sh deployment instructions. (#1710)
replaid Mar 5, 2017
19a4672
Add support for ignoreRestSiblings in no-unused-vars (#1705)
chrisdrackett Mar 5, 2017
4ec5af3
add double quotes to escape spaces in paths in e2e (#1707)
viankakrisna Mar 5, 2017
ae61bf6
Create appveyor.cleanup-cache.txt
gaearon Mar 5, 2017
9d8096e
Link Appveyor caches to appveyor.cleanup-cache.txt
gaearon Mar 5, 2017
23f85d3
Trigger AppVeyor cache cleanup
gaearon Mar 5, 2017
d07accb
Fix openBrowser() when BROWSER=open on macOS (#1690)
bpierre Mar 5, 2017
5414cff
Create empty package.json in e2e test (#1401) (#1402)
matoilic Mar 5, 2017
01c3597
Skip AppVeyor CI builds for Markdown changes (#1723)
gaearon Mar 5, 2017
ed9eeeb
Don't use ES6 in a file that should run on Node 4 (#1724)
gaearon Mar 5, 2017
13f26e3
Bump jsx-a11y version (#1542)
bondz Mar 5, 2017
dbee660
Bump ESLint config to 0.6.0 manually
gaearon Mar 5, 2017
e001da9
Bump root package’s ESLint config dep to latest to resolve peer on npm 2
gaearon Mar 5, 2017
df3ca8e
Fix Node 4 e2e tests (#1730)
Timer Mar 5, 2017
2f7e3a2
Lint internal scripts with eslint:recommended (#1729)
gaearon Mar 5, 2017
23dc422
Fix ejecting from a scoped fork (#1727)
gaearon Mar 5, 2017
3fa5e8e
Properly extract package name for installing tgz of scoped packages (…
Timer Mar 5, 2017
fbdff9d
extract generic build functions to react-dev-utils (#1726)
viankakrisna Mar 6, 2017
e0365a5
Bust AppVeoyr cache
gaearon Mar 6, 2017
03d15f4
Relax ESLint config peerDependency (#1740)
gaearon Mar 6, 2017
1bfd5da
Fix internal linting setup and add missing headers (#1741)
gaearon Mar 6, 2017
d7bcc19
Fix eject for linked react-scripts (#1736)
tuchk4 Mar 6, 2017
abe3b84
Add changelog for 0.9.4
Timer Mar 6, 2017
956322b
Published branch 0.9.x
Timer Mar 6, 2017
cc35b8e
Adjust changelog wording
Timer Mar 6, 2017
24f38f8
Switch to preset-env (#1742)
Timer Mar 7, 2017
ed5c016
Add runtime error overlay (#1101)
Timer Mar 7, 2017
2ac1b38
Whitelist files that can be embedded through url-loader (#1305)
pugnascotia Mar 7, 2017
3b15f0a
Update deps for webpack 2
Timer Mar 7, 2017
7dd124c
Update broken link
gaearon Mar 7, 2017
43873dc
Display yarn instead of yarnpkg when creating a new app (#1747)
lpalmes Mar 7, 2017
fe7b5c2
update to modern code style (#1738)
tuchk4 Mar 7, 2017
8885f8f
Create PR_TEMPLATE.md
gaearon Mar 7, 2017
66dda48
Rename PR_TEMPLATE.md to PULL_REQUEST_TEMPLATE.md
gaearon Mar 7, 2017
db008e6
Update PULL_REQUEST_TEMPLATE.md
gaearon Mar 7, 2017
837f544
Add yarn steps for adding flow (#1756)
zertosh Mar 7, 2017
a235694
Add lint-staged + husky for prettier auto-formatting on commit (#1759)
Mar 8, 2017
a002317
Clarify philosophy about configuration (#1679)
alberto Mar 8, 2017
4bc9e79
Update configuration philosophy (#1768)
Timer Mar 8, 2017
8c00af1
Suggest `serve` for running in production (#1760)
leo Mar 8, 2017
9c9f8f6
Remove 'guard-for-in' lint rule (#1773)
sophiebits Mar 9, 2017
0c0c5c1
Run CI on Node 7; Bump detect-port: 1.0.1 -> 1.1.0 (#1776) (#1783)
ryanwalters Mar 9, 2017
2a03137
Add 0.9.5 changelog (#1784)
gaearon Mar 9, 2017
76680ae
docs(babel-preset): Update comment info about babel-preset-env. (#1787)
evenchange4 Mar 10, 2017
0a66347
Feature/readme-nomoretools (#1799)
moniuch Mar 11, 2017
052fcdd
Suggest "yarn build" rather than "yarn run build" (#1800)
geoffdavis92 Mar 12, 2017
b55a7d8
Tweak the wording
gaearon Mar 13, 2017
ccb5f84
Fixes a silent crash when ejecting (#1810)
gaearon Mar 14, 2017
b3dc81d
Link to CRNA
gaearon Mar 14, 2017
0ace417
Make scripts crash on unhandled rejections (#1819)
dbismut Mar 14, 2017
9512d97
Allow creation of apps in empty mercurial repos (#1811)
GreenGremlin Mar 15, 2017
35d84ef
Make Surge guide more focused
gaearon Mar 18, 2017
c436bf3
User Guide: Removed blockquote from code section, due to markdown con…
Mar 21, 2017
2574a7e
Fix AppVeyor CI (#1876)
darrenscerri Mar 22, 2017
82cebbf
Provide commander with package name (#1867)
mkazantsev Mar 22, 2017
2ac3f99
Fix responsive behavior in iOS 9+ (#1821)
GreenGremlin Mar 22, 2017
0d4d59f
Check internet connectivity with lookup instead of resolve (#1863)
kdleijer Mar 22, 2017
bc6fc95
Update `detect-port` (#1861)
Andreyco Mar 22, 2017
47a8148
Fix importing npm linked libraries (#1359)
AsaAyers Mar 23, 2017
1e1a3cb
Test for accidental extraneous dependencies (#1825)
lpalmes Mar 23, 2017
b403048
Fix AppVeyor CI (#1868)
darrenscerri Mar 24, 2017
7b124e7
Re-disable babel modules transform (#1894)
Timer Mar 27, 2017
5364908
Duplicate CLI file warning header
Timer Mar 27, 2017
b555839
Add note about installing watchman
just-boris Apr 4, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
build
my-app*
packages/react-scripts/template
packages/react-scripts/fixtures
15 changes: 14 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
{
"extends": "react-app"
"extends": "eslint:recommended",
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"no-console": "off",
"strict": ["error", "global"]
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/
.vscode/
node_modules/
build
.DS_Store
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ language: node_js
node_js:
- 4
- 6
- 7
cache:
directories:
- node_modules
- packages/create-react-app/node_modules
- packages/react-scripts/node_modules
install: true
script:
- 'if [ $TEST_SUITE = "simple" ]; then tasks/e2e-simple.sh; fi'
- 'if [ $TEST_SUITE = "installs" ]; then tasks/e2e-installs.sh; fi'
Expand All @@ -21,5 +23,7 @@ env:
- TEST_SUITE=kitchensink
matrix:
include:
- node_js: 0.10
env: TEST_SUITE=simple
- node_js: 6
env: USE_YARN=yes TEST_SUITE=simple
400 changes: 367 additions & 33 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Following these guidelines helps to communicate that you respect the time of the

As much as possible, we try to avoid adding configuration and flags. The purpose of this tool is to provide the best experience for people getting started with React, and this will always be our first priority. This means that sometimes we [sacrifice additional functionality](https://gettingreal.37signals.com/ch05_Half_Not_Half_Assed.php) (such as server rendering) because it is too hard to solve it in a way that wouldn’t require any configuration.

We prefer **convention, heuristics, or interactivity** over configuration.
We prefer **convention, heuristics, or interactivity** over configuration.<br>
Here’s a few examples of them in action.

### Convention
Expand Down Expand Up @@ -47,6 +47,8 @@ Please also provide a **test plan**, i.e. specify how you verified that your add

2. Run `npm install` in the root `create-react-app` folder.

3. *(Only for MacOS Sierra)*: install [Watchman](https://facebook.github.io/watchman/docs/install.html), for example `brew install watchman`

Once it is done, you can modify any file locally and run `npm start`, `npm test` or `npm run build` just like in a generated project.

If you want to try out the end-to-end flow with the global CLI, you can do this too:
Expand Down
8 changes: 8 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Thank you for sending the PR!
If you changed any code, there are just two more things to do:

* Provide us with clear instructions on how you verified your changes work. Bonus points for screenshots!

Happy contributing!
-->
38 changes: 28 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,31 @@ Create React apps with no build configuration.
* [Getting Started](#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.

## tl;dr
Create React App works on macOS, Windows, and Linux.<br>
If something doesn’t work please [file an issue](https://github.com/facebookincubator/create-react-app/issues/new).

## Quick Overview

```sh
npm install -g create-react-app

create-react-app my-app
cd my-app/
npm start

```

Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
When you’re ready to deploy to production, create a minified bundle with `npm run build`.

<img src='https://camo.githubusercontent.com/506a5a0a33aebed2bf0d24d3999af7f582b31808/687474703a2f2f692e696d6775722e636f6d2f616d794e66434e2e706e67' width='600' alt='npm start'>

### Get Started Immediately

You **don’t** need to install or configure tools like Webpack or Babel.<br>
They are preconfigured and hidden so that you can focus on the code.

Just create a project, and you’re good to go.

## Getting Started

### Installation
Expand All @@ -35,7 +44,7 @@ npm install -g create-react-app

**We strongly recommend to use Node >= 6 and npm >= 3 for faster installation speed and better disk usage.** You can use [nvm](https://github.com/creationix/nvm#usage) to easily switch Node versions between different projects.

**This tool doesn’t assume a Node backend**. The Node installation is only required for the build tools that rely on it locally, such as Webpack and Babel.
**This tool doesn’t assume a Node backend**. The Node installation is only required for Create React App itself.

### Creating an App

Expand Down Expand Up @@ -70,7 +79,7 @@ my-app/
No configuration or complicated folder structures, just the files you need to build your app.<br>
Once the installation is done, you can run some commands inside the project folder:

### `npm start`
### `npm start` or `yarn start`

Runs the app in development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
Expand All @@ -80,14 +89,14 @@ You will see the build errors and lint warnings in the console.

<img src='https://camo.githubusercontent.com/41678b3254cf583d3186c365528553c7ada53c6e/687474703a2f2f692e696d6775722e636f6d2f466e4c566677362e706e67' width='600' alt='Build errors'>

### `npm test`
### `npm test` or `yarn test`

Runs the test watcher in an interactive mode.<br>
By default, runs tests related to files changes since the last commit.

[Read more about testing.](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)

### `npm run build`
### `npm run build` or `yarn build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.
Expand All @@ -102,14 +111,17 @@ The [User Guide](https://github.com/facebookincubator/create-react-app/blob/mast
- [Updating to New Releases](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#updating-to-new-releases)
- [Folder Structure](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#folder-structure)
- [Available Scripts](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#available-scripts)
- [Supported Language Features and Polyfills](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#supported-language-features-and-polyfills)
- [Syntax Highlighting in the Editor](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#syntax-highlighting-in-the-editor)
- [Displaying Lint Output in the Editor](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#displaying-lint-output-in-the-editor)
- [Debugging in the Editor](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#debugging-in-the-editor)
- [Changing the Page `<title>`](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#changing-the-page-title)
- [Installing a Dependency](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#installing-a-dependency)
- [Importing a Component](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#importing-a-component)
- [Adding a Stylesheet](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-stylesheet)
- [Post-Processing CSS](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#post-processing-css)
- [Adding Images and Fonts](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-images-and-fonts)
- [Adding a CSS Preprocessor (Sass, Less etc.)](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc)
- [Adding Images, Fonts, and Files](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-images-fonts-and-files)
- [Using the `public` Folder](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-the-public-folder)
- [Using Global Variables](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-global-variables)
- [Adding Bootstrap](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-bootstrap)
Expand All @@ -120,6 +132,7 @@ The [User Guide](https://github.com/facebookincubator/create-react-app/blob/mast
- [Proxying API Requests in Development](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#proxying-api-requests-in-development)
- [Using HTTPS in Development](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-https-in-development)
- [Generating Dynamic `<meta>` Tags on the Server](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#generating-dynamic-meta-tags-on-the-server)
- [Pre-Rendering into Static HTML Files](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#pre-rendering-into-static-html-files)
- [Running Tests](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)
- [Developing Components in Isolation](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#developing-components-in-isolation)
- [Making a Progressive Web App](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app)
Expand All @@ -137,7 +150,7 @@ Please refer to the [User Guide](https://github.com/facebookincubator/create-rea

* **One Dependency:** There is just one build dependency. It uses Webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience on top of them.

* **Convention over Configuration:** You don't need to configure anything by default. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.
* **No Configuration Required:** You don't need to configure anything. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.

* **No Lock-In:** You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.

Expand Down Expand Up @@ -173,7 +186,7 @@ Some features are currently **not supported**:
* Server rendering.
* Some experimental syntax extensions (e.g. decorators).
* CSS Modules.
* LESS or Sass.
* Importing LESS or Sass directly ([but you still can use them](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc)).
* Hot reloading of components.

Some of them might get added in the future if they are stable, are useful to majority of React apps, don’t conflict with existing tools, and don’t introduce additional configuration.
Expand All @@ -196,6 +209,11 @@ All of them are transitive dependencies of the provided npm package.

We'd love to have your helping hand on `create-react-app`! See [CONTRIBUTING.md](CONTRIBUTING.md) for more information on what we're looking for and how to get started.

## React Native

Looking for something similar, but for React Native?<br>
Check out [Create React Native App](https://github.com/react-community/create-react-native-app/).

## Acknowledgements

We are grateful to the authors of existing related projects for their ideas and collaboration:
Expand All @@ -210,7 +228,7 @@ If you don’t agree with the choices made in this project, you might want to ex
Some of the more popular and actively maintained ones are:

* [insin/nwb](https://github.com/insin/nwb)
* [mozilla/neo](https://github.com/mozilla/neo)
* [mozilla-neutrino/neutrino-dev](https://github.com/mozilla-neutrino/neutrino-dev)
* [NYTimes/kyt](https://github.com/NYTimes/kyt)
* [zeit/next.js](https://github.com/zeit/next.js)
* [gatsbyjs/gatsby](https://github.com/gatsbyjs/gatsby)
Expand Down
5 changes: 5 additions & 0 deletions appveyor.cleanup-cache.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Edit this file to trigger a cache rebuild.
http://help.appveyor.com/discussions/questions/1310-delete-cache

----
Just testing if this works.
50 changes: 50 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
image: Visual Studio 2017

environment:
matrix:
- nodejs_version: 7
test_suite: "simple"
- nodejs_version: 7
test_suite: "installs"
- nodejs_version: 7
test_suite: "kitchensink"
- nodejs_version: 6
test_suite: "simple"
- nodejs_version: 6
test_suite: "installs"
- nodejs_version: 6
test_suite: "kitchensink"
- nodejs_version: 4
test_suite: "simple"
- nodejs_version: 4
test_suite: "installs"
- nodejs_version: 4
test_suite: "kitchensink"

cache:
- node_modules -> appveyor.cleanup-cache.txt
- packages\react-scripts\node_modules -> appveyor.cleanup-cache.txt

clone_depth: 50

matrix:
fast_finish: true

platform:
- x64

install:
# TODO: Remove after https://github.com/appveyor/ci/issues/1426 is fixed
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- ps: Install-Product node $env:nodejs_version $env:platform

build: off

skip_commits:
files:
- '**/*.md'

test_script:
- node --version
- npm --version
- sh tasks/e2e-%test_suite%.sh
7 changes: 5 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "2.0.0-beta.37",
"lerna": "2.0.0-beta.38",
"version": "independent",
"changelog": {
"repo": "facebookincubator/create-react-app",
Expand All @@ -12,5 +12,8 @@
"tag: internal": ":house: Internal"
},
"cacheDir": ".changelog"
}
},
"packages": [
"packages/*"
]
}
25 changes: 15 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@
"postinstall": "lerna bootstrap",
"publish": "tasks/release.sh",
"start": "node packages/react-scripts/scripts/start.js",
"test": "node packages/react-scripts/scripts/test.js --env=jsdom"
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
"precommit": "lint-staged"
},
"devDependencies": {
"babel-eslint": "6.1.2",
"eslint": "3.5.0",
"eslint-config-react-app": "0.2.1",
"eslint-plugin-flowtype": "2.18.1",
"eslint-plugin-import": "1.12.0",
"eslint-plugin-jsx-a11y": "2.2.2",
"eslint-plugin-react": "6.3.0",
"lerna": "^2.0.0-beta.37",
"lerna-changelog": "^0.2.3"
"eslint": "3.16.1",
"husky": "^0.13.2",
"lerna": "2.0.0-beta.38",
"lerna-changelog": "^0.2.3",
"lint-staged": "^3.3.1",
"prettier": "^0.21.0"
},
"lint-staged": {
"*.js": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
}
}
2 changes: 1 addition & 1 deletion packages/babel-preset-react-app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# babel-preset-react-app

This package includes the Babel preset used by [Create React App](https://github.com/facebookincubator/create-react-app).
This package includes the Babel preset used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
Expand Down
Loading