Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
Improve deprecation experience.
Browse files Browse the repository at this point in the history
  • Loading branch information
mars committed Jun 10, 2022
1 parent d1a1d05 commit e0678ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .buildpacks
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/mars/create-react-app-inner-buildpack.git#v9.0.0
https://github.com/heroku/heroku-buildpack-static.git
https://github.com/heroku/heroku-buildpack-static.git#21c1f5175186b70cf247384fd0bf922504b419be
8 changes: 8 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ BP_DIR=`cd $(dirname $0); cd ..; pwd`
# Switch to new Node auto build behavior ahead of release
export NEW_BUILD_SCRIPT_BEHAVIOR=true

echo
echo "=====! create-react-app-buildpack has reached end-of-life 🌅"
echo " This build may succeed, but the buildpack is no longer maintained."
echo " On the Heroku-22 stack and beyond, this may fail to build at all."
echo
echo " Please consider migrating to https://nextjs.org or https://remix.run to develop React apps which are deployable using Heroku's Node.js buildpack https://github.com/heroku/heroku-buildpack-nodejs, or you may develop your own create-react-app deployment with Node.js and Nginx buildpacks."
echo

# Use architecture of multi-buildpack to compose behavior.
# https://github.com/heroku/heroku-buildpack-multi
cp $BP_DIR/.buildpacks $BUILD_DIR/.buildpacks
Expand Down

0 comments on commit e0678ac

Please sign in to comment.