Skip to content

Commit 8920fe0

Browse files
committed
chore: update dependencies
1 parent c497145 commit 8920fe0

11 files changed

Lines changed: 287 additions & 193 deletions

File tree

.github/workflows/release.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,40 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
id-token: write
10+
contents: write
11+
pull-requests: write
12+
813
jobs:
914
release:
1015
name: Release
1116
if: ${{ github.repository_owner == 'morinokami' }}
1217
runs-on: ubuntu-latest
1318
steps:
14-
- uses: actions/checkout@v6
15-
- uses: oven-sh/setup-bun@v2
19+
- name: Checkout code
20+
uses: actions/checkout@v6
21+
22+
- name: Setup Bun
23+
uses: oven-sh/setup-bun@v2
1624
with:
1725
bun-version: latest
18-
- run: bun install --frozen-lockfile
19-
- run: bun run build
26+
27+
- name: Install dependencies
28+
run: bun install --frozen-lockfile
29+
30+
- name: Install the latest npm
31+
run: bun install -g npm@latest
32+
33+
- name: Build
34+
run: bun run build
35+
2036
- name: Create Release Pull Request
2137
uses: changesets/action@v1
2238
with:
2339
version: bunx changeset version
24-
publish: bunx changeset publish
40+
publish: npx changeset publish
2541
commit: "[ci] release"
2642
title: "[ci] release"
2743
env:
2844
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"editor.codeActionsOnSave": {
3-
"quickfix.biome": "explicit",
4-
"source.organizeImports.biome": "explicit"
3+
"source.fixAll.biome": "explicit"
54
},
65
"[typescript]": {
76
"editor.defaultFormatter": "biomejs.biome"

biome.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
9-
"ignoreUnknown": false,
10-
"ignore": []
9+
"ignoreUnknown": false
1110
},
1211
"formatter": {
1312
"enabled": true,
1413
"indentStyle": "tab"
1514
},
16-
"organizeImports": {
17-
"enabled": true
18-
},
1915
"linter": {
2016
"enabled": true,
2117
"rules": {
2218
"recommended": true,
2319
"correctness": {
2420
"noUnusedImports": "error",
21+
"noUndeclaredVariables": "error",
2522
"noUnusedVariables": "error"
2623
}
2724
}
@@ -30,5 +27,13 @@
3027
"formatter": {
3128
"quoteStyle": "double"
3229
}
30+
},
31+
"assist": {
32+
"enabled": true,
33+
"actions": {
34+
"source": {
35+
"organizeImports": "on"
36+
}
37+
}
3338
}
3439
}

bun.lock

Lines changed: 238 additions & 163 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"build": "bun run --cwd packages/astro-tunnel build"
1919
},
2020
"devDependencies": {
21-
"@biomejs/biome": "1.9.4",
22-
"@changesets/changelog-github": "0.5.1",
23-
"@changesets/cli": "2.29.5",
24-
"pkg-pr-new": "0.0.54"
21+
"@biomejs/biome": "2.3.8",
22+
"@changesets/changelog-github": "0.5.2",
23+
"@changesets/cli": "2.29.8",
24+
"pkg-pr-new": "0.0.62"
2525
}
2626
}

packages/astro-tunnel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Astro Tunnel
22

3-
![Screenshot](./.github/assets/screenshot.png)
3+
![Screenshot](https://github.com/morinokami/astro-tunnel/blob/main/.github/assets/screenshot.png?raw=true)
44

55
Astro Tunnel is an [Astro Dev Toolbar App](https://docs.astro.build/en/reference/dev-toolbar-app-reference/) that enables your local Astro server to be accessible from the internet. Internally, it uses Cloudflare's [Quick Tunnels](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/do-more-with-tunnels/trycloudflare/) via [unjs/untun](https://github.com/unjs/untun), so no additional configuration is required to start tunneling.
66

packages/astro-tunnel/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
],
2727
"scripts": {
2828
"build": "tsdown",
29-
"typecheck": "tsc --noEmit"
29+
"typecheck": "tsgo --noEmit"
3030
},
3131
"dependencies": {
3232
"untun": "0.1.3"
3333
},
3434
"devDependencies": {
35-
"@types/node": "24.2.1",
36-
"astro": "5.12.9",
37-
"tsdown": "0.14.0",
38-
"typescript": "5.9.2"
35+
"@types/node": "24.10.1",
36+
"@typescript/native-preview": "7.0.0-dev.20251203.1",
37+
"astro": "5.16.3",
38+
"tsdown": "0.14.0"
3939
},
4040
"peerDependencies": {
4141
"astro": ">=4.0.0"

packages/astro-tunnel/src/astro-tunnel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default defineToolbarApp({
6969
toggle.input.addEventListener("change", (e) => {
7070
import.meta.hot?.send("astro-tunnel:toggled", {
7171
// Send the state of the toggle to the server
72-
// @ts-ignore
72+
// @ts-expect-error
7373
checked: e.currentTarget?.checked,
7474
});
7575
});

packages/astro-tunnel/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { dirname, join } from "node:path";
22
import { fileURLToPath } from "node:url";
33
import type { AstroIntegration } from "astro";
4-
import { startTunnel } from "untun";
54
import type { Tunnel, TunnelOptions } from "untun";
5+
import { startTunnel } from "untun";
66

77
type AstroTunnelOptions = TunnelOptions;
88

packages/astro-tunnel/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function closeOnOutsideClick(eventTarget: EventTarget) {
1212
}),
1313
);
1414
}
15-
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
15+
// biome-ignore lint/suspicious/noExplicitAny: explanation
1616
eventTarget.addEventListener("app-toggled", (event: any) => {
1717
if (event.detail.state === true) {
1818
document.addEventListener("click", onPageClick, true);

0 commit comments

Comments
 (0)