MCPcopy Index your code
hub / github.com/NativeScript/firebase

github.com/NativeScript/firebase @5.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 5.0.2 ↗ · + Follow
8,202 symbols 10,960 edges 322 files 13 documented · 0% 69 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

How to use?

This workspace manages the suite of plugins listed above.

In general, when in doubt with what to do, just npm start.

How to add a new package to workspace?

npm run add

At the prompt, enter the name of the new package.

  • This adds a plugin harness in packages with the necessary boilerplate to just start developing
  • Updates all demo app flavors to support demoing the new package
  • Adds shared code in tools/demo where you can write demo code once and share across all demo flavors
  • Updates build tooling to support the new package
  • Updates the npm start interactive display
  • Updates the README here to list the new package

How to add Angular compatibility to a package

npm run add-angular

At the prompt, enter the name of the package to add an angular folder to it with the necessary boilerplate to provide Angular support to the package.

How to focus on just 1 package to develop in isolation

npm start
  • Choose the focus commands for the package you wish to focus on and hit enter.
  • All the demo app's will be updated to isolate that 1 package and for supported IDE's (currently VS Code), the source code will also become isolated in the workspace.

Note: good to always clean the demo you plan to run after focusing. (You can clean any demo from npm start as well)

How to publish packages?

npm run publish-packages
  • You will be prompted for the package names to publish. Leaving blank and hitting enter will publish them all.
  • You will then be prompted for the version to use. Leaving blank will auto bump the patch version (it also handles prerelease types like alpha, beta, rc, etc. - It even auto tags the corresponding prelease type on npm).
  • You will then be given a brief sanity check 🧠😊

Made with ❤️

Extension points exported contracts — how you extend this code

IProvider (Interface)
(no doc) [12 implementers]
packages/firebase-ui/index.d.ts
ITransaction (Interface)
(no doc) [6 implementers]
packages/firebase-firestore/index.d.ts
FIRAppCheckProviderFactory (Interface)
(no doc) [6 implementers]
packages/firebase-app-check/typings/objc!FirebaseAppCheck.d.ts
IUser (Interface)
(no doc) [5 implementers]
packages/firebase-auth/index.d.ts
IOnDisconnect (Interface)
(no doc) [5 implementers]
packages/firebase-database/common.ts
IStorage (Interface)
(no doc) [5 implementers]
packages/firebase-storage/index.d.ts
ICrashlytics (Interface)
(no doc) [4 implementers]
packages/firebase-crashlytics/common.ts
IDynamicLinks (Interface)
(no doc) [4 implementers]
packages/firebase-dynamic-links/common.ts

Core symbols most depended-on inside this repo

log
called by 96
packages/firebase-crashlytics/common.ts
fromNative
called by 84
packages/firebase-firestore/index.ios.ts
fromNative
called by 83
packages/firebase-firestore/index.android.ts
firebase
called by 83
packages/firebase-core/index.ios.ts
put
called by 78
packages/firebase-storage/index.d.ts
fromNative
called by 64
packages/firebase-auth/index.ios.ts
fromNative
called by 53
packages/firebase-database/index.android.ts
then
called by 53
packages/firebase-database/index.ios.ts

Shape

Class 5,527
Method 2,325
Interface 199
Function 77
Enum 74

Languages

TypeScript97%
Kotlin3%
C++1%

Modules by API surface

packages/firebase-firestore/typings/android.d.ts825 symbols
packages/firebase-in-app-messaging/typings/android.d.ts705 symbols
packages/firebase-database/typings/android.d.ts399 symbols
packages/firebase-crashlytics/typings/android.d.ts295 symbols
packages/firebase-performance/typings/android.d.ts267 symbols
packages/firebase-ui/typings/android.d.ts257 symbols
packages/firebase-ui/typings/firebase-auth.d.ts227 symbols
packages/firebase-auth/typings/android.d.ts227 symbols
packages/firebase-firestore/index.android.ts212 symbols
packages/firebase-firestore/index.ios.ts198 symbols
packages/firebase-auth/index.android.ts176 symbols
packages/firebase-auth/index.ios.ts166 symbols

For agents

$ claude mcp add firebase \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact