mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-11 17:48:11 -05:00
[PR #306] Add Prettier formatting scripts and dependencies to both root and app… #350
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/306
Author: @jaainil
Created: 8/25/2025
Status: 🔄 Open
Base:
main← Head:adding-prettier📝 Commits (10+)
c881eadAdd Prettier formatting scripts and dependencies to both root and app package.json92fb1ecConfigure Prettier with file-specific formatting rules for consistent code style91cbaafUpdate Prettier configuration to standardize code formatting and ignore markdown filesbc0570dExpand Prettier configuration with file-specific rules and update ignore patternsb7df120Added Config Files4561d49Add comprehensive Prettier formatting documentation to README4532036Merge branch 'Dokploy:main' into adding-prettier6ecd998Formatted All Files!!!28c343dRemove custom JSON formatting in favor of standard formatting with Prettierb6e3669Format meta.json with Prettier to improve readability and maintainability📊 Changes
190 files changed (+3529 additions, -3502 deletions)
View changed files
📝
.github/ISSUE_TEMPLATE/bug-report.yml(+4 -4)📝
.github/ISSUE_TEMPLATE/feature-request.yml(+3 -3)📝
.github/workflows/build-preview.yml(+1 -1)📝
.github/workflows/cloudflare-pages-production.yml(+2 -2)📝
.github/workflows/deploy-preview.yml(+1 -1)📝
.github/workflows/validate.yml(+1 -1)➕
.prettierignore(+91 -0)➕
.prettierrc(+1 -0)📝
README-meta-processing.md(+47 -1)📝
README.md(+5 -6)📝
app/components.json(+1 -1)📝
app/package.json(+6 -1)📝
app/pnpm-lock.yaml(+2289 -1464)📝
app/src/App.css(+2 -2)📝
app/src/components/Navigation.tsx(+5 -3)📝
app/src/components/Search.tsx(+20 -6)📝
app/src/components/Tags.tsx(+1 -1)📝
app/src/components/TemplateGrid.tsx(+3 -3)📝
app/src/components/ui/badge.tsx(+2 -2)📝
app/src/components/ui/button.tsx(+10 -10)...and 80 more files
📄 Description
What is this PR about?
Add global Prettier configuration for consistent code formatting across the entire project
Changes Made
.prettierrc- Comprehensive configuration supporting 20+ file types (JS/TS/TSX, HTML, CSS, JSON, YAML, TOML, Docker, Makefile, and more).prettierignore- Excludes build outputs, node_modules, lock files, and sensitive filespackage.json- Added Prettier dependency and formatting scripts (format,format:check,format:app,format:check:app)app/package.json- Added app-specific Prettier scripts and dependencyREADME-meta-processing.md- Added comprehensive documentation section with usage examples and supported file typesBenefits
Commands Tested ✅
Checklist
npm run format,npm run format:check,npm run format:app, andnpm run format:check:appTesting Results
Issues related #216
Resolves team formatting inconsistencies and establishes comprehensive project-wide code style standards with full testing validation.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.