mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
10 hours ago 80d3c624df44f0ee9f3f456b344a52b2b436e6ba
build(deps): update @dnbhq/biome-config to 1.1.3 for Biome 2.6

Biome 2.6 formats Markdown and YAML files. With @dnbhq/biome-config
0.3.1 this made `npm run lint:code` fail with 25 errors (22 Markdown
format, 3 YAML parse). Version 1.1.3 supports Biome >=2.6, turns off
the Markdown formatter, and drops the fixed schema URL.

Put the flow sequences in tests/catalog.yaml on one line. The YAML
parser in Biome 2.6 rejects the closing bracket at key indentation.
The parsed data does not change.
3 files modified
24 ■■■■■ changed files
package-lock.json 10 ●●●●● patch | view | raw | blame | history
package.json 2 ●●●●● patch | view | raw | blame | history
tests/catalog.yaml 12 ●●●●● patch | view | raw | blame | history
package-lock.json
@@ -11,7 +11,7 @@
      "devDependencies": {
        "@axe-core/playwright": "4.14.0",
        "@biomejs/biome": "2.6.3",
        "@dnbhq/biome-config": "0.3.1",
        "@dnbhq/biome-config": "1.1.3",
        "@dnbhq/lintstaged-config": "0.2.1",
        "@dnbhq/markdownlint-config": "2.0.0",
        "@dnbhq/release-config": "2.0.0",
@@ -318,16 +318,16 @@
      }
    },
    "node_modules/@dnbhq/biome-config": {
      "version": "0.3.1",
      "resolved": "https://registry.npmjs.org/@dnbhq/biome-config/-/biome-config-0.3.1.tgz",
      "integrity": "sha512-G8ZlvwEOUewSkTVIGOXUV/xtecpSHOK352ik5hps9YI9hA2vI1vMN3xxsLMWnmhcnlF98z2dc4LuQPSc96cLBQ==",
      "version": "1.1.3",
      "resolved": "https://registry.npmjs.org/@dnbhq/biome-config/-/biome-config-1.1.3.tgz",
      "integrity": "sha512-Ky9M/R1BTi/eMY2hcKZrW+uLu2IVwJ/tmwciSyKOngu+n7l9iZmUjfBY7l5YLqkck07MXp3clVGLSsVGPDC+og==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=26"
      },
      "peerDependencies": {
        "@biomejs/biome": ">=2.5.0"
        "@biomejs/biome": ">=2.6.0 <3"
      }
    },
    "node_modules/@dnbhq/lintstaged-config": {
package.json
@@ -26,7 +26,7 @@
  "devDependencies": {
    "@axe-core/playwright": "4.14.0",
    "@biomejs/biome": "2.6.3",
    "@dnbhq/biome-config": "0.3.1",
    "@dnbhq/biome-config": "1.1.3",
    "@dnbhq/lintstaged-config": "0.2.1",
    "@dnbhq/markdownlint-config": "2.0.0",
    "@dnbhq/release-config": "2.0.0",
tests/catalog.yaml
@@ -17,14 +17,8 @@
shortcodes:
  form-contact:
    tests: [
      "scripts/test-hugo-quickstart.ts",
    ] # TODO: add a dedicated form-contact test
    tests: ["scripts/test-hugo-quickstart.ts"] # TODO: add a dedicated form-contact test
  page-index:
    tests: [
      "scripts/test-hugo-quickstart.ts",
    ] # TODO: add a dedicated page-index test
    tests: ["scripts/test-hugo-quickstart.ts"] # TODO: add a dedicated page-index test
  since:
    tests: [
      "scripts/test-hugo-quickstart.ts",
    ] # TODO: add a dedicated since test
    tests: ["scripts/test-hugo-quickstart.ts"] # TODO: add a dedicated since test