From 469762fe5a0d030c465e952277b67d9a8e4ef2cf Mon Sep 17 00:00:00 2001 From: Ben Carp Date: Sun, 13 Jan 2019 05:41:23 +0200 Subject: [PATCH 1/4] Update updating-to-new-releases.md Related to https://github.com/facebook/create-react-app/issues/6140 --- docusaurus/docs/updating-to-new-releases.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docusaurus/docs/updating-to-new-releases.md b/docusaurus/docs/updating-to-new-releases.md index 825832464c8..68bd31002ba 100644 --- a/docusaurus/docs/updating-to-new-releases.md +++ b/docusaurus/docs/updating-to-new-releases.md @@ -8,7 +8,8 @@ Create React App is divided into two packages: - `create-react-app` is a global command-line utility that you use to create new projects. - `react-scripts` is a development dependency in the generated projects (including this one). -You almost never need to update `create-react-app` itself: it delegates all the setup to `react-scripts`. +When you run `npx create-react-app my-app` it automatically installs the latest version of Create React App. +> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, we recommend you uninstall the package using `npm uninstall -g create-react-app` to ensure that `npx` always grabs the latest version. When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. From 36445574973cdb09b786681cb90ea45799713855 Mon Sep 17 00:00:00 2001 From: Ben Carp Date: Mon, 14 Jan 2019 05:39:49 +0200 Subject: [PATCH 2/4] Update updating-to-new-releases.md Linking to getting started following discussion on #6190. Adapt terminology to current installation methods. --- docusaurus/docs/updating-to-new-releases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus/docs/updating-to-new-releases.md b/docusaurus/docs/updating-to-new-releases.md index 68bd31002ba..cf101a5e3b4 100644 --- a/docusaurus/docs/updating-to-new-releases.md +++ b/docusaurus/docs/updating-to-new-releases.md @@ -9,9 +9,9 @@ Create React App is divided into two packages: - `react-scripts` is a development dependency in the generated projects (including this one). When you run `npx create-react-app my-app` it automatically installs the latest version of Create React App. -> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, we recommend you uninstall the package using `npm uninstall -g create-react-app` to ensure that `npx` always grabs the latest version. +> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, please visit [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) to learn about current installtion steps. -When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. +Create-React-App creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions. From 1b6644ee002d0a4894dc2c088c33c07216752765 Mon Sep 17 00:00:00 2001 From: Ben Carp Date: Mon, 14 Jan 2019 20:48:50 +0200 Subject: [PATCH 3/4] Update updating-to-new-releases.md typo, rleative link --- docusaurus/docs/updating-to-new-releases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/updating-to-new-releases.md b/docusaurus/docs/updating-to-new-releases.md index cf101a5e3b4..197a6f630c8 100644 --- a/docusaurus/docs/updating-to-new-releases.md +++ b/docusaurus/docs/updating-to-new-releases.md @@ -9,7 +9,7 @@ Create React App is divided into two packages: - `react-scripts` is a development dependency in the generated projects (including this one). When you run `npx create-react-app my-app` it automatically installs the latest version of Create React App. -> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, please visit [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) to learn about current installtion steps. +> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, please visit [Getting Started](getting-started.md) to learn about current installation steps. Create-React-App creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. From f7c072beaee6062760ad55dd4ce57daeb5f8d3e3 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Sat, 19 Jan 2019 22:28:49 +0200 Subject: [PATCH 4/4] Update docusaurus/docs/updating-to-new-releases.md Co-Authored-By: carpben --- docusaurus/docs/updating-to-new-releases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/updating-to-new-releases.md b/docusaurus/docs/updating-to-new-releases.md index 197a6f630c8..f8a2fa21850 100644 --- a/docusaurus/docs/updating-to-new-releases.md +++ b/docusaurus/docs/updating-to-new-releases.md @@ -11,7 +11,7 @@ Create React App is divided into two packages: When you run `npx create-react-app my-app` it automatically installs the latest version of Create React App. > If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, please visit [Getting Started](getting-started.md) to learn about current installation steps. -Create-React-App creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. +Create React App creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically. To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions.