Skip to content

Refactor devcontainer setup and improve README and testing#15

Open
Tdblackston0 wants to merge 15 commits into
cherryjain-msft:masterfrom
ms-mfg-community:master
Open

Refactor devcontainer setup and improve README and testing#15
Tdblackston0 wants to merge 15 commits into
cherryjain-msft:masterfrom
ms-mfg-community:master

Conversation

@Tdblackston0
Copy link
Copy Markdown

This pull request significantly improves the developer onboarding experience and streamlines the development environment setup for the project. The main changes include a complete overhaul of the .devcontainer configuration, a major rewrite of the README.md to clarify setup paths and troubleshooting, and the addition of a post-create script to automate dependency installation and build steps. There are also minor package lockfile adjustments.

Development Environment Overhaul

  • Switched .devcontainer/devcontainer.json to use a prebuilt image (mcr.microsoft.com/devcontainers/typescript-node:24-bookworm), simplified features, and added explicit environment variables and resource requirements. This reduces setup time and complexity, especially for Codespaces and Dev Containers. [1] [2]
  • Added a post-create.sh script to automate dependency installation and build steps after container creation, with clear next-step instructions for authentication and running the app.
  • Improved VS Code settings for a smoother experience (e.g., disabling Makefile auto-configure, suppressing Git warnings). (.vscode/settings.json)

Documentation Improvements

  • README.md completely rewritten for clarity: Now includes clear, step-by-step setup paths for Codespaces, Docker Desktop, Podman, and manual installation, with quick start, troubleshooting, and verification sections. This makes onboarding much easier for new developers and workshop attendees. [1] [2]
  • Expanded troubleshooting table in the README to cover more developer scenarios, especially for Podman and port issues.

Dependency and Lockfile Maintenance

These changes will make it much easier for new contributors and workshop participants to get up and running quickly, with fewer manual steps and less troubleshooting required.

tblack-MSFT and others added 4 commits April 8, 2026 19:47
…guration

- Simplified devcontainer.json by removing unnecessary Docker Compose settings and added remote environment variables.
- Updated README to clarify prerequisites and setup instructions for various environments.
- Improved CartContext tests by adding missing imports and adjusted vite.config to use vitest/config.
- Created post-create.sh script for automated dependency installation and project setup.
- Cleaned up package-lock.json files by removing unnecessary peer dependencies.
Refactor devcontainer setup, update README, and enhance testing confi…
Update README: add manual path prerequisites and installation instruc…
@Tdblackston0
Copy link
Copy Markdown
Author

@cherryjain-msft - Take a look at my updates when you have a chance please.

Copilot AI and others added 11 commits April 14, 2026 17:42
This reverts commit d09e81b.

Co-authored-by: Tdblackston0 <6003490+Tdblackston0@users.noreply.github.com>
…line-endings

Copilot/fix devcontainer and line endings
- Bump GitHub Actions to latest versions (checkout v5→v6, setup-node v5→v6, github-script v7→v8)
- Fix branch references from 'main' to 'master' in Labs 01 and 06
- Remove redundant npm run db:seed:dev from Lab 01 Step 8
- Add PowerShell alternative for curl commands in Lab 01 Step 9
- Add cd api instruction to Lab 01 Step 10 for running tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix: workshop lab accuracy improvements
Added troubleshooting tips for Podman and CA certification requirements.
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.

3 participants