DRAFT: Update build packages.#81
Conversation
|
Lots of changes in here that go beyond bumping some versions. Were those necessary with the new versions or something? |
Many of the packages in use have become dormant (along with vulnerabilities) so had to try and replace with more active equivalents. I decided to create an empty project and then migrate the files across to make sure we had a consistent up-to-date configuration. I am not a npm expert so may be other ways to achieve this - I will try minimising the changes to see if we can just migrate across some of the config without large changes. |
a500f0c to
6778da4
Compare
|
Used new approach to try and reduce changing content of files too much (but had to move files unfortunately).
Rendered locally and could see no change in behaviour. |
|
Have updated Node to use to 20 in validate PR action. Seems deploy action uses Node 20 (seems based on OS provided version) whilst validate PR uses node 18. I think it's save to upgrade validate action to to node 20. Possibly should specify version of Node in deploy action. |
Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
|
I added a commit to my own branch that upgrades hugo and replaced the hugo installer with one that is still maintained https://github.com/OpenCHAMI/openchami.org/tree/update_packages |
Thanks - if I haven't managed to mess it up I have merged your change into my branch. |
Pull Request Template
Thank you for your contribution! Please ensure the following before submitting:
Checklist
make test(or equivalent) locally and all tests passgit commit -s) with my real name and email<filename>.licensesidecarLICENSES/directoryDescription
Please include a summary of the change and which issue is fixed.
Also include relevant motivation and context.
When building the site the packages are listed as out of date. This attempts to update the npm packages.
Still in draft due to needing to check pnpm configuration and deployment.
Fixes a couple of files with syntax errors which error on latest versions.
Currently using a patch to doks-core to properly handle pages without contributors and with email address with more than 2 domains.
Type of Change
For more info, see Contributing Guidelines.