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
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.
Nx provides a great way to manage monorepo workflows and this plugin helps to integrate Firebase projects with Nx, by:
- Enabling & promoting use of shared Typescript code libraries within Firebase functions
- Retaining a familiar usage of all Firebase features in a way that feels integrated with Nx workflow
- Requiring minimal friction/setup for configuration of an Nx workspace in order to be productive with development, building & deployment of Firebase projects
- Supporting multiple firebase projects & apps within an Nx workspace
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
, andserve
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
See the full plugin README for more details.
Details
- nx-firebase
-
simondotm
- over 1 year ago
- MIT
- 6 dependencies
Assets
- nx-firebase-2.0.0-beta.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0