Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions @coven/compare/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/compare",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/constants/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/constants",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/cron/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/cron",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/expression/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/expression",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
7 changes: 4 additions & 3 deletions @coven/iterables/deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@coven/iterables",
"version": "0.8.4",
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": {
".": "./mod.ts",
"./async": "./async/mod.ts"
}
},
"name": "@coven/iterables",
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/math/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/math",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
4 changes: 2 additions & 2 deletions @coven/memo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

💾 Memoization utilities.

The whole idea is to have an experience similar to what we would get out of the
Record and Tuple proposal from TC39: Readonly memoized structures with
The whole idea is to have an experience similar to we could have gotten out of
the now withdrawn Record and Tuple proposal: Readonly memoized structures with
preservation of identity.

This library uses nested `Map`s to save a "tree" with references to all
Expand Down
5 changes: 3 additions & 2 deletions @coven/memo/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/memo",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
19 changes: 16 additions & 3 deletions @coven/pair/deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"name": "@coven/pair",
"version": "0.8.4",
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"exports": {
"./preact": "./preact/mod.ts",
"./react": "./react/mod.ts"
}
},
"imports": {
"@types/react": "npm:@types/react@^19.2.7",
"@types/react-dom": "npm:@types/react-dom@^19.2.3",
"preact": "npm:preact@^10.28.0",
"preact-render-to-string": "npm:preact-render-to-string@^6.6.4",
"react": "npm:react@^19.2.3",
"react-dom": "npm:react-dom@^19.2.3"
},
"name": "@coven/pair",
"version": "0.8.5"
}
1 change: 0 additions & 1 deletion @coven/pair/preact/pair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { PairedComponentProperties } from "./PairedComponentProperties.ts";
*
* @example
* ```tsx
* /** @jsxImportSource preact *\/
* import { useState } from "preact/hooks";
*
* const useCount = (initialCount: number) => {
Expand Down
1 change: 0 additions & 1 deletion @coven/pair/preact/tests/preact.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/** @jsxImportSource preact */
import { pair, type PairedComponentProperties } from "@coven/pair/preact";
import { assertStrictEquals } from "@std/assert";
import { renderToString } from "preact-render-to-string";
Expand Down
1 change: 1 addition & 0 deletions @coven/pair/react/PairedRenderFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type { ReactElement } from "react";
*
* @example
* ```tsx
* /** @jsxImportSource react *\/
* import { createElement, Fragment } from "react";
*
* const Example: PairedRenderFunction<() => number> = hook =>
Expand Down
5 changes: 3 additions & 2 deletions @coven/parsers/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/parsers",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/predicates/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/predicates",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/terminal/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/terminal",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/types/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/types",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @coven/utils/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@coven/utils",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
5 changes: 3 additions & 2 deletions @simulcast/core/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"name": "@simulcast/core",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
1 change: 0 additions & 1 deletion @simulcast/preact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
## Example

```tsx
/** @jsxImportSource preact */
import { broadcast } from "@simulcast/core";
import { useBroadcast } from "@simulcast/preact";
import type { JSX } from "preact";
Expand Down
14 changes: 12 additions & 2 deletions @simulcast/preact/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"exports": "./mod.ts",
"imports": {
"@testing-library/preact": "npm:@testing-library/preact@^3.2.4",
"@testing-library/user-event": "npm:@testing-library/user-event@^14.6.1",
"preact": "npm:preact@^10.28.0"
},
"name": "@simulcast/preact",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
1 change: 0 additions & 1 deletion @simulcast/preact/tests/useBroadcast.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/** @jsxImportSource preact */
import { broadcast, type EventRegistry } from "@simulcast/core";
import { useBroadcast } from "@simulcast/preact";
import { assertStrictEquals } from "@std/assert";
Expand Down
1 change: 0 additions & 1 deletion @simulcast/preact/useBroadcast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { useBroadcastProxyHandler } from "./useBroadcastProxyHandler.ts";
*
* @example
* ```tsx
* /** @jsxImportSource preact *\/
* import { broadcast } from "@simulcast/core";
* import type { JSX } from "preact";
*
Expand Down
1 change: 0 additions & 1 deletion @simulcast/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
## Example

```tsx
/** @jsxImportSource react */
import { broadcast } from "@simulcast/core";
import { useBroadcast } from "@simulcast/react";
import type { MouseEvent } from "react";
Expand Down
15 changes: 13 additions & 2 deletions @simulcast/react/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
},
"exports": "./mod.ts",
"imports": {
"@testing-library/react": "npm:@testing-library/react@^16.3.1",
"@testing-library/user-event": "npm:@testing-library/user-event@^14.6.1",
"@types/react": "npm:@types/react@^19.2.7",
"react": "npm:react@^19.2.3"
},
"name": "@simulcast/react",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
1 change: 0 additions & 1 deletion @simulcast/react/tests/useBroadcast.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/** @jsxImportSource react */
import { broadcast, type EventRegistry } from "@simulcast/core";
import { useBroadcast } from "@simulcast/react";
import { assertStrictEquals } from "@std/assert";
Expand Down
1 change: 0 additions & 1 deletion @simulcast/react/useBroadcast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { useEffect, useMemo } from "react";
*
* @example
* ```tsx
* /** @jsxImportSource react *\/
* import { broadcast } from "@simulcast/core";
* import type { MouseEvent } from "react";
*
Expand Down
9 changes: 7 additions & 2 deletions @simulcast/vue/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"exports": "./mod.ts",
"imports": {
"@vue/test-utils": "npm:@vue/test-utils@^2.4.6",
"vue": "npm:vue@^3.5.26"
},
"name": "@simulcast/vue",
"version": "0.8.4",
"exports": "./mod.ts"
"version": "0.8.5"
}
17 changes: 2 additions & 15 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/refs/heads/main/cli/schemas/config-file.v1.json",
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"compilerOptions": {
"exactOptionalPropertyTypes": true,
"jsxFactory": "createElement",
"jsxFragmentFactory": "Fragment",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
Expand Down Expand Up @@ -40,18 +38,7 @@
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.16",
"@testing-library/preact": "npm:@testing-library/preact@^3.2.4",
"@testing-library/react": "npm:@testing-library/react@^16.3.1",
"@testing-library/user-event": "npm:@testing-library/user-event@^14.6.1",
"@types/react": "npm:@types/react@^19.2.7",
"@types/react-dom": "npm:@types/react-dom@^19.2.3",
"@vue/test-utils": "npm:@vue/test-utils@^2.4.6",
"happy-dom": "npm:happy-dom@^20.0.11",
"preact": "npm:preact@~10.28.0",
"preact-render-to-string": "npm:preact-render-to-string@~6.6.4",
"react": "npm:react@^19.2.3",
"react-dom": "npm:react-dom@^19.2.3",
"vue": "npm:vue@^3.5.25"
"happy-dom": "npm:happy-dom@^20.0.11"
},
"lint": {
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion setupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const {
window,
} = new Window();

Object.assign(globalThis, { window, Element, Node, SVGElement, document });
Object.assign(globalThis, { Element, Node, SVGElement, document, window });