From 6527543094c30ac5dc7be5235a63e580bb8cd286 Mon Sep 17 00:00:00 2001 From: lucas-neynar Date: Fri, 14 Mar 2025 13:01:41 -0700 Subject: [PATCH] install ngrok in bin --- bin/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/index.js b/bin/index.js index 77b82ce..0a99cc7 100755 --- a/bin/index.js +++ b/bin/index.js @@ -139,6 +139,13 @@ async function init() { console.log('\nRemoving .git directory...'); fs.rmSync(path.join(projectPath, '.git'), { recursive: true, force: true }); + // Remove package-lock.json + console.log('\nRemoving package-lock.json...'); + const packageLockPath = path.join(projectPath, 'package-lock.json'); + if (fs.existsSync(packageLockPath)) { + fs.unlinkSync(packageLockPath); + } + // Update package.json console.log('\nUpdating package.json...'); const packageJsonPath = path.join(projectPath, 'package.json'); @@ -170,6 +177,7 @@ async function init() { "lucide-react": "^0.469.0", "next": "15.0.3", "next-auth": "^4.24.11", + "ngrok": "^5.0.0-beta.2", "ox": "^0.4.2", "react": "^18", "react-dom": "^18",