{"_id":"@carlos3g/tsconfig","name":"@carlos3g/tsconfig","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@carlos3g/tsconfig","version":"0.1.0","description":"Shared TypeScript configs for Node, NestJS, Next.js, Vite and React Native — carlos3g's code style","keywords":["tsconfig","typescript","code-style","nestjs","nextjs","expo"],"homepage":"https://github.com/carlos3g/code-style/tree/main/packages/tsconfig#readme","bugs":{"url":"https://github.com/carlos3g/code-style/issues"},"repository":{"type":"git","url":"git+https://github.com/carlos3g/code-style.git","directory":"packages/tsconfig"},"license":"MIT","author":{"name":"carlos3g"},"exports":{".":"./base.json","./base.json":"./base.json","./node.json":"./node.json","./nestjs.json":"./nestjs.json","./react-native.json":"./react-native.json","./next.json":"./next.json","./vite-react.json":"./vite-react.json"},"scripts":{"test":"node test/smoke.mjs"},"devDependencies":{"typescript":"^5.6.0"},"peerDependencies":{"typescript":"^5.0.0"},"publishConfig":{"access":"public"},"engines":{"node":">=20.0.0"},"gitHead":"f5467e7a2b0a1fe44a39e82ded3d3b17ed7cdabd","_id":"@carlos3g/tsconfig@0.1.0","_nodeVersion":"24.11.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-zgMWeKbXjAjxhQyrgwS0JzHp/ukFz/R4JKqK/jGXd/lp3t6RR+fxGbYAe40ebUBtaoBhj5FYB4/WmQOqF2pk2w==","shasum":"d9afe9db125030052f155d26d0c56c5abccf4604","tarball":"https://registry.npmjs.org/@carlos3g/tsconfig/-/tsconfig-0.1.0.tgz","fileCount":9,"unpackedSize":6141,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBGYrDn7y+JFrZRNZBUQHcTcyj1pNh2R4cAOIaPxiV76AiEAu7XIAcmkT9/Lff+H9XlZkoj8iNBvFZ5k20fvIfS5Unw="}]},"_npmUser":{"name":"carlos3g","email":"carlosmesquita156@gmail.com"},"directories":{},"maintainers":[{"name":"carlos3g","email":"carlosmesquita156@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tsconfig_0.1.0_1779331450952_0.1821365022612773"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-21T02:44:10.840Z","0.1.0":"2026-05-21T02:44:11.099Z","modified":"2026-05-21T02:44:11.271Z"},"maintainers":[{"name":"carlos3g","email":"carlosmesquita156@gmail.com"}],"description":"Shared TypeScript configs for Node, NestJS, Next.js, Vite and React Native — carlos3g's code style","homepage":"https://github.com/carlos3g/code-style/tree/main/packages/tsconfig#readme","keywords":["tsconfig","typescript","code-style","nestjs","nextjs","expo"],"repository":{"type":"git","url":"git+https://github.com/carlos3g/code-style.git","directory":"packages/tsconfig"},"author":{"name":"carlos3g"},"bugs":{"url":"https://github.com/carlos3g/code-style/issues"},"license":"MIT","readme":"# @carlos3g/tsconfig\n\nShared TypeScript configs — the type-checking half of\n[carlos3g's code style](https://github.com/carlos3g/code-style).\n\n```bash\nyarn add -D @carlos3g/tsconfig typescript\n```\n\nPoint your `tsconfig.json` at the variant that matches the stack:\n\n```json\n{\n  \"extends\": \"@carlos3g/tsconfig/nestjs.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"dist\",\n    \"paths\": { \"@app/*\": [\"./src/*\"] }\n  },\n  \"include\": [\"src\", \"test\"]\n}\n```\n\n## Variants\n\n| Variant             | Extend with                            | Use for                                                |\n| ------------------- | -------------------------------------- | ------------------------------------------------------ |\n| `base.json`         | `@carlos3g/tsconfig/base.json`         | The strict core — every variant extends it.            |\n| `node.json`         | `@carlos3g/tsconfig/node.json`         | Plain Node services and libraries (`NodeNext`).        |\n| `nestjs.json`       | `@carlos3g/tsconfig/nestjs.json`       | NestJS APIs — CommonJS + decorator metadata.           |\n| `next.json`         | `@carlos3g/tsconfig/next.json`         | Next.js apps — bundler resolution + the `next` plugin. |\n| `vite-react.json`   | `@carlos3g/tsconfig/vite-react.json`   | Vite + React (web) apps.                               |\n| `react-native.json` | `@carlos3g/tsconfig/react-native.json` | Expo / React Native apps.                              |\n\n`base.json` enables `strict` plus `isolatedModules`, `esModuleInterop`,\n`forceConsistentCasingInFileNames`, `noFallthroughCasesInSwitch` and\n`moduleDetection: force`. It deliberately leaves `target`, `module` and `lib` to\nthe stack variants. Unused-code checks are left to ESLint to avoid\ndouble-reporting.\n\n## Expo\n\nExpo ships its own base config, so stack it _after_ Expo's using an `extends`\narray (TypeScript 5.0+):\n\n```json\n{\n  \"extends\": [\"expo/tsconfig.base\", \"@carlos3g/tsconfig/react-native.json\"],\n  \"compilerOptions\": {\n    \"paths\": { \"@/*\": [\"./src/*\"] }\n  }\n}\n```\n\n## License\n\nMIT © carlos3g\n","readmeFilename":"README.md","_rev":"1-c6f33745c776527ef41aab34df8ddb14"}