Skip to content

Add a store starter without a UI library and run the Vue, Lit and Svelte adapters (#767) - #794

Open
ambroise-leclerc wants to merge 16 commits into
762-packagesfrom
767-store-starter
Open

ambroise-leclerc wants to merge 16 commits into
762-packagesfrom
767-store-starter

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

Refs #767. Completes the work started in #784. Stacked on #792.

What changes

  • wf create store: a TypeScript interface on a C++ state store, with no UI library and no dependency; it carries the accessibility spec. The environment build copies @webfront/store into the starter.
  • Vue and Lit adapters run in the browser suite against the same C++ store as React, Solid and Preact, with locked packages from the test registry.
  • wf resolves the # subpath imports of a locked package (needed by Svelte 5).
  • Per-library support policy (js/store/README.md), docs/STORE.md, ADR-010 and ADR-018 amendments, changelog.

Limits

  • Svelte is not in the C++-driven browser suite: that suite runs on the pinned published environment, which lacks the # fix. svelte/store 5 is tested by a wf test case on the environment built from these sources, without a C++ store.
  • .svelte and .vue components are not compiled by wf.
  • wf create store and Svelte 5 bundling reach users only with a published developer environment (sources 1.3.2, pin 1.3.1). A real dependency in place of the copied files needs @webfront/store on a registry.

Checks

CEF-off suite 821/821, one CUDA case skipped. CEF web integration 131/132 locally: five host-loop specs of WebFrontBrowserIntegration time out on this machine, while the same suite over TLS passes.

Comment thread js/developer/environment/entry.mjs Resolved
Comment thread js/developer/environment/resolve.mjs Resolved
Comment thread js/developer/environment/entry.mjs Resolved

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants