Skip to content

Instantly share code, notes, and snippets.

View Miragium-code's full-sized avatar

Miragium-code

View GitHub Profile

my claim to guest271314

The task

  • create a website / web API depending directly on no more than 10 packages, but depending indirectly on more than 50 packages.
  • run the project, host it online or make sure it work at least locally. This will be version A.
  • Latter, change something in the code, and deploy the project again and keep all of the dependencies at the same versions as before. Deploy this new version. This will be version B.
  • Latter again, upgrade one indirect dependencies without changing the versions of your direct dependencies. Deploy this new version. This will be version C.
  • Then upgrade one or several direct dependency. Deploy this new version. This will be version D.
  • Finally, roll back all those changes and go back to version A, and deploy this version with exactly the packages it used at the time.