Skip to content

Enhance CLI with new commands, templates, and testing features#74

Merged
Josephat-S merged 45 commits into
mainfrom
dev
May 26, 2026
Merged

Enhance CLI with new commands, templates, and testing features#74
Josephat-S merged 45 commits into
mainfrom
dev

Conversation

@Josephat-S
Copy link
Copy Markdown
Contributor

This pull request introduces significant improvements to the Opusify CLI project, focusing on automated testing, package publishing, dependency management, and project documentation. The most important changes are the addition of comprehensive template integration tests, a publish workflow for npm, verbose and dynamic dependency injection, and enhanced project metadata and documentation.

Continuous Integration & Testing:

  • Added a GitHub Actions workflow (.github/workflows/templates.yml) to automatically test all template combinations (template, architecture, design, sidebar) on pull requests, ensuring new changes do not break template generation.
  • Introduced two new scripts, scripts/test-templates.js and scripts/test-single-template.js, to generate and build all template variants, catching regressions before release. These scripts are integrated into the CI pipeline. [1] [2]

Publishing & Distribution:

  • Added a GitHub Actions workflow (.github/workflows/publish.yml) to automate publishing the package to npm on pushes to main or new tags, streamlining the release process.
  • Updated .npmignore to exclude development files, test outputs, and unnecessary configs from the published npm package, reducing package size and exposure of non-essential files.

Dependency Management & CLI Improvements:

  • Enhanced src/dependencies.js and src/generate.js to support verbose logging and dynamic dependency injection based on template configuration (design system, sidebar, architecture), with clear CLI output for added dependencies. [1] [2] [3] [4] [5]
  • Added a new src/commands/add.js command that allows users to add plugins (like authentication, dark mode, analytics) to existing Opusify projects, updating files and dependencies as needed.

Project Metadata & Documentation:

  • Improved package.json with a detailed description, keywords, author, license, Node.js engine requirement, and updated the files field to control what is published. [1] [2]
  • Added a LICENSE file with the MIT license and a CODE_OF_CONDUCT.md for community standards, improving project transparency and contributor guidance. [1] [2]

Josephat-S and others added 30 commits May 25, 2026 16:52
Merge pull request #51 from Ebyte-Lab/dev
Add commander dependency and CLI flag support
Implement opusify list command with template options
Add Opusify command to include plugins and features post-creation
Add automated template testing to CI
…provements

fix[]:Error Handling & Validation Improvements
…n-navcount

Add dynamic navigation generation based on navCount
Implement fully designed portfolio template
Implement full design for eCommerce platform
Implement full blog design with article pages
Add Vite and React SPA for Portfolio Template
Implement Vite and React for E-Commerce SPA Template
Implement remaining design themes
@Josephat-S Josephat-S requested a review from a team May 26, 2026 12:31
@Josephat-S Josephat-S merged commit e18daba into main May 26, 2026
8 of 12 checks passed
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