feat(docs): upgraded backers block#4014
Conversation
…tive backers in all readmes feat(docs): upgraded backers as per the recurring contributions in the last 3 months
ericfennis
left a comment
There was a problem hiding this comment.
Super nice, you made that script for updating these README files.
Great work @karsa-mistmere !
| function updateOpenCollectiveBackers() { | ||
| const packagesPath = join(import.meta.dirname, '../packages'); | ||
| const mainReadme = readFileSync(join(import.meta.dirname, '../README.md'), 'utf8'); | ||
| const awesomeRegex = /(\[\/\/]: <> \(Open Collective backers\).+)$/s; |
There was a problem hiding this comment.
awesomeRegex 🔥
What a great variable name 😂
There was a problem hiding this comment.
Haha, I totally forgot to refactor this variable after realising that the block no longer only contains Awesome backers even right now and would need a different marker to be future-proof in case someone becomes a Star Backer ⭐️ , Hero Backer 🦸, Global Guardian 🌍 or heaven forbid part of the Champion’s Circle 🏆 in the future. :)
(that's why the [//]: <> (Open Collective backers) comment marker had to be introduced)
|
|
||
| <a href="https://www.digitalocean.com/?refcode=b0877a2caebd&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"><img src="https://lucide.dev/digitalocean.svg" width="200" alt="DigitalOcean Referral Badge" /></a> | ||
|
|
||
| [//]: <> (Open Collective backers) |
There was a problem hiding this comment.
Never saw this markdown syntax before. Just curious what it does? Sort of comment?
Description
Before Submitting