Skip to content

Commit b20ed84

Browse files
committed
Improve installer
1 parent 0d72f69 commit b20ed84

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

apps/demo/app/components/installer/index.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ import PnpmLogo from './pnpm.svg';
1919
import YarnLogo from './yarn.svg';
2020

2121
const installers = [
22+
{
23+
value: 'pnpm',
24+
command: 'pnpm create next-app',
25+
logo: PnpmLogo,
26+
name: 'pnpm',
27+
},
2228
{ value: 'bun', command: 'bun create next-app', logo: BunLogo, name: 'Bun' },
2329
{
2430
value: 'npm',
2531
command: 'npx create-next-app',
2632
logo: NpmLogo,
2733
name: 'npm',
2834
},
29-
{
30-
value: 'pnpm',
31-
command: 'pnpm create next-app',
32-
logo: PnpmLogo,
33-
name: 'pnpm',
34-
},
3535
{
3636
value: 'yarn',
3737
command: 'yarn create next-app',
@@ -40,7 +40,8 @@ const installers = [
4040
},
4141
];
4242

43-
const installCommand = '--example https://github.com/haydenbleasel/next-forge';
43+
const installCommand =
44+
'@latest --example https://github.com/haydenbleasel/next-forge';
4445

4546
export const Installer: FC = () => {
4647
const [manager, setManager] = useState(installers[0].value);
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)