feat: bim-beta template (beta engine libs) + drop ui-obc (v0.0.3)#17
Merged
Conversation
- New `bim-beta` template: @thatopen-platform/components-beta / components-front-beta / fragments-beta + public @thatopen/ui, no ui-obc (matches the platform's library line) - Remove @thatopen/ui-obc from the `bim` template (deprecated) - Register `bim-beta` in `thatopen create` - AGENTS.md / docs/scaffolding.md / shared AGENTS: ask about beta access, use `-t bim-beta`; note the scaffold is already a working viewer - Fix `build:cli` (drop the missing copy-templates.mjs step) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
What
bim-betatemplate — scaffolds against the platform's beta library line:@thatopen-platform/components-beta,components-front-beta,fragments-beta+ public@thatopen/ui, noui-obc.@thatopen/ui-obcfrom thebimtemplate (deprecated).bim-betainthatopen create.-t bim-beta; note the scaffold is already a working viewer.build:cli— dropped the missingscripts/copy-templates.mjsstep.Why
The live platform runs the 3.5.x beta engine line; the public
bimtemplate (3.4) errors at runtime against it (object is not iterable). The beta packages cross-import by their real names, so npm aliases don't work —bim-betauses the real beta package names.@thatopen/servicesuses the engine libs type-only, so no version change is needed there.Validated
Scaffold
bim-beta→npm installclean (no ERESOLVE) → esbuild bundles clean (no resolve errors).Note
Apps built with
bim-betarun green on the platform once the built-in components are redeployed CUI-free (separate work inplatform_builtin-components/platform_backend-api).🤖 Generated with Claude Code