feat: accept ports as args to scripts

This commit is contained in:
veganbeef
2025-07-02 13:52:59 -07:00
parent 4fbcbdba6f
commit 0ee5cace75
4 changed files with 73 additions and 13 deletions

View File

@@ -541,7 +541,6 @@ export async function init(projectName = null, autoAcceptDefaults = false) {
);
fs.writeFileSync(constantsPath, constantsContent);
console.log('✅ Updated constants.ts with user configuration');
} else {
console.log('⚠️ constants.ts not found, skipping constants update');
}
@@ -556,7 +555,6 @@ export async function init(projectName = null, autoAcceptDefaults = false) {
fs.appendFileSync(envPath, `\nUSE_TUNNEL="${answers.useTunnel}"`);
fs.unlinkSync(envExamplePath);
console.log('\nCreated .env.local file from .env.example');
} else {
console.log('\n.env.example does not exist, skipping copy and remove operations');
}