content-localization-on-aws icon indicating copy to clipboard operation
content-localization-on-aws copied to clipboard

Bug/352 #352 Vue Frontend won't build for prod and local

Open giusedroid opened this issue 1 year ago • 0 comments

Issue #, if available: #352

Description of changes: addressing local and deployment build issues for website.

  • python2 is depricated on most OS, so it should not be used in the build script. This prevented the build for deployment on my machines (macOS and Linux)
  • fixed dependencies versions. Amplify is now at patch 42 (at the time of writing) and it had introduced breaking changes to the authenticator component. Before this, you allowed patch automatic upgrade which broke the build
  • added a bit of documentation on how to make changes to the front-end app

questions:

  • why is package-lock.json gitignored? It would have prevented dep drift (I think). Can I gitinclude it?
  • somebody will have to look at security issues :( a lot of dependencies include critical vulnerabilities, but at least it buids and deploys now. I will open a new issue once this is merged in. Consider using something like dependabot to receive punctual security alerts.
added 2358 packages, and audited 2359 packages in 36s

134 packages are looking for funding
  run `npm fund` for details

59 vulnerabilities (1 low, 14 moderate, 20 high, 24 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

I love this project!

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

giusedroid avatar Nov 04 '22 23:11 giusedroid