Skip to content

Commit 73211ac

Browse files
committed
chore: use @latest
1 parent c25449a commit 73211ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/commands/preview.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ export class PreviewCommand implements ICommand {
2929

3030
async execute(args: string[]): Promise<void> {
3131
if (!this.$options.disableNpmInstall) {
32+
// ensure latest is installed
3233
await this.$packageManager.install(
33-
`${PREVIEW_CLI_PACKAGE}@exp`,
34+
`${PREVIEW_CLI_PACKAGE}@latest`,
3435
this.$projectData.projectDir,
3536
{
3637
"save-dev": true,

0 commit comments

Comments
 (0)