René's URL Explorer Experiment


Title: Add new moduleResolution option: `yarn-pnp` · Issue #28289 · microsoft/TypeScript · GitHub

Open Graph Title: Add new moduleResolution option: `yarn-pnp` · Issue #28289 · microsoft/TypeScript

X Title: Add new moduleResolution option: `yarn-pnp` · Issue #28289 · microsoft/TypeScript

Description: Search Terms yarn pnp plug'n'play plug Suggestion Yarn has released a new feature for using modules without having a node_modules directory present: plug'n'play. Some community tooling is available for customizing the TypeScript compiler...

Open Graph Description: Search Terms yarn pnp plug'n'play plug Suggestion Yarn has released a new feature for using modules without having a node_modules directory present: plug'n'play. Some community tooling is available...

X Description: Search Terms yarn pnp plug'n'play plug Suggestion Yarn has released a new feature for using modules without having a node_modules directory present: plug'n'play. Some community tool...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add new moduleResolution option: `yarn-pnp`","articleBody":"## Search Terms\r\n\r\nyarn pnp plug'n'play plug \r\n\r\n## Suggestion\r\n\r\nYarn has released a new feature for using modules without having a `node_modules` directory present: plug'n'play. Some community tooling is available for customizing the TypeScript compilerHost so that it can use plug'n'play modules, but this does not work for users of `tsc`. \r\n\r\nMy suggestion is to add a new `\"moduleResolution\": \"yarnpnp\"` option.\r\n\r\n## Use Cases / Examples\r\n\r\nI want to be able to use yarn plug-n-play in my typescript projects. My projects are typically yarn monorepos where common libraries are basic node packages using `tsc` for compilation. This would allow the basic projects to continue using `tsc`, but with an alternative module resolution scheme.\r\n\r\nSome community tooling has been created here for augmenting the CompileHost with a slightly updated moduleResolution strategy, but using it in basic projects would probably require a forked `tsc`.\r\n\r\nhttps://github.com/arcanis/ts-pnp\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/darthtrevino","@type":"Person","name":"darthtrevino"},"datePublished":"2018-11-01T18:57:47Z","url":"https://github.com/microsoft/TypeScript/issues/28289"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:035b69cf-fbdc-5963-eb6c-e171d86cb38e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD5E:35BF39:DC8D9A:121913A:6AED5710
html-safe-nonce6c2b71e9b80fd298b81f0b9bc7a73f9d675a951f3708331e28db3590cb5c03a7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDVFOjM1QkYzOTpEQzhEOUE6MTIxOTEzQTo2QUVENTcxMCIsInZpc2l0b3JfaWQiOiIyMTUwNDg5NTEyNzIwODE1ODg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1399d87f602c572c581a3c4be9cad12509b4f2eac547e9ec7b52d7612a8acb5b
hovercard-subject-tagissue:376525173
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/28289/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b58f0bb077c4bd5d5c81b5c94002cfbe37f09428d9f265f85f68f172c83d2b0e/microsoft/TypeScript/issues/28289
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b58f0bb077c4bd5d5c81b5c94002cfbe37f09428d9f265f85f68f172c83d2b0e/microsoft/TypeScript/issues/28289
og:image:altSearch Terms yarn pnp plug'n'play plug Suggestion Yarn has released a new feature for using modules without having a node_modules directory present: plug'n'play. Some community tooling is available...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedarthtrevino
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
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
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/28289#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F28289
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%2F28289
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/28289
Reloadhttps://github.com/microsoft/TypeScript/issues/28289
Reloadhttps://github.com/microsoft/TypeScript/issues/28289
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues4.9k (4.9k)https://github.com/microsoft/TypeScript/issues
Pull requests298 (298)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/pulse
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/28289
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/28289
Add new moduleResolution option: yarn-pnphttps://github.com/microsoft/TypeScript/issues/28289#top
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/darthtrevino
Chris Trevino (darthtrevino)https://github.com/darthtrevino
on Nov 1, 2018https://github.com/microsoft/TypeScript/issues/28289#issue-376525173
https://github.com/arcanis/ts-pnphttps://github.com/arcanis/ts-pnp
Nexthttps://github.com/microsoft/TypeScript/issues/28289?timeline_page=1
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Nov 1, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-435164631
tinkhttps://github.com/npm/tink
yarnpkg/yarn#6388https://github.com/yarnpkg/yarn/issues/6388
Daniel has a much more detailed comment on the pnp rfc herehttps://github.com/yarnpkg/rfcs/pull/101#issuecomment-422515704
Wesley Wigham (weswigham)https://github.com/weswigham
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
on Nov 1, 2018https://github.com/microsoft/TypeScript/issues/28289#event-1941425320
https://github.com/darthtrevino
Chris Trevino (darthtrevino)https://github.com/darthtrevino
on Nov 1, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-435166479
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/arcanis
Maël Nison (arcanis)https://github.com/arcanis
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437272343
yarnpkg/yarn#6388https://github.com/yarnpkg/yarn/issues/6388
in the sample apphttps://github.com/yarnpkg/pnp-sample-app/blob/master/package.json#L53
#18896https://github.com/microsoft/TypeScript/issues/18896
TypeStrong/ts-loader#862https://github.com/TypeStrong/ts-loader/pull/862
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437317873
https://github.com/arcanis
Maël Nison (arcanis)https://github.com/arcanis
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437320903
yarnpkg/yarn#6388https://github.com/yarnpkg/yarn/issues/6388
https://github.com/Phoenixmatrix
Francois Ward (Phoenixmatrix)https://github.com/Phoenixmatrix
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437345495
https://github.com/sebinsua
Seb Insua (sebinsua)https://github.com/sebinsua
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437374327
Maël Nison (@arcanis)https://github.com/arcanis
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437425279
Maël Nison (@arcanis)https://github.com/arcanis
https://github.com/Phoenixmatrix
Francois Ward (Phoenixmatrix)https://github.com/Phoenixmatrix
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437430718
https://github.com/arcanis
Maël Nison (arcanis)https://github.com/arcanis
on Nov 9, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-437461429
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/hybrist
Jan Olaf Martin (hybrist)https://github.com/hybrist
on Nov 14, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-438861678
https://github.com/TobiasMelen
Tobias Melén (TobiasMelen)https://github.com/TobiasMelen
on Nov 18, 2018https://github.com/microsoft/TypeScript/issues/28289#issuecomment-439728695
scripthttps://github.com/TobiasMelen/ts-pnp-paths/blob/master/bin/ts-pnp-paths.js
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/arcanis
Maël Nison (arcanis)https://github.com/arcanis
on Jan 15, 2019https://github.com/microsoft/TypeScript/issues/28289#issuecomment-454355995
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/luxalpa
Luxalpa (luxalpa)https://github.com/luxalpa
on Sep 2, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-911986702
https://github.com/arcanis
Maël Nison (arcanis)https://github.com/arcanis
on Sep 2, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912039418
herehttps://github.com/microsoft/TypeScript/pull/35206#issuecomment-707292162
https://github.com/thetutlage
Harminder Virk (thetutlage)https://github.com/thetutlage
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912233529
https://github.com/darthtrevino
Chris Trevino (darthtrevino)https://github.com/darthtrevino
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912235597
Maël Nison (@arcanis)https://github.com/arcanis
https://github.com/thetutlage
Harminder Virk (thetutlage)https://github.com/thetutlage
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912236348
https://github.com/darthtrevino
Chris Trevino (darthtrevino)https://github.com/darthtrevino
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912241797
#28289 (comment)https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912236348
https://github.com/notifications/unsubscribe-auth/AAA3XCESR5V54O4UTF4V253UABCADANCNFSM4GBBNH5Qhttps://github.com/notifications/unsubscribe-auth/AAA3XCESR5V54O4UTF4V253UABCADANCNFSM4GBBNH5Q
https://github.com/luxalpa
Luxalpa (luxalpa)https://github.com/luxalpa
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912282497
https://github.com/Phoenixmatrix
Francois Ward (Phoenixmatrix)https://github.com/Phoenixmatrix
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-912502244
https://github.com/0rvar
Orvar (0rvar)https://github.com/0rvar
on Sep 16, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-920648111
https://github.com/pauldraper
Paul Draper (pauldraper)https://github.com/pauldraper
on Sep 19, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-922538844
https://github.com/pauldraper
Paul Draper (pauldraper)https://github.com/pauldraper
on Nov 11, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-966424931
Maël Nison (@arcanis)https://github.com/arcanis
arcanis/ts-pnp#8https://github.com/arcanis/ts-pnp/pull/8
https://github.com/Luiz-Monad
Luiz (Luiz-Monad)https://github.com/Luiz-Monad
on Dec 9, 2021https://github.com/microsoft/TypeScript/issues/28289#issuecomment-989955577
http://blog.mavnn.co.uk/type-providers-from-the-ground-up/http://blog.mavnn.co.uk/type-providers-from-the-ground-up/
Greg Hurrell (wincent)https://github.com/wincent
on Aug 30, 2023https://github.com/microsoft/TypeScript/issues/28289#event-10237199690
chore: change from pnp to pnpmhttps://github.com/wincent/masochist/commit/0620011b6e823269346a00dcbcefb9343e8c3e52
0620011https://github.com/wincent/masochist/commit/0620011b6e823269346a00dcbcefb9343e8c3e52
https://github.com/p99will
William (p99will)https://github.com/p99will
on Sep 2, 2025https://github.com/microsoft/TypeScript/issues/28289#issuecomment-3245018405
https://yarnpkg.com/getting-started/editor-sdkshttps://yarnpkg.com/getting-started/editor-sdks
https://github.com/brandonbothell
Brandon Bothell (brandonbothell)https://github.com/brandonbothell
on Apr 24, 2026https://github.com/microsoft/TypeScript/issues/28289#issuecomment-4309791717
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/28289
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/28289
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%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.