This PR adds LibreJS compliance to Codeberg Design.
- For design-kit, I updated build.js
- For components, I update the package.json to add the identifiers after building.
This PR adds LibreJS compliance to Codeberg Design.
@ -54,2 +55,4 @@
let codebergJS = halfmoonLicenseStart + fs.readFileSync(path.join(__dirname, "node_modules/halfmoon/js/halfmoon.min.js")).toString() + LicenseEnd + "\n\n";
for (const f of fs.readdirSync(path.join(__dirname, "script")).sort()) {
codebergCSS += "/* Codeberg Design: " + f + " */\n" + fs.readFileSync(path.join(__dirname, "script", f)) + "\n";
Can we use the sed command from above as JavaScript here arounjd the for loop instead? Also, this needs to be codebergJS here, that was a mistake by myself, if you're at it this can be fixed as well.
Can we use the sed command from above as JavaScript here arounjd the for loop instead?
I used the sed command in the for codeberg-components.js. I didn't see any build script in it's directory where I could add the identifier, but maybe you could point me to where I should.
Also, this needs to be codebergJS here, that was a mistake by myself, if you're at it this can be fixed as well.
Fixed!
Thank you! I'd prefer to not have bash commands for stuff that can be easily done in JS here, but looks good other than that.
@momar I also added the CC0 identifier to design-kit in 38e040777a, so I hope that's all good on review.
Alright, I hate package-lock.json files - I've regenerated them completely as I can't possibly review them, so this is approved now.
No due date set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?