mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 20:13:21 +03:00
aa2218900c
NEXT_PUBLIC environnement variable values are set at build time and not run time. Build is currently performed in Github actions so setting those vars at runtime has no effect. We can use a package to automatically pass those variables at runtime
21 lines
678 B
JSON
21 lines
678 B
JSON
{
|
|
"name": "twenty-website",
|
|
"version": "0.20.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"nx": "NX_DEFAULT_PROJECT=twenty-website node ../../node_modules/nx/bin/nx.js",
|
|
"dev": "npx next dev",
|
|
"build": "npx next build",
|
|
"start": "npx next start",
|
|
"lint": "npx next lint",
|
|
"github:sync": "npx tsx src/github/github-sync.ts",
|
|
"github:init": "npx tsx src/github/github-sync.ts --isFullSync",
|
|
"database:migrate": "npx tsx src/database/migrate-database.ts",
|
|
"database:generate:pg": "npx drizzle-kit generate:pg --config=src/database/drizzle-posgres.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"next-runtime-env": "^3.2.2",
|
|
"postgres": "^3.4.3"
|
|
}
|
|
}
|