Project Setup: Package scaffold, Happy DOM fork, directory structure, CI #1
Labels
No labels
bug
docs
feature
housekeeping
html-spec
performance
react-compat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
glow-all/true-headless-browser#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Set up the project foundation: fork Happy DOM, install dependencies, create directory structure, configure TypeScript strict mode, set up CI.
What to Build
1.1 Happy DOM Fork
Happy DOM already provides: Window, Document, HTMLElement, SVGElement, Event/CustomEvent, Custom Elements, Shadow DOM, MutationObserver (real), HTML Parser (basic), Form APIs, TreeWalker/NodeIterator/Range.
We fork and store under
src/dom/happy-dom-fork/so we can patch behavior without waiting for upstream.1.2 Directory Structure
1.3 TypeScript Strict Mode
1.4 Package Scripts
1.5 CI (Forgejo Actions)
File:
.forgejo/workflows/ci.ymlTests
Unit Tests
Definition of Done
bun add happy-domdonebun test --coverageruns without errorbun run typecheckruns without errorProject Setup — Package scaffold, Happy DOM fork, directory structure, CI. ✅ Implementiert. Tests: 1426, CI läuft. Commit:
91b24f8+