Closed simondotm closed 7 months ago
Plugin init generator is now using templates direct from the Firebase SDK.
They are copied from the SDK as a postinstall script, and match the SDK version shipped with the plugin releases.
postinstall
Note that the generated main.ts for functions now no longer contains:
main.ts
// import { initializeApp } from "firebase-admin/app"; // initializeApp()
since this is not in the Firebase SDK functions template.
Also, when the firebase app generator runs it will set a 30-day expiry in firestore.rules the same way the firebase CLI does.
firestore.rules
Plugin init generator is now using templates direct from the Firebase SDK.
They are copied from the SDK as a
postinstall
script, and match the SDK version shipped with the plugin releases.Note that the generated
main.ts
for functions now no longer contains:since this is not in the Firebase SDK functions template.
Also, when the firebase app generator runs it will set a 30-day expiry in
firestore.rules
the same way the firebase CLI does.