From 62da7fa5581c9641f57854dcbd21980ccf1a975a Mon Sep 17 00:00:00 2001 From: Sven Jacobs Date: Tue, 10 Oct 2023 21:09:12 +0200 Subject: [PATCH] Package google.com/firebase-tools (#3604) * Package google.com/firebase-tools * Add display-name * Add "--install-links" --- .../google.com/firebase-tools/package.yml | 27 +++++++++++++++++++ projects/npmjs.com/provider.yml | 2 -- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 projects/google.com/firebase-tools/package.yml diff --git a/projects/google.com/firebase-tools/package.yml b/projects/google.com/firebase-tools/package.yml new file mode 100644 index 00000000..8ac7e358 --- /dev/null +++ b/projects/google.com/firebase-tools/package.yml @@ -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}} diff --git a/projects/npmjs.com/provider.yml b/projects/npmjs.com/provider.yml index 4316de0e..a0781f5f 100644 --- a/projects/npmjs.com/provider.yml +++ b/projects/npmjs.com/provider.yml @@ -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, --]