Skip to content

Commit 370b5c6

Browse files
authored
Merge branch 'main' into 108-update-github-actions-runners-to-ubuntu-2404
2 parents 286dc1e + abb6564 commit 370b5c6

File tree

11 files changed

+21
-19
lines changed

11 files changed

+21
-19
lines changed

.github/workflows/check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fetch-depth: 0 # fetch all history for commitlint
3535

3636
- name: Setup bun
37-
uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 # v1.2.1
37+
uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
3838

3939
- name: Setup Node.js
4040
# Install to use the latest version of Node.js when shebang is specified
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Biome
8181
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
82-
run: bun run biome ci --error-on-warnings .
82+
run: bun run biome ci --error-on-warnings
8383

8484
- name: tsc (source)
8585
if: ${{ !cancelled() && steps.install.outcome == 'success' }}

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fetch-depth: 0 # fetch all history for semantic-release
4747

4848
- name: Setup bun
49-
uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 # v1.2.1
49+
uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
5050

5151
- name: Setup Node.js
5252
# Install to use the new version of npm in semantic-release

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2626

2727
- name: Setup bun
28-
uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 # v1.2.1
28+
uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
2929

3030
- name: Setup Node.js
3131
# Install to use the latest version of Node.js when shebang is specified
@@ -106,7 +106,7 @@ jobs:
106106
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
107107

108108
- name: Setup bun
109-
uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135 # v1.2.1
109+
uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.2.2
110110

111111
- name: Setup Node.js
112112
# Install to use the latest version of Node.js when shebang is specified

biome.jsonc

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
// collides with the lint/nursery/useImportRestrictions rule
2929
"noBarrelFile": "off"
3030
},
31+
"correctness": {
32+
// this package runs on Node.js
33+
"noNodejsModules": "off"
34+
},
3135
"nursery": {
3236
"all": true,
33-
// this package runs on Node.js
34-
"noNodejsModules": "off",
3537
// handled by Knip
3638
"noUndeclaredDependencies": "off"
3739
}

bun.lockb

-2.55 KB
Binary file not shown.

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build": "tsc --project tsconfig.src.json",
2626
"commit": "git-cz",
2727
"check": "concurrently \"bun:check:*(!type:)\"",
28-
"check:biome": "biome check --apply --error-on-warnings .",
28+
"check:biome": "biome check --fix --error-on-warnings",
2929
"check:type": "concurrently \"bun:check:type:*\"",
3030
"check:type:base": "tsc --project tsconfig.base.json",
3131
"check:type:src": "tsc --noEmit --project tsconfig.src.json",
@@ -37,29 +37,29 @@
3737
"prepare": "husky"
3838
},
3939
"dependencies": {
40-
"astro": "4.9.2",
40+
"astro": "4.10.2",
4141
"sharp": "0.33.4",
4242
"svgo": "3.3.2"
4343
},
4444
"devDependencies": {
45-
"@biomejs/biome": "1.7.3",
45+
"@biomejs/biome": "1.8.1",
4646
"@commitlint/cli": "19.3.0",
4747
"@commitlint/config-conventional": "19.2.2",
4848
"@commitlint/cz-commitlint": "19.2.0",
4949
"@commitlint/types": "19.0.3",
50-
"@cspell/cspell-types": "8.8.3",
50+
"@cspell/cspell-types": "8.8.4",
5151
"@playwright/test": "1.44.1",
5252
"@tsconfig/bun": "1.0.6",
5353
"@tsconfig/node-lts": "20.1.3",
5454
"@tsconfig/strictest": "2.0.5",
5555
"@types/bun": "1.1.3",
56-
"@types/node": "20.13.0",
56+
"@types/node": "20.14.2",
5757
"commitizen": "4.3.0",
5858
"concurrently": "8.2.2",
59-
"cspell": "8.8.3",
59+
"cspell": "8.8.4",
6060
"husky": "9.0.11",
6161
"ignore-sync": "7.0.1",
62-
"knip": "5.17.3",
62+
"knip": "5.18.2",
6363
"semantic-release": "24.0.0",
6464
"typescript": "5.4.5"
6565
},

tests/e2e/conversion.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { readdir } from "node:fs/promises";
22
import { setTimeout } from "node:timers/promises";
33
import { expect, test } from "@playwright/test";
44
// biome-ignore lint/nursery/useImportRestrictions: import required for test
5-
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats";
5+
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats.ts";
66

77
// intended to run on CI, with the expected snapshots taken with the default image service
88

tests/e2e/fixtures/src/pages/[...path].astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { GetStaticPaths, ImageMetadata } from "astro";
55
import {
66
AVAILABLE_FORMAT_CONVERSIONS,
77
type VALID_INPUT_FORMATS,
8-
} from "../formats";
8+
} from "../formats.ts";
99
1010
import svgImage from "../images/astro.svg";
1111
import tiffImage from "../images/capybara.tiff";

tests/e2e/fixtures/src/pages/index.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
// biome-ignore lint/correctness/noUnusedImports: used in the template
3-
import { AVAILABLE_FORMAT_CONVERSIONS } from "../formats";
3+
import { AVAILABLE_FORMAT_CONVERSIONS } from "../formats.ts";
44
55
// biome-ignore lint/correctness/noUnusedVariables: used in the template
66
const imageService = process.env["USE_DEFAULT_IMAGE_SERVICE"]

tests/e2e/format.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
AVAILABLE_FORMAT_CONVERSIONS,
55
DEFAULT_OUTPUT_FORMAT,
66
// biome-ignore lint/nursery/useImportRestrictions: import required for test
7-
} from "./fixtures/src/formats";
7+
} from "./fixtures/src/formats.ts";
88

99
test.describe("Image Format Conversion", () => {
1010
for (const {

tests/e2e/vrt.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { setTimeout } from "node:timers/promises";
22
import { expect, test } from "@playwright/test";
33
// biome-ignore lint/nursery/useImportRestrictions: import required for test
4-
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats";
4+
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats.ts";
55

66
test.describe("Visual Regression", () => {
77
for (const {

0 commit comments

Comments
 (0)