Title: Importing scoped npm modules without scope name · Issue #7695 · microsoft/TypeScript · GitHub
Open Graph Title: Importing scoped npm modules without scope name · Issue #7695 · microsoft/TypeScript
X Title: Importing scoped npm modules without scope name · Issue #7695 · microsoft/TypeScript
Description: This is a question. We have some private NPM packages using npmjs' private repository. Assume scope name : @scope private package name as : private-package When we install this NPM package using npm install @scope/private-package It is i...
Open Graph Description: This is a question. We have some private NPM packages using npmjs' private repository. Assume scope name : @scope private package name as : private-package When we install this NPM package using np...
X Description: This is a question. We have some private NPM packages using npmjs' private repository. Assume scope name : @scope private package name as : private-package When we install this NPM package usin...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/7695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Importing scoped npm modules without scope name","articleBody":"This is a question.\n\nWe have some private NPM packages using npmjs' private repository. Assume\n- scope name : `@scope`\n- private package name as : `private-package`\n\nWhen we install this NPM package using \n`npm install @scope/private-package` \n\nIt is installed to : `./node_modules/@scope/private-package`\n\nIn VSCode, to import some thing from this package, we need to do\n`import {SomeThing} from '@scope/private-package'`\n\nIs there anything in TypeScript configuration that we can re-map\n`@scope/private-package` to `private-package` \nso that we can use like \n`import {SomeThing} from 'private-package'` instead of adding`@scope`?\n","author":{"url":"https://github.com/sasidhar","@type":"Person","name":"sasidhar"},"datePublished":"2016-03-26T04:07:32Z","url":"https://github.com/microsoft/TypeScript/issues/7695"}
| 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:2293ed7c-2500-d214-7587-b200c1da97af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8110:322337:3EDE03:5593A6:6AFBB866 |
| html-safe-nonce | dda39fb1e847a646192e10a63cdb9633b59ce65cb59b547d4df8f39b19ba1dcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTEwOjMyMjMzNzozRURFMDM6NTU5M0E2OjZBRkJCODY2IiwidmlzaXRvcl9pZCI6IjcwNTA4Nzg2ODg3MTA4NjcwNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cf768d329c487d7522da2fc7eec89356ba2ff44f29c55a05552d7a825b32aabe |
| hovercard-subject-tag | issue:143661645 |
| 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/7695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0c608a881edecfe51774aeb020644b789b8f0e84c44dfaa359770e69521ea9a/microsoft/TypeScript/issues/7695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0c608a881edecfe51774aeb020644b789b8f0e84c44dfaa359770e69521ea9a/microsoft/TypeScript/issues/7695 |
| og:image:alt | This is a question. We have some private NPM packages using npmjs' private repository. Assume scope name : @scope private package name as : private-package When we install this NPM package using np... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sasidhar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c |
| 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 | e4cce0e99cf61481a318ff12c2e8580153a6c7c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width