constructive-pnpm

Installation
SKILL.md

Constructive PNPM

PNPM workspace management, package publishing, and monorepo best practices for Constructive projects.

When to Apply

Use this skill when:

  • Configuring pnpm workspaces and monorepo settings
  • Publishing TypeScript packages to npm with makage and lerna
  • Managing workspace dependencies and cross-package references
  • Setting up the dist-folder publishing pattern
  • Understanding deep nested imports vs exports map (anti-pattern)

Key Concepts

Dist-Folder Publishing (TypeScript/JS Only)

Constructive publishes TypeScript/JS packages from the dist/ folder, which becomes the package root on npm. This means:

  • main: "index.js" points to dist/index.js after publish
Related skills

More from constructive-io/constructive-skills

Installs
9
First Seen
Mar 5, 2026