{"_id":"@camaro/tsconfig","_rev":"12-9d3ea1c016e94f049bcc6eb240b8a11b","name":"@camaro/tsconfig","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.3":{"name":"@camaro/tsconfig","version":"1.0.3","keywords":["camaro","tsconfig"],"author":{"name":"Dunn"},"license":"MIT","_id":"@camaro/tsconfig@1.0.3","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/tsconfig#readme","bugs":{"url":"https://github.com/camarojs/tsconfig/issues"},"dist":{"shasum":"457d86d837d352398cdb8c605c6776f1bcb0d1ad","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.0.3.tgz","fileCount":5,"integrity":"sha512-o4c3ZbTNw75Y0bdFWLwkFqni6Xf0no+ut9Q9x4+e5T4tA52t2M/93uhQ7hDkMKy4Yt/uurVCltoSuKrVXwC5pg==","signatures":[{"sig":"MEUCIEvkeyJSnDPcGlMe2b5ax6YapR739Eh55jVnrctFdbQzAiEAi4niMSLDiJtNRvXygWqaDiosxgMpLhkB57SyUDOY5Co=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2283},"gitHead":"53ec3e26f543df7ecfc035dc844e1a4745fd7c4f","_npmUser":{"name":"pikadun","email":"wg0121@outlook.com"},"repository":{"url":"git+https://github.com/camarojs/tsconfig.git","type":"git"},"_npmVersion":"10.8.2","description":"A shareable ts config.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.0.3_1725873565960_0.16771079931626498","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@camaro/tsconfig","version":"1.1.0","keywords":["camaro","tsconfig"],"author":{"name":"Dunn"},"license":"MIT","_id":"@camaro/tsconfig@1.1.0","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/tsconfig#readme","bugs":{"url":"https://github.com/camarojs/tsconfig/issues"},"dist":{"shasum":"1f8430586037e8a4e2c7be80b1e90b706d23bf17","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.1.0.tgz","fileCount":4,"integrity":"sha512-qdbUrxNttCS3uLkNYHef8ySkFJYUdFvFqHFc36B0l7R5yOFkQy0m2rz+yeK60AMRTf3nwZCLhwJkgkOsT5Kstg==","signatures":[{"sig":"MEYCIQCTV/dII4Y0kwe3eQxE3b7qE9UA0BQaBJcjxW/X3tZSwAIhAICQM3KwCydEXnqwpBRz+vIq4aiaPN4q071apIR6j9rj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2374},"gitHead":"2eaf2498f253e038391a1761b3d0779662d6c427","_npmUser":{"name":"pikadun","email":"wg0121@outlook.com"},"repository":{"url":"git+https://github.com/camarojs/tsconfig.git","type":"git"},"_npmVersion":"10.9.2","description":"A shareable ts config.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.1.0_1744784921930_0.0020476710428103395","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@camaro/tsconfig","version":"1.1.1","keywords":["camaro","tsconfig"],"author":{"name":"Dunn"},"license":"MIT","_id":"@camaro/tsconfig@1.1.1","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/tsconfig#readme","bugs":{"url":"https://github.com/camarojs/tsconfig/issues"},"dist":{"shasum":"89d89024ef18a7ab4977eeeff3938053f3d4c50b","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.1.1.tgz","fileCount":4,"integrity":"sha512-23sH9shDTuTImvZ2V9YYadlfPbndWa/eUvTSivjKAOXwRQjZSZ5CE5oRAvMl59z11RSbg5FBbGSJ8M5ZcNe06A==","signatures":[{"sig":"MEUCIQCHGkIulWiXM0atwYnuAhnLNRsybg3YxH7FeUdz4vDilwIgMzvm4+yCbP6rnB9nQ4tUGASmjzSBYh5bq5HlOgHz+Is=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2326},"gitHead":"d0ba045ef0b999d5b528de0bd37bb0a9363b8640","_npmUser":{"name":"pikadun","email":"wg0121@outlook.com"},"repository":{"url":"git+https://github.com/camarojs/tsconfig.git","type":"git"},"_npmVersion":"10.9.2","description":"A shareable ts config.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.1.1_1744786026102_0.6353074179093146","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@camaro/tsconfig","version":"1.1.2","keywords":["camaro","tsconfig"],"author":{"name":"Dunn"},"license":"MIT","_id":"@camaro/tsconfig@1.1.2","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/tsconfig#readme","bugs":{"url":"https://github.com/camarojs/tsconfig/issues"},"dist":{"shasum":"d032085f2d282ebf2ea2bf60a5fba8e6af4fb818","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.1.2.tgz","fileCount":5,"integrity":"sha512-En56jicBoQtNWUUp7e6K7bwQCxewIMrvC8VXVEGK8OqJDgWRachuas0yNtLLMJk3gEVF0kwOqb+Mg8fWXMYyhw==","signatures":[{"sig":"MEUCIGFi3ytpl3Sg8XnR2SDVmlMQivjortHBOYduz8QQAZJdAiEAgM3vkO2+YXHnZeX76QuLz483ZR/KHCLodUCiyc+C0DM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2459},"gitHead":"b96387e2a9dccf9a167cc6677f174835cdf027c7","_npmUser":{"name":"pikadun","actor":{"name":"pikadun","type":"user","email":"wg0121@outlook.com"},"email":"wg0121@outlook.com"},"repository":{"url":"git+https://github.com/camarojs/tsconfig.git","type":"git"},"_npmVersion":"10.9.2","description":"A shareable ts config.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.1.2_1750926567592_0.6318905374005144","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@camaro/tsconfig","version":"1.1.3","keywords":["camaro","tsconfig"],"author":{"name":"Dunn"},"license":"MIT","_id":"@camaro/tsconfig@1.1.3","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/tsconfig#readme","bugs":{"url":"https://github.com/camarojs/tsconfig/issues"},"dist":{"shasum":"141618eb8d00d00751d39839d3541032aba091e7","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.1.3.tgz","fileCount":5,"integrity":"sha512-S4k7vkhNH1L4QTD2rk+5NlLhEkv8v13CbuzDN4rHUcwwE1KLhoz1t9qM7fNeCZzaaGKtRs2AllDxUe/m7Tji8A==","signatures":[{"sig":"MEUCIQDNKczmsOFEsVvyl6hXe+DzBvxZjA4ZKfrN1+gOEeRDJQIgUS+GVNcNpZqskzYttvjfiaABaA1O99jVGNcCVlQM5FY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2461},"gitHead":"f90bc5ab1f88331e4acd4d51e87f038ef89dbf55","_npmUser":{"name":"pikadun","actor":{"name":"pikadun","type":"user","email":"wg0121@outlook.com"},"email":"wg0121@outlook.com"},"repository":{"url":"git+https://github.com/camarojs/tsconfig.git","type":"git"},"_npmVersion":"10.9.2","description":"A shareable ts config.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.1.3_1750927259750_0.10068753536875108","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@camaro/tsconfig","version":"1.2.0","keywords":["camaro","tsconfig"],"author":{"name":"Dunn"},"license":"MIT","_id":"@camaro/tsconfig@1.2.0","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/tsconfig#readme","bugs":{"url":"https://github.com/camarojs/tsconfig/issues"},"dist":{"shasum":"f8c9440039d9f1248d6948e604a0696639ff3b85","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.2.0.tgz","fileCount":6,"integrity":"sha512-hgPP8VTvf57YGur5czJ+YYh1KBEqLwDNWNHTf3NtBh+izOFlZhzRiZf2aYZAX3TgnuHjEX3G4CXLOLNOSj7rhw==","signatures":[{"sig":"MEUCIHmwmP/B13Oc+JQ5S5Px6o33VYV+8a6lOVelNtQVBZolAiEAsIWMZw9+9OMONlFiAW3xjH/R2skbHn2x5nrrAW5aMRU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5963},"gitHead":"fc40542cfcfedb1fd9d5c06b257b4b87ddff9179","_npmUser":{"name":"pikadun","email":"wg0121@outlook.com"},"repository":{"url":"git+https://github.com/camarojs/tsconfig.git","type":"git"},"_npmVersion":"11.6.1","description":"A shareable ts config.","directories":{},"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.2.0_1762839666395_0.5335089299865179","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@camaro/tsconfig","version":"1.3.0","keywords":["typescript","tsconfig","config","shared","monorepo","camaro"],"author":{"name":"Dunn","email":"wg0121@outlook.com"},"license":"MIT","_id":"@camaro/tsconfig@1.3.0","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"homepage":"https://github.com/camarojs/camaro#readme","bugs":{"url":"https://github.com/camarojs/camaro/issues"},"dist":{"shasum":"e9fa2b04df7dc2d63bcb3d46b6e66b09d0bf1dca","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.3.0.tgz","fileCount":5,"integrity":"sha512-PJ+lmIaAoPb/L5ZIVaJkopHKv+ezNCxchBCPVGZvU1fxu5TLrlaVTFcvgFbI/9m3Z137gRBcduWeEOxVaIPCgw==","signatures":[{"sig":"MEUCIGddxVmoK3SbmnG2oD/91QdmVMScMaVSouk12gQj6UfGAiEA2oUxSgo3pN4K+H77qyE3Y4ZQfYL6as+E/M/KF/bv1xQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5835},"scripts":{"test":"","build":"","type-check":""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5342a435-61a5-4ed2-9b4a-77e0d696203f"}},"repository":{"url":"git+https://github.com/camarojs/camaro.git","type":"git"},"_npmVersion":"11.6.2","description":"Shared TypeScript configuration presets for the Camaro monorepo.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tsconfig_1.3.0_1770973944075_0.39096622544616677","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@camaro/tsconfig","version":"1.4.0","description":"Shared TypeScript configuration presets for the Camaro monorepo.","scripts":{"build":"","test":"","type-check":""},"keywords":["typescript","tsconfig","config","shared","monorepo","camaro"],"repository":{"type":"git","url":"git+https://github.com/camarojs/camaro.git"},"author":{"name":"Dunn","email":"wg0121@outlook.com"},"license":"MIT","bugs":{"url":"https://github.com/camarojs/camaro/issues"},"homepage":"https://github.com/camarojs/camaro#readme","peerDependencies":{"typescript":"^6.0.2"},"_id":"@camaro/tsconfig@1.4.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-z36pHkgwOxEMu5tqfpJB+cCmLXrqVx9NodToDkZSGSHHMMXX4UEeMizX2AcdqtNjs5VZYbT4qY2LWd5mRjtEjw==","shasum":"fc7289ba2c1a3b567e029cfd06a463ca42e45b16","tarball":"https://registry.npmjs.org/@camaro/tsconfig/-/tsconfig-1.4.0.tgz","fileCount":5,"unpackedSize":5970,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@camaro%2ftsconfig@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDD9JdJlktkCxogk6zlEGTh7lcv3I2kFGtWgTq03u/WbAIgOvaH8EPWMZW0imuhzhio9bP1CJuKxblofUMa1kFHS3I="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5342a435-61a5-4ed2-9b4a-77e0d696203f"}},"directories":{},"maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tsconfig_1.4.0_1775026993222_0.2832085850617174"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-08T04:10:55.277Z","modified":"2026-04-01T07:03:13.642Z","1.0.1":"2024-05-08T04:10:55.573Z","1.0.2":"2024-05-08T15:27:28.235Z","1.0.3":"2024-09-09T09:19:26.083Z","1.1.0":"2025-04-16T06:28:42.101Z","1.1.1":"2025-04-16T06:47:06.299Z","1.1.2":"2025-06-26T08:29:27.775Z","1.1.3":"2025-06-26T08:40:59.929Z","1.2.0":"2025-11-11T05:41:06.604Z","1.3.0":"2026-02-13T09:12:24.261Z","1.4.0":"2026-04-01T07:03:13.376Z"},"bugs":{"url":"https://github.com/camarojs/camaro/issues"},"author":{"name":"Dunn","email":"wg0121@outlook.com"},"license":"MIT","homepage":"https://github.com/camarojs/camaro#readme","keywords":["typescript","tsconfig","config","shared","monorepo","camaro"],"repository":{"type":"git","url":"git+https://github.com/camarojs/camaro.git"},"description":"Shared TypeScript configuration presets for the Camaro monorepo.","maintainers":[{"name":"pikadun","email":"wg0121@outlook.com"}],"readme":"# @camaro/tsconfig\n\nA shareable TypeScript configuration with strict type checking and modern compiler options.\n\n## Features\n\n- ✅ Strict type checking configuration\n- 🔒 All strict mode options enabled\n- 🚀 Latest ESNext target and module system\n- 📦 Node.js `nodenext` module resolution support\n- 🏗️ Monorepo-specific configuration included\n- 🔄 ESM interoperability out of the box\n\n## Installation\n\n```bash\nnpm install --save-dev @camaro/tsconfig\n```\n\nOr using other package managers:\n\n```bash\n# pnpm\npnpm add -D @camaro/tsconfig\n\n# yarn\nyarn add -D @camaro/tsconfig\n```\n\n## Usage\n\n### Base Configuration\n\nCreate a `tsconfig.json` file in your project root and extend the base configuration:\n\n```json\n{\n  \"extends\": \"@camaro/tsconfig/base.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"./dist\"\n  },\n  \"include\": [\"src\"]\n}\n```\n\n### Monorepo Configuration\n\nIf you're using a monorepo (such as pnpm workspaces, yarn workspaces, or lerna), use the dedicated monorepo configuration:\n\n```json\n{\n  \"extends\": \"@camaro/tsconfig/monorepo.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"./dist\"\n  },\n  \"include\": [\"src\"]\n}\n```\n\n## Configuration Details\n\n### base.json\n\nThe base configuration includes the following strict compiler options:\n\n#### Type Checking\n- `strict: true` - Enable all strict type checking options\n- `noImplicitReturns: true` - Ensure all code paths in functions return a value\n- `noFallthroughCasesInSwitch: true` - Prevent fallthrough errors in switch statements\n- `noUnusedLocals: true` - Report unused local variables\n- `noUnusedParameters: true` - Report unused parameters\n- `noUncheckedIndexedAccess: true` - Add undefined checks for index access\n- `noImplicitOverride: true` - Ensure overriding members use the override modifier\n- `allowUnreachableCode: false` - Disallow unreachable code\n- `allowUnusedLabels: false` - Disallow unused labels\n\n#### Module System\n- `module: \"nodenext\"` - Use Node.js ESM and CommonJS support\n- `moduleResolution: \"nodenext\"` - Node.js module resolution strategy\n\n#### Emit Options\n- `inlineSourceMap: true` - Generate inline source maps\n\n#### Interoperability\n- `esModuleInterop: true` - Enable ES module interoperability\n- `forceConsistentCasingInFileNames: true` - Enforce consistent file name casing\n\n#### Language and Environment\n- `target: \"ESNext\"` - Compile to the latest ECMAScript standard\n- `lib: [\"ESNext\"]` - Use the latest standard library type definitions\n\n#### Other\n- `skipLibCheck: true` - Skip type checking of declaration files for better performance\n\n### monorepo.json\n\nExtends `base.json` with additional options:\n- `composite: true` - Enable project references and incremental compilation, suitable for monorepo scenarios\n\n## Why Use This Configuration?\n\n1. **Strictness**: Enables all TypeScript strict checking options to catch potential issues during development\n2. **Modern**: Uses ESNext target to support the latest JavaScript features\n3. **Node.js Friendly**: Uses `nodenext` module system for perfect Node.js ESM support\n4. **Optimized Developer Experience**: Configured with reasonable error detection and code hints\n5. **Monorepo Support**: Provides dedicated monorepo configuration with project reference support\n\n## License\n\n[MIT](LICENSE)\n\n## Author\n\nDunn\n\n## Links\n\n- [GitHub Repository](https://github.com/camarojs/tsconfig)\n- [Report Issues](https://github.com/camarojs/tsconfig/issues)\n- [TypeScript Documentation](https://www.typescriptlang.org/tsconfig)\n","readmeFilename":"README.md"}