I'm using lerna to manage dependencies in a monorepo. For deployment, I use dokku and scripts defined in package.json in the following way:
"scripts": {
"postinstall": "lerna bootstrap",
"build": "lerna run build",
"start": "lerna run start",
"test": "echo \"Error: no test specified\" && exit 1"
}
Dokku runs npm install, then npm run build, and finally npm start on pushes.
While npm install runs fine on my machine, it actually crashes when Phaser runs its postinstall step with node scripts/support.js.
These kinds of commercial content generally aren't acceptable:
[...]
2. Packages that display ads at runtime, on installation, or at other stages of the software development lifecycle, such as via npm scripts.
Information on how to donate can be included in the documentation, according to the same guidelines:
These kinds of commercial content are generally acceptable in README files and other documentation:
[...]
2. Information on how to pay, donate to, and otherwise support Package development, Package developers, and Package steward organizations.
Version
Description
I'm using lerna to manage dependencies in a monorepo. For deployment, I use dokku and scripts defined in package.json in the following way:
Dokku runs
npm install
, thennpm run build
, and finallynpm start
on pushes. Whilenpm install
runs fine on my machine, it actually crashes when Phaser runs its postinstall step withnode scripts/support.js
.There's
npm fund
for this kind of stuff and polluting install logs with donation messages is not allowed as per npm's Acceptable Use guidelines: https://www.npmjs.com/policies/open-source-terms#acceptable-useInformation on how to donate can be included in the documentation, according to the same guidelines:
Can this script please be removed?
Install log:
Additional Information
N/A