Skip to content

Restore package-lock.json accidentally removed in #189#190

Merged
aravind1801-p merged 1 commit intomainfrom
fix/restore-package-lock-json
Apr 14, 2026
Merged

Restore package-lock.json accidentally removed in #189#190
aravind1801-p merged 1 commit intomainfrom
fix/restore-package-lock-json

Conversation

@aravind1801-p
Copy link
Copy Markdown
Contributor

@aravind1801-p aravind1801-p commented Apr 14, 2026

Summary

The package-lock.json file was accidentally deleted in PR #189 (commit 3e5cc26), causing all CI workflows that depend on npm ci to fail.
This PR restores the file from the commit immediately prior (b4838e8) to unblock the CI pipeline.

What happened

  • PR Add Blog Post - Centralizing Outbound Traffic with AWS Private NAT Gateway #189 ("Add Blog Post - Centralizing Outbound Traffic with AWS Private NAT Gateway") inadvertently included the deletion of package-lock.json (16,806 lines removed)
  • The npm ci command used in both static.yml (Deploy to GitHub Pages) and merge.yml (Publish article) workflows requires package-lock.json to be present
  • As a result, all pushes to main after the merge have been failing in CI

Fix

Restored package-lock.json from commit b4838e8 (the last commit on main before the deletion).
No other files are modified — this is a single-file restore.

Local verification

Step Command Result
Install dependencies npm ci Passed
Build utils npm run build:utils Passed
Update posts npm run posts:update Passed
Production build npm run build -- --configuration=production --base-href=/ Passed (105 static routes prerendered)
Dev server npm start Passed (http://localhost:4200)

Affected workflows

  • static.yml — Deploy static content to GitHub Pages (runs npm ci on push to main)
  • merge.yml — Publish article (runs npm ci on push to main)

Checklist:

  • I am added to the list of authors correctly.
  • All images used in the post is in the correct folder (assets/images/post/).
  • My article has been reviewed internally before opening this Pull Request.
  • I have not modified someone else's previously published articles.
  • I double checked my changes locally at http://127.0.0.1:4000/ after running bundle install && bundle exec jekyll serve.
  • My changes generate no new errors

The package-lock.json was inadvertently deleted in commit 3e5cc26
(PR #189), causing CI workflows (static.yml, merge.yml) to fail
since they depend on `npm ci` which requires this file.

This restores the file from the commit immediately prior (b4838e8).

Made-with: Cursor
@aravind1801-p aravind1801-p requested a review from a team as a code owner April 14, 2026 11:48
@aravind1801-p aravind1801-p merged commit 5cf8099 into main Apr 14, 2026
3 of 4 checks passed
@aravind1801-p aravind1801-p deleted the fix/restore-package-lock-json branch April 14, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants