@shibanet0/datamitsu-config
v0.0.6
Published
Shared datamitsu configuration with 79+ managed development tools
Downloads
1,742
Readme
@shibanet0/datamitsu-config
Shared configuration package for datamitsu that provides a comprehensive collection of development tools with unified management. Install once, get linters, formatters, security scanners, and build tools — all versioned and configured together.
Installation
npm/pnpm (recommended)
pnpm add -D @shibanet0/datamitsu-configDocker
Pre-built Docker images with all tools pre-installed for fast CI/CD:
Stable releases (Debian default):
# Latest stable
docker pull ghcr.io/shibanet0/datamitsu-config:latest
# Specific version
docker pull ghcr.io/shibanet0/datamitsu-config:0.0.4Stable releases (Alpine, smaller):
docker pull ghcr.io/shibanet0/datamitsu-config:latest-alpineUnstable builds (bleeding edge):
# Latest unstable (Debian)
docker pull ghcr.io/shibanet0/datamitsu-config-unstable:unstable
# Latest unstable (Alpine)
docker pull ghcr.io/shibanet0/datamitsu-config-unstable:unstable-alpineUsage:
# Run checks
docker run --rm -v "$(pwd):/workspace" ghcr.io/shibanet0/datamitsu-config:latest check
# Run specific tool
docker run --rm -v "$(pwd):/workspace" ghcr.io/shibanet0/datamitsu-config:latest exec eslint -- src/Features:
- Pre-installed tools (via
datamitsu init --all) - Multi-platform: linux/amd64, linux/arm64
- Separate registries for stable and unstable releases
Container registries:
Remote Config
Reference this config as a remote base configuration in your project's datamitsu.config.js:
function getRemoteConfigs() {
return [
{
url: "https://github.com/shibanet0/datamitsu-config/releases/download/v0.0.4/datamitsu.config.js",
hash: "a1b2c3d4e5f6...", // SHA-256 hash (see releases page)
},
];
}
globalThis.getRemoteConfigs = getRemoteConfigs;Get the SHA-256 hash for a specific version:
VERSION=v0.0.4
curl -sL "https://github.com/shibanet0/datamitsu-config/releases/download/${VERSION}/datamitsu.config.js" | sha256sumYour local getConfig() receives the merged configuration from this remote base. See remote configs guide for details on configuration inheritance and security.
Note: Pin to a specific version (not latest) since the hash changes with each release.
Browse all releases at GitHub Releases.
Quick Start
After installation, initialize datamitsu in your project:
pnpm dm init
pnpm dm setup
pnpm dm checkdm init installs managed tool binaries. dm setup initializes configuration files. dm check runs all configured linters and formatters in one pass.
What's Included
This config manages tools across multiple runtimes (Node.js, Go binaries, Python):
- Linters & formatters — ESLint, Prettier, oxlint, Ruff, ktlint, and more
- Security scanners — Semgrep, Trivy, Grype, Gitleaks, detect-secrets
- Build tools — TypeScript, protobuf (buf, protoc), OpenAPI generators
- Git hooks — commitlint, lefthook
- Spelling & docs — cspell, Vale, markdownlint, Mermaid CLI
See the documentation site for complete information, or browse docs/reference/tools.md for the full list of configured tools.
Documentation
- Documentation Site — full documentation with search and navigation
- TypeScript Configurations — reusable tsconfig presets for different project types
- Configured Tools — auto-generated list of all managed tools
- Usage Guide — installation, configuration, and common workflows
For datamitsu documentation, visit datamitsu.com.
License
MIT
