Package google.com/firebase-tools (#3604)

* Package google.com/firebase-tools

* Add display-name

* Add "--install-links"
This commit is contained in:
Sven Jacobs 2023-10-10 21:09:12 +02:00 committed by GitHub
parent cdebf5af62
commit 62da7fa558
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,27 @@
distributable:
url: https://registry.npmjs.org/firebase-tools/-/firebase-tools-{{version}}.tgz
strip-components: 1
display-name: firebase
versions:
github: firebase/firebase-tools
dependencies:
nodejs.org: "*"
build:
dependencies:
npmjs.com: "*"
script:
- chmod +x lib/bin/firebase.js
- npm install .
--global
--prefix="{{prefix}}"
--install-links
provides:
- bin/firebase
test:
script: firebase --version | grep {{version}}

View file

@ -8,9 +8,7 @@ cmds:
- vercel
- changelogithub
- get-port
- firebase
args:
chalk: npx --yes --package=chalk-cli --
get-port: npx --yes --package=get-port-cli --
firebase: npx --yes --package=firebase-tools --
...: [npx, --yes, --]