From 1e5604124c0808e9ce448865c2f90d4847f1e4d3 Mon Sep 17 00:00:00 2001 From: Yann Leflour Date: Tue, 3 Sep 2019 11:36:49 +0200 Subject: [PATCH] feat(deprecation): Add deprecation notice --- README.md | 15 ++++++++++----- generators/checkversion/index.js | 8 ++++++-- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a16925a..6eb3dc2 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,18 @@ # React Native Toolbox [![Build Status](https://travis-ci.org/bamlab/generator-rn-toolbox.svg?branch=master)](https://travis-ci.org/bamlab/generator-rn-toolbox) [![NPM downloads](https://img.shields.io/npm/dm/generator-rn-toolbox.svg)](https://www.npmjs.com/package/generator-rn-toolbox) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)]() -> ‼️ **Dear user**, we are working on a complete rewrite of this project and are aiming for a september release. -> -> In the meantime we would like to get your feedback through [this very short form](https://forms.gle/dqAn41iBmeQowTf96) - Yeoman generators to kickstart your react-native v0.48+ projects. -_As of now, the way those generators are configured is heavily opinionated and based on our own company needs._ +## ⚠️ Deprecation notice ⚠️ + +> **Dear user**, we are working on a complete rewrite of generator-rn-toolbox +> +> We are be deprecating this repo and migrating its features to [react-native-make](https://github.com/bamlab/react-native-make) +> +> Already available: +> +> - Updated Icons generation with [Android adaptive icons](https://medium.com/google-design/designing-adaptive-icons-515af294c783) +> - Updated SplashScreen generation with iOS _.xib_ files and ready for [react-native-splashscreen](https://github.com/crazycodeboy/react-native-splash-screen) ## Features diff --git a/generators/checkversion/index.js b/generators/checkversion/index.js index cec06d6..ea1121b 100644 --- a/generators/checkversion/index.js +++ b/generators/checkversion/index.js @@ -7,8 +7,12 @@ class CheckVersionGenerator extends Base { return checkVersion() .then(isUpdated => { this.log( - '😁 We are looking for feedback on how to improve rn-toolbox, please take 2 minutes to answer this form: ' - .yellow + 'https://forms.gle/dqAn41iBmeQowTf96'.bold.yellow + '🌟🌟🌟 ️ ' + + 'Deprecation Notice'.bold.bgYellow.black + + ' 🌟🌟🌟\n' + + 'generator-rn-toolbox is being deprecated in favor of @bam.tech/react-native-make.\nYou can find out more here: ' + .yellow + + 'https://github.com/bamlab/react-native-make'.bold.yellow ); if (!isUpdated) this.log.error(