Shared TypeScript configuration for Cozy Cloud projects. Version 2.0.0 requires TypeScript >=5.5.2 and Node >=16.0.0. It extends a base config and can be overridden per project. Part of the cozy-libs monorepo. Key differentiator: pre-configured for Cozy Cloud's specific needs (React, strict checks, paths for cozy packages). Regularly updated alongside Cozy ecosystem.
npm install cozy-tsconfigNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to extend the base shared config in a project's tsconfig.json.
Update TypeScript to >=5.5.2
Convert any .js config to .json and use extends syntax
Use 'cozy-tsconfig' in extends
npm install --save-dev typescript@>=5.5.2
npm install --save-dev cozy-tsconfig
Update TypeScript to >=2.1 or use tsconfig.json with 'extends'
Use 'extends': 'cozy-tsconfig' in tsconfig.json