{"_id":"@0x706b/tsplus-installer","_rev":"2-0f0f50522a3a1e760ad6840c6d299f81","name":"@0x706b/tsplus-installer","dist-tags":{"latest":"0.0.190"},"versions":{"0.0.189":{"name":"@0x706b/tsplus-installer","version":"0.0.189","author":"","license":"MIT","_id":"@0x706b/tsplus-installer@0.0.189","maintainers":[{"name":"0x706b","email":"peter@peterkrol.com"}],"homepage":"https://github.com/0x706b/tsplus-installer#readme","bugs":{"url":"https://github.com/0x706b/tsplus-installer/issues"},"bin":{"tsplus-install":"bin/tsplus-install"},"dist":{"shasum":"1412da5a6e596399ddeb28bd29e9094cc1520bfa","tarball":"https://registry.npmjs.org/@0x706b/tsplus-installer/-/tsplus-installer-0.0.189.tgz","fileCount":15,"integrity":"sha512-tYHEc9dzVy9t2gMYXXq6VW1l3wK93ilZrYqy6w7rS7mpipSpVKU8r/TaBU9EKE0/dlELXPyWLD2vnxG4Iq7vvQ==","signatures":[{"sig":"MEUCIDUFAD2LOIvOf6RepWs9Zt2CrhqlH3Xs1eOAD61TQNjaAiEAuj23q/qRgDrfEoZxi2irDImC/FhU6YWWH9VPUj8bVrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4970744},"gitHead":"15bcfbd221aefc8278986d3ec601ce1258e7b689","scripts":{"build":"tsc -b tsconfig.json","prepack":"./prepack.sh","release":"changeset publish","changeset":"changeset"},"_npmUser":{"name":"0x706b","email":"peter@peterkrol.com"},"repository":{"url":"git+https://github.com/0x706b/tsplus-installer.git","type":"git"},"_npmVersion":"8.19.4","description":"Run `yarn add -D typescript @tsplus/installer` and add `tsplus-install` in your `package.json` scripts like:","directories":{},"_nodeVersion":"16.20.2","dependencies":{"tar":"^6.1.11","zlib":"^1.0.5","mkdirp":"^1.0.4","rimraf":"^3.0.2","ts-node":"^10.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.1","devDependencies":{"tar":"^6.1.11","zlib":"^1.0.5","eslint":"^8.7.0","mkdirp":"^1.0.4","rimraf":"^3.0.2","ts-node":"^10.4.0","prettier":"^2.5.1","@types/tar":"^6.1.1","typescript":"^4.5.5","@types/node":"^17.0.13","@types/mkdirp":"^1.0.2","@types/rimraf":"^3.0.2","@changesets/cli":"^2.20.0","eslint-plugin-jest":"^25.7.0","eslint-plugin-import":"^2.25.4","eslint-plugin-codegen":"^0.16.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.10.0","@changesets/changelog-github":"^0.4.2","@typescript-eslint/eslint-plugin":"^5.10.0","eslint-plugin-simple-import-sort":"^7.0.0","eslint-import-resolver-typescript":"^2.5.0","eslint-plugin-sort-destructure-keys":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/tsplus-installer_0.0.189_1770580050948_0.8843324490195881","host":"s3://npm-registry-packages-npm-production"}},"0.0.190":{"name":"@0x706b/tsplus-installer","version":"0.0.190","repository":{"type":"git","url":"git+https://github.com/0x706b/tsplus-installer.git"},"author":"","license":"MIT","bin":{"tsplus-install":"bin/tsplus-install"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -b tsconfig.json","changeset":"changeset","release":"changeset publish","prepack":"./prepack.sh"},"packageManager":"yarn@4.14.1","devDependencies":{"@0x706b/eslint-plugin-align-assignments":"^0.1.2","@changesets/changelog-github":"^0.6.0","@changesets/cli":"^2.31.0","@eslint/eslintrc":"^3.3.5","@eslint/js":"^10.0.1","@fncts/eslint-config":"^0.0.27","@types/mkdirp":"^2.0.0","@types/node":"^25.6.0","@types/rimraf":"^4.0.5","@types/tar":"^7.0.87","@typescript-eslint/eslint-plugin":"^8.59.0","@typescript-eslint/parser":"^8.59.0","eslint":"^9","eslint-config-prettier":"^10.1.8","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-codegen":"^0.34.1","eslint-plugin-import":"^2.32.0","eslint-plugin-jest":"^29.15.2","eslint-plugin-prettier":"^5.5.5","eslint-plugin-simple-import-sort":"^13.0.0","eslint-plugin-sort-destructure-keys":"^3.0.0","mkdirp":"^3.0.1","prettier":"^3.8.3","rimraf":"^6.1.3","tar":"^7.5.13","ts-node":"^10.9.2","typescript":"^6.0.3","typescript-eslint":"^8.59.0","zlib":"^1.0.5"},"dependencies":{"mkdirp":"^3.0.1","rimraf":"^6.1.3","tar":"^7.5.13","ts-node":"^10.9.2","zlib":"^1.0.5"},"gitHead":"e5cc34edab284ca81b369237969d8cb7b0af8af5","_id":"@0x706b/tsplus-installer@0.0.190","description":"Run `yarn add -D typescript @tsplus/installer` and add `tsplus-install` in your `package.json` scripts like:","bugs":{"url":"https://github.com/0x706b/tsplus-installer/issues"},"homepage":"https://github.com/0x706b/tsplus-installer#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-4QklnfXCu5QfeNP51lfpNX3wfXqj2KkWwpdkHrEuWHAHZg1sehMn7w6tDDWo5czghOsuh8jG5k0grtBQAT4L9Q==","shasum":"127470682fa7a0faeb14d617a2cbfbb876788f7d","tarball":"https://registry.npmjs.org/@0x706b/tsplus-installer/-/tsplus-installer-0.0.190.tgz","fileCount":16,"unpackedSize":4978745,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCBfEfXmKiWsavg5pJ75wey/yZBi/NAq0u83VJncaMMJAIhAKLSZTlpR30C9G6LSt47zdYm2sMw9/4o8xg/BNCvdMnF"}]},"_npmUser":{"name":"0x706b","email":"peter@peterkrol.com"},"directories":{},"maintainers":[{"name":"0x706b","email":"peter@peterkrol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tsplus-installer_0.0.190_1777140485215_0.4293721153631487"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-08T19:47:30.878Z","modified":"2026-04-25T18:08:05.689Z","0.0.189":"2026-02-08T19:47:31.283Z","0.0.190":"2026-04-25T18:08:05.585Z"},"bugs":{"url":"https://github.com/0x706b/tsplus-installer/issues"},"license":"MIT","homepage":"https://github.com/0x706b/tsplus-installer#readme","repository":{"type":"git","url":"git+https://github.com/0x706b/tsplus-installer.git"},"description":"Run `yarn add -D typescript @tsplus/installer` and add `tsplus-install` in your `package.json` scripts like:","maintainers":[{"name":"0x706b","email":"peter@peterkrol.com"}],"readme":"### Installation\n\nRun `yarn add -D typescript @tsplus/installer` and add `tsplus-install` in your `package.json` scripts like:\n\n```json\n{\n    \"scripts\": {\n        \"postinstall\": \"tsplus-install\"\n    }\n}\n```\n\nAdditionally add a config like the following to be specified that tells the compiler how to map source files to traces and imports:\n\n```json\n// tsplus.config.json\n{\n  \"importMap\": {\n    \"^(.*)/packages/([^/]*)/src(.*)/index\\\\.ts$\": \"@tsplus-test/$2$3\",\n    \"^(.*)/packages/([^/]*)/src(.*)\\\\.ts$\": \"@tsplus-test/$2$3\"\n  },\n  \"traceMap\": {\n    \"^(.*)/packages/([^/]*)/(.*)$\": \"(@tsplus-test/$2) $3\"\n  }\n}\n```\n\nand linked to each tsconfig where either a main build happens or any project reference:\n\n```json\n// tsconfig.json\n{\n  \"compilerOptions\": {\n    \"tsPlusConfig\": \"../../tsplus.config.json\"\n  }\n}\n```\n\nNotes:\n\n - TS+ will add imports in your code and it will use fully qualified imports like `@tsplus-tests/package/MyFile`\n - It is your job to make sure every file is properly exported in your `package.json` exports.\n - Each file should correspond to a unique import, to avoid ending up with circular references as much as possible\n - It is advisable to use \"typescript.preferences.importModuleSpecifier\": \"non-relative in vscode settings to ensure the IDE suggests the correct auto imports\n","readmeFilename":"README.md"}