Conversation
Ports the make-web image-converter (PNG → img/.jres, img → .jres, .jres → img) into MakeCodeGames as a /utilities section mirroring /compilers. Brings along the pure-TS lib chain (makecode-image, png-to-image-client, base64) and their tests, restyles the converter to the MakeCodeGames design system, and adds a Utilities tab to the site nav.
They're the same PNG-upload tool emitting both img and .jres, so a separate jres-focused landing was redundant. /utilities now lists two tools: PNG to img + .jres and .jres to img.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
/utilitiessection mirroring the existing/compilerspattern (splash page +utility-tools.tsconfig + child routes).makecode-image,png-to-image-client,base64) and their vitest tests.pngjsis added as a devDep only (test usage); runtime stays browser-safe.font-sans, 4px borders + shadow) instead of make-web's black/zinc theme./utilities/png-to-img(PNG → img + .jres, the single PNG-upload tool that emits both outputs) and/utilities/jres-to-img(.jres → img). Theimg-to-jrestab stays reachable via tab switching. PNG → img and PNG → .jres share one route since they're the same tool.Test plan
pnpm test— 245 passed, 3 skipped (includes ported base64, makecode-image, png-to-image-client tests + SiteNav assertions)pnpm lint— 0 errors (5 pre-existingno-img-elementwarnings, none in new files)pnpm build— compiles;/utilities,/utilities/png-to-img,/utilities/jres-to-imgroutes present/utilities*routes return 200; splash lists both tools; png-to-img defaults to the PNG upload tab; jres-to-img defaults to .jres→img; nav shows Utilities link