Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
5d1e6f72
Commit
5d1e6f72
authored
Mar 01, 2019
by
Jeremy Morrell
Committed by
Jeremy Morrell
Mar 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make breaking change warning header brighter
parent
1bc7e183
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
compile
bin/compile
+1
-1
dependencies.sh
lib/dependencies.sh
+1
-1
output.sh
lib/output.sh
+5
-0
No files found.
bin/compile
View file @
5d1e6f72
...
...
@@ -330,7 +330,7 @@ warn_no_start "$BUILD_DIR"
warn_unmet_dep
"
$LOG_FILE
"
warn_old_npm_lockfile
$NPM_LOCK
warn_build_script_behavior_change
"
$NEW_BUILD_SCRIPT_BEHAVIOR
"
"
$BUILD_DIR
"
| output
"
$LOG_FILE
"
warn_build_script_behavior_change
"
$NEW_BUILD_SCRIPT_BEHAVIOR
"
"
$BUILD_DIR
"
warn_build_script_behavior_opt_in
"
$NEW_BUILD_SCRIPT_BEHAVIOR
"
| output
"
$LOG_FILE
"
log_build_script_opt_in
"
$NEW_BUILD_SCRIPT_BEHAVIOR
"
"
$BUILD_DIR
"
...
...
lib/dependencies.sh
View file @
5d1e6f72
...
...
@@ -80,7 +80,7 @@ warn_build_script_behavior_change() {
has_heroku_build_script
=
$(
read_json
"
$build_dir
/package.json"
".scripts[
\"
heroku-postbuild
\"
]"
)
if
[[
-z
"
$has_heroku_build_script
"
]]
&&
[[
-n
"
$has_build_script
"
]]
&&
[[
"
$opted_in
"
!=
"true"
]]
;
then
header
"Change to Node.js build process"
bright_
header
"Change to Node.js build process"
echo
"On March 11, 2019 Heroku will begin executing the
\"
build
\"
script defined in package.json"
echo
"by default. This application may be affected by this change."
echo
""
...
...
lib/output.sh
View file @
5d1e6f72
...
...
@@ -28,6 +28,11 @@ header() {
echo
"----->
$*
"
||
true
}
bright_header
()
{
echo
""
||
true
echo
-e
"
\0
33[1;33m----->
$*
\0
33[0m"
}
header_skip_newline
()
{
echo
"----->
$*
"
||
true
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment