diff --git a/README.md b/README.md index f627d65e1..ba4a99b22 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,8 @@ Thank you to all the people who contributed to Lucide! +[//]: <> (Sponsors) + ## Sponsors @@ -88,7 +90,10 @@ Thank you to all the people who contributed to Lucide! DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/docs/public/sponsors/zephyr-cloud.svg b/docs/public/sponsors/zephyr-cloud.svg new file mode 100644 index 000000000..1ebc11f16 --- /dev/null +++ b/docs/public/sponsors/zephyr-cloud.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/package.json b/package.json index 5a6f46285..15bdd76de 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "addjsons": "node ./scripts/addMissingIconJsonFiles.mts", "checkIcons": "node ./scripts/checkIconsAndCategories.mts", "generate:changelog": "node ./scripts/generateChangelog.mts", - "generate:backers": "node scripts/updateOpenCollectiveBackers.mts", + "generate:sponsors": "node scripts/updateSponsors.mts", "generate:contributors": "node ./scripts/updateContributors.mts icons/*.svg", "generate:nextJSAliases": "node ./scripts/generateNextJSAliases.mts", "suggest:tags": "node ./scripts/suggestTags.mts", diff --git a/packages/angular/README.md b/packages/angular/README.md index 46919d11d..8b52c2375 100644 --- a/packages/angular/README.md +++ b/packages/angular/README.md @@ -63,6 +63,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -71,7 +73,19 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 -Scipress sponsor badge -pdfme sponsor badge +pdfme – Open-source PDF generation library built with TypeScript and React. +Pax Historia – An alternate history sandbox game + +### Backers ☕ + +Fina Money – Modular Finance Tracker + +### Other contributors 💸 + +You can find all our past and non-recurring financial contributors at [our Open Collective page](https://opencollective.com/lucide-icons). diff --git a/packages/astro/README.md b/packages/astro/README.md index 4901398d9..53bd63976 100644 --- a/packages/astro/README.md +++ b/packages/astro/README.md @@ -60,6 +60,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -68,7 +70,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/icons/README.md b/packages/icons/README.md index 971e2cb34..226f7b051 100644 --- a/packages/icons/README.md +++ b/packages/icons/README.md @@ -68,6 +68,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -76,7 +78,19 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 -Scipress sponsor badge -pdfme sponsor badge +pdfme – Open-source PDF generation library built with TypeScript and React. +Pax Historia – An alternate history sandbox game + +### Backers ☕ + +Fina Money – Modular Finance Tracker + +### Other contributors 💸 + +You can find all our past and non-recurring financial contributors at [our Open Collective page](https://opencollective.com/lucide-icons). diff --git a/packages/lucide-angular/README.md b/packages/lucide-angular/README.md index bf80bf5c4..7f3a25fb9 100644 --- a/packages/lucide-angular/README.md +++ b/packages/lucide-angular/README.md @@ -59,6 +59,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -67,7 +69,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-preact/README.md b/packages/lucide-preact/README.md index 65c4133e5..d426b2429 100644 --- a/packages/lucide-preact/README.md +++ b/packages/lucide-preact/README.md @@ -59,6 +59,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -67,7 +69,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-react-native/README.md b/packages/lucide-react-native/README.md index 8ebfaef0d..5bb74509b 100644 --- a/packages/lucide-react-native/README.md +++ b/packages/lucide-react-native/README.md @@ -59,6 +59,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -67,7 +69,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-react/README.md b/packages/lucide-react/README.md index 309f6107e..7e92ba6cf 100644 --- a/packages/lucide-react/README.md +++ b/packages/lucide-react/README.md @@ -59,6 +59,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -67,7 +69,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-solid/README.md b/packages/lucide-solid/README.md index 9ff873a6f..308e7d640 100644 --- a/packages/lucide-solid/README.md +++ b/packages/lucide-solid/README.md @@ -59,6 +59,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -67,7 +69,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-static/README.md b/packages/lucide-static/README.md index fef0d3f37..18dfc41c3 100644 --- a/packages/lucide-static/README.md +++ b/packages/lucide-static/README.md @@ -73,6 +73,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -81,7 +83,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-svelte/README.md b/packages/lucide-svelte/README.md index ba0bd56ac..b5b5e0f2f 100644 --- a/packages/lucide-svelte/README.md +++ b/packages/lucide-svelte/README.md @@ -60,6 +60,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -68,7 +70,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide-vue-next/README.md b/packages/lucide-vue-next/README.md index 18d9f47c4..a34b41366 100644 --- a/packages/lucide-vue-next/README.md +++ b/packages/lucide-vue-next/README.md @@ -59,6 +59,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -67,7 +69,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/lucide/README.md b/packages/lucide/README.md index 2326cb815..f95aafeb2 100644 --- a/packages/lucide/README.md +++ b/packages/lucide/README.md @@ -69,6 +69,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -77,7 +79,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/svelte/README.md b/packages/svelte/README.md index cd3f50b4f..adf91243c 100644 --- a/packages/svelte/README.md +++ b/packages/svelte/README.md @@ -60,6 +60,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -68,7 +70,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/packages/vue/README.md b/packages/vue/README.md index 3a700fef5..e382abb73 100644 --- a/packages/vue/README.md +++ b/packages/vue/README.md @@ -52,6 +52,8 @@ Join the [Discord server](https://discord.gg/EH6nSts) to chat with the maintaine Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/license). +[//]: <> (Sponsors) + ## Sponsors @@ -60,7 +62,10 @@ Lucide is licensed under the ISC license. See [LICENSE](https://lucide.dev/licen DigitalOcean Referral Badge -[//]: <> (Open Collective backers) +### Hero backers 🦸 + +Zephyr Cloud – From idea to prod: fast micro-frontend delivery! + ### Awesome backers 🍺 pdfme – Open-source PDF generation library built with TypeScript and React. diff --git a/scripts/updateOpenCollectiveBackers.mts b/scripts/updateSponsors.mts similarity index 51% rename from scripts/updateOpenCollectiveBackers.mts rename to scripts/updateSponsors.mts index f01b0fffd..816fa109c 100644 --- a/scripts/updateOpenCollectiveBackers.mts +++ b/scripts/updateSponsors.mts @@ -2,13 +2,13 @@ import { readdirSync } from 'node:fs'; import { join } from 'node:path'; import { existsSync, readFileSync, writeFileSync } from 'fs'; -function updateOpenCollectiveBackers() { +function updateSponsors() { const packagesPath = join(import.meta.dirname, '../packages'); const mainReadme = readFileSync(join(import.meta.dirname, '../README.md'), 'utf8'); - const awesomeRegex = /(\[\/\/]: <> \(Open Collective backers\).+)$/s; - const awesomeBlock = awesomeRegex.exec(mainReadme); - if (awesomeBlock?.[1]) { - const packageAwesomeBlock = awesomeBlock[1].replaceAll('src="docs/public/sponsors', 'src="https://lucide.dev/sponsors') + const sponsorsRegex = /(\[\/\/]: <> \(Sponsors\).+)$/s; + const sponsorsBlock = sponsorsRegex.exec(mainReadme); + if (sponsorsBlock?.[1]) { + const packageSponsorsBlock = sponsorsBlock[1].replaceAll('src="docs/public', 'src="https://lucide.dev') readdirSync(packagesPath).forEach((packagePath) => { if (['lucide-figma', 'shared'].includes(packagePath) || packagePath.startsWith('.')) { return; @@ -16,19 +16,19 @@ function updateOpenCollectiveBackers() { const readmePath = join(packagesPath, packagePath, 'README.md'); if (existsSync(readmePath)) { const readmeContent = readFileSync(readmePath, 'utf8'); - if (awesomeRegex.test(readmeContent)) { - writeFileSync(readmePath, readmeContent.replace(awesomeRegex, packageAwesomeBlock)); - console.log(`Upgraded Awesome backers block in ${readmePath}`); + if (sponsorsRegex.test(readmeContent)) { + writeFileSync(readmePath, readmeContent.replace(sponsorsRegex, packageSponsorsBlock)); + console.log(`Upgraded Sponsors block in ${readmePath}`); } else { - console.error(`Could not find Awesome backers block in ${readmePath}`) + console.error(`Could not find Sponsors block in ${readmePath}`) } } else { console.warn(`No readme found at ${readmePath}`); } }) } else { - console.error('Could not identify Awesome backers block') + console.error('Could not identify Sponsors block') } } -updateOpenCollectiveBackers(); +updateSponsors();