Skip to content

Commit

Permalink
feat: use payload instead of payload@beta
Browse files Browse the repository at this point in the history
  • Loading branch information
maneike committed Nov 19, 2024
1 parent 9117677 commit 8c4a6d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const removeTurboFlag = async () => {

// Remove '--turbo' flag from the "dev" script
if (packageJson.scripts && packageJson.scripts.dev) {
packageJson.scripts.dev = packageJson.scripts.dev.replace('--turbo', '').trim();
packageJson.scripts.dev = packageJson.scripts.dev.replace('--turbopack', '').trim();
}

// Write the updated package.json back to the file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const runInstallCommand = async () => {
await logger.withSpinner('payload', 'Installing to Next.js...', async (spinner) => {
try {
await execAsync(
`echo y | npx create-payload-app@beta --db postgres --db-connection-string ${process.env.DB_URL}`,
`echo y | npx create-payload-app --db postgres --db-connection-string ${process.env.DB_URL}`,
);

spinner.succeed('Installation completed.');
Expand Down

0 comments on commit 8c4a6d0

Please sign in to comment.