Skip to content

Releases: The-Finding-Labs/snugger

v1.1.2

28 Oct 18:24
6b483c1
Compare
Choose a tag to compare

🚀 Snugger CLI v1.1.2 Release 🎉

We're thrilled to announce Snugger CLI v1.1.2! This release introduces a robust setup for creating fully type-safe Express.js applications right from your terminal. Here’s what’s new:

✨ What's New?

🔒 Fully Type-safe Express App

Generate Express apps with complete TypeScript support, ensuring a reliable and type-safe backend setup.

📐 Backend-focused tsconfig.json

The tsconfig.json is now fine-tuned for backend development, making it easier to work within the Node.js environment.

📦 Essential Dependencies Pre-installed

The latest versions of core dependencies like:

  • dotenv 🌎 – for environment variable management
  • cors 🛡️ – for Cross-Origin Resource Sharing

⚙️ Build and Dev Scripts

Both build and dev scripts are now included in package.json:

npm run dev - 'Starts the app in development mode'
npm run build - 'Compiles the TypeScript code for production'

🛤️ Sample Routing, Controller & Database Model

Out-of-the-box routing, controller, and model samples with full TypeScript support to jumpstart your backend development.

📥 Manual Installation Option

You can choose whether to install dependencies automatically or manage them manually, which is perfect if you need to add extra packages during setup.

📥 How to Update or Install

To update to the latest version:

npm install -g snugger@latest

If you’re installing for the first time:

npx snugger create