eserstack-monorepo

Monorepo structure, package conventions, version synchronization, and publishing workflow. Use when adding packages, modifying project structure, or managing versions.

eser/stack1 installsApache-2.0Synced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: eserstack-monorepo
description: Monorepo structure, package conventions, version synchronization, and publishing workflow. Use when adding packages, modifying project structure, or managing versions.
license: Apache-2.0
---

# eserstack Monorepo

Multi-language monorepo: Deno/TypeScript packages (JSR/npm) + Go services.

## Quick Start

1. Each package: `pkg/@eserstack/<name>/` with `deno.json`, `mod.ts`, `mod.test.ts`
2. Unified version — use `deno task cli codebase versions <patch|minor|major>`
3. JSR primary (`deno publish`), npm secondary (`eser`, `noskills`, `laroux`)
4. Run `deno task cli ok` to check entire monorepo

## Key Principles

- Entry point: `mod.ts` (or `main.ts` for CLIs)
- Tests: `*.test.ts` co-located with source, benchmarks: `*.bench.ts`
- File naming: kebab-case enforced by pre-commit hook
- License header required on all `.ts` files
- Explicit `exports` and `publish.include` in each `deno.json`
- Never manually edit version fields — always use the version-bump script
- `@eserstack/standards` is the foundation — change carefully

## Go Services

Go code lives in `pkg/ajan/` with independent git-tag versioning.
- Run `make go-ok` for Go-only validation
- Go does NOT use the unified version-bump script
- Follow hexagonal architecture — see `go-practices` skill

## References

See [rules.md](references/rules.md) for package conventions, adding packages, and templates.

More Architecture skills

← All Architecture skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY