Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/webapp/app/components/templates/TemplateOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ function TemplateDetails({
template.
</Body>
<CopyTextPanel
text={`npm create trigger ${template.slug}`}
value={`npm create trigger@latest ${template.slug} ${
text={`npx create-trigger ${template.slug}`}
value={`npx create-trigger@latest ${template.slug} ${
commandFlags ? ` ${commandFlags}` : ""
}`}
className="mb-8"
Expand Down
4 changes: 2 additions & 2 deletions apps/webapp/app/components/templates/TemplatesGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ export function TemplatesGrid({
{template.title}
</Header1>
<CopyTextPanel
value={`npm create trigger@latest ${template.slug}${
value={`npx create-trigger@latest ${template.slug}${
commandFlags ? ` ${commandFlags}` : ``
}`}
text={`npm create trigger ${template.slug}`}
text={`npx create-trigger ${template.slug}`}
className=""
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/webapp/app/components/workflows/WorkflowOnboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export function WorkflowOnboarding({
running this command.
</Body>
<CopyTextPanel
value={`npm create trigger@latest --apiKey ${apiKey}`}
text={`npm create trigger --apiKey ${apiKey}`}
value={`npx create-trigger@latest --apiKey ${apiKey}`}
text={`npx create-trigger --apiKey ${apiKey}`}
/>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/create-trigger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To scaffold out a new project using `create-trigger`, run any of the following t
### npm

```sh
npm create trigger@latest
npx create-trigger@latest
```

### yarn
Expand All @@ -29,7 +29,7 @@ pnpm create trigger@latest
You can also specify the [template](https://app.trigger.com/templates) you want to use by passing an argument to the command, like so:

```sh
npm create trigger@latest github-stars-to-slack
npx create-trigger@latest github-stars-to-slack
```

## Advanced Usage
Expand Down