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
1 change: 1 addition & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"rules": {
"eslint/prefer-const": "error",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"import/no-duplicates": "error",
"typescript/consistent-type-definitions": ["error", "interface"],
"typescript/no-confusing-non-null-assertion": "error",
"typescript/no-unnecessary-boolean-literal-compare": "error",
Expand Down
12 changes: 6 additions & 6 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@analogjs/astro-angular": "2.6.3",
"@angular/core": "22.0.5",
"@angular/core": "22.0.7",
"@astrojs/preact": "6.0.1",
"@astrojs/solid-js": "7.0.1",
"@astrojs/svelte": "9.0.1",
Expand All @@ -43,13 +43,13 @@
"@stainless-code/vue-layers": "workspace:*",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"lit": "3.3.1",
"preact": "10.29.4",
"lit": "3.3.3",
"preact": "10.29.7",
"react-aria-components": "1.19.0",
"solid-js": "1.9.14",
"svelte": "5.56.4",
"svelte-check": "4.7.2",
"vue": "3.5.39",
"svelte": "5.56.6",
"svelte-check": "4.7.3",
"vue": "3.5.40",
"vue-tsc": "3.3.7"
}
}
587 changes: 303 additions & 284 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
},
"ignoreWorkspaces": ["apps/docs"],
"ignoreDependencies": ["@stainless-code/codemap", "@angular/core"],
"ignoreDependencies": ["@stainless-code/codemap"],
"ignoreBinaries": ["lychee"],
"ignoreIssues": {
"packages/angular/src/index.ts": ["duplicates"],
Expand Down
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"changeset": "changeset",
"check": "bun run build && bun run --parallel format:check lint:ci test test:dom typecheck",
"check-updates": "bun update -i --latest",
"check:deps": "sherif",
"check:deps": "sherif --fail-on-warnings",
"check:links": "lychee --config lychee.toml \"**/*.md\"",
"check:pack": "bun run --filter '*' check:pack",
"clean": "git clean -xdf -e .env",
Expand Down Expand Up @@ -58,25 +58,24 @@
"version": "changeset version && rm -f bun.lock && bun install && bun scripts/sync-skill-versions.ts && bun run format \"packages/*/CHANGELOG.md\""
},
"devDependencies": {
"@angular/core": "22.0.5",
"@arethetypeswrong/cli": "0.18.4",
"@arethetypeswrong/cli": "0.18.5",
"@changesets/changelog-github": "0.7.0",
"@changesets/cli": "2.31.0",
"@changesets/cli": "2.31.1",
"@size-limit/preset-small-lib": "12.1.0",
"@stainless-code/codemap": "0.11.2",
"@tanstack/intent": "0.3.5",
"@tanstack/intent": "0.3.6",
"@types/bun": "1.3.14",
"@types/node": "26.1.1",
"husky": "9.1.7",
"knip": "6.24.0",
"knip": "6.27.0",
"lint-staged": "17.0.8",
"oxfmt": "0.58.0",
"oxlint": "1.73.0",
"oxfmt": "0.59.0",
"oxlint": "1.74.0",
"publint": "0.3.21",
"sherif": "1.6.1",
"sherif": "1.13.0",
"size-limit": "12.1.0",
"tsdown": "0.22.3",
"typedoc": "0.28.19",
"tsdown": "0.22.9",
"typedoc": "0.28.20",
"typedoc-plugin-frontmatter": "1.3.1",
"typedoc-plugin-markdown": "4.12.0",
"typescript": "6.0.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"@stainless-code/layers": "workspace:*"
},
"devDependencies": {
"alpinejs": "3.15.8",
"alpinejs": "3.15.12",
"jsdom": "29.1.1",
"vitest": "4.1.9"
"vitest": "4.1.10"
},
"peerDependencies": {
"@alpinejs/focus": ">=3.13.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/alpine/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ import type { AlpineLike } from "./alpine-types.js";
import { getLayerClient, setLayerClient } from "./layer-client.js";

export * from "@stainless-code/layers";
/** Core headless factory — not the wired {@link createLayer}. */
/**
* Core headless factory — not the wired {@link createLayer}.
* @reexport
*/
export { createLayer as createLayerHandle } from "@stainless-code/layers";
export { getLayerClient, setLayerClient } from "./layer-client.js";
export type { AlpineLike } from "./alpine-types.js";
Expand Down
14 changes: 7 additions & 7 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@
"devDependencies": {
"@analogjs/vite-plugin-angular": "2.6.3",
"@analogjs/vitest-angular": "2.6.3",
"@angular/build": "22.0.5",
"@angular/common": "22.0.5",
"@angular/compiler": "22.0.5",
"@angular/compiler-cli": "22.0.5",
"@angular/core": "22.0.5",
"@angular/platform-browser": "22.0.5",
"@angular/build": "22.0.7",
"@angular/common": "22.0.7",
"@angular/compiler": "22.0.7",
"@angular/compiler-cli": "22.0.7",
"@angular/core": "22.0.7",
"@angular/platform-browser": "22.0.7",
"jsdom": "29.1.1",
"vitest": "4.1.9",
"vitest": "4.1.10",
"zone.js": "^0.16.2"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/callContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import type {
DefaultLayerError,
DismissOptions,
LayerCallContext,
LayerState,
} from "./types";
import type { LayerState } from "./types";

/**
* Creates the framework-neutral imperative context passed to a layer component.
Expand Down
4 changes: 2 additions & 2 deletions packages/lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"devDependencies": {
"@lit/context": "1.1.6",
"jsdom": "29.1.1",
"lit": "3.3.1",
"vitest": "4.1.9"
"lit": "3.3.3",
"vitest": "4.1.10"
},
"peerDependencies": {
"@lit/context": ">=1.1.0",
Expand Down
6 changes: 2 additions & 4 deletions packages/lit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ import {
shallowArrayEqual,
LayerClient,
} from "@stainless-code/layers";
import { LitElement, nothing } from "lit";
import { LitElement, nothing, html } from "lit";
import type {
PropertyValues,
ReactiveController,
ReactiveControllerHost,
TemplateResult,
} from "lit";
import { html } from "lit";
import { directive } from "lit/directive.js";
import { Directive } from "lit/directive.js";
import { directive, Directive } from "lit/directive.js";
import { repeat } from "lit/directives/repeat.js";

export * from "@stainless-code/layers";
Expand Down
4 changes: 2 additions & 2 deletions packages/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"devDependencies": {
"@testing-library/preact": "3.2.4",
"jsdom": "29.1.1",
"preact": "10.29.4",
"vitest": "4.1.9"
"preact": "10.29.7",
"vitest": "4.1.10"
},
"peerDependencies": {
"preact": ">=10.19.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"jsdom": "29.1.1",
"react": "19.2.7",
"react-dom": "19.2.7",
"vitest": "4.1.9"
"vitest": "4.1.10"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"jsdom": "29.1.1",
"solid-js": "1.9.14",
"vite-plugin-solid": "2.11.12",
"vitest": "4.1.9"
"vitest": "4.1.10"
},
"peerDependencies": {
"solid-js": ">=1.6.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
"@sveltejs/vite-plugin-svelte": "7.2.0",
"@testing-library/svelte": "5.4.2",
"jsdom": "29.1.1",
"svelte": "5.56.4",
"vitest": "4.1.9"
"svelte": "5.56.6",
"vitest": "4.1.10"
},
"peerDependencies": {
"svelte": ">=3.0.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/svelte/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ import {
import { getContext, onDestroy, setContext } from "svelte";
import { createSubscriber } from "svelte/reactivity";

/** Core headless factory — not the wired {@link createLayer}. */
/**
* Core headless factory — not the wired {@link createLayer}.
* @reexport
*/
export { createLayer as createLayerHandle } from "@stainless-code/layers";
export {
hashKey,
Expand Down
5 changes: 4 additions & 1 deletion packages/svelte/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ import { getContext, onDestroy, setContext } from "svelte";
import { derived, readable, writable } from "svelte/store";
import type { Readable } from "svelte/store";

/** Core headless factory — not the wired {@link createLayer}. */
/**
* Core headless factory — not the wired {@link createLayer}.
* @reexport
*/
export { createLayer as createLayerHandle } from "@stainless-code/layers";
export {
hashKey,
Expand Down
6 changes: 3 additions & 3 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"@stainless-code/layers": "workspace:*"
},
"devDependencies": {
"@vue/test-utils": "2.4.6",
"@vue/test-utils": "2.4.11",
"jsdom": "29.1.1",
"vitest": "4.1.9",
"vue": "3.5.39"
"vitest": "4.1.10",
"vue": "3.5.40"
},
"peerDependencies": {
"vue": ">=3.3.0"
Expand Down
Loading