chore: use package.json commands to build railway
This commit is contained in:
@@ -8,6 +8,8 @@ import 'dotenv/config';
|
||||
const useNodeAdapter =
|
||||
process.env.IS_SELFHOSTED === 'true' && process.env.DEPLOYMENT_PROVIDER === 'docker';
|
||||
|
||||
console.log('\n\n======config', process.env.IS_SELFHOSTED, process.env.DEPLOYMENT_PROVIDER);
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
|
||||
+3
-1
@@ -8,7 +8,9 @@
|
||||
"clean": "turbo clean && rm -rf node_modules",
|
||||
"format": "prettier . --write",
|
||||
"release": "standard-version",
|
||||
"ci": "cypress run"
|
||||
"ci": "cypress run",
|
||||
"dashboard:build": "cd apps/dashboard && pnpm i && IS_SELFHOSTED=true DEPLOYMENT_PROVIDER=docker pnpm build",
|
||||
"dashboard:start": "cd apps/dashboard && node build"
|
||||
},
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@8.0.0",
|
||||
|
||||
Reference in New Issue
Block a user