Repository navigation
Publish the samples' architecture maps; fix the published voxel editor - #290
Merged
Merged
Conversation
Co-Authored-By: OpenCode <noreply@opencode.ai> Each standard sample builds its map with Architecture.plugin() (the benchmark, built for node, with ecs-architecture map --web) and publishes it at ecs/samples/<package>/architecture/; the viewer publishes its own map. The sample browser names its samples as devDependencies so it builds after them. Spectrum is ^1.12.6 throughout, so the sample browser bundles one copy. @adobe/ecs-architecture 0.7.1, @adobe/ecs-architecture-viewer 0.1.1.
Co-Authored-By: OpenCode <noreply@opencode.ai> #<package>/architecture shows the sample's map, its query following the map's view, so a shared address reopens it; the dev server serves each sample's built map at the same path.
Co-Authored-By: OpenCode <noreply@opencode.ai> A guide chapter on maps linking each sample's, the maps in the README's Online list beside the Voxel Editor, and a note on private repositories.
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.
Publishes every standard sample's architecture map on the site, reachable from the sample browser, the guide and the README; and fixes the published voxel editor.
Maps on the site
Architecture.plugin()(the benchmark, built for node, runsecs-architecture map --webafter its build), writingdist/architecture/with source links to GitHub at the built commit, and publishes it throughpagesatecs/samples/<package>/architecture/: todo, voxel editor, particles, GPU views, transferred sprites, benchmark, and the viewer's map of itself.#<package>/architectureopens the map, and the map's view follows in the address (#ecs-todo-vanillajs/architecture?focus=features/todos), so links reopen the same view. "Open alone" opens the map page while it's showing./architecture/, ordist/architecture/index.htmlfrom disk).Fixes
sp-icon-corner-triangle300was defined twice and the page failed. The ECS apps now share^1.12.6; both lockfiles updated.pnpm -r run buildbuilds them first; from a clean checkout it could race@adobe/ecs-gpu's build.Versions
@adobe/ecs-architecture0.7.1,@adobe/ecs-architecture-viewer0.1.1.Tests
A local simulation of both deploys from a clean checkout (frozen installs,
pnpm -r run build,pnpm -r run docs,collect-pages, served at/and at/data/), checked in a browser: the sample browser, todo's Architecture switch and GitHub links, the deep link, all seven maps without page errors, the voxel editor without console errors, the guide chapter's links, and the README's. Inecs/:check:workspace, typecheck, lint and tests (withCI=true) are green.