2023-05-16 10:39:52 +00:00
|
|
|
require('dotenv').config({ path: './.env.local' })
|
|
|
|
|
2023-07-17 09:01:00 +00:00
|
|
|
if (!process.env.CHARTING_LIBRARY_USERNAME) {
|
|
|
|
throw 'CHARTING_LIBRARY_USERNAME is not defined'
|
|
|
|
}
|
|
|
|
if (!process.env.CHARTING_LIBRARY_ACCESS_TOKEN) {
|
|
|
|
throw 'CHARTING_LIBRARY_ACCESS_TOKEN is not defined'
|
|
|
|
}
|
|
|
|
if (!process.env.CHARTING_LIBRARY_REPOSITORY) {
|
|
|
|
throw 'CHARTING_LIBRARY_REPOSITORY is not defined'
|
|
|
|
}
|
2024-01-03 14:50:38 +00:00
|
|
|
if (!process.env.NEXT_PUBLIC_WALLET_CONNECT_ID) {
|
|
|
|
throw 'NEXT_PUBLIC_WALLET_CONNECT_ID is not defined'
|
2023-11-16 10:16:16 +00:00
|
|
|
}
|
2023-07-17 09:01:00 +00:00
|
|
|
|
|
|
|
console.log('✅ Required env variables set')
|