fix(cli): expose init command at root#242
Conversation
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
1 similar comment
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
1 similar comment
|
🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: |
Summary
ship initcommand into a factory so it can be mounted in more than one placesh1pt ship initbehavior unchangedsh1pt initfor scaffoldingsh1pt.config.tsVerification
npm run typecheck(packages/cli)npm run build(packages/cli)Runtime help check note:
node dist/index.js --helpandnode dist/index.js init --helpstill fail before command parsing with the existing workspace resolution error:Cannot find module '/workspace/sh1pt/packages/core/src/target.js' imported from /workspace/sh1pt/packages/core/src/index.ts.Closes #241
Related to the accepted Ugig sh1pt CLI command gig.