Skip to content

feat(cli): bring @emisso/accounting-cli into main - #4

Merged
cdotte merged 2 commits into
mainfrom
feat/accounting-cli
Apr 23, 2026
Merged

feat(cli): bring @emisso/accounting-cli into main#4
cdotte merged 2 commits into
mainfrom
feat/accounting-cli

Conversation

@cdotte

@cdotte cdotte commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Trae el paquete `@emisso/accounting-cli` (commit `0899684`) a `main` con `main` mergeada encima (incluye los releases v0.2.0 recientes).

Cambios

  • Nuevo paquete `packages/cli` — CLI con comandos para:
    • `chart` — list, show, seed del plan de cuentas SII
    • `entry` — add, list, show, void de asientos
    • `import` — invoice, payroll, RCV → journal entry
    • `period` — list, open, close, lock
    • `report` — trial-balance, balance-8-columnas, income-statement, balance-sheet
    • `doctor` — health check
  • Nuevo changeset `.changeset/cli-initial-release.md` → publica `@emisso/accounting-cli@0.1.0` al mergear
  • Resueltos 5 conflictos de merge:
    • `.github/workflows/ci.yml` — unificado orden de triggers
    • `AGENTS.md` — consolidado tagline detallado + key invariants + ejemplo de código + 3-package architecture
    • `README.md` — incluye sección CLI (de main) + FAQ + tabla de alternativas (de cli branch)
    • `llms.txt` — los 3 paquetes + API surface completa
    • `pnpm-lock.yaml` — regenerado con `pnpm install`

Verificación local

  • `pnpm install` ✅
  • `pnpm run build` ✅ (engine + api + cli)
  • `pnpm run test:run` ✅ 230 tests passing (178 engine + 3 api + 49 cli)

Flujo al mergear

  1. Merge de este PR → workflow Release detecta el changeset del CLI.
  2. Changesets Action abre PR automático `chore: version packages` bumpando `@emisso/accounting-cli` 0.1.0 → 0.2.0.
  3. Merge de ese PR → publica `@emisso/accounting-cli@0.2.0` a npm.

🤖 Generated with Claude Code

cdotte and others added 2 commits March 16, 2026 13:02
Full CLI for the accounting engine using @effect/cli and @emisso/cli-core.
24 commands across 7 groups: chart, entry, import, report, tax, xml, period,
plus a doctor command. 49 tests passing. Includes shared options module,
config resolution (CLI flags → env vars → defaults), Effect wrappers,
and formatting helpers for tables/CSV/JSON output.

Also fixes engine package.json export paths (.mjs → .js/.cjs).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Resolve conflicts:
- .github/workflows/ci.yml: unify trigger order
- AGENTS.md: keep detailed tagline + key invariants + code example + 3-package architecture
- README.md: include both CLI section (from main) and FAQ/Alternatives (from cli branch)
- llms.txt: include all 3 packages + full API surface
- pnpm-lock.yaml: regenerate with pnpm install

Add changeset for @emisso/accounting-cli initial release (0.1.0 → 0.2.0).

All 230 tests passing: engine (178) + api (3) + cli (49).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cdotte
cdotte marked this pull request as ready for review April 23, 2026 17:58
@cdotte
cdotte merged commit a754bd6 into main Apr 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant