Skip to content

chore: update the devcontainer setup#916

Merged
JoviDeCroock merged 1 commit intopreactjs:mainfrom
jviide:dev-update
Apr 9, 2026
Merged

chore: update the devcontainer setup#916
JoviDeCroock merged 1 commit intopreactjs:mainfrom
jviide:dev-update

Conversation

@jviide
Copy link
Copy Markdown
Contributor

@jviide jviide commented Apr 9, 2026

This pull request updates the current devcontainer setup in the following ways:

  • Update the base image Node.js version to v24 from v18.

  • Switch the base image from the Alpine based node:18-alpine to the Debian-based node:24.

  • Switches from manual pnpm install to corepack to use the version in package.json's packageManager field.

  • Replaces ESLint + Prettier VS Code extensions with oxc-vscode for linting and formatting.

  • Adds persistent volume mounts so the user profile and npm globals survive container rebuilds. Admittedly, it would've been cleaner to mount only specific subdirectories of /home/node, but people use different coding agents etc. that tend to use their own directories. Maybe an enhancement for the future?

  • Configures a user-local ~/.npm-global prefix so global npm installs don't require sudo.

  • Adds ~/.local/bin and ~/.npm-global/bin to PATH, making it easier to use tools.

  • Sets updates postCreateCommand to use pnpm install --frozen-lockfile.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 9, 2026

⚠️ No Changeset found

Latest commit: 67e7521

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 9, 2026

Deploy Preview for preact-signals-demo ready!

Name Link
🔨 Latest commit 67e7521
🔍 Latest deploy log https://app.netlify.com/projects/preact-signals-demo/deploys/69d7bac240a19f00088b250c
😎 Deploy Preview https://deploy-preview-916--preact-signals-demo.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.

@JoviDeCroock JoviDeCroock merged commit a865fbc into preactjs:main Apr 9, 2026
6 checks passed
@jviide jviide deleted the dev-update branch April 9, 2026 19:12
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