Skip to content

Commit

Permalink
Merge branch 'main' into feature--add-abort-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobparis authored Dec 17, 2024
2 parents d4a4973 + 6e5dfcf commit d3d4230
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Preview
on:
pull_request:
pull_request_review:
types: [submitted]

jobs:

publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- run: pnpx pkg-pr-new publish './packages/*'
1 change: 1 addition & 0 deletions packages/core/src/prompts/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { ALIASES, CANCEL_SYMBOL, KEYS, diffLines, hasAliasKey, setRawMode } from

import type { ClackEvents, ClackState, InferSetType } from '../types';

// trigger build
export interface PromptOptions<Self extends Prompt> {
render(this: Omit<Self, 'prompt'>): string | undefined;
placeholder?: string;
Expand Down

0 comments on commit d3d4230

Please sign in to comment.