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

Commit e0678ac

Browse files
committed
Improve deprecation experience.
1 parent d1a1d05 commit e0678ac

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.buildpacks

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
https://github.com/heroku/heroku-buildpack-nodejs.git
22
https://github.com/mars/create-react-app-inner-buildpack.git#v9.0.0
3-
https://github.com/heroku/heroku-buildpack-static.git
3+
https://github.com/heroku/heroku-buildpack-static.git#21c1f5175186b70cf247384fd0bf922504b419be

bin/compile

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ BP_DIR=`cd $(dirname $0); cd ..; pwd`
2626
# Switch to new Node auto build behavior ahead of release
2727
export NEW_BUILD_SCRIPT_BEHAVIOR=true
2828

29+
echo
30+
echo "=====! create-react-app-buildpack has reached end-of-life 🌅"
31+
echo " This build may succeed, but the buildpack is no longer maintained."
32+
echo " On the Heroku-22 stack and beyond, this may fail to build at all."
33+
echo
34+
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."
35+
echo
36+
2937
# Use architecture of multi-buildpack to compose behavior.
3038
# https://github.com/heroku/heroku-buildpack-multi
3139
cp $BP_DIR/.buildpacks $BUILD_DIR/.buildpacks

0 commit comments

Comments
 (0)