mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-15 21:47:43 +01:00
* Adjust typescript types * adjust types * fix types in all helper files * Fix types * Migrate js files to ts files * Refactor to TS files * Rename extentions * Adjust imports * Fix builds * Update lockfile * Fix last typescript migration * Fix entry path @lucide/outline-svg * Fix types * add checkout step * format files * Format files
14 lines
288 B
TypeScript
14 lines
288 B
TypeScript
import fs from 'fs';
|
|
import pkg from '../package.json' with { type: 'json' };
|
|
|
|
const license = fs.readFileSync('LICENSE', 'utf-8');
|
|
|
|
export function getJSBanner() {
|
|
return `/**
|
|
* @license ${pkg.name} v${pkg.version} - ${pkg.license}
|
|
*
|
|
* ${license.split('\n').join('\n * ')}
|
|
*/
|
|
`;
|
|
}
|