new file: projects/heroku.com/package.yml (#5615)

This commit is contained in:
Andrew 2024-03-15 21:25:10 +02:00 committed by GitHub
parent ced4b94b1b
commit 0541c84c11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,32 @@
distributable:
url: https://registry.npmjs.org/heroku/-/heroku-{{version}}.tgz
strip-components: 1
versions:
npm: heroku
dependencies:
nodejs.org: ^20
build:
dependencies:
npmjs.com: '*'
script:
npm i $ARGS .
env:
ARGS:
- -ddd
- --global
- --build-from-source
- --prefix={{prefix}}
- --install-links
- --unsafe-perm
provides:
- bin/heroku
test:
- heroku --version | grep {{version}}
- heroku --help
- heroku authorizations:create -d "getting started token" 2>out.log <<< q || true
- cat out.log | grep "Press any key to open up the browser to login"