Skip to content

guides: refresh nodejs#25319

Merged
craig-osterhout merged 1 commit into
docker:mainfrom
craig-osterhout:node-refresh-dhierize
Jun 11, 2026
Merged

guides: refresh nodejs#25319
craig-osterhout merged 1 commit into
docker:mainfrom
craig-osterhout:node-refresh-dhierize

Conversation

@craig-osterhout

@craig-osterhout craig-osterhout commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Refreshed Node.js guide

  • Updated all examples to DHI. DHI Community is now free so the DOI fallback is no longer needed.
  • Replaced the git clone pattern with the file scaffolding component.
  • Simplified the sample app to a Node.js backend API. Added links at the start of the guide to dedicated frontend framework guides.
  • Added "Secure your Node.js image supply chain" topic to showcase DHI.
  • Refreshed topic intros and related links.

https://deploy-preview-25319--docsdocker.netlify.app/guides/nodejs/

Related issues or tickets

ENGDOCS-3319
Closes #25280

Reviews

  • Technical review
  • Editorial review
  • Product review

@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Jun 9, 2026
@craig-osterhout craig-osterhout requested a review from a team June 9, 2026 20:16

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟡 NEEDS ATTENTION

This PR is a substantial improvement — it replaces a bloated, marketing-heavy full-stack Node.js guide with a clean, focused Express API tutorial using Docker Hardened Images, Compose secrets, Vitest, and supply chain attestations. Writing quality is strong: hedge words, marketing language, and the 'we' perspective are largely absent. Two medium-severity issues need attention before merge.

Comment thread content/guides/nodejs/secure-supply-chain.md
Comment thread content/guides/nodejs/develop.md Outdated
@craig-osterhout craig-osterhout force-pushed the node-refresh-dhierize branch from e46bd4b to 000c28d Compare June 9, 2026 20:31
@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 8455a06
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a28744b3b582500076c1066
😎 Deploy Preview https://deploy-preview-25319--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit e46bd4b
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a287508a93d2b0008b11910
😎 Deploy Preview https://deploy-preview-25319--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 36b9f5b
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a29a81488fe780008f47bcd
😎 Deploy Preview https://deploy-preview-25319--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@craig-osterhout craig-osterhout force-pushed the node-refresh-dhierize branch 3 times, most recently from a87c54f to fdc28f7 Compare June 10, 2026 16:07
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@craig-osterhout craig-osterhout force-pushed the node-refresh-dhierize branch from 65d4298 to 36b9f5b Compare June 10, 2026 18:08

@dvdksn dvdksn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a general thought though. Some of the chapters in these guides are not centered around node.js development; GHA, deploy, supply chain security. And we have other guides explaining those concepts specifically.

We might want to put these on a diet at some point, and make them focused on one idea rather than try to cover SDLC end-to-end when the steps we describe are really lang/framework agnostic. Shorter is better, and easier to read in one sitting (and also easier to maintain and review).

@craig-osterhout craig-osterhout merged commit 8f22579 into docker:main Jun 11, 2026
14 checks passed
dvdksn added a commit to dvdksn/docs that referenced this pull request Jun 12, 2026
- Convert every directory-based guide from a branch bundle (_index.md =
  section) to a leaf bundle (index.md = single page). URLs and any
  co-located images are preserved; the guides are now kind=page, not
  sections.
- Re-collapse the Node.js guide on top of main's refresh (docker#25319): merge
  the refreshed containerize/develop/run-tests/configure-github-actions/
  secure-supply-chain/deploy topics into one page, drop the languages
  field, move tags under params ([languages]), and add aliases for the
  old /guides/nodejs/<topic>/ URLs.
- Landing: enumerate guides with RegularPagesRecursive instead of .Pages
  so every guide is listed (now that they're regular pages), including the
  nested frameworks/laravel guide that the non-recursive .Pages missed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/guides status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why did the installation method for node dependencies change?

3 participants