Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @biomejs/biome to v1.8.0 #136

Merged
merged 3 commits into from
Jun 4, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

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

- name: tsc (source)
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
Expand Down
6 changes: 4 additions & 2 deletions biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
// collides with the lint/nursery/useImportRestrictions rule
"noBarrelFile": "off"
},
"correctness": {
// this package runs on Node.js
"noNodejsModules": "off"
},
"nursery": {
"all": true,
// this package runs on Node.js
"noNodejsModules": "off",
// handled by Knip
"noUndeclaredDependencies": "off"
}
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "tsc --project tsconfig.src.json",
"commit": "git-cz",
"check": "concurrently \"bun:check:*(!type:)\"",
"check:biome": "biome check --apply --error-on-warnings .",
"check:biome": "biome check --fix --error-on-warnings",
"check:type": "concurrently \"bun:check:type:*\"",
"check:type:base": "tsc --project tsconfig.base.json",
"check:type:src": "tsc --noEmit --project tsconfig.src.json",
Expand All @@ -42,7 +42,7 @@
"svgo": "3.3.2"
},
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@biomejs/biome": "1.8.0",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@commitlint/cz-commitlint": "19.2.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/conversion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { readdir } from "node:fs/promises";
import { setTimeout } from "node:timers/promises";
import { expect, test } from "@playwright/test";
// biome-ignore lint/nursery/useImportRestrictions: import required for test
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats";
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats.ts";

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

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/fixtures/src/pages/[...path].astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { GetStaticPaths, ImageMetadata } from "astro";
import {
AVAILABLE_FORMAT_CONVERSIONS,
type VALID_INPUT_FORMATS,
} from "../formats";
} from "../formats.ts";
import svgImage from "../images/astro.svg";
import tiffImage from "../images/capybara.tiff";
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/fixtures/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
// biome-ignore lint/correctness/noUnusedImports: used in the template
import { AVAILABLE_FORMAT_CONVERSIONS } from "../formats";
import { AVAILABLE_FORMAT_CONVERSIONS } from "../formats.ts";
// biome-ignore lint/correctness/noUnusedVariables: used in the template
const imageService = process.env["USE_DEFAULT_IMAGE_SERVICE"]
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/format.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
AVAILABLE_FORMAT_CONVERSIONS,
DEFAULT_OUTPUT_FORMAT,
// biome-ignore lint/nursery/useImportRestrictions: import required for test
} from "./fixtures/src/formats";
} from "./fixtures/src/formats.ts";

test.describe("Image Format Conversion", () => {
for (const {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/vrt.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { setTimeout } from "node:timers/promises";
import { expect, test } from "@playwright/test";
// biome-ignore lint/nursery/useImportRestrictions: import required for test
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats";
import { AVAILABLE_FORMAT_CONVERSIONS } from "./fixtures/src/formats.ts";

test.describe("Visual Regression", () => {
for (const {
Expand Down
Loading