Skip to content

docs: update READMEs and guides with latest build process#673

Merged
trunk-io[bot] merged 1 commit intomainfrom
cursor/build-process-documentation-d0bc
Mar 14, 2026
Merged

docs: update READMEs and guides with latest build process#673
trunk-io[bot] merged 1 commit intomainfrom
cursor/build-process-documentation-d0bc

Conversation

@TGTGamer
Copy link
Copy Markdown
Contributor

Summary

This PR updates all README files and guides to reflect the current build process, removing outdated Bit references and adding comprehensive instructions for the Nx-based monorepo setup.

Changes

Main Documentation

  • README.adoc: Removed Bit references, updated tech stack (Nx, Vitest), added comprehensive build/development instructions
  • CONTRIBUTING.adoc: Removed Bit.cloud references, updated code review process to reflect Nx-based workflow

Package Documentation

  • eventiva/README.md: Updated with current Nx workspace setup, build commands, and project structure
  • packages/core/README.md: Added detailed build, test, lint, and typecheck instructions

DevContainer Documentation

  • .devcontainer/README.md: Added getting started, building, and running tasks sections
  • .devcontainer/CLUSTER_SETUP.md: Updated all commands to use pnpm nx consistently

Key Updates

  1. Removed Bit references - All documentation now reflects the Nx-based monorepo
  2. Updated tech stack - Now shows Nx, Vitest, Node.js, TypeScript, etc.
  3. Added build instructions - Comprehensive commands for building, testing, linting, and type checking
  4. Consistent command format - All commands now use pnpm nx prefix
  5. Development setup - Clear instructions for local setup, Codespaces, and DevContainer

Testing

  • All README files reviewed and updated
  • Commands verified against current CI workflow
  • No linter errors
  • Documentation is consistent across all files
Open in Web Open in Cursor 

- Remove Bit references from main README.adoc and CONTRIBUTING.adoc
- Update tech stack to reflect Nx, Vitest, and current tooling
- Add comprehensive build and development instructions
- Update eventiva/README.md with Nx workspace details
- Update packages/core/README.md with build/test/lint commands
- Update .devcontainer/README.md with build instructions
- Update CLUSTER_SETUP.md to use pnpm nx commands consistently

Co-authored-by: punk.gift9475 <punk.gift9475@alias.org.uk>
@trunk-io
Copy link
Copy Markdown

trunk-io bot commented Mar 14, 2026

😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 14, 2026

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Enhanced setup guides across devcontainer and project READMEs with clearer prerequisites and step-by-step instructions.
    • Updated command examples to use pnpm consistently throughout documentation.
    • Expanded development workflow documentation including Building, Testing, Linting, and Type Checking sections.
    • Improved contribution workflow with automated AI-assisted review processes and explicit multi-stage validation pipeline.

Walkthrough

This pull request updates documentation files across the monorepo to reflect a shift from Bit.cloud-centric workflows to Nx-based automation. Command examples transition from nx run to pnpm nx run, and contribution guides now emphasise Nx-driven validation pipelines. No functional code changes are present.

Changes

Cohort / File(s) Summary
DevContainer Documentation
.devcontainer/CLUSTER_SETUP.md, .devcontainer/README.md
Updated command invocations to use pnpm nx run prefix; added Getting Started, Building, and Running Tasks sections to README (with duplicated content block).
Contribution & Project Guidance
CONTRIBUTING.adoc, README.adoc
Replaced Bit.cloud-based workflow references with Nx-driven build, test, and validation steps; restructured Getting Started and Contributing sections with explicit prerequisites, setup methods, and command examples.
Workspace & Package Documentation
eventiva/README.md, packages/core/README.md
Expanded README files with comprehensive step-by-step guides, explicit Nx commands (using pnpm syntax), project structure details, and development workflow instructions; updated package-core header branding.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 With carrot-fresh commands and Nx so spry,
Our docs now leap where they once would lie,
From Bit to pnpm, the path runs clean,
A workflow rebuilt—the finest I've seen! 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarises the main change: updating READMEs and guides to reflect the current build process.
Description check ✅ Passed The description is comprehensive and directly related to the changeset, detailing specific documentation updates, removed Bit references, and key changes made.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/build-process-documentation-d0bc
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch cursor/build-process-documentation-d0bc
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

@TGTGamer TGTGamer marked this pull request as ready for review March 14, 2026 13:58
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
eventiva/README.md (1)

20-74: Consider consolidating duplicated build/task examples.

Building and Running Tasks currently repeat several commands. A single canonical command table would reduce doc drift over time.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@eventiva/README.md` around lines 20 - 74, Consolidate the duplicated command
lists under the "Building" and "Running Tasks" headings by creating a single
canonical "Common Commands" section (or renaming one of the existing headings)
that lists each nx/pnpm command once (e.g., pnpm nx run-many -t build, lint,
typecheck, test and pnpm nx run <project-name>:<target>), keep the
package-specific examples (like pnpm nx build core and pnpm nx run
core:build/test/lint) as a short "Examples" subsection, and remove the repeated
blocks so the README only documents each command once; update headings
"Building" and "Running Tasks" to reference the new canonical section and ensure
examples still demonstrate both global run-many and per-project usage.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@eventiva/README.md`:
- Around line 20-74: Consolidate the duplicated command lists under the
"Building" and "Running Tasks" headings by creating a single canonical "Common
Commands" section (or renaming one of the existing headings) that lists each
nx/pnpm command once (e.g., pnpm nx run-many -t build, lint, typecheck, test and
pnpm nx run <project-name>:<target>), keep the package-specific examples (like
pnpm nx build core and pnpm nx run core:build/test/lint) as a short "Examples"
subsection, and remove the repeated blocks so the README only documents each
command once; update headings "Building" and "Running Tasks" to reference the
new canonical section and ensure examples still demonstrate both global run-many
and per-project usage.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: dac07b4a-cfa9-4d91-ab63-a6cb4866be02

📥 Commits

Reviewing files that changed from the base of the PR and between 11b112f and be263fa.

📒 Files selected for processing (6)
  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • CONTRIBUTING.adoc
  • README.adoc
  • eventiva/README.md
  • packages/core/README.md
📜 Review details
🧰 Additional context used
🧠 Learnings (18)
📓 Common learnings
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Use `pnpm nx show projects --affected --json` to identify affected projects, and refer to the documentation for `nx affected` base/head configuration
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: Prefix nx commands with the workspace's package manager (e.g., `pnpm nx build`, `npm exec nx test`) - avoids using globally installed CLI
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: For Nx plugin best practices, check `node_modules/nx/<plugin>/PLUGIN.md`. Not all plugins have this file - proceed without it if unavailable
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/monitor-ci.md:0-0
Timestamp: 2026-03-09T23:28:57.420Z
Learning: Applies to {pnpm-lock.yaml,yarn.lock} : Use pnpm nx for package manager detection with pnpm-lock.yaml, yarn nx with yarn.lock, otherwise npx nx for running verifiable tasks
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Prefer using `nx run`, `nx run-many`, or `nx affected` commands instead of running the underlying tool directly
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: In CI pipelines, run `nx run-many -t lint build typecheck` to execute linting, building, and type checking across projects
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Run single Nx tasks using `pnpm nx run <project>:<target>`
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: In CI workflows, use `nx affected` to run tasks only on projects that have been changed, rather than all projects
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Run affected Nx tasks using `pnpm nx affected -t <target> [--base=main]`
📚 Learning: 2026-03-09T23:29:22.907Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: Prefix nx commands with the workspace's package manager (e.g., `pnpm nx build`, `npm exec nx test`) - avoids using globally installed CLI

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Prefer using `nx run`, `nx run-many`, or `nx affected` commands instead of running the underlying tool directly

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
📚 Learning: 2026-03-09T23:29:22.907Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:28:57.420Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/monitor-ci.md:0-0
Timestamp: 2026-03-09T23:28:57.420Z
Learning: Applies to {pnpm-lock.yaml,yarn.lock} : Use pnpm nx for package manager detection with pnpm-lock.yaml, yarn nx with yarn.lock, otherwise npx nx for running verifiable tasks

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Use `pnpm nx show projects --affected --json` to identify affected projects, and refer to the documentation for `nx affected` base/head configuration

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Run single Nx tasks using `pnpm nx run <project>:<target>`

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: In CI pipelines, run `nx run-many -t lint build typecheck` to execute linting, building, and type checking across projects

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Use `pnpm nx g <generator> --help` to view available options, then run `pnpm nx g <generator> ... --no-interactive` for scaffolding new apps, libs, or project structures

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Run affected Nx tasks using `pnpm nx affected -t <target> [--base=main]`

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Run multiple Nx tasks using `pnpm nx run-many -t <target> [-p project1,project2] [--exclude=...]`

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: Use `--skipNxCache`, `--verbose`, and `--nxBail` flags with Nx commands when needed for troubleshooting or specific requirements

Applied to files:

  • .devcontainer/CLUSTER_SETUP.md
📚 Learning: 2026-03-09T23:28:42.799Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/learnings.mdc:0-0
Timestamp: 2026-03-09T23:28:42.799Z
Learning: For CI, DevContainer, and Bit removal decisions, refer to `docs/learnings/ci-and-devcontainer.md`

Applied to files:

  • .devcontainer/README.md
  • README.adoc
  • CONTRIBUTING.adoc
📚 Learning: 2026-03-09T23:29:22.907Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: For Nx plugin best practices, check `node_modules/nx/<plugin>/PLUGIN.md`. Not all plugins have this file - proceed without it if unavailable

Applied to files:

  • .devcontainer/README.md
  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: List installed Nx plugins using `pnpm nx list`, and add new plugins using `pnpm nx add <plugin>`

Applied to files:

  • .devcontainer/README.md
📚 Learning: 2026-03-09T23:29:22.907Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: For navigating/exploring the workspace, invoke the `nx-workspace` skill first - it has patterns for querying projects, targets, and dependencies

Applied to files:

  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:08.149Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: .cursor/rules/nx-guidance.mdc:0-0
Timestamp: 2026-03-09T23:29:08.149Z
Learning: View project configuration using `pnpm nx show project <name> --json` instead of reading project.json directly for full config information

Applied to files:

  • eventiva/README.md
📚 Learning: 2026-03-09T23:29:22.907Z
Learnt from: CR
Repo: Eventiva/Eventiva PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-03-09T23:29:22.907Z
Learning: For scaffolding tasks (creating apps, libs, project structure, setup), ALWAYS invoke the `nx-generate` skill FIRST before exploring or calling MCP tools

Applied to files:

  • eventiva/README.md
🪛 LanguageTool
eventiva/README.md

[misspelling] ~5-~5: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...ning and Production logistics, built as an Nx monorepo. ## Gett...

(EN_A_VS_AN)

🔇 Additional comments (6)
.devcontainer/CLUSTER_SETUP.md (1)

42-42: Good command normalisation to pnpm nx.

These updates make the run/migrate examples consistent and reduce the chance of using a global Nx binary by mistake.

Based on learnings: Prefix nx commands with the workspace's package manager (e.g., pnpm nx build) and prefer nx run/nx run-many/nx affected.

Also applies to: 54-54, 66-66, 74-74, 117-117, 155-155

.devcontainer/README.md (1)

29-60: Clear and practical devcontainer task guide.

The added setup/build/task sections are actionable and aligned with the repo’s Nx workflow.

Based on learnings: When running tasks, prefer Nx commands and prefix Nx with the workspace package manager.

packages/core/README.md (1)

1-53: Solid package-level command documentation.

The explicit core commands plus workspace-wide alternatives are clear and easy to follow.

eventiva/README.md (1)

7-177: Great Nx-first onboarding rewrite.

The new flow (prereqs → install → build/tasks → graph → quality/release) is much clearer for new contributors.

Based on learnings: Prefer running tasks through Nx and use package-manager-prefixed Nx commands.

CONTRIBUTING.adoc (1)

151-151: Process update is aligned with the Nx monorepo workflow.

The review pipeline now clearly reflects build/lint/typecheck/test validation through Nx.

Also applies to: 160-163

README.adoc (1)

81-175: Excellent contributor setup and Nx command coverage.

The prerequisites and step-by-step local workflow are clear, and the command list is consistent with the repo’s Nx conventions.

Based on learnings: Run tasks through Nx and prefix Nx commands with the workspace package manager.

@trunk-io trunk-io bot merged commit de0ea6d into main Mar 14, 2026
11 checks passed
@trunk-io trunk-io bot deleted the cursor/build-process-documentation-d0bc branch March 14, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants