Repository navigation
Build against the MistWarp engines everywhere - #1
Merged
Merged
Conversation
Deploying packagermistwarp with
|
| Latest commit: |
81a33c2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://37de35ae.packagermistwarp.pages.dev |
| Branch Preview URL: | https://mistwarp-forks.packagermistwarp.pages.dev |
deploy.yml checked out MistWarp/scratch-render and linked it over whatever was installed, but package.json asked for TurboWarp/scratch-render. Anything not running that link step -- build.yml, the standalone artifact, a local npm install -- compiled the packager against a different renderer than the site ships. scratch-audio was TurboWarp's in both places, so the memory fix in MistWarp/scratch-audio never reached the packager at all. - scratch-audio and scratch-render now point at the MistWarp forks. - npm run link and the deploy workflow both link all three engines, so the linked set matches the declared set. - The lockfile is refreshed. It pinned scratch-vm at 86012dac; the engines now resolve to their current develop heads: scratch-vm f514cbcb, scratch-render ce8e30c, scratch-audio 2f2ad72. Advancing scratch-vm pulls in rotur-sdk, which ships class fields in both its ESM and CommonJS builds that webpack 4's parser cannot read, so the build failed on dist/index.mjs. It now goes through babel-loader with type: 'javascript/auto', matching how MistWarp/scratch-vm#10 resolved the same break in the VM's own config. Verified locally on Node 24, all three steps the Build workflow runs: npm run build, npm test (16 suites, 48 passed) and npm run build-standalone-prod. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Mistium
force-pushed
the
mistwarp-forks
branch
from
September 21, 2026 01:19
ad0bcc1 to
81a33c2
Compare
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.
deploy.ymlchecks outMistWarp/scratch-renderand links it over whatever wasinstalled, but
package.jsonasked forTurboWarp/scratch-render. Anything thatdoes not run that link step —
build.yml, the standalone artifact, a localnpm install— compiled the packager against a different renderer than the onethe site ships.
scratch-audiowas TurboWarp's in both places, so the memory fixin
MistWarp/scratch-audionever reached the packager at all.scratch-audioandscratch-rendernow point at the MistWarp forks.npm run linkand the deploy workflow both link all three engines, so thelinked set matches the declared set.
scratch-vmat86012dac; the enginesnow resolve to their current
developheads —scratch-vm@f514cbcb,scratch-render@ce8e30candscratch-audio@2f2ad72.One extra fix this required
Advancing the
scratch-vmpin pulls inrotur-sdk, which ships class fields inboth its ESM and CommonJS builds. webpack 4's parser cannot read them, so the
build failed on
dist/index.mjs:rotur-sdknow goes through babel-loader withtype: 'javascript/auto', whichkeeps
.mjsout of webpack's stricter ESM mode where the CommonJS interop therest of the bundle relies on is unavailable. This mirrors how
MistWarp/scratch-vm#10 resolved the identical break in the VM's own config. The
rule matches by pattern rather than resolved path, so a hoisted or symlinked
install still gets transpiled.
Testing
Rebased onto
masterafter #4, which fixed the pre-existing??parse break that had kept this PR'sbuildcheck red. All three steps theBuildworkflow runs, locally on Node 24:npm ci— succeedsnpm run build— succeedsnpm test— 16 suites, 48 passed, 1 skippednpm run build-standalone-prod— succeeds, emitsdist/standalone.html