Template
91b78f8da1
Template repository for creating MokoStandards-compliant MCP servers.
Includes 4-file src/ structure (index, client, config, types), setup
wizard, example tools, 12 CI/CD workflows, full docs, and {{placeholder}}
tokens for search-and-replace customization.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
95 lines
2.6 KiB
Plaintext
95 lines
2.6 KiB
Plaintext
###############################################################################
|
|
# Core normalization
|
|
###############################################################################
|
|
* text=auto eol=lf
|
|
|
|
# Ensure consistent line endings for scripts
|
|
*.sh text eol=lf
|
|
*.bash text eol=lf
|
|
*.ps1 text eol=lf
|
|
*.cmd text eol=crlf
|
|
*.bat text eol=crlf
|
|
|
|
###############################################################################
|
|
# Binary handling
|
|
###############################################################################
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.svg binary
|
|
*.ico binary
|
|
*.pdf binary
|
|
*.zip binary
|
|
*.tar binary
|
|
*.tar.gz binary
|
|
*.7z binary
|
|
*.docx binary
|
|
*.xlsx binary
|
|
*.pptx binary
|
|
*.mp3 binary
|
|
*.mp4 binary
|
|
*.woff binary
|
|
*.woff2 binary
|
|
*.ttf binary
|
|
*.otf binary
|
|
|
|
###############################################################################
|
|
# Export control for GitHub Releases
|
|
# These paths will NOT appear in generated release archives
|
|
###############################################################################
|
|
# CI and automation
|
|
.github/ export-ignore
|
|
.github/workflows/ export-ignore
|
|
.gitea/ export-ignore
|
|
.gitlab/ export-ignore
|
|
|
|
# Development and tooling
|
|
tests/ export-ignore
|
|
testing/ export-ignore
|
|
tmp/ export-ignore
|
|
docs-internal/ export-ignore
|
|
tools/ export-ignore
|
|
|
|
# Dependency folders that should not ship in release bundles
|
|
node_modules/ export-ignore
|
|
vendor-dev/ export-ignore
|
|
|
|
# Local environment and editor configs
|
|
*.local export-ignore
|
|
*.env export-ignore
|
|
*.env.example export-ignore
|
|
*.code-workspace export-ignore
|
|
|
|
# Project specific non release scaffolding
|
|
dev-assets/ export-ignore
|
|
analysis/ export-ignore
|
|
research/ export-ignore
|
|
|
|
###############################################################################
|
|
# Linguistic settings for code statistics
|
|
###############################################################################
|
|
*.css linguist-language=CSS
|
|
*.scss linguist-language=SCSS
|
|
*.js linguist-language=JavaScript
|
|
*.ts linguist-language=TypeScript
|
|
*.php linguist-language=PHP
|
|
*.xml linguist-language=XML
|
|
*.json linguist-language=JSON
|
|
*.ini linguist-language=INI
|
|
*.sql linguist-language=SQL
|
|
*.md linguist-language=Markdown
|
|
|
|
###############################################################################
|
|
# Prevent diff noise for vendor or minified content
|
|
###############################################################################
|
|
vendor/* -diff
|
|
*.min.js -diff
|
|
*.min.css -diff
|
|
|
|
###############################################################################
|
|
# Lockdown for generated files
|
|
###############################################################################
|
|
*.min.js linguist-generated=true
|
|
*.min.css linguist-generated=true
|