@sigil-dev/runtime 0.9.20 → 0.9.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jsr.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@sigil-dev/runtime",
3
- "version": "0.6.0",
4
- "exports": "./index.ts",
5
- "publish": {
6
- "exclude": ["src/**/*.test.ts"]
7
- }
8
- }
package/test-preload.ts DELETED
@@ -1,11 +0,0 @@
1
- import { Window } from "happy-dom";
2
-
3
- const window = new Window();
4
- (globalThis as any).document = window.document;
5
- (globalThis as any).Element = window.Element;
6
- (globalThis as any).Text = window.Text;
7
- (globalThis as any).Node = window.Node;
8
- (globalThis as any).HTMLElement = window.HTMLElement;
9
- (globalThis as any).Comment = window.Comment;
10
- // events the tests dispatch must be the DOM's own: happy-dom refuses Bun's
11
- (globalThis as any).Event = window.Event;
package/tsconfig.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- // Environment setup & latest features
4
- "lib": ["ESNext", "DOM"],
5
- "target": "ESNext",
6
- "module": "Preserve",
7
- "moduleDetection": "force",
8
- "jsx": "react-jsx",
9
- "allowJs": true,
10
- "types": ["bun"],
11
-
12
- // Bundler mode
13
- "moduleResolution": "bundler",
14
- "allowImportingTsExtensions": true,
15
- "verbatimModuleSyntax": true,
16
- "noEmit": true,
17
-
18
- // Best practices
19
- "strict": true,
20
- "skipLibCheck": true,
21
- "noFallthroughCasesInSwitch": true,
22
- "noUncheckedIndexedAccess": true,
23
- "noImplicitOverride": true,
24
-
25
- // Some stricter flags (disabled by default)
26
- "noUnusedLocals": false,
27
- "noUnusedParameters": false,
28
- "noPropertyAccessFromIndexSignature": false
29
- }
30
- }