Skip to content
Back to skills

Typescript Monorepo

ASecurity

Use TypeScript everywhere practical. Compiler settings are intentionally fairly strict.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 12, 2026
developmenttypescriptgo

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned October 12, 2026

npx -y skills add wsoule/dispatch --skill typescript-monorepo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Typescript Monorepo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Typescript Monorepo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wsoule-typescript-monorepo/badge)](https://www.skillsdirectory.com/skills/wsoule-typescript-monorepo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: typescript-monorepo
description:
  Use when adding or changing packages/apps, TypeScript configs, workspace
  dependencies, package references, exports, or monorepo project-reference
  relationships.
---

# TypeScript Monorepo

## TypeScript

Use TypeScript everywhere practical. Compiler settings are intentionally fairly
strict.

- Shared compiler options live in `tsconfig.options.json`.
- Root `tsconfig.json` manages project references across the monorepo.
- Typecheck through moon rather than a raw `tsc`/`tsgo` invocation:
  `moonx <project>:typecheck` (this builds workspace dependencies first, since
  cross-package imports resolve through each dependency's `dist/` rather than TS
  project references).

## Project References

When adding a new package or app:

- Add it to the root `tsconfig.json` references.
- Ensure its local `tsconfig.json` follows existing package/app patterns.
- Give it a `moon.yml`; shared task shapes come from `.moon/tasks/*.yml` via
  `language`/`tag` inheritance (see `bun-common.yml`, `tag-tsdown.yml`,
  `tag-publishable.yml`).

When one workspace package depends on another:

- Add the dependency as `workspace:*` in the consuming package.
- Add the dependency to the consuming package's TypeScript `references` block
  when needed for accurate and fast typechecking.

## Workspace Dependencies

Use the dependency catalog rules from `tooling-and-dependencies` for external
packages. Use `workspace:*` for internal package dependencies.

If a package is published (tagged `publishable` in its `moon.yml` — currently
`core`, `client`, `cli`, `mcp`), review its `exports`, `typesVersions`, `files`,
peer dependencies, and publish scripts before changing public entrypoints or
dependency ranges. `moonx <project>:prepublish` runs its publish guard chain.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.