• Scott@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    ·
    5 days ago

    I can’t stand working with any JS/TS projects. I’ve spent days trying to update very simple SPA sites without any success.

    • bleistift2@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      5 days ago

      Angular provides a utility to update its packages. If you naively update every single one manually, you’ll get errors because the library will be incompatible with itself. Maybe other flavors of SPA have update scripts, too?

      ng update @angular/core@<the next major version> @angular/cli@<the next major version> Don’t skip versions!