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
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.
Parent: #237
Summary
Land the repo-wide groundwork required before any parallel slice work can start.
Scope
src/*API.restype-holder file tosrc/*Types.res*APImodules to root*Typesmodulestype t = ... = { ... }andcurrentaccessors inWindowandNavigatorincludedirectivesFiles
src/*API.resfile listed in #237src/**/*.restests/**/*.ressrc/DOMAPI/Window.ressrc/DOMAPI/Navigator.resChecklist
find src -maxdepth 1 -name '*API.res' | sort*APIto*Typestype tandcurrentinWindowandNavigatorincludedirectivesnpm run buildAcceptance Criteria
src/*API.restype-holder files remain*Typesfiles compile and replace the previous root*APImodulesWindow.currentandNavigator.currentexistincludedirectivesnpm run buildpassesNotes
This issue must land before the parallel slice issues start.