Repository navigation
Update dependencies - #177
Conversation
Configure 7 days cooldown time to minimize supply chain attacks.
mvidner
left a comment
There was a problem hiding this comment.
Thanks, LGTM!
- I have looked at https://agama-preview-pull-177.surge.sh/docs/devel/i18n to ensure that one of the Mermaid diagrams still renders fine
- For the beginners like me:
npx npm-check-updateshttps://www.npmjs.com/package/npm-check-updates forces updating all dependencies inpackage.jsonwhich is OK for a docs package. Compare with a security update of agama itself in SLE 16, where the appropriate tool isnpm audit fix - The dependabot report for this repo is at https://github.com/agama-project/agama-project.github.io/security/dependabot
| @@ -0,0 +1,3 @@ | |||
| # configure 7 days cooldown time to minimize supply chain attacks | |||
| npmMinimalAgeGate: "7d" | |||
There was a problem hiding this comment.
Although, a question. Why yarn?
There was a problem hiding this comment.
Check npm/cli#8965
and maybe this other publication https://socket.dev/blog/npm-introduces-minimumreleaseage-and-bulk-oidc-configuration
There was a problem hiding this comment.
Although, a question. Why yarn?
No idea, it was added by @imobachgs at the very beginning.
dgdavid
left a comment
There was a problem hiding this comment.
Thanks for taking care. LGTM
This is a documentation site which we can update easily and very quickly (compared to the installer) so we can be more aggressive regarding the version updates. And it is also easier to keep up with the Docusaurus releases continuously in smaller steps than do a big update after few years. |
Problem
Solution
npx npm-check-updates -u), hopefully this fixes most of the problemsAdditional changes
.yarnrc.ymland configured 7 days cooldown time to minimize supply chain attacks (https://cooldowns.dev/, https://daniakash.com/posts/simplest-supply-chain-defense/)Testing preview
The testing preview is available at https://agama-preview-pull-177.surge.sh/