mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-15 23:58:56 -05:00
Merge branch 'main' into lucas/beginner-friendly-script
This commit is contained in:
commit
13d5ae9ff2
@ -1,6 +1,6 @@
|
||||
# Frames v2 Quickstart by Neynar 🪐
|
||||
# Farcaster Mini Apps (formerly Frames) Quickstart by Neynar 🪐
|
||||
|
||||
A Farcaster Frames v2 quickstart npx script.
|
||||
A Farcaster Mini Apps quickstart npx script.
|
||||
|
||||
This is a [NextJS](https://nextjs.org/) + TypeScript + React app.
|
||||
|
||||
|
||||
@ -281,6 +281,7 @@ export async function init() {
|
||||
|
||||
// Add dependencies
|
||||
packageJson.dependencies = {
|
||||
"@farcaster/auth-client": "^0.3.0",
|
||||
"@farcaster/auth-kit": "^0.6.0",
|
||||
"@farcaster/frame-core": "^0.0.29",
|
||||
"@farcaster/frame-node": "^0.0.18",
|
||||
@ -293,6 +294,7 @@ export async function init() {
|
||||
"clsx": "^2.1.1",
|
||||
"dotenv": "^16.4.7",
|
||||
"lucide-react": "^0.469.0",
|
||||
"mipd": "^0.0.7",
|
||||
"next": "15.0.3",
|
||||
"next-auth": "^4.24.11",
|
||||
"react": "^18",
|
||||
@ -300,7 +302,8 @@ export async function init() {
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"viem": "^2.23.6",
|
||||
"wagmi": "^2.14.12"
|
||||
"wagmi": "^2.14.12",
|
||||
"zod": "^3.24.2"
|
||||
};
|
||||
|
||||
packageJson.devDependencies = {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@neynar/create-farcaster-mini-app",
|
||||
"version": "1.2.9",
|
||||
"version": "1.2.10",
|
||||
"type": "module",
|
||||
"private": false,
|
||||
"access": "public",
|
||||
|
||||
@ -466,21 +466,22 @@ async function deployToVercel(useGitHub = false) {
|
||||
|
||||
// Deploy the project
|
||||
if (useGitHub) {
|
||||
console.log('\n📦 Deploying with GitHub integration...');
|
||||
execSync('vercel deploy --prod --git', {
|
||||
console.log('\nSetting up GitHub integration...');
|
||||
execSync('vercel link', {
|
||||
cwd: projectRoot,
|
||||
stdio: 'inherit',
|
||||
env: process.env
|
||||
});
|
||||
console.log('\n📦 Deploying with GitHub integration...');
|
||||
} else {
|
||||
console.log('\n📦 Deploying local code directly...');
|
||||
execSync('vercel deploy --prod', {
|
||||
cwd: projectRoot,
|
||||
stdio: 'inherit',
|
||||
env: process.env
|
||||
});
|
||||
}
|
||||
|
||||
execSync('vercel deploy --prod', {
|
||||
cwd: projectRoot,
|
||||
stdio: 'inherit',
|
||||
env: process.env
|
||||
});
|
||||
// Verify the actual domain after deployment
|
||||
|
||||
console.log('\n🔍 Verifying deployment domain...');
|
||||
|
||||
@ -6,7 +6,7 @@ import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
// Load environment variables
|
||||
dotenv.config();
|
||||
dotenv.config({ path: '.env.local' });
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const projectRoot = path.join(__dirname, '..');
|
||||
@ -125,9 +125,7 @@ async function startDev() {
|
||||
1. Open the Warpcast Frame Developer Tools: https://warpcast.com/~/developers/frames
|
||||
2. Scroll down to the "Preview Frame" tool
|
||||
3. Enter this URL: ${frameUrl}
|
||||
4. Click "Preview" to test your frame
|
||||
|
||||
Note: You may need to accept the self-signed certificate in your browser when first visiting ${frameUrl}
|
||||
4. Click "Preview" to test your frame (note that it may take ~5 seconds to load the first time)
|
||||
`);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user