|
|
|
@ -62,7 +62,7 @@ const get_functions = async (name) => {
|
|
|
|
|
|
|
|
|
|
|
|
const build_output = (functions) => {
|
|
|
|
const build_output = (functions) => {
|
|
|
|
const sorted = Array.from(new Set(functions.sort()));
|
|
|
|
const sorted = Array.from(new Set(functions.sort()));
|
|
|
|
return `
|
|
|
|
return `\
|
|
|
|
/** ----------------------------------------------------------------------
|
|
|
|
/** ----------------------------------------------------------------------
|
|
|
|
This file is automatically generated by \`scripts/globals-extractor.mjs\`.
|
|
|
|
This file is automatically generated by \`scripts/globals-extractor.mjs\`.
|
|
|
|
Generated At: ${new Date().toISOString()}
|
|
|
|
Generated At: ${new Date().toISOString()}
|
|
|
|
@ -71,7 +71,7 @@ Generated At: ${new Date().toISOString()}
|
|
|
|
export default new Set([
|
|
|
|
export default new Set([
|
|
|
|
${sorted.map((i) => `\t'${i}'`).join(',\n')}
|
|
|
|
${sorted.map((i) => `\t'${i}'`).join(',\n')}
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
`.substring(1);
|
|
|
|
`;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const get_exists_globals = () => {
|
|
|
|
const get_exists_globals = () => {
|
|
|
|
|