Skip to content

feat(create-ui): interactive prompts + e2e + changeset (3/3)#7846

Merged
y-lakhdar merged 27 commits into
mainfrom
feat/create-ui-3-cli
Jul 6, 2026
Merged

feat(create-ui): interactive prompts + e2e + changeset (3/3)#7846
y-lakhdar merged 27 commits into
mainfrom
feat/create-ui-3-cli

Conversation

@y-lakhdar

@y-lakhdar y-lakhdar commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Interactive prompts

cli-demo

Cancel handling pattern

image

Enhanced error message with help

image

KIT-5830 | Epic: KIT-5452

@changeset-bot

changeset-bot Bot commented Jun 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1537c5a

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

@svcsnykcoveo

svcsnykcoveo commented Jun 18, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@y-lakhdar y-lakhdar requested a review from Copilot June 18, 2026 17:16
@y-lakhdar y-lakhdar changed the title feat(create-ui): interactive prompts + e2e + changeset (3/3) [KIT-5830] feat(create-ui): interactive prompts + e2e + changeset (3/3) Jun 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Completes the @coveo/create-ui scaffolding CLI by adding interactive prompting for missing arguments, a gated end-to-end smoke test, and release documentation/changeset updates.

Changes:

  • Added interactive template selection and project-name prompting via @inquirer/prompts, with Ctrl-C prompt abort handling.
  • Introduced an E2E=1-gated e2e test that scaffolds from a local GitHub-shaped tarball and builds the result.
  • Added package docs and a Changesets minor release entry.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pnpm-lock.yaml Adds lock entries for @inquirer/prompts and its transitive deps.
packages/create-ui/src/prompt.ts New interactive prompt helpers and testable choice-building logic.
packages/create-ui/src/prompt.test.ts Unit tests for prompt choice-building behavior.
packages/create-ui/src/index.ts Wires prompts into CLI flow and adds Ctrl-C prompt abort handling.
packages/create-ui/src/e2e.test.ts Adds gated end-to-end smoke test (scaffold → install → build).
packages/create-ui/README.md Documents CLI usage, interactive mode, and options.
packages/create-ui/package.json Adds @inquirer/prompts dependency.
.changeset/create-ui-initial.md Adds a minor changeset describing initial CLI scaffolding feature.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread packages/create-ui/package.json Outdated
Comment thread packages/create-ui/src/prompt.ts Outdated
Comment thread packages/create-ui/src/e2e.test.ts Outdated
Comment thread packages/create-ui/src/prompt.ts
Comment thread packages/create-ui/src/prompt.test.ts Outdated
@pkg-pr-new

pkg-pr-new Bot commented Jun 18, 2026

Copy link
Copy Markdown
@coveo/atomic

npm i https://pkg.pr.new/@coveo/atomic@7846

@coveo/atomic-hosted-page

npm i https://pkg.pr.new/@coveo/atomic-hosted-page@7846

@coveo/atomic-legacy

npm i https://pkg.pr.new/@coveo/atomic-legacy@7846

@coveo/atomic-react

npm i https://pkg.pr.new/@coveo/atomic-react@7846

@coveo/auth

npm i https://pkg.pr.new/@coveo/auth@7846

@coveo/bueno

npm i https://pkg.pr.new/@coveo/bueno@7846

@coveo/create-atomic

npm i https://pkg.pr.new/@coveo/create-atomic@7846

@coveo/create-atomic-component

npm i https://pkg.pr.new/@coveo/create-atomic-component@7846

@coveo/create-atomic-component-project

npm i https://pkg.pr.new/@coveo/create-atomic-component-project@7846

@coveo/create-atomic-result-component

npm i https://pkg.pr.new/@coveo/create-atomic-result-component@7846

@coveo/create-atomic-rollup-plugin

npm i https://pkg.pr.new/@coveo/create-atomic-rollup-plugin@7846

@coveo/headless

npm i https://pkg.pr.new/@coveo/headless@7846

@coveo/headless-react

npm i https://pkg.pr.new/@coveo/headless-react@7846

@coveo/shopify

npm i https://pkg.pr.new/@coveo/shopify@7846

commit: 1537c5a

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread packages/create-ui/package.json Outdated
Comment thread packages/create-ui/src/index.ts
Comment thread packages/create-ui/src/e2e.test.ts Outdated
Base automatically changed from feat/create-ui-2-engine to main June 26, 2026 15:06
Adds interactive template + project-name selection when args are omitted, graceful Ctrl-C handling, a gated end-to-end test (scaffold -> install -> build), the README, and the release changeset.
@chromatic-com

chromatic-com Bot commented Jun 26, 2026

Copy link
Copy Markdown

Important

Testing in progress…

🟢 UI Tests: 457 tests unchanged
UI Review: Comparing 457 stories…
Storybook icon Storybook Publish: 457 stories published

@chromatic-com

chromatic-com Bot commented Jun 26, 2026

Copy link
Copy Markdown

Tip

All tests passed and all changes approved!

🟢 UI Tests: 458 tests unchanged
🟢 UI Review: 458 stories published -- no changes
Storybook icon Storybook Publish: 458 stories published

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

  • packages/create-ui/package.json
  • pnpm-lock.yaml

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

🔗 Scratch Orgs ready to test this PR:

Comment thread packages/create-ui/src/prompt.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants