32 Commits

Author SHA1 Message Date
Dan Abramov
7d2304090f 0.4.2 2016-09-18 14:38:34 +03:00
Dan Abramov
061aa2cd23 Tweak app name error message 2016-09-18 14:16:18 +03:00
Wei Zhu
2dd105df3e Make --scripts-version work with forked react-scripts (#632) 2016-09-18 11:25:33 +03:00
Juan Soto
fc3ab46d2a Add ES5 version of path-exists to CLI 2016-09-17 00:50:31 +03:00
Marek Suscak
d8b65295a6 Check the app name before proceeding. (#628)
* Check the app name before proceeding.

* Refactor.

* Use arrow function and template string.

* Remove comment.

* Rephrase the error.

* Add missing semicolons.
2016-09-12 01:53:56 +03:00
Ville Immonen
d3530f48ad Warn about unsupported Node.js versions (#575)
* Warn about unsupported Node.js versions

Add the `engines` field to package.json so users of old Node.js versions
will at least get a warning when trying to install create-react-app or
react-scripts, e.g.:

  npm WARN engine create-react-app@0.3.0: wanted: {"node":">=6"} (current: {"node":"4.2.3","npm":"2.14.7"})

* Remove duplicated field and extra whitespace

* Change the engine version back to 4
2016-09-06 08:45:50 -07:00
Jiansen HE
6c8713b7d1 tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257) 2016-09-02 16:34:34 +01:00
Dan Abramov
706dc94da3 0.3.0 2016-09-02 00:39:02 +01:00
Dennis Ushakov
a3f327ac07 ignore .idea folder (#522)
* ignore .idea folder
this change is requred for IntelliJ-based products because project information files are written before actual generator is invoked

* better method name and explanation
2016-08-31 14:21:57 +01:00
Kristóf Poduszló
20f673d204 Fix default package version added by global CLI (#491)
According to the official SemVer FAQ, versioning should start at 0.1.0 (http://semver.org/#how-should-i-deal-with-revisions-in-the-0yz-initial-development-phase)
2016-08-25 11:20:00 +01:00
Rifat Nabi
e26b8d9f88 Creating a new app in the current directory (#368)
* Creating a new app in the current directory

* Fixed style mistakes
2016-08-07 21:05:58 -07:00
Christoph Pojer
0e5abada75 Add Jest. (#250) 2016-08-02 00:22:33 +01:00
Dan Abramov
beed0ae894 0.2.0 2016-07-28 20:44:40 +01:00
Dan Abramov
7040b71387 Bump versions to 0.2.0-alpha.1 2016-07-27 22:05:15 +01:00
Dan Abramov
9a4e9678ad Add some newlines to the console output 2016-07-26 12:11:16 +01:00
Kevin Lacker
511668c538 fix cdpath bug 2016-07-24 22:16:28 -07:00
Max Stoiber
59ff0b59e0 Fix --version (#152) 2016-07-24 00:28:59 -07: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
Dan Abramov
955ea330df Make messages windows-friendly 2016-07-21 11:20:42 +01:00
Dan Abramov
133184fbb2 Add more info to package.json (#39) 2016-07-20 15:17:02 +01:00
Kevin Lacker
43bc64fac2 update misc docs + copy 2016-07-19 14:08:41 -07:00
Christopher Chedeau
862900d94f s/create-react-app-scripts/react-scripts/ 2016-07-18 15:17:59 -07:00
Keyan Zhang
b109536326 fixed cli bin path (#8) 2016-07-18 15:17:57 -07:00
Jonny Buchanan
27fa8c82dc Fix running npm install from create-react-app command and init script on Windows (#6) 2016-07-18 15:17:57 -07:00
Dan Abramov
b29572ffa4 Add "files" whitelists to package.json 2016-07-18 15:17:56 -07:00
Dan Abramov
cb0ada7a00 Make it work outside its own directory 2016-07-18 15:17:56 -07:00
Dan Abramov
d2130d2b3e Tweak wording and make package.json scripts less obnoxious 2016-07-18 15:17:56 -07:00
Christopher Chedeau
614b2dbec4 random fixes + license 2016-07-18 15:17:56 -07:00
Christopher Chedeau
c172eb917a save dev and remove no longer needed index.html file 2016-07-18 15:17:55 -07:00
Christopher Chedeau
714971cccc Move all the scripts to the scripts/ folder and use them from the scripts section of package.json 2016-07-18 15:17:55 -07:00
Christopher Chedeau
f0c3888779 .
Summary:

Test Plan:

Reviewers:

CC:

Task ID: #
2016-07-18 15:17:55 -07:00
Christopher Chedeau
2305bf2397 Initial version of the global cli
Test Plan:

```
npm pack
node global-cli/index.js testing --scripts-version /Users/vjeux/random/react-getting-started/create-react-app-scripts-0.0.1.tgz
```

make sure it shows

```
Creating the app testing at /Users/vjeux/random/react-getting-started/testing
```
2016-07-18 15:17:55 -07:00