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
7c547178
Commit
7c547178
authored
Jan 07, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rephrasing
parent
b475a12b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
warnings.sh
bin/warnings.sh
+6
-6
No files found.
bin/warnings.sh
View file @
7c547178
...
...
@@ -14,6 +14,12 @@ elif [ ${node_engine:0:1} == ">" ]; then
warning
"Avoid semver ranges starting with '>' in engines.node"
"https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version"
fi
if
[
"
$npm_engine
"
!=
""
]
;
then
if
[
"
${
npm_engine
:0:1
}
"
-lt
"2"
]
;
then
warning
"This version of npm has several known issues - consider upgrading to the latest release"
fi
fi
if
[
"
$modules_source
"
==
"prebuilt"
]
;
then
warning
"Avoid checking node_modules into source control"
"https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-"
elif
[
"
$modules_source
"
==
""
]
;
then
...
...
@@ -23,9 +29,3 @@ fi
if
[
"
$start_method
"
==
""
]
;
then
warning
"No Procfile, package.json start script, or server.js file found"
"https://devcenter.heroku.com/articles/nodejs-support#runtime-behavior"
fi
if
[
"
$npm_engine
"
!=
""
]
;
then
if
[
"
${
npm_engine
:0:1
}
"
-lt
"2"
]
;
then
warning
"This version of npm has several known issues - consider upgrading to the latest release"
fi
fi
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