Skip to content

Commit dec6b31

Browse files
committed
Update dependencies
1 parent 802f46d commit dec6b31

10 files changed

Lines changed: 2642 additions & 2993 deletions

File tree

.github/workflows/release.yml

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,39 @@ on:
33
push:
44
tags:
55
- '*'
6-
permissions:
7-
contents: write
86
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
id-token: write
12+
steps:
13+
- name: Checkout the repository
14+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
15+
with:
16+
persist-credentials: false
17+
- name: Clean npm package
18+
uses: ai/clean-npm-project@29219e611c2da08a07cb0a6a1b965c162e5940a9 # v0.3.0
19+
with:
20+
clean-docs: true
21+
- name: Install Node.js
22+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
23+
with:
24+
node-version: 26
25+
package-manager-cache: false
26+
- name: Publish npm package
27+
run: npm stage publish
28+
working-directory: cleaned-project/
929
release:
10-
name: Release On Tag
11-
if: startsWith(github.ref, 'refs/tags/')
1230
runs-on: ubuntu-latest
31+
permissions:
32+
contents: write
1333
steps:
1434
- name: Checkout the repository
15-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16-
- name: Extract the changelog
17-
id: changelog
18-
run: |
19-
TAG_NAME=${GITHUB_REF/refs\/tags\//}
20-
READ_SECTION=false
21-
CHANGELOG=""
22-
while IFS= read -r line; do
23-
if [[ "$line" =~ ^#+\ +(.*) ]]; then
24-
if [[ "${BASH_REMATCH[1]}" == "$TAG_NAME" ]]; then
25-
READ_SECTION=true
26-
elif [[ "$READ_SECTION" == true ]]; then
27-
break
28-
fi
29-
elif [[ "$READ_SECTION" == true ]]; then
30-
CHANGELOG+="$line"$'\n'
31-
fi
32-
done < "CHANGELOG.md"
33-
CHANGELOG=$(echo "$CHANGELOG" | awk '/./ {$1=$1;print}')
34-
echo "changelog_content<<EOF" >> $GITHUB_OUTPUT
35-
echo "$CHANGELOG" >> $GITHUB_OUTPUT
36-
echo "EOF" >> $GITHUB_OUTPUT
37-
- name: Create the release
38-
if: steps.changelog.outputs.changelog_content != ''
39-
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
35+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4036
with:
41-
name: ${{ github.ref_name }}
42-
body: '${{ steps.changelog.outputs.changelog_content }}'
43-
draft: false
44-
prerelease: false
37+
persist-credentials: false
38+
- name: Copy CHANGELOG.md to Releases
39+
uses: ai/copy-changelog-to-release@a6dc825c34575add2da2060796794f7b84894628 # v0.2.0
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,19 @@ permissions:
99
contents: read
1010
jobs:
1111
full:
12-
name: Node.js Latest
12+
name: Node.js Latest Full
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout the repository
16-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17-
- name: Install pnpm
18-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
16+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1917
with:
20-
version: 10
21-
- name: Install Node.js
22-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
18+
persist-credentials: false
19+
- name: Install Node.js & pnpm
20+
uses: pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
2321
with:
24-
node-version: 25
25-
cache: pnpm
22+
version: 11
23+
runtime: node@26
2624
- name: Install dependencies
27-
run: |
28-
pnpm install --ignore-scripts
29-
cd test/demo-metro
30-
pnpm install --ignore-scripts
25+
run: pnpm ci
3126
- name: Run tests
3227
run: pnpm test

package.json

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,31 +41,31 @@
4141
"test:build:metro": "cd test/demo-metro && pnpm expo export --platform web",
4242
"test": "pnpm run /^test:/",
4343
"start:vite": "vite ./test/demo-vite --host 0.0.0.0",
44-
"start:metro": "cd test/demo-metro && pnpm expo start --web --port 5174",
44+
"start:metro": "cd test/demo-metro && BROWSER=none pnpm expo start --web --port 5174",
4545
"start": "pnpm run /^start:/"
4646
},
4747
"devDependencies": {
48-
"@electric-sql/pglite": "^0.4.4",
49-
"@logux/oxc-configs": "^0.2.2",
50-
"@size-limit/preset-small-lib": "^12.0.1",
51-
"@types/node": "^25.6.0",
52-
"actions-up": "^1.13.0",
48+
"@electric-sql/pglite": "^0.5.4",
49+
"@logux/oxc-configs": "^0.4.1",
50+
"@size-limit/preset-small-lib": "^12.1.0",
51+
"@types/node": "^26.1.1",
52+
"actions-up": "^1.16.0",
5353
"better-node-test": "^0.8.4",
54-
"check-dts": "^1.0.0",
55-
"clean-publish": "^6.0.5",
54+
"check-dts": "^2.0.0",
5655
"drizzle-orm": "^0.45.2",
57-
"expo-sqlite": "^55.0.15",
58-
"globals": "^17.4.0",
59-
"happy-dom": "^20.8.9",
60-
"multiocular": "^0.8.2",
56+
"eslint-plugin-prefer-let": "^4.2.2",
57+
"expo-sqlite": "^57.0.1",
58+
"globals": "^17.7.0",
59+
"happy-dom": "^20.11.0",
60+
"multiocular": "^0.8.4",
6161
"nanodelay": "^2.0.2",
62-
"nanostores": "^1.2.0",
63-
"oxlint": "^1.59.0",
64-
"oxlint-tsgolint": "^0.20.0",
65-
"size-limit": "^12.0.1",
66-
"sqlocal": "^0.17.0",
67-
"typescript": "^6.0.2",
68-
"vite": "^8.0.8"
62+
"nanostores": "^1.4.1",
63+
"oxlint": "^1.74.0",
64+
"oxlint-tsgolint": "^7.0.2001",
65+
"size-limit": "^12.1.0",
66+
"sqlocal": "^0.18.0",
67+
"typescript": "^7.0.2",
68+
"vite": "^8.1.5"
6969
},
7070
"peerDependencies": {
7171
"@electric-sql/pglite": ">=0.4.0",
@@ -95,9 +95,6 @@
9595
}
9696
],
9797
"engines": {
98-
"node": "^22.0.0 || >=24.0.0"
99-
},
100-
"clean-publish": {
101-
"cleanDocs": true
98+
"node": "^22.0.0 || ^24.0.0 || >=26.0.0"
10299
}
103100
}

0 commit comments

Comments
 (0)