Skip to content

v0.0.1 - Initial Pre-release

Latest

Choose a tag to compare

@jpollock jpollock released this 19 Dec 18:07

Initial Pre-release

First public release of @local-labs-jpollock/local-addon-api - a comprehensive addon development toolkit for Local by Flywheel.

Features

Core Module

  • ServiceContainer - Typed wrapper for Local's service container
  • LifecycleManager - Site lifecycle hook registration
  • IpcManager - Type-safe IPC handler creation

Site Module

  • SiteManager - Access site data and status
  • DatabaseManager - Database query utilities
  • PortManager - Port allocation management

WordPress Module

  • WordPressPluginManager - Multi-source plugin installation (git, bundled, zip, wporg)
  • WpCliManager - Secure WP-CLI command execution
  • ZipPluginInstaller - Zip extraction with Zip Slip protection

Node Module

  • GitManager - Secure git repository operations
  • NpmManager - System/bundled npm detection
  • ConfigManager - Configuration persistence

Security

  • Command injection prevention
  • Path traversal protection
  • WP-CLI command whitelisting
  • HTTPS-only downloads
  • Shell metacharacter blocking

Installation

npm install @local-labs-jpollock/local-addon-api

Documentation

Stats

  • Test Coverage: 79.66% (471 tests)
  • Package Size: 79.9 kB