mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 16:18:55 -05:00
feat: fix build
This commit is contained in:
parent
990ffe1448
commit
ed21678311
@ -329,6 +329,7 @@ async function init() {
|
|||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/react": "^18",
|
"@types/react": "^18",
|
||||||
"@types/react-dom": "^18",
|
"@types/react-dom": "^18",
|
||||||
|
"crypto": "^1.0.1",
|
||||||
"eslint": "^8",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "15.0.3",
|
"eslint-config-next": "15.0.3",
|
||||||
"localtunnel": "^2.0.2",
|
"localtunnel": "^2.0.2",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "create-neynar-farcaster-frame",
|
"name": "create-neynar-farcaster-frame",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
"bin/index.js"
|
"bin/index.js"
|
||||||
|
|||||||
@ -5,6 +5,7 @@ import { mnemonicToAccount } from 'viem/accounts';
|
|||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
import inquirer from 'inquirer';
|
import inquirer from 'inquirer';
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
|
import crypto from 'crypto';
|
||||||
|
|
||||||
// Load environment variables
|
// Load environment variables
|
||||||
dotenv.config({ path: '.env.local' });
|
dotenv.config({ path: '.env.local' });
|
||||||
@ -238,6 +239,10 @@ async function main() {
|
|||||||
// FID (if it exists in current env)
|
// FID (if it exists in current env)
|
||||||
...(process.env.FID ? [`FID="${process.env.FID}"`] : []),
|
...(process.env.FID ? [`FID="${process.env.FID}"`] : []),
|
||||||
|
|
||||||
|
// NextAuth configuration
|
||||||
|
`NEXTAUTH_SECRET="${process.env.NEXTAUTH_SECRET || crypto.randomBytes(32).toString('hex')}"`,
|
||||||
|
`NEXTAUTH_URL="https://${domain}"`,
|
||||||
|
|
||||||
// Frame manifest with signature
|
// Frame manifest with signature
|
||||||
`FRAME_METADATA=${JSON.stringify(metadata)}`,
|
`FRAME_METADATA=${JSON.stringify(metadata)}`,
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user