{"_id":"typescript-workspace-plugin","_rev":"3275322","name":"typescript-workspace-plugin","description":"typescript workspace - language services plugin","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"spion","email":"gorgi.kosev@gmail.com"}],"time":{"modified":"2024-03-21T10:23:17.000Z","created":"2017-11-05T14:53:44.214Z","2.0.1":"2018-10-18T13:20:44.454Z","2.0.0":"2018-10-04T18:50:23.136Z","1.0.5":"2018-01-30T18:21:15.288Z","1.0.4":"2017-11-17T19:02:15.513Z","1.0.2":"2017-11-05T14:53:44.214Z"},"users":{},"author":{"name":"spion"},"repository":{"type":"git","url":"git+https://github.com/spion/typescript-workspace-plugin.git"},"versions":{"2.0.1":{"name":"typescript-workspace-plugin","version":"2.0.1","description":"typescript workspace - language services plugin","main":"out/src/index.js","author":{"name":"spion"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/spion/typescript-workspace-plugin.git"},"scripts":{"prepublish":"tsc","compile":"tsc","test":"tsc && tape out/test/**/*.spec.js","lint":"tslint src/index.ts"},"dependencies":{},"devDependencies":{"@types/node":"^7.0.8","@types/tape":"^4.2.29","copyfiles":"^1.2.0","tape":"^4.6.3","typescript":"3.1.1"},"peerDependencies":{"typescript":">= 2.3.1 < 4"},"gitHead":"6ba69c15f16a37c248a78d2945101a19a77953a1","bugs":{"url":"https://github.com/spion/typescript-workspace-plugin/issues"},"homepage":"https://github.com/spion/typescript-workspace-plugin#readme","_id":"typescript-workspace-plugin@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.2","_npmUser":{"name":"spion","email":"gorgi.kosev@gmail.com"},"dist":{"shasum":"3d88be1c35a7fdf2c0160c8cf569ca8993439a12","size":12979,"noattachment":false,"key":"/typescript-workspace-plugin/-/typescript-workspace-plugin-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/typescript-workspace-plugin/download/typescript-workspace-plugin-2.0.1.tgz"},"maintainers":[{"name":"spion","email":"gorgi.kosev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-workspace-plugin_2.0.1_1539868844145_0.781006843141238"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-23T03:13:18.703Z","publish_time":1539868844454,"_cnpm_publish_time":1539868844454},"2.0.0":{"name":"typescript-workspace-plugin","version":"2.0.0","description":"typescript workspace - language services plugin","main":"out/src/index.js","author":{"name":"spion"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/spion/typescript-workspace-plugin.git"},"scripts":{"prepublish":"tsc","compile":"tsc","test":"tsc && tape out/test/**/*.spec.js","lint":"tslint src/index.ts"},"dependencies":{},"devDependencies":{"@types/node":"^7.0.8","@types/tape":"^4.2.29","copyfiles":"^1.2.0","tape":"^4.6.3","typescript":"3.1.1"},"peerDependencies":{"typescript":">= 2.3.1 < 4"},"gitHead":"c27ae2bbfa44b830f5567afd263d183ede3c7077","bugs":{"url":"https://github.com/spion/typescript-workspace-plugin/issues"},"homepage":"https://github.com/spion/typescript-workspace-plugin#readme","_id":"typescript-workspace-plugin@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.2","_npmUser":{"name":"spion","email":"gorgi.kosev@gmail.com"},"dist":{"shasum":"7553b914a3733a800025ad9d2f7c5086b31c45b3","size":12736,"noattachment":false,"key":"/typescript-workspace-plugin/-/typescript-workspace-plugin-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/typescript-workspace-plugin/download/typescript-workspace-plugin-2.0.0.tgz"},"maintainers":[{"name":"spion","email":"gorgi.kosev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-workspace-plugin_2.0.0_1538679023021_0.9614412170114777"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-23T03:13:17.773Z","publish_time":1538679023136,"_cnpm_publish_time":1538679023136},"1.0.5":{"name":"typescript-workspace-plugin","version":"1.0.5","description":"typescript workspace - language services plugin","main":"out/src/index.js","author":{"name":"spion"},"license":"MIT","repository":{"type":"git","url":"https://github.com/spion/typescript-workspace-plugin.git"},"scripts":{"prepublish":"tsc","compile":"tsc","test":"tsc && tape out/test/**/*.spec.js","lint":"tslint src/index.ts"},"dependencies":{},"devDependencies":{"@types/node":"^7.0.8","@types/tape":"^4.2.29","copyfiles":"^1.2.0","tape":"^4.6.3","typescript":"^2.5"},"peerDependencies":{"typescript":">= 2.3.1 < 3"},"licenseText":"MIT License\n\nCopyright (c) 2017 Angelo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"typescript-workspace-plugin@1.0.5","dist":{"shasum":"52376b710a7d2ea4b59596a91649319ba06cb21a","size":5065,"noattachment":false,"key":"/typescript-workspace-plugin/-/typescript-workspace-plugin-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/typescript-workspace-plugin/download/typescript-workspace-plugin-1.0.5.tgz"},"maintainers":[{"name":"spion","email":"gorgi.kosev@gmail.com"}],"_npmUser":{"name":"spion","email":"gorgi.kosev@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-workspace-plugin-1.0.5.tgz_1517336475133_0.6052348215598613"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T03:13:16.818Z","publish_time":1517336475288,"_cnpm_publish_time":1517336475288},"1.0.4":{"name":"typescript-workspace-plugin","version":"1.0.4","description":"typescript workspace - language services plugin","main":"out/src/index.js","author":{"name":"spion"},"license":"MIT","repository":{"type":"git","url":"https://github.com/spion/typescript-workspace-plugin.git"},"scripts":{"prepublish":"tsc","compile":"tsc","test":"tsc && tape out/test/**/*.spec.js","lint":"tslint src/index.ts"},"dependencies":{},"devDependencies":{"@types/node":"^7.0.8","@types/tape":"^4.2.29","copyfiles":"^1.2.0","tape":"^4.6.3","typescript":"^2.5"},"peerDependencies":{"typescript":">= 2.3.1 < 3"},"licenseText":"MIT License\n\nCopyright (c) 2017 Angelo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"typescript-workspace-plugin@1.0.4","dist":{"shasum":"5b4cfed87c333084d42ec1269c2acdad7df70613","size":4916,"noattachment":false,"key":"/typescript-workspace-plugin/-/typescript-workspace-plugin-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/typescript-workspace-plugin/download/typescript-workspace-plugin-1.0.4.tgz"},"maintainers":[{"name":"spion","email":"gorgi.kosev@gmail.com"}],"_npmUser":{"name":"spion","email":"gorgi.kosev@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-workspace-plugin-1.0.4.tgz_1510945335442_0.7311165872961283"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T03:13:15.894Z","publish_time":1510945335513,"_cnpm_publish_time":1510945335513},"1.0.2":{"name":"typescript-workspace-plugin","version":"1.0.2","description":"typescript workspace - language services plugin","main":"out/src/index.js","author":{"name":"spion"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/spion/typescript-workspace-plugin.git"},"scripts":{"prepublish":"tsc","compile":"tsc","test":"tsc && tape out/test/**/*.spec.js","lint":"tslint src/index.ts"},"dependencies":{},"devDependencies":{"@types/node":"^7.0.8","@types/tape":"^4.2.29","tape":"^4.6.3","typescript":"^2.3.2","copyfiles":"^1.2.0"},"peerDependencies":{"typescript":">= 2.3.1 < 3"},"gitHead":"25f67848445e224f836106a519ec4642a35cc5fb","bugs":{"url":"https://github.com/spion/typescript-workspace-plugin/issues"},"homepage":"https://github.com/spion/typescript-workspace-plugin#readme","_id":"typescript-workspace-plugin@1.0.2","_npmVersion":"5.0.4","_nodeVersion":"8.9.0","_npmUser":{"name":"spion","email":"gorgi.kosev@gmail.com"},"dist":{"shasum":"3a95889ca0174c0ddd807afdb26b75fb79da520c","size":4750,"noattachment":false,"key":"/typescript-workspace-plugin/-/typescript-workspace-plugin-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/typescript-workspace-plugin/download/typescript-workspace-plugin-1.0.2.tgz"},"maintainers":[{"name":"spion","email":"gorgi.kosev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-workspace-plugin-1.0.2.tgz_1509893623314_0.5802272253204137"},"directories":{},"_cnpmcore_publish_time":"2021-12-23T03:13:14.975Z","publish_time":1509893624214,"_cnpm_publish_time":1509893624214}},"readme":"# typescript-workspace-plugin\n\nSimple plugin that adds support for yarn-like workspaces to typescript\n\n### configuring\n\nAdd the plugin to all your `tsconfig.json` files of the individual packages:\n\n```json\n{\n  \"plugins\": [{\"name\": \"typescript-workspace-plugin\"}]\n}\n```\n\nThen at the toplevel package.json alongside yarn's \"workspaces\" entry, add a \"workspace-sources\"\nentry:\n\n```json\n{\n  \"workspaces\": [\"packages/*\"],\n  \"workspace-sources\": {\n    \"*\": [\"packages/*/src\"]\n  }\n}\n```\n\nThe field works exatly like the \"paths\" field in tsconfig.json but it only affects the language\nservice of the individual projects, pointing them to the package sources. Restores proper\n\"go to definition / type\" functionality and similar.\n\n#### Workspace TypeScript must be used.\n\nOnce you install and configure the plugin, make sure to switch to the **workspace** version of typescript installed with your project! Otherwise, the plugin will not be loaded.\n\nFrom cmd+shift+p (ctrl+shift+p), type in:\n\n* typescript version\n* use workspace\n\nIf it still doesn't work after that, a cmd+shift+p -> Reload afterwards might help.\n\n\n#### Benefits\n\nThe packages still have their individual tsconfig.json\n\nThey can have separate repos and be cloned and developed completely independent of the master\nworkspace like e.g. prosemirror: https://github.com/ProseMirror/prosemirror\n\nWhen cloned independently, \"go to definition\" and \"find references\" functionality will \nbehave as if the dependencies are standard node modules (definition files available only)\n","_attachments":{},"homepage":"https://github.com/spion/typescript-workspace-plugin#readme","bugs":{"url":"https://github.com/spion/typescript-workspace-plugin/issues"},"license":"MIT"}