Skip to content

Commit

Permalink
fix(ngx-sherfire): use firebase production build instead of developme…
Browse files Browse the repository at this point in the history
…nt build (#18)
  • Loading branch information
pavadeli authored Feb 18, 2021
1 parent f5c839f commit f84ce4c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/app/firebase-app.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inject, Injectable, NgZone } from '@angular/core';
import firebase from 'firebase';
import firebase from 'firebase/app';
import { FirebaseConfig } from '../firebase-config.service';
import { NgxSherfireModule } from '../ngx-sherfire.module';

Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/auth/create-firebase-user$.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NgZone } from '@angular/core';
import { error, unresolved } from '@skunkteam/sherlock';
import { fromEventPattern, fromPromise } from '@skunkteam/sherlock-utils';
import type firebase from 'firebase';
import type firebase from 'firebase/app';
import type { FirebaseAuth } from './firebase-auth.service';
import type { FirebaseUser$ } from './firebase-user$.service';

Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/auth/firebase-auth.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inject, Injectable, NgZone } from '@angular/core';
import firebase from 'firebase';
import firebase from 'firebase/app';
import 'firebase/auth';
import { FirebaseApp } from '../app';
import { NgxSherfireModule } from '../ngx-sherfire.module';
Expand Down
3 changes: 1 addition & 2 deletions libs/ngx-sherfire/src/lib/auth/firebase-user$.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { inject, Injectable, NgZone } from '@angular/core';
import type { Derivable } from '@skunkteam/sherlock';
import type firebase from 'firebase';
import 'firebase/auth';
import type firebase from 'firebase/app';
import { NgxSherfireModule } from '../ngx-sherfire.module';
import { createFirebaseUser$ } from './create-firebase-user$';
import { FirebaseAuth } from './firebase-auth.service';
Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/firebase-config.service.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import type firebase from 'firebase';
import type firebase from 'firebase/app';

@Injectable()
export class FirebaseConfig {
Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/firestore/augment-prototypes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NgZone } from '@angular/core';
import { Derivable, lens, SettableDerivable } from '@skunkteam/sherlock';
import { derivableCache } from '@skunkteam/sherlock-utils';
import firebase from 'firebase';
import firebase from 'firebase/app';
import 'firebase/firestore';
import { snapshot$ } from './snapshot';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TestBed } from '@angular/core/testing';
import firebase from 'firebase';
import firebase from 'firebase/app';
import { NgxSherfireModule } from '../ngx-sherfire.module';
import { FirebaseFirestore } from './firebase-firestore.service';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { inject, Injectable, NgZone } from '@angular/core';
import firebase from 'firebase';
import firebase from 'firebase/app';
import 'firebase/firestore';
import { FirebaseApp } from '../app';
import { FirebaseConfig } from '../firebase-config.service';
Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/firestore/snapshot.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NgZone } from '@angular/core';
import { Derivable, error } from '@skunkteam/sherlock';
import { fromEventPattern } from '@skunkteam/sherlock-utils';
import type firebase from 'firebase';
import type firebase from 'firebase/app';

export function snapshot$<R extends Ref>(ref: R & Snapshottable<R>, zone: NgZone): Derivable<Snapshot<R>> {
return fromEventPattern<Snapshot<R>>(value$ =>
Expand Down
2 changes: 1 addition & 1 deletion libs/ngx-sherfire/src/lib/ngx-sherfire.module.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TestBed } from '@angular/core/testing';
import { isDerivable, Unwrap } from '@skunkteam/sherlock';
import firebase from 'firebase';
import firebase from 'firebase/app';
import { FirebaseApp } from './app';
import { FirebaseAuth, FirebaseUser$ } from './auth';
import type { FirebaseConfig } from './firebase-config.service';
Expand Down

0 comments on commit f84ce4c

Please sign in to comment.