Skip to content

feat: add zenith init command for project initialization#79

Open
zubeyralmaho wants to merge 1 commit intojotform:masterfrom
zubeyralmaho:feat/init-command
Open

feat: add zenith init command for project initialization#79
zubeyralmaho wants to merge 1 commit intojotform:masterfrom
zubeyralmaho:feat/init-command

Conversation

@zubeyralmaho
Copy link

Adds a new zenith init command that creates a default zenith.js configuration file.

Changes

  • Created InitRunner class in src/commands/init/
  • Generates zenith.js with mainConfig, pipe, and appDirectories
  • Added unit tests

Usage

zenith init

- Add `zenith init` command that auto-detects monorepo structure
- Scans package.json workspaces and pnpm-workspace.yaml
- Generates zenith.json with detected projects and default config
- Support --force flag to overwrite existing config
- Support --output flag for custom output path
- Add unit tests for InitRunner
- Update test regex to include .ts files
- Exclude test files from TypeScript compilation

Closes jotform#59
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.

1 participant