Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .agents/rules/nx/nx-monorepo-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ packages/[name]/
│ └── index.ts
├── package.json
├── tsconfig.json
├── tsdown.config.ts # ← nx-tsdown plugin detects → creates 'build' target
└── vitest.config.ts # ← nx-vitest plugin detects → creates 'test' targets
├── tsdown.config.ts # ← @nx-devkit/typescript detects → creates 'build' target
└── vitest.config.ts # ← @nx-devkit/typescript detects → creates 'test' targets
```

**Step 3: Minimal project.json**
Expand Down Expand Up @@ -105,8 +105,8 @@ export default defineConfig({
## Technology Stack

- **Language**: TypeScript (ES2015+, strict mode)
- **Build**: tsdown (via nx-tsdown plugin inference)
- **Testing**: Vitest (via nx-vitest plugin inference)
- **Build**: tsdown (via @nx-devkit/typescript inference)
- **Testing**: Vitest (via @nx-devkit/typescript inference)
- **Linting**: ESLint (via @nx/eslint plugin)
- **Package Manager**: bun

Expand Down Expand Up @@ -142,7 +142,7 @@ Then add `tsdown.config.ts` and `vitest.config.ts` - targets will be inferred au

### ✅ DO: Let plugins infer targets

Just create `tsdown.config.ts` and the nx-tsdown plugin will automatically create the `build` target.
Just create `tsdown.config.ts` and the @nx-devkit/typescript plugin will automatically create the `build` target.

### Verification

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ __pycache__/
# Gas City
.beads/*
!.beads/identity.toml
.beads.gate.lock
gascity/AGENTS.md

# Dev TLS material — private keys must never be committed.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ bunx nx run adt-cli:test # single-package
adt-cli/
├── packages/ # Every @abapify/* package lives here
├── samples/ # Example consumer projects
├── tools/ # Internal Nx plugins (nx-tsdown, nx-vitest, nx-npm-trust, …)
├── tools/ # Internal tooling (nx-npm-trust plugin, p2-cli, release helpers)
├── docs/ # Maintainer docs (not rendered on the site)
├── website/ # Docusaurus site (→ adt-cli.netlify.app)
├── openspec/ # Specs + proposals for in-flight changes
Expand Down
Loading
Loading