René's URL Explorer Experiment


Title: fix(create): preserve ignored existing add-on targets by tannerlinsley · Pull Request #554 · TanStack/cli · GitHub

Open Graph Title: fix(create): preserve ignored existing add-on targets by tannerlinsley · Pull Request #554 · TanStack/cli

X Title: fix(create): preserve ignored existing add-on targets by tannerlinsley · Pull Request #554 · TanStack/cli

Description: Adding pnpm build settings could silently replace an existing .npmrc when it was ignored by git. Load existing output targets before merging so registry settings survive and overwrite confirmation also covers ignored or empty files. AI review notes: Five real filesystem regressions fail on current main and pass with this change. They cover preserving synthetic registry settings, cancellation without writes, an explicit root-check setting, an empty existing file and another ignored output target. The frozen install and affected lint pass. The unchanged normal hook built all 10 projects and passed 550 unit tests. All eight blocking Chrome e2e tests passed and the normal hook exited successfully. An actual compiled CLI blank scaffold outside the monorepo followed by the compiled addToApp flow retained synthetic registry settings and added the standalone pnpm setting. The install command was recorded rather than executed in that fixture. The normal browser gates separately cover installed generated apps and production-valid blank and AI builds without provider calls. No dependencies, public API or workflow changes. The compiled add-to-app module adds 683 raw bytes and 162 gzip bytes, measured against the accepted current-main build. This is a leaf-module measurement, not a whole-package or startup claim. Includes an @tanstack/create patch changeset. Publishing remains dependent on resolving the staged core artifact tracked in #551. Summary by CodeRabbit Bug Fixes Existing ignored files are now considered when adding pnpm workspace settings, helping preserve .npmrc registry configuration. You’re prompted before an ignored file is overwritten, and can cancel the operation to keep its contents. Empty ignored files are also recognized as existing, helping prevent unintended overwrites.

Open Graph Description: Adding pnpm build settings could silently replace an existing .npmrc when it was ignored by git. Load existing output targets before merging so registry settings survive and overwrite confirmation ...

X Description: Adding pnpm build settings could silently replace an existing .npmrc when it was ignored by git. Load existing output targets before merging so registry settings survive and overwrite confirmation ...

Opengraph URL: https://github.com/TanStack/cli/pull/554

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:756f7c6c-784f-9eb6-113a-32904fa29495
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAA6:2A274A:25885B:33D587:6AF9A6DA
html-safe-noncea7e22d1ed7a0c6bb82afc84dbc2f55f82e6e567b6fbb77c66b5b3158db8c067d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUE2OjJBMjc0QToyNTg4NUI6MzNENTg3OjZBRjlBNkRBIiwidmlzaXRvcl9pZCI6IjYxMDkwOTc2MTc0NjE0NTQ1NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac927b56bd9518a47e1a32d2ffb68ee0c5ef5459c710bd75398936eb9d55a4beeb
hovercard-subject-tagpull_request:5143203993
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/TanStack/cli/pull/554/files
twitter:imagehttps://avatars.githubusercontent.com/u/5580297?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5580297?s=400&v=4
og:image:altAdding pnpm build settings could silently replace an existing .npmrc when it was ignored by git. Load existing output targets before merging so registry settings survive and overwrite confirmation ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/TanStack/cli git https://github.com/TanStack/cli.git
octolytics-dimension-user_id72518640
octolytics-dimension-user_loginTanStack
octolytics-dimension-repository_id932949058
octolytics-dimension-repository_nwoTanStack/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id932949058
octolytics-dimension-repository_network_root_nwoTanStack/cli
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TanStack/cli/pull/554/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fpull%2F554%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fpull%2F554%2Ffiles
Sign uphttps://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=TanStack%2Fcli
Reloadhttps://github.com/TanStack/cli/pull/554/files
Reloadhttps://github.com/TanStack/cli/pull/554/files
Reloadhttps://github.com/TanStack/cli/pull/554/files
TanStackhttps://github.com/TanStack
clihttps://github.com/TanStack/cli
Codehttps://github.com/TanStack/cli
Issues13 (13)https://github.com/TanStack/cli/issues
Pull requests23 (23)https://github.com/TanStack/cli/pulls
Discussionshttps://github.com/TanStack/cli/discussions
Actionshttps://github.com/TanStack/cli/actions
Projectshttps://github.com/TanStack/cli/projects
Security and qualityhttps://github.com/TanStack/cli/security
Insightshttps://github.com/TanStack/cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FTanStack%2Fcli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FTanStack%2Fcli%2Fissues%2Fnew%2Fchoose
tannerlinsleyhttps://github.com/tannerlinsley
mainhttps://github.com/TanStack/cli/tree/main
taren/factory-preserve-ignored-npmrchttps://github.com/TanStack/cli/tree/taren/factory-preserve-ignored-npmrc
Conversation 2 https://github.com/TanStack/cli/pull/554
Commits 1 https://github.com/TanStack/cli/pull/554/commits
Checks 7 https://github.com/TanStack/cli/pull/554/checks
Files changed 3 https://github.com/TanStack/cli/pull/554/files
fix(create): preserve ignored existing add-on targets https://github.com/TanStack/cli/pull/554/files#top
Show all changes 1 commit https://github.com/TanStack/cli/pull/554/files
d6bb4da fix(create): preserve ignored existing add-on targets tannerlinsley Nov 3, 2026 https://github.com/TanStack/cli/pull/554/commits/d6bb4dab8bc1bc7fea727ff2f34fdb6a8ec3dcb6
Clear filters https://github.com/TanStack/cli/pull/554/files
Please reload this pagehttps://github.com/TanStack/cli/pull/554/files
Please reload this pagehttps://github.com/TanStack/cli/pull/554/files
preserve-ignored-npmrc.md https://github.com/TanStack/cli/pull/554/files#diff-dfa80d94df1123c6399b8648fbd5f8561af1829333b06f45f1a7be0532e0ba9b
add-to-app.ts https://github.com/TanStack/cli/pull/554/files#diff-2cc56eda5178bc0486fe2ec2c113407a8a474108678f603f07bb61bbe9686c7a
ignored-npmrc.test.ts https://github.com/TanStack/cli/pull/554/files#diff-a102f0422b0083f263883c3f8a22b0ca93ae01d7c781c7291e699569d2761a93
.changeset/preserve-ignored-npmrc.mdhttps://github.com/TanStack/cli/pull/554/files#diff-dfa80d94df1123c6399b8648fbd5f8561af1829333b06f45f1a7be0532e0ba9b
View file https://github.com/TanStack/cli/blob/d6bb4dab8bc1bc7fea727ff2f34fdb6a8ec3dcb6/.changeset/preserve-ignored-npmrc.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TanStack/cli/pull/554/{{ revealButtonHref }}
packages/create/src/add-to-app.tshttps://github.com/TanStack/cli/pull/554/files#diff-2cc56eda5178bc0486fe2ec2c113407a8a474108678f603f07bb61bbe9686c7a
View file https://github.com/TanStack/cli/blob/d6bb4dab8bc1bc7fea727ff2f34fdb6a8ec3dcb6/packages/create/src/add-to-app.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TanStack/cli/pull/554/{{ revealButtonHref }}
https://github.com/TanStack/cli/pull/554/files#diff-2cc56eda5178bc0486fe2ec2c113407a8a474108678f603f07bb61bbe9686c7a
https://github.com/TanStack/cli/pull/554/files#diff-2cc56eda5178bc0486fe2ec2c113407a8a474108678f603f07bb61bbe9686c7a
https://github.com/TanStack/cli/pull/554/files#diff-2cc56eda5178bc0486fe2ec2c113407a8a474108678f603f07bb61bbe9686c7a
https://github.com/TanStack/cli/pull/554/files#diff-2cc56eda5178bc0486fe2ec2c113407a8a474108678f603f07bb61bbe9686c7a
packages/create/tests/ignored-npmrc.test.tshttps://github.com/TanStack/cli/pull/554/files#diff-a102f0422b0083f263883c3f8a22b0ca93ae01d7c781c7291e699569d2761a93
View file https://github.com/TanStack/cli/blob/d6bb4dab8bc1bc7fea727ff2f34fdb6a8ec3dcb6/packages/create/tests/ignored-npmrc.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TanStack/cli/pull/554/{{ revealButtonHref }}
Please reload this pagehttps://github.com/TanStack/cli/pull/554/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.