mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 02:52:16 +00:00
chore: standardised the eslint config structure accross the project (#11814)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { register } from 'node:module';
|
||||
import { pathToFileURL } from 'node:url';
|
||||
|
||||
register('./scripts/loader.mjs', pathToFileURL('./'));
|
||||
register('fumadocs-mdx/node/loader', import.meta.url);
|
||||
|
||||
const { source } = await import('../lib/source');
|
||||
const pages = source.getPages();
|
||||
|
||||
const endpointsPage = pages.find(p => p.url.endsWith('/apis/openidoauth/endpoints'));
|
||||
|
||||
if (endpointsPage) {
|
||||
console.log('Endpoints Page URL:', endpointsPage.url);
|
||||
console.log('TOC URLs:', endpointsPage.data.toc.map(i => i.url));
|
||||
} else {
|
||||
console.log('Endpoints page not found.');
|
||||
}
|
||||
Reference in New Issue
Block a user