v0.4.0
Install
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/ScaleCommerce-DEV/scdev/main/install.sh | shFeatures
scdev createcommand - scaffold new projects from templates (GitHub repos or local directories)- Template resolution: bare name (
express), full repo (myorg/repo), or local path (./dir) --branchand--tagflags for GitHub templates--auto-startand--auto-setupflags for non-interactive setup- DNS-safe project name validation
- GitHub tarball download with security hardening (symlink validation, size limits, mode masking, path traversal checks)
- Template resolution: bare name (
- Config variables -
variables:section for reusable${VAR}substitution across the config file (not passed to containers). Variables can reference built-in variables like${PROJECTNAME}. - Per-service routing domain -
routing.domainallows individual HTTP/HTTPS services to have custom domains (e.g.api.my-app.scalecommerce.sitefor a backend service) scdev start -q/--quiet- skip project info display after start (useful in scripts and setup.just)- Docker availability check - all Docker-dependent commands now check if Docker is running and show a clear error message instead of confusing Docker errors
scdev exechandles--separator -scdev exec app -- cmdnow works correctly
Templates
- Three official templates published:
- Template Authoring Guide at
templates/README.md .setup-completemarker pattern for solving container startup vs setup circular dependency
Improvements
shared.redis_insightsrenamed toshared.redisin project config (consistent withshared.router,shared.mail,shared.db)buildContainerConfigis now the single source of truth for container configuration (fixes divergence between start and update paths)connectRouteruses shared helper pattern (consistent with mail/db/redis)- Extracted
IsDBServiceByName()to eliminate duplicate DB detection logic - Reduced redundant
GlobalConfigloading in status command - Removed dead
sync_modecode from Mutagen sync - Fixed unsafe
appendin cleanup command - Supply chain security messaging in README
Documentation
- README: Templates section, multi-service routing, configuration reference tables, supply chain security callout
- Template Authoring Guide: setup lifecycle, scaffolding patterns (in-place vs /tmp), framework-specific notes
- CLAUDE.md: templates docs, Docker check, variables, routing.domain
- scdev skill restructured with progressive disclosure (222-line SKILL.md + references/)