Title: Design Meeting Notes, 2/9/2022 · Issue #48016 · microsoft/TypeScript · GitHub
Open Graph Title: Design Meeting Notes, 2/9/2022 · Issue #48016 · microsoft/TypeScript
X Title: Design Meeting Notes, 2/9/2022 · Issue #48016 · microsoft/TypeScript
Description: Migrating to Modules - Motivations and Goals Sync #35210 #46744 #46567 Is it expected that if someone imports tsc, will they get something self-contained? Should we let the bundler run directly on our code, or do we run it on our outputs...
Open Graph Description: Migrating to Modules - Motivations and Goals Sync #35210 #46744 #46567 Is it expected that if someone imports tsc, will they get something self-contained? Should we let the bundler run directly on ...
X Description: Migrating to Modules - Motivations and Goals Sync #35210 #46744 #46567 Is it expected that if someone imports tsc, will they get something self-contained? Should we let the bundler run directly on ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/48016
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 2/9/2022","articleBody":"# Migrating to Modules - Motivations and Goals Sync\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/35210\r\nhttps://github.com/microsoft/TypeScript/issues/46744\r\nhttps://github.com/microsoft/TypeScript/pull/46567\r\n\r\n* Is it expected that if someone imports `tsc`, will they get something self-contained?\r\n* Should we let the bundler run directly on our code, or do we run it on our outputs?\r\n* Do we *need* to bundle?\r\n * Browsers and Node can handle modules fine.\r\n* We were hoping for optimizations...\r\n* Also, bundling `.d.ts` files?\r\n* Also, how will we dogfood our own emit?\r\n* Should try to get things working\r\n\r\n# Specifiers for Resolution Strategy\r\n\r\nhttps://github.com/microsoft/TypeScript/pull/47732\r\nhttps://github.com/microsoft/TypeScript/pull/47807\r\n\r\n* Give `/// \u003creference`>s a way to say if a resolution should come from a `require` or an `import`.\r\n* Then the same thing for `import type` with the `assert` field.\r\n* Who's this for?\r\n * Declaration emit\r\n * Quick info\r\n* So sometimes because export maps are screwed up?\r\n * No, can have correctly set-up import maps.\r\n* Will we generate these in auto-imports?\r\n * We shouldn't generate auto-imports that look like these!\r\n * But declaration emit shares the same logic - so have to make sure that doesn't happen.\r\n* We used to generate a broken import in some cases, now it's better!\r\n * But error messages and quick info - too much info!\r\n * We only fully-qualify if the types have the same exact unqualified string representation.\r\n\r\n# `package.json` Errors in `nodenext`\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/46861\r\n\r\n* Way to easy to screw up `exports`\r\n * `types` usually needs to come first, but people may put it below.\r\n* Could we provide error messages in `package.json`?\r\n * VS Code already provides schema errors.\r\n* Also, can have nested conditions.\r\n* Should this be a project-wide diagnostic, or should it be only a language service issue?\r\n* Is it ever semantically good to have `types` come after everything else?\r\n* Unclear what to do - could have JSON language services help here, but that's unlikely.","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2022-02-23T19:48:18Z","url":"https://github.com/microsoft/TypeScript/issues/48016"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a98b1644-5bf2-1de3-eb9d-49eed5b5a36b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABBE:3D97C8:1B5DFD3:2463356:6B015CD7 |
| html-safe-nonce | 21a5819b31ed9bdd6ed004c06e5659bfbddd9cabb52abfe40668bcb7652ec4b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkJFOjNEOTdDODoxQjVERkQzOjI0NjMzNTY6NkIwMTVDRDciLCJ2aXNpdG9yX2lkIjoiODQzNTY1Njc2NTc3Mjc1MDAzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5596c31e697cb35b9df5e94a1c637cf1fd136a2e6390436bfb9490908eab255c |
| hovercard-subject-tag | issue:1148508185 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/48016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce1257d5aa8c3186cc9b1e445cb71dbcdb2d768e6ed19290ba583202a2e41a2e/microsoft/TypeScript/issues/48016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce1257d5aa8c3186cc9b1e445cb71dbcdb2d768e6ed19290ba583202a2e41a2e/microsoft/TypeScript/issues/48016 |
| og:image:alt | Migrating to Modules - Motivations and Goals Sync #35210 #46744 #46567 Is it expected that if someone imports tsc, will they get something self-contained? Should we let the bundler run directly on ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width