From 2ce4082eede5d9bfeaf7ffe7c9b3f5436d45bf88 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Mon, 3 Dec 2018 19:54:56 -0700 Subject: [PATCH] Add pre-eject message about new features in v2 (#5954) * Add pre-eject message about new features in v2 * Make message bold --- scripts/eject.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/eject.js b/scripts/eject.js index f4dba4d0b0f..3f850068668 100644 --- a/scripts/eject.js +++ b/scripts/eject.js @@ -38,6 +38,14 @@ function getGitStatus() { } } +console.log( + chalk.cyan.bold( + 'NOTE: Create React App 2 supports TypeScript, Sass, CSS Modules and more without ejecting: ' + + 'https://reactjs.org/blog/2018/10/01/create-react-app-v2.html' + ) +); +console.log(); + inquirer .prompt({ type: 'confirm',