mirror of https://github.com/buster-so/buster.git
env vars
This commit is contained in:
parent
e8cd5473eb
commit
584dd215c3
|
@ -0,0 +1 @@
|
||||||
|
DAYTONA_API_KEY=
|
|
@ -2,7 +2,7 @@ declare global {
|
||||||
namespace NodeJS {
|
namespace NodeJS {
|
||||||
interface ProcessEnv {
|
interface ProcessEnv {
|
||||||
NODE_ENV?: 'development' | 'production' | 'test';
|
NODE_ENV?: 'development' | 'production' | 'test';
|
||||||
// Add your environment variables here
|
DAYTONA_API_KEY?: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,7 @@ console.info('🔍 Validating environment variables...');
|
||||||
|
|
||||||
const env = {
|
const env = {
|
||||||
NODE_ENV: process.env.NODE_ENV || 'development',
|
NODE_ENV: process.env.NODE_ENV || 'development',
|
||||||
// Add your required environment variables here
|
DAYTONA_API_KEY: process.env.DAYTONA_API_KEY,
|
||||||
// DATABASE_URL: process.env.DATABASE_URL,
|
|
||||||
// API_KEY: process.env.API_KEY,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let hasErrors = false;
|
let hasErrors = false;
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
export * from './lib/index';
|
|
|
@ -1,4 +0,0 @@
|
||||||
// Export your library functions here
|
|
||||||
export const howdy = () => {
|
|
||||||
return 'Hello from @buster/sandbox!';
|
|
||||||
};
|
|
Loading…
Reference in New Issue