mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* migrate from yarn to pnpm * feature-reporter: migrate from webpack to vite * remove unnecessary deps * bump pnpm to 10.32.1 * fix sitemap and favicon generator tools in docker * review and workflow fixes * fix pw test * update screenshots * update screenshot and add default maxDiffPixels value
24 lines
701 B
TypeScript
24 lines
701 B
TypeScript
/* eslint-disable no-console */
|
|
import config from 'configs/app';
|
|
|
|
run();
|
|
|
|
async function run() {
|
|
console.log();
|
|
try {
|
|
console.log(`📋 Here is the list of the features enabled for the running instance.
|
|
To adjust their configuration, please refer to the documentation - https://github.com/blockscout/frontend/blob/main/docs/ENVS.md#app-features
|
|
`);
|
|
Object.entries(config.features)
|
|
.forEach(([ , feature ]) => {
|
|
const mark = feature.isEnabled ? 'v' : ' ';
|
|
console.log(` [${ mark }] ${ feature.title }`);
|
|
});
|
|
|
|
} catch (error) {
|
|
console.log('🚨 An error occurred while generating the feature report.');
|
|
process.exit(1);
|
|
}
|
|
console.log();
|
|
}
|