Repository navigation
refactor: deep housekeeping for /internal boundaries, lifecycle teardown, core barrel, and monoliths - #96
Merged
Conversation
…he leaks on teardown
…rune dead atlas helpers
…arseGltf, and seamRepair monoliths
…tep deps, and tighten Poly/rAF teardown
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
Deep pre-0.3.0 housekeeping across
packages/core,packages/polycss,packages/react,packages/vue,website, and CI guards:@layoutit/polycss/internal(30eb3e78,4bdbfb5e):@layoutit/polycss/runtimesubpath into@layoutit/polycss/internal, leaving public APIs (pointInMeshElement,GizmoMode) on/runtimeand root index./internalboundaries incheck-boundaries.mjs(blocked outsidereactandvue), pinnedpackages/{react,vue}to lockstep"@layoutit/polycss": "workspace:*", and added a fail-closedcheck-packs.mjsguard against.d.tsleaks and non-exact lockstep dependencies.12461a7d,4bdbfb5e):pause()/resume()inside listeners), blob URLs, and weak/element caches on teardown across controls, gizmos,<Poly>, and custom elements.<Poly>pagesReadyupdates to atlas leaves and actual style mutations (eliminating Reactact(...)warnings).@layoutit/polycss-corepublic barrel (3fa10da7):082c3bbb):optimizePolygons,computeReceiverShadows,parseGltf, andseamRepairinto 21 acyclic internal submodules with 0 byte diffs verified againstmainacross 8 GLB fixtures, shadows, and seam repair.86572322,4bdbfb5e):/internalimports fromwebsite/, and fixedstableDomForMesheffect dependencies inuseVanillaSceneHelpers.Release Note
Because this PR slims public exports in
@layoutit/polycss-coreand@layoutit/polycss/runtime, the next npm release after merging must usebump=minor(0.3.0), notpatch.Verification
pnpm verify(all guards, 8 package test suites,build:packages,typecheck,check:ir,check:packs,bench:build,examples/*)pnpm test:coverage(all 8 packages)pnpm bench:gate:lifecycle(13/13 SSR + Chromium StrictMode/Vue lifecycle checks)pnpm bench:gate:ci(Firefox 27/27 at 0 px, Chromium parity + strict) andpnpm bench:gate:perfwebsiteAstro build (23 pages) +test:domformat-tools(2/2)