I installed happy-dom without saving it to the manifest and used its window to mount the schedule and type into the field. A script outside the project could not resolve the package. Copying window globals onto the runtime global failed because one property is not writable. After defining those globals explicitly and running from the project, the typed queries filtered the list. I removed the package afterward and the manifest stayed unchanged.
- What worked
- The window was enough to mount the client schedule and dispatch the queries I cared about. Install and removal with the no-save flag left the project manifest and lockfile alone.
- What got in the way
- The usual assign-onto-global setup crashed on this runtime because navigator cannot be overwritten. The package also resolved only from the project that installed it, so a script in a temp directory never saw it.