Commit Graph

1723 Commits

Author SHA1 Message Date
Vesa Laakso
da1d534a6b Update babel-present-env and use node: 'current' as target (#1051)
* Update babel-preset-env to 0.0.8

Changes between 0.0.6 and 0.0.8 should be backwards compatible:
https://github.com/babel/babel-preset-env/blob/master/CHANGELOG.md

* Use `node: 'current'` as target for babel-preset-env

This replaces the hand-rolled node version setup with a new feature that
was introduced in babel-preset-env@v0.0.7

https://github.com/babel/babel-preset-env/blob/v0.0.7/CHANGELOG.md
2016-11-17 12:48:22 +00:00
Leo Wong
79160b858a Remove redundant function from export statement (#996) 2016-11-01 13:56:29 +00:00
Kyle Mathews
b855cc368c Add Gatsby to alternatives (#995) 2016-10-31 21:33:03 +00:00
Einar Löve
e3b69661d9 Allow webpack 2 as peerDependency in react-dev-utils (#963)
* Allow webpack 2 as peerDependency

* Remove webpack as peer dependency
2016-10-31 11:45:44 +00:00
Ville Immonen
6bda4b9726 Remove custom babel-loader cache dir config (#983)
Upgrade `babel-loader` and remove the cache directory configuration
that was added in #620. `babel-loader` now uses the
`./node_modules/.cache/babel-loader` directory by default, so the
custom config is no longer needed.
2016-10-29 20:00:16 +01:00
Alice Rose
7ce4b6e0e4 Check for presence of folders before continuing eject. Closes #939. (#951) 2016-10-28 13:54:56 +01:00
Vadzim
8a5c50d97a Fixes https://github.com/facebookincubator/create-react-app/issues/952 (#953) 2016-10-28 13:51:56 +01:00
David Ernst
fcda24eee8 Always build before deploying to gh-pages (#959)
* Always build before deploying to gh-pages

* Add line to gh-pages deploy docs about CNAME file

* Remove spaces in npm run command for Windows

* Grammar nit

* Minor tweaks
2016-10-28 13:51:06 +01:00
Patrick Mackinder
a0efbebee2 Add collectCoverageFrom option to collect coverage on files without any tests. (#961) 2016-10-28 13:47:08 +01:00
Sandro Padin
0bd593baa7 Catch and noop call to open web browser. (#964)
Running `create-react-app` in a Docker container causes an unhandled rejection error in nodejs > 6.5 because the `opn` module tries to open a web browser in a system that doesn't have one. I figured this error could be safely ignored.
2016-10-28 13:45:50 +01:00
Swizec Teller
91c86502a4 Gently nudge users towards https by default (#974)
gh-pages supports https. It's important for prominent help files to encourage best practices.
2016-10-28 13:42:51 +01:00
Fatih
ca443abe62 Enable compression on webpack-dev-server (#966) (#968) 2016-10-28 13:41:51 +01:00
Dan Abramov
75d158528c Add next.js to Alternatives 2016-10-25 23:07:28 +01:00
Dan Abramov
91e616e4dc Point people to npm Windows instructions 2016-10-25 12:01:58 +01:00
Dan Abramov
b284377ebe Encourage people to try recent npm 2016-10-24 17:53:05 +01:00
Ville Immonen
613902c4d3 Fix an attribution link in 0.7.0 changelog 2016-10-23 16:36:29 +03:00
Ville Immonen
732593e821 Update CLI version in changelog 2016-10-23 00:01:27 +03:00
Ville Immonen
a5f760bab9 Publish
- babel-preset-react-app@1.0.0
 - create-react-app@0.6.0
 - eslint-config-react-app@0.3.0
 - react-dev-utils@0.3.0
 - react-scripts@0.7.0
babel-preset-react-app@1.0.0 react-dev-utils@0.3.0 react-scripts@0.7.0 eslint-config-react-app@0.3.0 v0.7.0 create-react-app@0.6.0
2016-10-22 23:49:30 +03:00
Ville Immonen
9b85e458b0 Update eslint-config-react-app version in the guide 2016-10-22 23:32:46 +03:00
Ville Immonen
ac30a8076e Update changelog for 0.7.0 2016-10-22 23:29:31 +03:00
Ville Immonen
31ca46683d Revert "Temporarily remove 0.7.0 changelog as it's not out yet"
This reverts commit 1ef6ea5292.
2016-10-22 23:13:43 +03:00
Ville Immonen
27500900af Forbid Webpack loader syntax in imports (#803)
Enable no-webpack-loader-syntax rule in eslint-config-react-app.
2016-10-22 23:11:25 +03:00
Ville Immonen
d5de99e00b Update dependencies (#945)
* Update dependencies

* Use published version of eslint-config-react-app for development

We dogfood on our eslint-config-react-app by using it as our ESLint config,
but installing it from the local folder causes problems when its peerDependencies
are updated, because npm won't update it unless the version number changes.

Use the published version for dogfooding so it can be installed from npm.
2016-10-22 22:36:15 +03:00
Nathan Hunzaker
59acae6ab2 PostCSS should run on @import statements. (#929) 2016-10-19 10:19:12 +01:00
Jeffrey Carl Faden
d7ecd92859 Enable babel parameters/destructuring for all versions of Node (#927)
* Enable babel parameters/destructuring for all versions of Node

* Add more descriptive comment explaining plugin use
2016-10-18 18:31:58 +01:00
Michael Scholtz
e4e86cd5d3 Fix Travis CI config in template README.md (#910) 2016-10-17 22:51:22 +03:00
Dan Abramov
1ef6ea5292 Temporarily remove 0.7.0 changelog as it's not out yet 2016-10-14 12:57:03 +01: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
Ville Immonen
7c6f0b72c1 Update the snapshot update instructions for 0.7.0
Running tests with the `-u` flag is a more reliable way to upgrade,
because the watch mode only runs tests for changed files.
2016-10-13 02:56:46 +03:00
Ville Immonen
e9950db9ff Add 0.7.0 changelog 2016-10-13 02:49:47 +03:00
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