1.2.10 • Published 1 year ago
@zilero/tsconfigs v1.2.10
✨ Opinionated TypeScript configurations for modern development
✨ Features
- 📦 Multiple presets for different environments
- 🎯 Strict type checking enabled
- 🔧 Modern ECMAScript features
- 🚀 Optimized for React and Next.js
- 💪 Node.js support
- 🎭 Path aliases support
- 📊 Incremental compilation
📥 Installation
Using npm
npm install --save-dev @zilero/tsconfigsUsing yarn
yarn add -D @zilero/tsconfigsUsing pnpm
pnpm install -D @zilero/tsconfigs🚀 Quick start
Create the tsconfig.json at the root of your project:
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.base.json",
"compilerOptions": {
}
}📚 Available Configurations
tsconfig.base.json- Base configuration for TypeScript projectstsconfig.react.json- Configuration for React applicationstsconfig.next.json- Configuration for Next.js projectstsconfig.node.json- Configuration for Node.js applications
⚙️ Configuration Details
Base Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.base.json",
}React Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.react.json",
}Next.js Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.next.json",
}Node Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.node.json",
}🤝 Contributing
We'd love for you to contribute to @zilero/tsconfigs! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.
How to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature/your-feature). - Open a pull request.
📜 Code of Conduct
Please follow our Code of Conduct when participating in this project to ensure a welcoming and productive atmosphere.
🔒 Security Policy
Security is our priority. If you encounter any issues, please read our full Security Policy to report vulnerabilities safely and responsibly.
👥 Team
These folks keep the project moving and are resources for help.
📄 License
License @zilero/tsconfigs is licensed under the MIT License.