Skip to content

Conversation

@newhook
Copy link
Owner

@newhook newhook commented Jan 28, 2026

Summary

This PR documents how to configure the mise setup task for JavaScript/Node.js projects that require dependency installation (npm/pnpm/yarn). Rather than automating npm install, we provide clear documentation on how users can configure this for their specific project needs.

Changes:

  • Added "Mise Setup Task for JavaScript Projects" section to README with examples for npm, pnpm, and yarn
  • Updated mise.tmpl template with uncommented [tasks] section and clearer examples covering npm, pnpm, yarn, pip, and bundle install

Motivation

The tool runs mise install and mise setup but doesn't automatically run npm install for JS dependencies. Instead of trying to detect and auto-run the correct package manager, this approach:

  • Gives users control over their dependency installation
  • Works with any package manager (npm, pnpm, yarn)
  • Extends naturally to other ecosystems (Python pip, Ruby bundler)
  • Runs automatically during project/worktree creation

Test plan

  • Verify README documentation renders correctly
  • Test co proj create with a JS project that has a configured setup task
  • Test co work create runs the setup task in the new worktree

Issues resolved

  • ac-l3e9: NPM Install Not Automatic
  • ac-l3e9.1: Document mise setup task for JS repos
  • ac-l3e9.2: Uncomment setup task in mise template

🤖 Generated with Claude Code

Update mise.tmpl to show uncommented [tasks] section with examples for
npm, pnpm, yarn, pip, and bundle. Add README section explaining how
to configure the setup task for JavaScript projects.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@newhook newhook merged commit 17ef7b8 into main Jan 28, 2026
3 checks passed
@newhook newhook deleted the feat/npm-install-not-automatic branch January 28, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants