Skip to content

Commit db2de8e

Browse files
authored
Merge branch 'main' into fix/filesystem-rm-signals
2 parents 4a275bb + 461ab9e commit db2de8e

File tree

404 files changed

+6717
-4408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+6717
-4408
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node.js environment
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version: 22
2020
cache: pnpm
2121

2222
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js environment
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
20+
node-version: 22
2121
cache: pnpm
2222

2323
- name: Install Dependencies

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node.js environment
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 20
21+
node-version: 22
2222
cache: pnpm
2323

2424
- name: Install dependencies

.gitignore

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,6 @@ Icon
1313
# Thumbnails
1414
._*
1515

16-
# Files that might appear in the root of a volume
17-
.DocumentRevisions-V100
18-
.fseventsd
19-
.Spotlight-V100
20-
.TemporaryItems
21-
.Trashes
22-
.VolumeIcon.icns
23-
.com.apple.timemachine.donotpresent
24-
25-
# Directories potentially created on remote AFP share
26-
.AppleDB
27-
.AppleDesktop
28-
Network Trash Folder
29-
Temporary Items
30-
.apdisk
31-
3216
### Node ###
3317
# Logs
3418
logs
@@ -99,32 +83,17 @@ typings/
9983
# Optional REPL history
10084
.node_repl_history
10185

102-
# Output of 'npm pack'
103-
*.tgz
104-
10586
# Yarn Integrity file
10687
.yarn-integrity
10788

10889
# dotenv environment variables file
10990
.env.test
11091
.env*.local
11192

112-
# parcel-bundler cache (https://parceljs.org/)
113-
.cache
114-
.parcel-cache
115-
116-
# Next.js build output
117-
.next
118-
11993
# Nuxt.js build / generate output
12094
.nuxt
12195
dist
12296

123-
# Storybook build outputs
124-
.out
125-
.storybook-out
126-
storybook-static
127-
12897
# rollup.js default build output
12998
dist/
13099

@@ -134,21 +103,6 @@ dist/
134103
# https://nextjs.org/blog/next-9-1#public-directory-support
135104
# public
136105

137-
# vuepress build output
138-
.vuepress/dist
139-
140-
# Serverless directories
141-
.serverless/
142-
143-
# FuseBox cache
144-
.fusebox/
145-
146-
# DynamoDB Local files
147-
.dynamodb/
148-
149-
# TernJS port file
150-
.tern-port
151-
152106
# Stores VSCode versions used for testing VSCode extensions
153107
.vscode-test
154108

@@ -168,6 +122,7 @@ tsup.config.bundled*.mjs
168122
vite.config.ts.js
169123
vitest.config.ts.timestamp-*.mjs
170124
vite.config.ts.timestamp-*.mjs
125+
app.config.timestamp_*.js
171126

172127
# demo pages
173128
pages
@@ -177,6 +132,3 @@ _temp_*
177132

178133
# Local Netlify folder
179134
.netlify
180-
181-
# IntelliJ IDEA
182-
.idea

.gitpod.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Solid Primitives
66

77
[![pnpm](https://img.shields.io/badge/maintained%20with-pnpm-cc00ff.svg?style=for-the-badge&logo=pnpm)](https://pnpm.io/)<!-- INSERT-NPM-DOWNLOADS-BADGE:START -->
8-
[![combined-downloads](https://img.shields.io/endpoint?style=for-the-badge&url=https://combined-npm-downloads.deno.dev/@solid-primitives/utils,@solid-primitives/broadcast-channel,@solid-primitives/context,@solid-primitives/cookies,@solid-primitives/devices,@solid-primitives/event-dispatcher,@solid-primitives/event-props,@solid-primitives/fetch,@solid-primitives/filesystem,@solid-primitives/flux-store,@solid-primitives/i18n,@solid-primitives/idle,@solid-primitives/input-mask,@solid-primitives/keyed,@solid-primitives/lifecycle,@solid-primitives/list,@solid-primitives/marker,@solid-primitives/mutable,@solid-primitives/permission,@solid-primitives/platform,@solid-primitives/resource,@solid-primitives/scheduled,@solid-primitives/script-loader,@solid-primitives/selection,@solid-primitives/share,@solid-primitives/spring,@solid-primitives/state-machine,@solid-primitives/timer,@solid-primitives/transition-group,@solid-primitives/tween,@solid-primitives/websocket,@solid-primitives/workers)](https://dash.deno.com/playground/combined-npm-downloads)
8+
[![combined-downloads](https://img.shields.io/endpoint?style=for-the-badge&url=https://combined-npm-downloads.deno.dev/@solid-primitives/utils,@solid-primitives/broadcast-channel,@solid-primitives/context,@solid-primitives/cookies,@solid-primitives/devices,@solid-primitives/event-dispatcher,@solid-primitives/event-props,@solid-primitives/fetch,@solid-primitives/filesystem,@solid-primitives/flux-store,@solid-primitives/i18n,@solid-primitives/idle,@solid-primitives/input-mask,@solid-primitives/keyed,@solid-primitives/lifecycle,@solid-primitives/list,@solid-primitives/marker,@solid-primitives/match,@solid-primitives/mutable,@solid-primitives/permission,@solid-primitives/platform,@solid-primitives/resource,@solid-primitives/scheduled,@solid-primitives/script-loader,@solid-primitives/selection,@solid-primitives/share,@solid-primitives/spring,@solid-primitives/state-machine,@solid-primitives/timer,@solid-primitives/transition-group,@solid-primitives/tween,@solid-primitives/websocket,@solid-primitives/workers)](https://dash.deno.com/playground/combined-npm-downloads)
99
<!-- INSERT-NPM-DOWNLOADS-BADGE:END -->
1010

1111
A project that strives to develop high-quality, community contributed Solid primitives. All utilities are well tested and continuously maintained. Every contribution to the repository is checked for quality and maintained to the highest degree of excellence. The ultimate goal is to extend Solid's primary and secondary primitives with a set of tertiary primitives.
@@ -66,6 +66,7 @@ The goal of Solid Primitives is to wrap client and server side functionality to
6666
|[jsx-tokenizer](https://github.com/solidjs-community/solid-primitives/tree/main/packages/jsx-tokenizer#readme)|[![STAGE](https://img.shields.io/endpoint?style=for-the-badge&label=&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolidjs-community%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-2.json)](https://github.com/solidjs-community/solid-primitives/blob/main/CONTRIBUTING.md#contribution-process)|[createTokenizer](https://github.com/solidjs-community/solid-primitives/tree/main/packages/jsx-tokenizer#createtokenizer)<br />[createToken](https://github.com/solidjs-community/solid-primitives/tree/main/packages/jsx-tokenizer#createtoken)<br />[resolveTokens](https://github.com/solidjs-community/solid-primitives/tree/main/packages/jsx-tokenizer#resolvetokens)<br />[isToken](https://github.com/solidjs-community/solid-primitives/tree/main/packages/jsx-tokenizer#istoken)|[![SIZE](https://img.shields.io/bundlephobia/minzip/@solid-primitives/jsx-tokenizer?style=for-the-badge&label=)](https://bundlephobia.com/package/@solid-primitives/jsx-tokenizer)|[![VERSION](https://img.shields.io/npm/v/@solid-primitives/jsx-tokenizer?style=for-the-badge&label=)](https://www.npmjs.com/package/@solid-primitives/jsx-tokenizer)|
6767
|[keyed](https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#readme)|[![STAGE](https://img.shields.io/endpoint?style=for-the-badge&label=&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolidjs-community%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-3.json)](https://github.com/solidjs-community/solid-primitives/blob/main/CONTRIBUTING.md#contribution-process)|[keyArray](https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#keyarray)<br />[Key](https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#key)<br />[Entries](https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#entries)<br />[MapEntries](https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#mapentries)<br />[SetValues](https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#setvalues)|[![SIZE](https://img.shields.io/bundlephobia/minzip/@solid-primitives/keyed?style=for-the-badge&label=)](https://bundlephobia.com/package/@solid-primitives/keyed)|[![VERSION](https://img.shields.io/npm/v/@solid-primitives/keyed?style=for-the-badge&label=)](https://www.npmjs.com/package/@solid-primitives/keyed)|
6868
|[list](https://github.com/solidjs-community/solid-primitives/tree/main/packages/list#readme)|[![STAGE](https://img.shields.io/endpoint?style=for-the-badge&label=&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolidjs-community%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-0.json)](https://github.com/solidjs-community/solid-primitives/blob/main/CONTRIBUTING.md#contribution-process)|[listArray](https://github.com/solidjs-community/solid-primitives/tree/main/packages/list#listarray)<br />[List](https://github.com/solidjs-community/solid-primitives/tree/main/packages/list#list)|[![SIZE](https://img.shields.io/bundlephobia/minzip/@solid-primitives/list?style=for-the-badge&label=)](https://bundlephobia.com/package/@solid-primitives/list)|[![VERSION](https://img.shields.io/npm/v/@solid-primitives/list?style=for-the-badge&label=)](https://www.npmjs.com/package/@solid-primitives/list)|
69+
|[match](https://github.com/solidjs-community/solid-primitives/tree/main/packages/match#readme)|[![STAGE](https://img.shields.io/endpoint?style=for-the-badge&label=&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolidjs-community%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-0.json)](https://github.com/solidjs-community/solid-primitives/blob/main/CONTRIBUTING.md#contribution-process)|[MatchTag](https://github.com/solidjs-community/solid-primitives/tree/main/packages/match#matchtag)<br />[MatchValue](https://github.com/solidjs-community/solid-primitives/tree/main/packages/match#matchvalue)|[![SIZE](https://img.shields.io/bundlephobia/minzip/@solid-primitives/match?style=for-the-badge&label=)](https://bundlephobia.com/package/@solid-primitives/match)|[![VERSION](https://img.shields.io/npm/v/@solid-primitives/match?style=for-the-badge&label=)](https://www.npmjs.com/package/@solid-primitives/match)|
6970
|[range](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#readme)|[![STAGE](https://img.shields.io/endpoint?style=for-the-badge&label=&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolidjs-community%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-1.json)](https://github.com/solidjs-community/solid-primitives/blob/main/CONTRIBUTING.md#contribution-process)|[repeat](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#repeat)<br />[mapRange](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#maprange)<br />[indexRange](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#indexrange)<br />[Repeat](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#repeat)<br />[Range](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#range)<br />[IndexRange](https://github.com/solidjs-community/solid-primitives/tree/main/packages/range#indexrange)|[![SIZE](https://img.shields.io/bundlephobia/minzip/@solid-primitives/range?style=for-the-badge&label=)](https://bundlephobia.com/package/@solid-primitives/range)|[![VERSION](https://img.shields.io/npm/v/@solid-primitives/range?style=for-the-badge&label=)](https://www.npmjs.com/package/@solid-primitives/range)|
7071
|[refs](https://github.com/solidjs-community/solid-primitives/tree/main/packages/refs#readme)|[![STAGE](https://img.shields.io/endpoint?style=for-the-badge&label=&url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolidjs-community%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-2.json)](https://github.com/solidjs-community/solid-primitives/blob/main/CONTRIBUTING.md#contribution-process)|[mergeRefs](https://github.com/solidjs-community/solid-primitives/tree/main/packages/refs#mergerefs)<br />[resolveElements](https://github.com/solidjs-community/solid-primitives/tree/main/packages/refs#resolveelements)<br />[resolveFirst](https://github.com/solidjs-community/solid-primitives/tree/main/packages/refs#resolvefirst)<br />[Ref](https://github.com/solidjs-community/solid-primitives/tree/main/packages/refs#ref)<br />[Refs](https://github.com/solidjs-community/solid-primitives/tree/main/packages/refs#refs)|[![SIZE](https://img.shields.io/bundlephobia/minzip/@solid-primitives/refs?style=for-the-badge&label=)](https://bundlephobia.com/package/@solid-primitives/refs)|[![VERSION](https://img.shields.io/npm/v/@solid-primitives/refs?style=for-the-badge&label=)](https://www.npmjs.com/package/@solid-primitives/refs)|
7172
|<h4>*Utilities*</h4>|

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,45 +20,45 @@
2020
"test:client": "vitest -c ./configs/vitest.config.ts",
2121
"test:ssr": "pnpm run test:client --mode ssr",
2222
"test": "pnpm run test:client && pnpm run test:ssr",
23-
"build": "tsx ./scripts/build.ts",
24-
"new-package": "tsx ./scripts/new-package.ts",
25-
"update-readme": "tsx ./scripts/update-readme.ts",
26-
"update-tsconfigs": "tsx ./scripts/update-tsconfigs.ts",
27-
"measure": "tsx ./scripts/measure.ts",
23+
"build": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ./scripts/build.ts",
24+
"new-package": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ./scripts/new-package.ts",
25+
"update-readme": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ./scripts/update-readme.ts",
26+
"update-tsconfigs": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ./scripts/update-tsconfigs.ts",
27+
"measure": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ./scripts/measure.ts",
2828
"version": "changeset version && pnpm i --no-frozen-lockfile && git add .",
2929
"release": "pnpm build && changeset publish",
3030
"postinstall": "pnpm update-tsconfigs"
3131
},
3232
"devDependencies": {
33-
"@changesets/cli": "^2.27.11",
34-
"@solidjs/start": "^1.0.6",
33+
"@changesets/cli": "^2.29.4",
34+
"@nothing-but/node-resolve-ts": "^1.0.1",
35+
"@solidjs/start": "^1.1.4",
3536
"@types/jsdom": "^21.1.7",
36-
"@types/node": "^22.5.4",
37-
"@typescript-eslint/eslint-plugin": "^8.5.0",
38-
"@typescript-eslint/parser": "^8.5.0",
39-
"esbuild": "^0.24.2",
37+
"@types/node": "^22.15.31",
38+
"@typescript-eslint/eslint-plugin": "^8.34.0",
39+
"@typescript-eslint/parser": "^8.34.0",
40+
"esbuild": "^0.25.5",
4041
"esbuild-plugin-solid": "^0.6.0",
41-
"eslint": "^9.10.0",
42+
"eslint": "^9.28.0",
4243
"eslint-plugin-eslint-comments": "^3.2.0",
4344
"eslint-plugin-no-only-tests": "^3.3.0",
44-
"jsdom": "^25.0.0",
45+
"jsdom": "^25.0.1",
4546
"json-to-markdown-table": "^1.0.0",
46-
"prettier": "^3.3.3",
47-
"prettier-plugin-tailwindcss": "^0.6.6",
47+
"prettier": "^3.5.3",
48+
"prettier-plugin-tailwindcss": "^0.6.12",
4849
"rehype-autolink-headings": "^7.1.0",
49-
"rehype-highlight": "^7.0.0",
50+
"rehype-highlight": "^7.0.2",
5051
"rehype-slug": "^6.0.0",
51-
"remark-gfm": "^4.0.0",
52-
"solid-js": "^1.8.22",
53-
"tsx": "^4.19.1",
54-
"typescript": "~5.6.2",
55-
"vinxi": "^0.4.2",
56-
"vite": "5.4.4",
57-
"vite-plugin-solid": "^2.10.2",
58-
"vitest": "^2.1.0"
52+
"remark-gfm": "^4.0.1",
53+
"solid-js": "^1.9.7",
54+
"typescript": "^5.8.3",
55+
"vinxi": "^0.5.7",
56+
"vite": "^6.3.5",
57+
"vite-plugin-solid": "^2.11.6",
58+
"vitest": "^2.1.9"
5959
},
60-
"packageManager": "pnpm@10.9.0",
60+
"packageManager": "pnpm@10.12.1",
6161
"engines": {
62-
"node": ">=20.0.0"
62+
"node": ">=22.0.0"
6363
}
6464
}

packages/active-element/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @solid-primitives/active-element
22

3+
## 2.1.3
4+
5+
### Patch Changes
6+
7+
- 48d890d: Add missing type keyword to type imports.
8+
- Updated dependencies [48d890d]
9+
- @solid-primitives/event-listener@2.4.3
10+
11+
## 2.1.2
12+
13+
### Patch Changes
14+
15+
- 396812d: Enable verbatimModuleSyntax -> add `type` keyword to all type imports.
16+
- Updated dependencies [396812d]
17+
- @solid-primitives/event-listener@2.4.2
18+
- @solid-primitives/utils@6.3.2
19+
320
## 2.1.1
421

522
### Patch Changes

packages/active-element/dev/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createActiveElement, focus } from "../src/index.js";
2-
import { Component, createSignal, Index, onMount, ParentComponent } from "solid-js";
2+
import { type Component, createSignal, Index, onMount, type ParentComponent } from "solid-js";
33

44
import { genNodeList } from "./utils.js";
55
// prevent tree-shaking

packages/active-element/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solid-primitives/active-element",
3-
"version": "2.1.1",
3+
"version": "2.1.3",
44
"description": "A reactive document.activeElement. Check which element is currently focused.",
55
"author": "Damian Tarnawski @thetarnav <[email protected]>",
66
"contributors": [
@@ -38,8 +38,8 @@
3838
}
3939
},
4040
"scripts": {
41-
"dev": "tsx ../../scripts/dev.ts",
42-
"build": "tsx ../../scripts/build.ts",
41+
"dev": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ../../scripts/dev.ts",
42+
"build": "node --import=@nothing-but/node-resolve-ts --experimental-transform-types ../../scripts/build.ts",
4343
"vitest": "vitest -c ../../configs/vitest.config.ts",
4444
"test": "pnpm run vitest",
4545
"test:ssr": "pnpm run vitest --mode ssr"
@@ -59,6 +59,6 @@
5959
},
6060
"typesVersions": {},
6161
"devDependencies": {
62-
"solid-js": "^1.8.7"
62+
"solid-js": "^1.9.7"
6363
}
6464
}

0 commit comments

Comments
 (0)