50 lines
4.5 KiB
Plaintext
50 lines
4.5 KiB
Plaintext
# Task ID: 65
|
|
# Title: Add Bun Support for Taskmaster Installation
|
|
# Status: done
|
|
# Dependencies: None
|
|
# Priority: medium
|
|
# Description: Implement full support for installing and managing Taskmaster using the Bun package manager, ensuring the installation process and user experience are identical to npm, pnpm, and Yarn.
|
|
# Details:
|
|
Update the Taskmaster installation scripts and documentation to support Bun as a first-class package manager. Ensure that users can install Taskmaster and run all CLI commands (including 'init' via scripts/init.js) using Bun, with the same directory structure, template copying, package.json merging, and MCP config setup as with npm, pnpm, and Yarn. Verify that all dependencies are compatible with Bun and that any Bun-specific configuration (such as lockfile handling or binary linking) is handled correctly. If the installation process includes a website or account setup, document and test these flows for parity; if not, explicitly confirm and document that no such steps are required. Update all relevant documentation and installation guides to include Bun instructions for macOS, Linux, and Windows (including WSL and PowerShell). Address any known Bun-specific issues (e.g., sporadic install hangs) with clear troubleshooting guidance.
|
|
|
|
# Test Strategy:
|
|
1. Install Taskmaster using Bun on macOS, Linux, and Windows (including WSL and PowerShell), following the updated documentation. 2. Run the full installation and initialization process, verifying that the directory structure, templates, and MCP config are set up identically to npm, pnpm, and Yarn. 3. Execute all CLI commands (including 'init') and confirm functional parity. 4. If a website or account setup is required, test these flows for consistency; if not, confirm and document this. 5. Check for Bun-specific issues (e.g., install hangs) and verify that troubleshooting steps are effective. 6. Ensure the documentation is clear, accurate, and up to date for all supported platforms.
|
|
|
|
# Subtasks:
|
|
## 1. Research Bun compatibility requirements [done]
|
|
### Dependencies: None
|
|
### Description: Investigate Bun's JavaScript runtime environment and identify key differences from Node.js that may affect Taskmaster's installation and operation.
|
|
### Details:
|
|
Research Bun's package management, module resolution, and API compatibility with Node.js. Document any potential issues or limitations that might affect Taskmaster. Identify required changes to make Taskmaster compatible with Bun's execution model.
|
|
|
|
## 2. Update installation scripts for Bun compatibility [done]
|
|
### Dependencies: 65.1
|
|
### Description: Modify the existing installation scripts to detect and support Bun as a runtime environment.
|
|
### Details:
|
|
Add Bun detection logic to installation scripts. Update package management commands to use Bun equivalents where needed. Ensure all dependencies are compatible with Bun. Modify any Node.js-specific code to work with Bun's runtime.
|
|
|
|
## 3. Create Bun-specific installation path [done]
|
|
### Dependencies: 65.2
|
|
### Description: Implement a dedicated installation flow for Bun users that optimizes for Bun's capabilities.
|
|
### Details:
|
|
Create a Bun-specific installation script that leverages Bun's performance advantages. Update any environment detection logic to properly identify Bun environments. Ensure proper path resolution and environment variable handling for Bun.
|
|
|
|
## 4. Test Taskmaster installation with Bun [done]
|
|
### Dependencies: 65.3
|
|
### Description: Perform comprehensive testing of the installation process using Bun across different operating systems.
|
|
### Details:
|
|
Test installation on Windows, macOS, and Linux using Bun. Verify that all Taskmaster features work correctly when installed via Bun. Document any issues encountered and implement fixes as needed.
|
|
|
|
## 5. Test Taskmaster operation with Bun [done]
|
|
### Dependencies: 65.4
|
|
### Description: Ensure all Taskmaster functionality works correctly when running under Bun.
|
|
### Details:
|
|
Test all Taskmaster commands and features when running with Bun. Compare performance metrics between Node.js and Bun. Identify and fix any runtime issues specific to Bun. Ensure all plugins and extensions are compatible.
|
|
|
|
## 6. Update documentation for Bun support [done]
|
|
### Dependencies: 65.4, 65.5
|
|
### Description: Update all relevant documentation to include information about installing and running Taskmaster with Bun.
|
|
### Details:
|
|
Add Bun installation instructions to README and documentation. Document any Bun-specific considerations or limitations. Update troubleshooting guides to include Bun-specific issues. Create examples showing Bun usage with Taskmaster.
|
|
|