Skip to content

Conversation

@siguici
Copy link
Member

@siguici siguici commented Jun 12, 2025

This PR introduces a comprehensive refactor of the QwikDev/astro CLI and scaffold system to enhance reliability, developer experience, and CI/CD consistency:

πŸš€ 1. Workflow & CI/CD Enhancements

  • All GitHub workflows (ci.yml, cli.yml, release.yml, etc.) now install panam-cli globally before running commands.
  • Goal: Standardize environments and eliminate cross-system inconsistencies.

πŸ“¦ 2. Dependency Updates

  • Upgrades to latest versions of astro, typescript, @types/react, and other dev dependencies.
  • Adds new tools like panam and tsx to replace older methods (tsm, legacy process runner).
  • Fully regenerates pnpm-lock.yaml.

πŸ› οΈ 3. Scaffolding & Template Refactor

  • Removes old Biome and classic ESLint/Prettier templates.
  • Centralizes common files (tsconfig.json, .eslintrc.cjs, etc.) in stubs/tools/.
  • Simplifies template logic and improves project bootstrap consistency.

πŸ§‘β€πŸ’» 4. CLI & Internal Refactoring

  • Panam integration: CLI now leverages Panam to detect and run package managers.
  • Removes legacy process.ts logic; introduces new executor abstraction.
  • Refines prompts for templates, Git, CI, and install behaviors.
  • Adds new commands like which, alias a for add, and support for adding/checking multiple tools.

πŸ“š 5. Documentation & DX Improvements

  • Improves quickstart and integration docs.
  • Clarifies scaffolding behavior and prompts.
  • Adds Git integration (with extended commands) and tool typing extensibility.

🧹 6. Cleanup & Robustness

  • Better error handling and fallback strategies.
  • Removes duplicated template files; consolidates logic and types.
  • Improves testing strategy (now powered by tsx) and overall build script structure.

πŸ’‘ Impact

  • For contributors: Easier to maintain, extend, and test.
  • For users: More reliable project generation, clearer guidance, and modern tooling.
  • For CI/CD: Standardized with panam-cli, reducing environment-specific bugs.

siguici and others added 30 commits January 12, 2025 23:04
@changeset-bot
Copy link

changeset-bot bot commented Jun 12, 2025

⚠️ No Changeset found

Latest commit: 57e4200

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 12, 2025

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/astro/@qwikdev/create-astro@264
npm i https://pkg.pr.new/QwikDev/astro/@qwikdev/astro@264

commit: 57e4200

@siguici siguici merged commit 393e4ff into QwikDev:main Jun 12, 2025
30 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.

1 participant