simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
180 stars 31 forks source link

fix: Eliminate dependencies on @nx/node in init generator #196

Closed simondotm closed 7 months ago

simondotm commented 7 months ago

Cherry picks from the 17.1.3 upgrade branch that ensure we are adding the @nx/node plugin dependency in the correct way:

All of these changes should ensure the plugin has a smaller scope of concerns, and plays nicely with current & future Nx versions & workspaces. 😅

Note that @nx/linter was renamed to @nx/eslilnt at some point in the Nx release timeline, so I'm going to remove all checks for Nx packages unrelated to this plugin from unit & e2e tests; it's just too much hassle to keep on top of Nx changes.

A follow up PR will clean this up.

Also fixed a json format error in template