Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jthegedus/asdf-firebase
🔥Firebase CLI (firebase-tools) plugin for asdf version manager. Pin your Firebase CLI version for each project without Node.js or npm!
https://github.com/jthegedus/asdf-firebase
asdf asdf-firebase asdf-plugin asdf-vm firebase firebase-cli firebase-sdk firebase-tools google
Last synced: 4 months ago
JSON representation
🔥Firebase CLI (firebase-tools) plugin for asdf version manager. Pin your Firebase CLI version for each project without Node.js or npm!
- Host: GitHub
- URL: https://github.com/jthegedus/asdf-firebase
- Owner: jthegedus
- License: mit
- Created: 2020-03-13T08:32:26.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T17:40:07.000Z (about 1 year ago)
- Last Synced: 2024-10-17T20:03:32.582Z (4 months ago)
- Topics: asdf, asdf-firebase, asdf-plugin, asdf-vm, firebase, firebase-cli, firebase-sdk, firebase-tools, google
- Language: Shell
- Homepage: https://asdf-vm.com/
- Size: 146 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-firebase - asdf-firebase - `firebase-tools`를 위한 [asdf-vm](https://asdf-vm.com/) 플러그인입니다. 당신의 Firebase CLI를 Node.js나 `npm` 없이 관리해보세요! `python`, `golang`, `c++` & `java`로 이루어진 Firebase 프로젝트에 적합합니다. (특집 (신간))
README
# asdf-firebase ![Build](https://github.com/jthegedus/asdf-firebase/workflows/Build/badge.svg) ![Lint](https://github.com/jthegedus/asdf-firebase/workflows/Lint/badge.svg) [![Mentioned in Awesome Firebase](https://awesome.re/mentioned-badge.svg)](https://github.com/jthegedus/awesome-firebase)
[Firebase CLI](https://firebase.google.com/) [(firebase-tools)](https://github.com/firebase/firebase-tools) plugin for [asdf version manager](https://asdf-vm.com). Manage your Firebase CLI without Node.js or npm global installs! Great for pinning your firebase version across the team and for `python`, `golang`, `c++` & `java` Firebase projects.
![asdf-firebase](./assets/asdf-firebase.png)
# Contents
- [Dependencies](#dependencies)
- [Install](#install)
- [Why?](#why)
- [Contributing](#contributing)
- [License](#license)# Dependencies
Are tracked in [lib/dependencies.txt](lib/dependencies.txt) and checked on installation of plugin and `asdf install gcloud *`. The core dependencies are: `bash`, `curl`, `git`, `grep`, `uname`.
# Install
Plugin:
```shell
# prefer the git url method
asdf plugin add https://github.com/jthegedus/asdf-firebase.git
# or
asdf plugin add firebase
```Install [`firebase-tools`](https://github.com/firebase/firebase-tools):
```shell
asdf install firebase latest
```Set global version:
```shell
asdf global firebase 7.15.1
```or if [![https://github.com/asdf-vm/asdf/pull/633](https://img.shields.io/github/pulls/detail/state/asdf-vm/asdf/633)](https://github.com/asdf-vm/asdf/pull/633) is merged, set the **latest installed** version:
```shell
asdf global firebase latest
```These commands also apply to `asdf local gcloud `.
See `.tool-versions` configuration in the [asdf](https://asdf-vm.com/#/core-configuration?id=tool-versions) documentation to manage all your project's tools in one place!
# Why?
`firebase-tools` is a CLI tool for all Firebase projects, regardless of language. To date, the methods for installation have been downloading the CLI from the Firebase website or through `npm`, with `npm` being the primary method advertised.
With `asdf` and the `asdf-firebase` plugin, users/teams of any Firebase project can install and pin the version of the Firebase CLI without needing to manage Node.js or `npm`!
# Contributing
Contributions of any kind welcome! See the [contributing guide](CONTRIBUTING.md).
[Thanks goes to these contributors](https://github.com/jthegedus/asdf-firebase/graphs/contributors)!
## Why are there Node deps here?
I decided the value of [commitlint](https://commitlint.js.org/#/) & sharing Git Hooks with [husky](https://typicode.github.io/husky/#/) were greater than the cost of including these deps. Not only this, but dogfooding `asdf` for dev deps makes this less of an issue.
# License
[MIT License](LICENSE) © [James Hegedus](https://github.com/jthegedus/)