chore: use package.json commands to build railway
This commit is contained in:
@@ -8,6 +8,8 @@ import 'dotenv/config';
|
|||||||
const useNodeAdapter =
|
const useNodeAdapter =
|
||||||
process.env.IS_SELFHOSTED === 'true' && process.env.DEPLOYMENT_PROVIDER === 'docker';
|
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} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||||
|
|||||||
+3
-1
@@ -8,7 +8,9 @@
|
|||||||
"clean": "turbo clean && rm -rf node_modules",
|
"clean": "turbo clean && rm -rf node_modules",
|
||||||
"format": "prettier . --write",
|
"format": "prettier . --write",
|
||||||
"release": "standard-version",
|
"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",
|
"license": "MIT",
|
||||||
"packageManager": "[email protected]",
|
"packageManager": "[email protected]",
|
||||||
|
|||||||
Reference in New Issue
Block a user