Skip to content

Conversation

@KinshukSS2
Copy link

Description

  • Add start and dev scripts to MERN template package.json files
  • Add nodemon.json configuration for auto-restart during development
  • Update both JavaScript and TypeScript MERN templates
  • Fixes missing development workflow tools

Changes Made

  • ✅ Updated templates/mern/javascript/server/package.json
  • ✅ Updated templates/mern/typescript/server/package.json
  • ✅ Added templates/mern/javascript/server/nodemon.json
  • ✅ Added templates/mern/typescript/server/nodemon.json

Testing

  • Tested CLI scaffolding with MERN template
  • Verified npm scripts are included in generated projects
  • Verified nodemon configuration is properly added
  • No breaking changes

Screenrecording

Screencast.From.2025-10-03.00-46-07.webm

Closes #105

@KinshukSS2
Copy link
Author

Any updates?

@JoeCelaster JoeCelaster mentioned this pull request Oct 4, 2025
Copilot AI review requested due to automatic review settings October 4, 2025 11:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the MERN template scaffolding by adding essential development tools and scripts. It fixes missing development workflow tools that were preventing developers from efficiently running and developing MERN applications.

  • Added npm scripts for starting the server and development mode with auto-restart
  • Configured nodemon for automatic server restart during development
  • Added Prettier configuration for consistent code formatting

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
templates/mern/typescript/server/package.json Added start/dev scripts, Prettier formatting scripts, and prettier dev dependency
templates/mern/typescript/server/nodemon.json Added nodemon configuration for TypeScript template with watch patterns and restart delay
templates/mern/typescript/server/.prettierrc Added Prettier configuration for TypeScript template
templates/mern/javascript/server/package.json Added start/dev scripts, Prettier formatting scripts, and prettier dev dependency
templates/mern/javascript/server/nodemon.json Added nodemon configuration for JavaScript template with watch patterns and restart delay
templates/mern/javascript/server/.prettierrc Added Prettier configuration for JavaScript template

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@KinshukSS2
Copy link
Author

added prettier config and scripts to js & ts server packages

@KinshukSS2 KinshukSS2 closed this Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Add npm Scripts, Nodemon and Prettier Configuration to MERN Templates

2 participants