SCUACM / ACM-Website

5 stars 8 forks source link

Update to npm 18 and enforce ESLint #43

Closed rileywong311 closed 1 year ago

rileywong311 commented 1 year ago

To update to npm 18, I did this

  npm update vue
  npm uninstall vue-template-compiler
  npm install vue-template-compiler
  npm audit fix
  npm audit fix --force (probably made the command before this unnecessary) npm update
  npm i -D eslint@7.32.0

Similarly, see: https://stackoverflow.com/a/54337871 https://stackoverflow.com/a/73027407/22674504 https://github.com/vuejs/vue-cli/issues/6840#issuecomment-1107847310 https://stackoverflow.com/a/65503758

This fixed compiling on my local computer, but it did not compile on Vercel.

I had to update other packages including eslint to get this to work. This means I had to change names of many components and update deprecations under the new linter.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
acm-website ✅ Ready (Inspect) Visit Preview Oct 9, 2023 5:12am
acm-website-test2 ✅ Ready (Inspect) Visit Preview Oct 9, 2023 5:12am