Skip to content

Align web preview documentation, Node version checks, and Worker cache tests #120

Backlog

Description

@AvianJay

Follow-up to the web tooling review on #109. The Node guard landed separately on main in 8c6d354, and the landing-page merge 40b303f selected wrangler dev for serve:web. The final settings diff in #109 does not change these files.

  • Align the README preview instructions with the intended serve:web behavior. The current script runs Wrangler, while the setup section describes a Flutter-only preview. Clarify which npm entry points enforce the Node policy and that npm may report EBADENGINE before preinstall runs.
  • Derive supported Node floors from one source (or test the guard against engines.node). Separate the importable predicate from CLI execution while keeping the deploy/stamp entry points guarded.
  • npm run test:web already runs pure-Node tests for landing/deep-link routing and Apple association. Extend these to cover service-worker cache headers, Android asset links and font cache behavior.

Track these here rather than changing web preview/deployment behavior in a compact-settings PR.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions