Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,31 +96,31 @@
}
}
},
"firebaseui-angular": {
"angular": {
"projectType": "library",
"root": "projects/firebaseui-angular",
"sourceRoot": "projects/firebaseui-angular/src",
"root": "projects/angular",
"sourceRoot": "projects/angular/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/firebaseui-angular/ng-package.json"
"project": "projects/angular/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/firebaseui-angular/tsconfig.lib.prod.json"
"tsConfig": "projects/angular/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/firebaseui-angular/tsconfig.lib.json"
"tsConfig": "projects/angular/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/firebaseui-angular/tsconfig.spec.json",
"tsConfig": "projects/angular/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
Expand Down
12 changes: 6 additions & 6 deletions examples/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:lib": "ng build firebaseui-angular",
"build:local": "pnpm run build:lib && cd projects/firebaseui-angular && pnpm pack",
"build:lib": "ng build angular",
"build:local": "pnpm run build:lib && cd projects/angular && pnpm pack",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"test:unit": "ng test --exclude=\"**/integration/**\" --no-watch --no-progress --browsers=ChromeHeadless",
Expand All @@ -25,10 +25,10 @@
"@angular/platform-server": "^19.1.0",
"@angular/router": "^19.1.0",
"@angular/ssr": "^19.1.7",
"@firebase-ui/angular": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-angular-0.0.1.tgz",
"@firebase-ui/core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
"@firebase-ui/styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
"@firebase-ui/translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz",
"@firebase-ui/angular": "workspace:*",
"@firebase-ui/core": "workspace:*",
"@firebase-ui/styles": "workspace:*",
"@firebase-ui/translations": "workspace:*",
"@tailwindcss/postcss": "^4.0.6",
"express": "^4.18.2",
"postcss": "^8.5.2",
Expand Down
8 changes: 4 additions & 4 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"lint": "next lint"
},
"dependencies": {
"@firebase-ui/react": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-react-0.0.1.tgz",
"@firebase-ui/core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
"@firebase-ui/styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
"@firebase-ui/translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz",
"@firebase-ui/react": "workspace:*",
"@firebase-ui/core": "workspace:*",
"@firebase-ui/styles": "workspace:*",
"@firebase-ui/translations": "workspace:*",
"firebase": "^11.3.1",
"next": "15.1.7",
"react": "^19.0.0",
Expand Down
8 changes: 4 additions & 4 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"preview": "vite preview"
},
"dependencies": {
"@firebase-ui/react": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-react-0.0.1.tgz",
"@firebase-ui/core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
"@firebase-ui/styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
"@firebase-ui/translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz",
"@firebase-ui/react": "workspace:*",
"@firebase-ui/core": "workspace:*",
"@firebase-ui/styles": "workspace:*",
"@firebase-ui/translations": "workspace:*",
"firebase": "^11.6.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ng generate --help
To build the library, run:

```bash
ng build firebaseui-angular
ng build angular
```

This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
Expand All @@ -31,8 +31,9 @@ This command will compile your project, and the build artifacts will be placed i
Once the project is built, you can publish your library by following these steps:

1. Navigate to the `dist` directory:

```bash
cd dist/firebaseui-angular
cd dist/angular
```

2. Run the `npm publish` command to publish your library to the npm registry:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
},
"scripts": {
"build": "ng-packagr -p ng-package.json",
"test": "ng test --watch=false --browsers=ChromeHeadless --project=firebase-ui-angular",
"test:watch": "ng test --watch=true --project=firebase-ui-angular",
"test:ci": "ng test --watch=false --browsers=ChromeHeadless --code-coverage --project=firebase-ui-angular",
"test": "ng test --watch=false --browsers=ChromeHeadless --project=angular",
"test:watch": "ng test --watch=true --project=angular",
"test:ci": "ng test --watch=false --browsers=ChromeHeadless --code-coverage --project=angular",
"publish:tags": "sh -c 'TAG=\"${npm_package_name}@${npm_package_version}\"; git tag --list \"$TAG\" | grep . || git tag \"$TAG\"; git push origin \"$TAG\"'",
"release": "pnpm pack --pack-destination ../../releases/"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
ConfirmationResult,
RecaptchaVerifier,
} from "@angular/fire/auth";
import { FirebaseUIError } from "@firebase-ui/core";
import { FirebaseUIError } from "core";
import { TanStackField } from "@tanstack/angular-form";
import { firstValueFrom, of } from "rxjs";
import { FirebaseUI, FirebaseUIPolicies } from "../../../provider";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
formatPhoneNumberWithCountry,
confirmPhoneNumber,
signInWithPhoneNumber,
} from '@firebase-ui/core';
} from 'core';
import { interval, Subscription, firstValueFrom } from 'rxjs';
import { Router } from '@angular/router';
import { takeWhile } from 'rxjs/operators';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
import { distinctUntilChanged, map, takeUntil } from 'rxjs/operators';
import { Observable, ReplaySubject } from 'rxjs';
import { Store } from 'nanostores';
import { TranslationCategory, TranslationKey } from '@firebase-ui/translations';
import { TranslationCategory, TranslationKey } from 'translations';

const FIREBASE_UI_STORE = new InjectionToken<FirebaseUIType>(
'firebaseui.store',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ export function FirebaseUIProvider({
const value = useStore(ui);
return (
<FirebaseUIContext.Provider value={value}>
<PolicyProvider policies={policies}>
{children}
</PolicyProvider>
<PolicyProvider policies={policies}>{children}</PolicyProvider>
</FirebaseUIContext.Provider>
);
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.