mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 08:08:56 -05:00
style updates
This commit is contained in:
parent
ace806fcb9
commit
8ab3b4317b
@ -10,3 +10,8 @@ To create a new frames project, run:
|
||||
```{bash}
|
||||
npx frames-v2-quickstart
|
||||
```
|
||||
|
||||
TODO:
|
||||
* pin dependencies
|
||||
* install metrics / enable notifications
|
||||
* solidify onchain tx support
|
||||
11
bin/index.js
11
bin/index.js
@ -99,7 +99,7 @@ async function init() {
|
||||
type: 'confirm',
|
||||
name: 'useNeynar',
|
||||
message: 'Would you like to use Neynar in your frame?',
|
||||
default: true
|
||||
default: false
|
||||
}
|
||||
]);
|
||||
|
||||
@ -234,7 +234,14 @@ async function init() {
|
||||
execSync('git add .', { cwd: projectPath });
|
||||
execSync('git commit -m "initial commit from frames-v2-quickstart"', { cwd: projectPath });
|
||||
|
||||
console.log(`\n🪐✨ Successfully created frame ${projectName} with git and dependencies installed! ✨🪐`);
|
||||
// Calculate border length based on message length
|
||||
const message = `✨🪐 Successfully created frame ${projectName} with git and dependencies installed! 🪐✨`;
|
||||
const borderLength = message.length;
|
||||
const borderStars = '✨'.repeat((borderLength / 2) + 1);
|
||||
|
||||
console.log(`\n${borderStars}`);
|
||||
console.log(`${message}`);
|
||||
console.log(`${borderStars}`);
|
||||
console.log('\nTo run the app:');
|
||||
console.log(` cd ${projectName}`);
|
||||
console.log(' npm run dev\n');
|
||||
|
||||
4
dev.js
4
dev.js
@ -10,10 +10,10 @@ async function startDev() {
|
||||
tunnel = await localtunnel({ port: 3000 });
|
||||
console.log(`\n🌐 Local tunnel URL: ${tunnel.url}`);
|
||||
|
||||
// Start next dev with the tunnel URL as an environment variable
|
||||
// Start next dev with the tunnel URL as relevant environment variables
|
||||
nextDev = spawn('next', ['dev'], {
|
||||
stdio: 'inherit',
|
||||
env: { ...process.env, NEXT_PUBLIC_URL: tunnel.url }
|
||||
env: { ...process.env, NEXT_PUBLIC_URL: tunnel.url, NEXTAUTH_URL: tunnel.url }
|
||||
});
|
||||
|
||||
// Handle cleanup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user