Files
explore/deploy/tools/feature-reporter/entry.js
T
tom goriunovandGitHub e3551038af app feature list (#1079)
* metadata helpers and values for txs pages

* update titles to the rest of the pages

* refactor getServerSideProps

* dynamically update metadata for token and dapp page

* test

* 404 error page

* make new config

* make use of new config, delete old one

* feature reporter: dev implementation

* feature reporter: docker integration

* resctructure ENVS.md

* sentry feature

* refinements

* add spaces between sections

* tweaks

* switch to camelCase

* clean up

* remove NEXT_PUBLIC_NETWORK_TOKEN_ADDRESS

* v
2023-08-09 15:39:36 -04:00

24 lines
722 B
JavaScript

/* eslint-disable no-console */
const config = require('./build/configs/app').default;
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();
}