Skip to content

Commit 09b7272

Browse files
committed
fix(angular): updated angular build/dependencies
1 parent 3542b4b commit 09b7272

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

examples/angular/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"@angular/platform-server": "^19.1.0",
2626
"@angular/router": "^19.1.0",
2727
"@angular/ssr": "^19.1.7",
28-
"@firebase-ui/angular": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-angular-0.0.1.tgz",
29-
"@firebase-ui/core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
30-
"@firebase-ui/styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
31-
"@firebase-ui/translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz",
28+
"@firebase-ui/angular": "workspace:*",
29+
"@firebase-ui/core": "workspace:*",
30+
"@firebase-ui/styles": "workspace:*",
31+
"@firebase-ui/translations": "workspace:*",
3232
"@tailwindcss/postcss": "^4.0.6",
3333
"express": "^4.18.2",
3434
"postcss": "^8.5.2",

examples/angular/src/app/app.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,11 @@ import {
2020
isDevMode,
2121
} from '@angular/core';
2222
import { provideRouter } from '@angular/router';
23-
2423
import { routes } from './app.routes';
2524
import {
2625
provideClientHydration,
2726
withEventReplay,
2827
} from '@angular/platform-browser';
29-
3028
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
3129
import { provideAuth, getAuth, connectAuthEmulator } from '@angular/fire/auth';
3230
import {
@@ -47,12 +45,10 @@ export const appConfig: ApplicationConfig = {
4745
provideFirebaseApp(() => initializeApp(firebaseConfig)),
4846
provideAuth(() => {
4947
const auth = getAuth();
50-
5148
if (isDevMode()) {
5249
/** Enable emulators in development */
5350
connectAuthEmulator(auth, 'http://localhost:9099');
5451
}
55-
5652
return auth;
5753
}),
5854
provideFirebaseUI((apps) => initializeUI({ app: apps[0] })),

packages/firebaseui-angular/ng-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3-
"dest": "../../dist/firebaseui-angular",
3+
"dest": "./dist",
44
"lib": {
55
"entryFile": "src/public-api.ts"
66
},

packages/firebaseui-angular/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
}
1515
},
1616
"scripts": {
17+
"prepare": "pnpm run build",
1718
"build": "ng-packagr -p ng-package.json",
1819
"publish:tags": "sh -c 'TAG=\"${npm_package_name}@${npm_package_version}\"; git tag --list \"$TAG\" | grep . || git tag \"$TAG\"; git push origin \"$TAG\"'",
1920
"release": "pnpm pack --pack-destination ../../releases/"

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
packages:
1616
- packages/*
1717
- packages/angular/projects/*
18-
# - examples/* Remove until all package depenencies are published to npm
18+
- examples/angular
1919
onlyBuiltDependencies:
2020
- '@parcel/watcher'
2121
- esbuild

0 commit comments

Comments
 (0)