René's URL Explorer Experiment


Title: feat(schematics): generate .firebaserc and Firestore starter files during ng add by armando-navarro · Pull Request #3714 · angular/angularfire · GitHub

Open Graph Title: feat(schematics): generate .firebaserc and Firestore starter files during ng add by armando-navarro · Pull Request #3714 · angular/angularfire

X Title: feat(schematics): generate .firebaserc and Firestore starter files during ng add by armando-navarro · Pull Request #3714 · angular/angularfire

Description: Fixes #3713 ng add @angular/fire currently leaves the workspace un-deployable: the project selected during setup is recorded nowhere, firebase.json stays {} (#3559), and selecting Firestore produces no security rules. This PR makes the setup schematic generate the same starter files firebase init would: .firebaserc — records the selected project as projects.default, merging into an existing file (other aliases and targets preserved). Written to the real filesystem after the firebaseTools.init calls, since init writes .firebaserc on disk during the same run. firestore.rules — only when Firestore is selected and no rules file exists: the same test-mode starter template firebase init firestore uses (30-day expiry), with a warning logged at generation time. Never overwrites an existing rules file. firestore.indexes.json — an empty manifest, so a plain firebase deploy doesn't fail on the referenced-but-missing file. firebase.json gains the firestore section pointing at both files, written after the Data Connect initialization (which rewrites firebase.json on disk during the same run). The rules and indexes files go through the schematic Tree (visible in the CREATE log, honored by --dry-run); .firebaserc and the firebase.json section are written to the real filesystem because firebase-tools reads and writes both during the same run. Includes 14 specs (setup/firebaseConfigs.jasmine.ts); verified end-to-end against a real project (all four artifacts generated correctly; firebase use resolves without prompting). Known limitations, not addressed here: the initial firebase.json '{}' write at the top of the flow (pre-existing) uses a raw writeFileSync and fires even under --dry-run; and because the firebase.json firestore section reaches disk before the Tree-staged rules/indexes files do, a failure late in the schematic can leave firebase.json referencing files that were never written. Moving firebase.json fully onto the Tree — the deeper fix for both — is a larger refactor.

Open Graph Description: Fixes #3713 ng add @angular/fire currently leaves the workspace un-deployable: the project selected during setup is recorded nowhere, firebase.json stays {} (#3559), and selecting Firestore produce...

X Description: Fixes #3713 ng add @angular/fire currently leaves the workspace un-deployable: the project selected during setup is recorded nowhere, firebase.json stays {} (#3559), and selecting Firestore produce...

Opengraph URL: https://github.com/angular/angularfire/pull/3714

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dd28229b-311c-d867-ee25-22763863de3f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA93C:248D3C:249DCB4:3091A41:6A5D7972
html-safe-nonce4e2ea30cc08eb759cc5080545cb77fc760cd0899da36410cfc7493f5d35c3bc2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTNDOjI0OEQzQzoyNDlEQ0I0OjMwOTFBNDE6NkE1RDc5NzIiLCJ2aXNpdG9yX2lkIjoiODk3NTk5Nzk4NTU2NzM3MzY4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac08e41959a12732b3a77e5966da0bf9649be9b2f66d6f2e659c06aa7c3041fdd5
hovercard-subject-tagpull_request:4063006383
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angularfire/pull/3714/files
twitter:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13904589?s=400&v=4
og:image:altFixes #3713 ng add @angular/fire currently leaves the workspace un-deployable: the project selected during setup is recorded nowhere, firebase.json stays {} (#3559), and selecting Firestore produce...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/pull/3714/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3714%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F3714%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangularfire
Reloadhttps://github.com/angular/angularfire/pull/3714/files
Reloadhttps://github.com/angular/angularfire/pull/3714/files
Reloadhttps://github.com/angular/angularfire/pull/3714/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3714/files
angular https://github.com/angular
angularfirehttps://github.com/angular/angularfire
Notifications https://github.com/login?return_to=%2Fangular%2Fangularfire
Fork 2.2k https://github.com/login?return_to=%2Fangular%2Fangularfire
Star 7.8k https://github.com/login?return_to=%2Fangular%2Fangularfire
Code https://github.com/angular/angularfire
Issues 294 https://github.com/angular/angularfire/issues
Pull requests 21 https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality 0 https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Code https://github.com/angular/angularfire
Issues https://github.com/angular/angularfire/issues
Pull requests https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
armando-navarrohttps://github.com/armando-navarro
angular:mainhttps://github.com/angular/angularfire/tree/main
armando-navarro:feat/ng-add-firestore-scaffoldinghttps://github.com/armando-navarro/angularfire/tree/feat/ng-add-firestore-scaffolding
Conversation 4 https://github.com/angular/angularfire/pull/3714
Commits 4 https://github.com/angular/angularfire/pull/3714/commits
Checks 24 https://github.com/angular/angularfire/pull/3714/checks
Files changed 4 https://github.com/angular/angularfire/pull/3714/files
feat(schematics): generate .firebaserc and Firestore starter files during ng add https://github.com/angular/angularfire/pull/3714/files#top
Show all changes 4 commits https://github.com/angular/angularfire/pull/3714/files
702a0cb feat(schematics): generate .firebaserc and Firestore starter files du… armando-navarro Jul 8, 2026 https://github.com/angular/angularfire/pull/3714/commits/702a0cb0ba6bb1dad4657124a7dc500053916b4e
3a5b2bb fix(schematics): move firestore starter files after init, widen error… armando-navarro Jul 16, 2026 https://github.com/angular/angularfire/pull/3714/commits/3a5b2bbaa7c17eb60bc1238435e5ffa093fe9941
e9c6ee4 Merge branch 'main' into feat/ng-add-firestore-scaffolding armando-navarro Jul 16, 2026 https://github.com/angular/angularfire/pull/3714/commits/e9c6ee4ea7b012d9654a49823f347273d4131029
28de572 fix(schematics): warn instead of crashing when the post-init firebase… armando-navarro Jul 16, 2026 https://github.com/angular/angularfire/pull/3714/commits/28de572fc22010c0976880cd6e37e30a54c98f27
Clear filters https://github.com/angular/angularfire/pull/3714/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3714/files
Please reload this pagehttps://github.com/angular/angularfire/pull/3714/files
interfaces.ts https://github.com/angular/angularfire/pull/3714/files#diff-cbcb2e5c050d2bccff4557b93529b7be1c02b268ce91e708210601bb06152b16
firebaseConfigs.jasmine.ts https://github.com/angular/angularfire/pull/3714/files#diff-d863335efd27b885f66466e052f8e3d252cad0128f765e9310c691e27cad9915
firebaseConfigs.ts https://github.com/angular/angularfire/pull/3714/files#diff-cee86734e31b03cccdbc6bc49a6982a1a30b779ebe2b1983da45db1e5dc4202a
index.ts https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
src/schematics/interfaces.tshttps://github.com/angular/angularfire/pull/3714/files#diff-cbcb2e5c050d2bccff4557b93529b7be1c02b268ce91e708210601bb06152b16
View file https://github.com/armando-navarro/angularfire/blob/28de572fc22010c0976880cd6e37e30a54c98f27/src/schematics/interfaces.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3714/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3714/files#diff-cbcb2e5c050d2bccff4557b93529b7be1c02b268ce91e708210601bb06152b16
https://github.com/angular/angularfire/pull/3714/files#diff-cbcb2e5c050d2bccff4557b93529b7be1c02b268ce91e708210601bb06152b16
src/schematics/setup/firebaseConfigs.jasmine.tshttps://github.com/angular/angularfire/pull/3714/files#diff-d863335efd27b885f66466e052f8e3d252cad0128f765e9310c691e27cad9915
View file https://github.com/armando-navarro/angularfire/blob/28de572fc22010c0976880cd6e37e30a54c98f27/src/schematics/setup/firebaseConfigs.jasmine.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3714/{{ revealButtonHref }}
src/schematics/setup/firebaseConfigs.tshttps://github.com/angular/angularfire/pull/3714/files#diff-cee86734e31b03cccdbc6bc49a6982a1a30b779ebe2b1983da45db1e5dc4202a
View file https://github.com/armando-navarro/angularfire/blob/28de572fc22010c0976880cd6e37e30a54c98f27/src/schematics/setup/firebaseConfigs.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3714/{{ revealButtonHref }}
tyler-reitzhttps://github.com/tyler-reitz
Jul 15, 2026https://github.com/angular/angularfire/pull/3714/files#r3591091438
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angularfire/pull/3714/files
armando-navarrohttps://github.com/armando-navarro
Jul 16, 2026https://github.com/angular/angularfire/pull/3714/files#r3591716668
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angularfire/pull/3714/files
src/schematics/setup/index.tshttps://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
View file https://github.com/armando-navarro/angularfire/blob/28de572fc22010c0976880cd6e37e30a54c98f27/src/schematics/setup/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/3714/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
https://github.com/angular/angularfire/pull/3714/files#diff-6da872e703b94229ab5ead42c2d1c568a7ef12207953ef05493c8246b904dea4
Please reload this pagehttps://github.com/angular/angularfire/pull/3714/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.