Skip to content

nx-firebase 2.0.0-beta.0

Install from the command line:
Learn more about npm packages
$ npm install @simondotm/nx-firebase@2.0.0-beta.0
Install via package.json:
"@simondotm/nx-firebase": "2.0.0-beta.0"

About this version

@simondotm/nx-firebase

A plugin for Nx v16.1.1+ that provides support for Firebase projects in an Nx monorepo workspace.

See CHANGELOG for release notes.

This plugin was completely rewritten since V2.x. For documentation of the legacy v1.x plugin version see here.

Overview

Nx provides a great way to manage monorepo workflows and this plugin helps to integrate Firebase projects with Nx, by:

  1. Enabling & promoting use of shared Typescript code libraries within Firebase functions
  2. Retaining a familiar usage of all Firebase features in a way that feels integrated with Nx workflow
  3. Requiring minimal friction/setup for configuration of an Nx workspace in order to be productive with development, building & deployment of Firebase projects
  4. Supporting multiple firebase projects & apps within an Nx workspace

Nx-Firebase Features

Supports:

  • Single or multiple Firebase projects in one Nx workspace
  • Firebase functions as Typescript Nx applications, now bundled using esbuild
  • Use of shared Nx libraries in Firebase functions
  • Nx provides automatic dependency checking for builds
  • Building & serving functions with watch mode & Firebase Emulators
  • Convenience Nx getconfig target to fetch remote firebase functions configuration variables to local .runtimeconfig.json file
  • Convenience Nx deploy , and serve targets for functions

Additionally:

  • Auto bundles & generates Firebase functions package.json ready for no fuss deployment using the Firebase CLI
  • Auto generates default firebase.json configurations, rules and indexes for each Firebase app
  • Only very lightly opinionated about your Firebase configurations and workspace layouts; you can just use the Firebase CLI as usual
  • Keeps all of your firebase rules and indexes within your app folder, to keep your workspace root free of clutter
  • Use the plugin sync generator to easily manage firebase workspaces & configurations

Further Information

See the full plugin README for more details.

Details


Assets

  • nx-firebase-2.0.0-beta.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0