René's URL Explorer Experiment


Title: Infer project references from common monorepo patterns / tools · Issue #25376 · microsoft/TypeScript · GitHub

Open Graph Title: Infer project references from common monorepo patterns / tools · Issue #25376 · microsoft/TypeScript

X Title: Infer project references from common monorepo patterns / tools · Issue #25376 · microsoft/TypeScript

Description: Genesis: see section "Repetitive configuration" in #3469 (comment) Search Terms monorepo infer project references automatically yarn lerna workspace package.json Suggestion For common monorepo managers, we should natively understand cros...

Open Graph Description: Genesis: see section "Repetitive configuration" in #3469 (comment) Search Terms monorepo infer project references automatically yarn lerna workspace package.json Suggestion For common monorepo mana...

X Description: Genesis: see section "Repetitive configuration" in #3469 (comment) Search Terms monorepo infer project references automatically yarn lerna workspace package.json Suggestion For common mon...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/25376

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Infer project references from common monorepo patterns / tools","articleBody":"Genesis: see section \"Repetitive configuration\" in https://github.com/Microsoft/TypeScript/issues/3469#issuecomment-400439520\r\n\r\n## Search Terms\r\n\r\nmonorepo infer project references automatically yarn lerna workspace package.json\r\n\r\n## Suggestion\r\n\r\nFor common monorepo managers, we should natively understand cross-project references declared in `package.json` as if they were declared in `tsconfig.json`\r\n\r\nOpen questions:\r\n * Which formats (lerna, yarn, pnpm, etc) would be supported? Can all of them be consistently detected, or would you need to opt in to a specific \"monorepo format\" to enable a specific resolution algorithm?\r\n * How do we find the `tsconfig.json` file? This data is actually not present in the current (non-tsconfig) dependency graph. We could assume it to be in the package root; what if it's elsewhere?\r\n * Would you need to opt in? Would there be a way to opt out? What should that look like?\r\n\r\n## Use Cases\r\n\r\n * Monorepos of all (supportable) flavors\r\n\r\n## Examples\r\n\r\nhttps://github.com/RyanCavanaugh/learn-a\r\n\r\nThis repo has a fair bit of duplication where projects need to write down their dependencies in package.json *and* as references (with different syntax) in `tsconfig.json`.\r\n\r\n## Checklist\r\n\r\nMy suggestion meets these guidelines:\r\n* [x] This wouldn't be a breaking change in existing TypeScript / JavaScript code\r\n* [x] This wouldn't change the runtime behavior of existing JavaScript code\r\n* [x] This could be implemented without emitting different JS based on the types of the expressions\r\n* [x] This isn't a runtime feature (e.g. new expression-level syntax)\r\n\r\n","author":{"url":"https://github.com/RyanCavanaugh","@type":"Person","name":"RyanCavanaugh"},"datePublished":"2018-07-02T19:39:07Z","url":"https://github.com/microsoft/TypeScript/issues/25376"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4287f74b-4bb0-8723-bce6-fef72eb1487c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idECAC:31D532:43861D:591B2F:6B01976D
html-safe-nonceeea6e5f28d2783b999ae6e153ee32a0772cef3015c48065037cc531c76fb7929
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0FDOjMxRDUzMjo0Mzg2MUQ6NTkxQjJGOjZCMDE5NzZEIiwidmlzaXRvcl9pZCI6IjM0OTM0NTkwNTA5Nzk0OTc4MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf9bcd27999d6c5973298d6bc070d79f7ef1d3a7d2346453ac3f44418b22170d3
hovercard-subject-tagissue:337638127
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/25376/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dd980126fd68469b5254915cb90e54eb716d4a56cd4122288593b2214e5be54f/microsoft/TypeScript/issues/25376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dd980126fd68469b5254915cb90e54eb716d4a56cd4122288593b2214e5be54f/microsoft/TypeScript/issues/25376
og:image:altGenesis: see section "Repetitive configuration" in #3469 (comment) Search Terms monorepo infer project references automatically yarn lerna workspace package.json Suggestion For common monorepo mana...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRyanCavanaugh
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/25376#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F25376
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%2Fmicrosoft%2FTypeScript%2Fissues%2F25376
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/25376
Reloadhttps://github.com/microsoft/TypeScript/issues/25376
Reloadhttps://github.com/microsoft/TypeScript/issues/25376
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/25376
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/25376
Infer project references from common monorepo patterns / toolshttps://github.com/microsoft/TypeScript/issues/25376#top
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
Scenario: Monorepos & Cross-Project ReferencesRelates to composite projects (a.k.a references between "medium sized projects")https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Scenario%3A%20Monorepos%20%26%20Cross-Project%20References%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/25376#issue-337638127
#3469 (comment)https://github.com/microsoft/TypeScript/issues/3469#issuecomment-400439520
https://github.com/RyanCavanaugh/learn-ahttps://github.com/RyanCavanaugh/learn-a
Nexthttps://github.com/microsoft/TypeScript/issues/25376?timeline_page=1
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
Scenario: Monorepos & Cross-Project ReferencesRelates to composite projects (a.k.a references between "medium sized projects")https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Scenario%3A%20Monorepos%20%26%20Cross-Project%20References%22
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/25376#event-1712396106
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-401928440
https://github.com/bajtos
Miroslav Bajtoš (bajtos)https://github.com/bajtos
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402058901
https://github.com/strongloop/loopback-nexthttps://github.com/strongloop/loopback-next
loopbackhttps://github.com/strongloop/loopback
strong-remotinghttps://github.com/strongloop/strong-remoting
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402070430
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402295556
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402302343
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402303095
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402303756
https://github.com/Cryrivers
Zhongliang Wang (Cryrivers)https://github.com/Cryrivers
on Jul 5, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-402690027
https://github.com/timfish
Tim Fish (timfish)https://github.com/timfish
on Jul 10, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-403917754
https://github.com/friflo
Ullrich Praetz (friflo)https://github.com/friflo
on Jul 13, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-404781797
https://github.com/dicarlo2
Alex DiCarlo (dicarlo2)https://github.com/dicarlo2
on Jul 15, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-405067869
Zhongliang Wang (@Cryrivers)https://github.com/Cryrivers
https://github.com/akosyakov
Anton Kosyakov (akosyakov)https://github.com/akosyakov
on Aug 15, 2018https://github.com/microsoft/TypeScript/issues/25376#issuecomment-413122257
https://github.com/theia-ide/theia/blob/b7471470214533912174fa1c0b07301346026939/scripts/configure-references#L19https://github.com/theia-ide/theia/blob/b7471470214533912174fa1c0b07301346026939/scripts/configure-references#L19
https://github.com/theia-ide/theia/blob/b7471470214533912174fa1c0b07301346026939/package.json#L50https://github.com/theia-ide/theia/blob/b7471470214533912174fa1c0b07301346026939/package.json#L50
https://github.com/pleunv
Pleun Vanderbauwhede (pleunv)https://github.com/pleunv
on May 25, 2021https://github.com/microsoft/TypeScript/issues/25376#issuecomment-847911304
scopehttps://github.com/scope
https://github.com/jaredpalmer
Jared Palmer (jaredpalmer)https://github.com/jaredpalmer
on Dec 17, 2021https://github.com/microsoft/TypeScript/issues/25376#issuecomment-996312105
vercel/turborepo#331https://github.com/vercel/turborepo/issues/331
https://github.com/pokey
Pokey Rule (pokey)https://github.com/pokey
on Mar 3, 2023https://github.com/microsoft/TypeScript/issues/25376#issuecomment-1453241351
meta-updaterhttps://github.com/pnpm/meta-updater
the confighttps://github.com/pnpm/pnpm/blob/d4c0ad091878f0b6aba35368e0101a0afaa84e53/.meta-updater/src/index.ts#L119
https://github.com/trikadin
Konstantin Kutsyllo (trikadin)https://github.com/trikadin
on Sep 4, 2024https://github.com/microsoft/TypeScript/issues/25376#issuecomment-2329508214
https://github.com/jtwebman
JT Turner (jtwebman)https://github.com/jtwebman
on Nov 2, 2024https://github.com/microsoft/TypeScript/issues/25376#issuecomment-2453207389
https://github.com/samdenty
Sam Denty (samdenty)https://github.com/samdenty
on Apr 2, 2025https://github.com/microsoft/TypeScript/issues/25376#issuecomment-2773775872
https://www.npmjs.com/package/update-ts-referenceshttps://www.npmjs.com/package/update-ts-references
Elliot Winkler (mcmire)https://github.com/mcmire
on Jul 10, 2026https://github.com/microsoft/TypeScript/issues/25376#event-27828589033
Ensure refs in tsconfig files are synced with internal depshttps://github.com/MetaMask/core/commit/cbafdb5b38464713ae93122ed1fd309bec0f581e
cbafdb5https://github.com/MetaMask/core/commit/cbafdb5b38464713ae93122ed1fd309bec0f581e
Ensure refs in tsconfig files are synced with internal depshttps://github.com/MetaMask/core/commit/1f66d25406809421f861ff4297ce4d1e3d733d25
1f66d25https://github.com/MetaMask/core/commit/1f66d25406809421f861ff4297ce4d1e3d733d25
Ensure refs in tsconfig files are synced with internal depshttps://github.com/MetaMask/core/commit/bf0a675d1ea45139988446ed4c57e1d2b124eaeb
bf0a675https://github.com/MetaMask/core/commit/bf0a675d1ea45139988446ed4c57e1d2b124eaeb
Ensure refs in tsconfig files are synced with internal depshttps://github.com/MetaMask/core/commit/1d2ab5e0df86a3ac2ea2ebf5d13c3fc613ffb6a3
1d2ab5ehttps://github.com/MetaMask/core/commit/1d2ab5e0df86a3ac2ea2ebf5d13c3fc613ffb6a3
Ensure refs in tsconfig files are synced with internal depshttps://github.com/MetaMask/core/commit/59d13790b651ced31270f048bfdef04e11cf8e36
59d1379https://github.com/MetaMask/core/commit/59d13790b651ced31270f048bfdef04e11cf8e36
Ensure refs in tsconfig files are synced with internal deps (#8384)https://github.com/MetaMask/core/commit/58cd8e931a846643843fd44af61d080aef70e581
#8384https://github.com/MetaMask/core/pull/8384
58cd8e9https://github.com/MetaMask/core/commit/58cd8e931a846643843fd44af61d080aef70e581
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/25376
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/25376
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
Scenario: Monorepos & Cross-Project ReferencesRelates to composite projects (a.k.a references between "medium sized projects")https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Scenario%3A%20Monorepos%20%26%20Cross-Project%20References%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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.