DEV Community

David
David

Posted on

Old Time Tunes Dev Log 1: Updating the Repo

This is a long-running series of logs that I'm sharing with my spouse to incrementally share everything I do to contribute to our project Old Time Tunes. My goal is to make tiny records of what it takes to build a web platform.

Since we created our prototype back in December last year, it's been a long time since the repo's been touched. Before I start development, I "update the repo" to make sure I don't have to deal with old bugs from dependencies or out-of-date docs online.

We're using the repo management tool Nx (nx.dev docs) which manages standard dependencies for us like the web framework (next.js) and tools like Jest.

I ran npx nx migrate latest --from=nx@17.1.3 which updated many package.json dependencies since the last version I used, 17.1.3. Nx also made a temporary migrations.json file which it uses to define a list of tasks it will do to fix files in the repo to use updated features and library methods. I ran nx migrate --run-migrations to run those migrations.

Looks like the updates were nothing special. I made sure to commit the files that changed, but discarded the migrations.json file.

I committed this as chore: upgrade nx 19.8.

Top comments (0)