Commit 7ff3abe
authored
Divide everything into v1, v2, and common (unexported). (#1149)
* Divide everything into v1, v2, and common (unexported).
Did some refactoring, like putting `firebaseConfig` into common.
This means we have absolutely no dependencies on v1 in common or
v2. Some files are left at the root because they were modified
in other CLs that are outstanding and I want to linearize the
changes to minimize conflicts.
While working, I removed some legacy workarounds that should no
longer apply. For example, we no longer need to load fireaseConfig
from runtime config because all supported versions of the CLI
set the FIREBASE_CONFIG environment variable. This meant we
could remove all of setup.ts because all monkeypatches were for
outdated runtimes. Since there is no longer an environment
change between importing v1/index and a subpackage, I've gone
ahead and exported the providers for v1 to minimize customer
frustration with the v1 namespace.
* Fix dependency conflicts
* Lint fixes
* Remove __trigger (#1150)
* Remove __trigger
* Lint fixes
* Divide everything into v1, v2, and common (unexported).
Did some refactoring, like putting `firebaseConfig` into common.
This means we have absolutely no dependencies on v1 in common or
v2. Some files are left at the root because they were modified
in other CLs that are outstanding and I want to linearize the
changes to minimize conflicts.
While working, I removed some legacy workarounds that should no
longer apply. For example, we no longer need to load fireaseConfig
from runtime config because all supported versions of the CLI
set the FIREBASE_CONFIG environment variable. This meant we
could remove all of setup.ts because all monkeypatches were for
outdated runtimes. Since there is no longer an environment
change between importing v1/index and a subpackage, I've gone
ahead and exported the providers for v1 to minimize customer
frustration with the v1 namespace.
* Fix dependency conflicts
* Lint fixes
* Remove __trigger (#1150)
* Remove __trigger
* Lint fixes
* Move apps and utilities into common1 parent bebb398 commit 7ff3abe
File tree
68 files changed
+7005
-1836
lines changed- integration_test
- spec
- common
- utilities
- fixtures/sources
- commonjs-grouped
- commonjs-main
- commonjs
- runtime
- v1
- providers
- v2/providers
- src
- common
- providers
- utilities
- v1
- providers
- v2
- providers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
68 files changed
+7005
-1836
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments