Skip to content

Shared groundwork for package simplification #239

@jderochervlk

Description

@jderochervlk

Parent: #237

Summary

Land the repo-wide groundwork required before any parallel slice work can start.

Scope

  • rename every root src/*API.res type-holder file to src/*Types.res
  • rewrite source and test references from root *API modules to root *Types modules
  • establish the concrete-module pattern in the cross-cutting whole-object modules
  • add type t = ... = { ... } and current accessors in Window and Navigator
  • verify that the groundwork does not add any new include directives

Files

  • every root src/*API.res file listed in #237
  • src/**/*.res
  • tests/**/*.res
  • src/DOMAPI/Window.res
  • src/DOMAPI/Navigator.res

Checklist

  • Capture the pre-rename surface with find src -maxdepth 1 -name '*API.res' | sort
  • Rename every root type-holder file from *API to *Types
  • Rewrite source and test references to the renamed root modules
  • Add type t and current in Window and Navigator
  • Verify that the diff adds no new include directives
  • Run npm run build

Acceptance Criteria

  • no root src/*API.res type-holder files remain
  • root *Types files compile and replace the previous root *API modules
  • Window.current and Navigator.current exist
  • the groundwork diff introduces no new include directives
  • npm run build passes

Notes

This issue must land before the parallel slice issues start.

Metadata

Metadata

Assignees

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