mirror of https://github.com/buster-so/buster.git
momentic init
This commit is contained in:
parent
6be8d25546
commit
6ba8845282
|
@ -2,7 +2,7 @@ declare global {
|
||||||
namespace NodeJS {
|
namespace NodeJS {
|
||||||
interface ProcessEnv {
|
interface ProcessEnv {
|
||||||
NODE_ENV?: 'development' | 'production' | 'test';
|
NODE_ENV?: 'development' | 'production' | 'test';
|
||||||
|
MOMENTIC_API_KEY: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,10 +8,7 @@ loadRootEnv();
|
||||||
|
|
||||||
// Define required environment variables for this package
|
// Define required environment variables for this package
|
||||||
const requiredEnv = {
|
const requiredEnv = {
|
||||||
// NODE_ENV is optional - will default to 'development' if not set
|
MOMENTIC_API_KEY: process.env.MOMENTIC_API_KEY,
|
||||||
// Add your required environment variables here:
|
|
||||||
// DATABASE_URL: process.env.DATABASE_URL,
|
|
||||||
// API_KEY: process.env.API_KEY,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Validate environment variables
|
// Validate environment variables
|
||||||
|
|
Loading…
Reference in New Issue