Files
lucide/packages/svelte/scripts/license.mts
blt-randEric Fennis fe0bd9b887 fix(@lucide/svelte): proper doc comments for svelte components (#4267)
* fix(@lucide/svelte): proper doc comments for svelte components

* Update license text

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2026-04-24 10:42:50 +02:00

29 lines
627 B
TypeScript

import fs from 'fs';
import pkg from '../package.json' with { type: 'json' };
const license = fs.readFileSync('LICENSE', 'utf-8');
export function getHTMLBanner() {
return `\
<!--
${pkg.name} v${pkg.version} - ${pkg.license}
This source code is licensed under the ${pkg.license} license.
See the LICENSE file in the root directory of this source tree.
-->
`;
}
export function getJSBanner() {
return `\
/**
* @file
* @license ${pkg.name} v${pkg.version} - ${pkg.license}
*
* This source code is licensed under the ${pkg.license} license.
* See the LICENSE file in the root directory of this source tree.
*/
`;
}