build: add devcontainer config for Codespaces and local workflows#19
Merged
Conversation
Agent-Logs-Url: https://github.com/sbolel/paste-to-markdown/sessions/2211628a-cb4b-4d72-ae9e-035d8e7648c2 Co-authored-by: sbolel <1915925+sbolel@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sbolel/paste-to-markdown/sessions/2211628a-cb4b-4d72-ae9e-035d8e7648c2 Co-authored-by: sbolel <1915925+sbolel@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sbolel/paste-to-markdown/sessions/2211628a-cb4b-4d72-ae9e-035d8e7648c2 Co-authored-by: sbolel <1915925+sbolel@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
sbolel
May 14, 2026 12:31
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a repository-specific devcontainer configuration for Codespaces and VS Code Dev Containers to standardize the Node-based development environment, ports, install/start hooks, and editor setup.
Changes:
- Tracks
.devcontainer/devcontainer.jsonwhile continuing to ignore other devcontainer files. - Adds a Node 24 Bookworm devcontainer with npm setup, forwarded Vite-related ports, and VS Code/Codespaces customizations.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.gitignore |
Allows the primary devcontainer configuration file to be committed. |
.devcontainer/devcontainer.json |
Defines the container image, lifecycle commands, forwarded ports, permissions, and editor defaults. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sinan Bolel <1915925+sbolel@users.noreply.github.com>
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provide a repo-specific devcontainer that matches the requested Paste to Markdown development environment. This standardizes the container image, runtime defaults, forwarded ports, and editor setup for Codespaces and VS Code Dev Containers.
Container baseline
nodeuser with development-oriented env defaultsDeveloper workflow
Codespaces / VS Code customization
{ "postCreateCommand": "npm ci", "postStartCommand": "npm run optimize --if-present", "forwardPorts": [5000, 5173, 4173] }