Add docker-compose.yml: a disposable Stalwart instance with a fixed dev admin account (STALWART_RECOVERY_ADMIN), matching the credentials scripts/dev-token.ps1 already expected. Wired up via new npm scripts (dev:server, dev:server:down, dev:server:logs). scripts/dev-token.ps1 was previously untracked (the whole scripts/ directory was gitignored) even though it's part of the documented dev workflow — un-ignored it, and added scripts/dev-token.sh, a POSIX equivalent for non-Windows shells and AI agents without PowerShell. New DEVELOPMENT.md documents the full loop end-to-end (start server, get a token, run the dev server, verify), written so it's actionable by both humans and AI coding agents without needing a browser. Linked from AGENTS.md (Commands) and README.md (Getting started). Verified manually: docker compose up brings the server to a healthy state, /api/auth + /auth/token issue a working bearer token, and /jmap/session returns 200 with it end-to-end.
46 lines
559 B
Plaintext
46 lines
559 B
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
.ignore
|
|
scripts/*
|
|
!scripts/dev-token.ps1
|
|
!scripts/dev-token.sh
|
|
*.md
|
|
!README.md
|
|
!CHANGELOG.md
|
|
!AGENTS.md
|
|
!CLAUDE.md
|
|
!SCHEMA_DEVIATIONS.md
|
|
!DEVELOPMENT.md
|
|
!.agents/rules/*.md
|
|
/SPEC-*
|
|
# Tool-generated artifacts during agent sessions
|
|
.playwright-mcp/
|
|
outputs/
|
|
.vite_*.log
|
|
.tmp_*
|
|
*.py
|
|
webui.zip
|
|
release_body.md
|