0.1.11 • Published 5 months ago

@multimodal/pnpm-toolkit v0.1.11

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

Features

  • 💻 Dev Mode: Quickly launch on-demand development builds for monorepo packages
  • 🚀 Release Management: Automated version bumping and publishing
  • 🔧 Patch System: Repair failed package publications
  • 📝 Changelog Generation: Automatic, customizable changelog creation

Install

# Using npm
npm install --save-dev @multimodal/pnpm-toolkit

# Using yarn
yarn add --dev @multimodal/pnpm-toolkit

# Using pnpm
pnpm add -D @multimodal/pnpm-toolkit

For global installation:

npm install -g @multimodal/pnpm-toolkit

Usage

Development Mode

Quickly start development mode to build packages on demand when files change:

# Using the CLI
ptk dev

# Or with npm script
npm run dev

Interactive Features:

  • Type n to select a package to build manually
  • Type ps to list running processes
  • Type package name to build a specific package

Releasing Packages

Release your packages with proper versioning:

ptk release

Options:

  • --changelog: Generate changelog (default: true)
  • --dry-run: Preview execution without making changes
  • --run-in-band: Publish packages in series
  • --build: Execute custom build script before release
  • --ignore-scripts: Ignore npm scripts during release
  • --push-tag: Automatically push git tag to remote

Patching Failed Releases

Fix failed package publications:

ptk patch --version 1.0.0 --tag latest

Generating Changelogs

Create customized changelogs:

ptk changelog --version 1.0.0 --beautify --commit

Advanced Guide

Integration with package.json

Add these scripts to your root package.json:

{
  "scripts": {
    "dev": "ptk dev",
    "release": "ptk release",
    "changelog": "ptk changelog"
  }
}

Configuration

PTK works with standard PNPM workspace configurations:

  • Uses pnpm-workspace.yaml for workspace package discovery
  • Respects package.json configurations
  • Follows conventional commit standards for changelog generation

Custom Builds during Release

Enable custom build processes during release:

ptk release --build "npm run custom-build"

License

MIT

0.1.11

5 months ago

0.1.10

5 months ago

0.1.9

5 months ago

0.1.8

5 months ago

0.1.8-beta.10

5 months ago

0.1.8-beta.9

5 months ago

0.1.8-beta.8

5 months ago

0.1.8-beta.7

5 months ago

0.1.8-beta.6

5 months ago

0.1.8-beta.5

5 months ago

0.1.8-beta.4

5 months ago

0.1.8-beta.3

5 months ago

0.1.8-beta.2

5 months ago

0.1.8-beta.1

5 months ago

0.1.8-beta.0

5 months ago

0.1.7

5 months ago

0.1.6

5 months ago

0.1.5

5 months ago

0.1.4

5 months ago

0.1.3

5 months ago

0.1.2

5 months ago