Repository navigation
Improve template onboarding for student game projects - #5
Merged
Merged
Conversation
Remove bundle-size reporting and checks so game assets are not blocked by template budgets. Add a ready-to-paste Copilot game prompt and clarify Windows setup and template links. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues with the onboarding improvements and build-process simplification.
No open issues 🎉
What changed in this PR
This PR improves onboarding for students using the TypeScript/Vite template to build browser games and removes template-specific bundle-size limits.
Changes:
- Adds a ready-to-paste game-building prompt and clarifies Windows setup, local preview, and Chrome requirements.
- Removes bundle-size reporting and enforcement from builds and verification.
- Updates verification tests and documentation to match the simplified build process.
| File | Description |
|---|---|
vite.config.ts |
Removes the bundle-report plugin while preserving relative asset paths. |
tests/verify.test.mjs |
Updates task expectations and the screenshot build dependency. |
tests/bundle.test.mjs |
Deletes tests for the removed bundle-budget checker. |
scripts/verify.mjs |
Removes the budget task and renames the bundle task to build. |
scripts/check-bundle.mjs |
Deletes bundle-size measurement and enforcement. |
README.md |
Adds game onboarding, clarifies setup, and fixes the template link. |
package.json |
Removes budget enforcement from the build command and deletes the budget script. |
docs/code.md |
Removes the obsolete bundle-limit requirement. |
Review effort: Balanced
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.
Closes N/A
What changed
Why
Help a first-time student go from creating a template repository to asking Copilot for a playable game, without needing prior coding or Git experience. Removing the size gate also avoids an unexpected build failure as the game grows.
Checklist
npm run verifypassesScreenshots
N/A - no application UI changes; this updates onboarding and build checks.