Skip to content

Commit

Permalink
fix(rtdb): Changed admin.database to use database-compat package (#1437)
Browse files Browse the repository at this point in the history
* fix: Changed admin.database to use database-compat package

* fix: Upgraded to latest staged versions of compat packages

* fix: Added dom for test compilation which includes Auth types

* fix: Using single quotes as per our convention

* fix: Using the new database-compat/standalone entrypoint

* fix: Changed versions to released tags
  • Loading branch information
hiranya911 committed Sep 27, 2021
1 parent d96e61b commit 894b04a
Show file tree
Hide file tree
Showing 11 changed files with 252 additions and 97 deletions.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ var paths = {
// emitted.
var buildProject = ts.createProject('tsconfig.json', { rootDir: 'src', declarationMap: true });

var buildTest = ts.createProject('tsconfig.json');
// Include dom libraries during test compilation since we use some web SDK
// libraries in our tests.
var buildTest = ts.createProject('tsconfig.json', { lib: ['es2018', 'dom'] });

var banner = `/*! firebase-admin v${pkg.version} */\n`;

Expand Down

0 comments on commit 894b04a

Please sign in to comment.