From 9dde5ce6a3ebe10431749b5e1ddc858b90c38288 Mon Sep 17 00:00:00 2001 From: mhenrixon Date: Sat, 4 Jul 2026 10:48:21 +0200 Subject: [PATCH] chore(deps): admit rouge 5 + refresh the dogfood site's gems and node packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gemspec's rouge `< 5` cap silently DOWNGRADED consuming sites already on rouge 5.x (daisyui's docs app went 5.0.0 -> 4.7.0 during the 1.0.3 rollout). Widen to `< 6` — the full component suite (736 examples, incl. the ~12-lexer Code specs + inline theme CSS) passes against rouge 5.0.0. Dogfood site refreshed to prove the pairing end-to-end: - gems: rouge 5.0.0, daisyui 1.2.1, playwright-ruby-client 1.61.0 (+ strscan, rouge 5's dep) - node: tailwindcss/@tailwindcss/cli 4.3.2, daisyui 5.6.13, playwright 1.61.1 - CSS rebuilt (daisyUI 5.6.13); docs suite 15/15 incl. Playwright system specs All other gemspec runtime constraints already admit their latest (phlex-rails 2.4, rails_icons 1.9, commonmarker 2.8, nokogiri 1.19, zeitwerk 2.8) — no widening needed. Claude-Session: https://claude.ai/code/session_01FPQb6z3YwcKRMbvoJhdxnX --- docs-kit.gemspec | 6 ++++-- docs/Gemfile.lock | 29 ++++++++++++++++------------- docs/bun.lock | 10 +++++----- docs/package.json | 8 ++++---- 4 files changed, 29 insertions(+), 24 deletions(-) diff --git a/docs-kit.gemspec b/docs-kit.gemspec index e29d7b8..6fdee54 100644 --- a/docs-kit.gemspec +++ b/docs-kit.gemspec @@ -57,8 +57,10 @@ Gem::Specification.new do |s| s.add_dependency "phlex-rails", ">= 2.0", "< 3" # lucide icons synced into the host app's assets. s.add_dependency "rails_icons", "~> 1.1" - # Syntax highlighting for Docs::Code. - s.add_dependency "rouge", ">= 4.0", "< 5" + # Syntax highlighting for Docs::Code. Admits rouge 5 (verified against the + # component suite) — the `< 5` cap was silently DOWNGRADING consuming sites + # that already ran rouge 5.x (seen in daisyui's docs app). + s.add_dependency "rouge", ">= 4.0", "< 6" # GFM parsing for DocsUI::Markdown (v2 = Rust/comrak, precompiled; GFM tables + # strikethrough + autolink on by default). We walk its AST to Phlex nodes, so # commonmarker never renders HTML we'd have to html_safe. diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 6684927..75dbb1c 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -1,13 +1,13 @@ PATH remote: .. specs: - docs-kit (1.0.2) + docs-kit (1.0.3) commonmarker (~> 2.0) daisyui (>= 1.2, < 2) nokogiri (>= 1.15, < 2) phlex-rails (>= 2.0, < 3) rails_icons (~> 1.1) - rouge (>= 4.0, < 5) + rouge (>= 4.0, < 6) zeitwerk (~> 2.6) GEM @@ -116,7 +116,7 @@ GEM concurrent-ruby (1.3.7) connection_pool (3.0.2) crass (1.0.7) - daisyui (1.2.0) + daisyui (1.2.1) phlex (~> 2.0, >= 2.0.0) zeitwerk (~> 2.6) date (3.5.1) @@ -150,7 +150,7 @@ GEM hana (~> 1.3) regexp_parser (~> 2.0) simpleidn (~> 0.2) - language_server-protocol (3.17.0.5) + language_server-protocol (3.17.0.6) lint_roller (1.1.0) logger (1.7.0) loofah (2.25.1) @@ -197,7 +197,7 @@ GEM phlex (~> 2.4.0) railties (>= 7.1, < 9) zeitwerk (~> 2.7) - playwright-ruby-client (1.60.0) + playwright-ruby-client (1.61.0) base64 concurrent-ruby (>= 1.1.6) mime-types (>= 3.0) @@ -271,7 +271,8 @@ GEM regexp_parser (2.12.0) reline (0.6.3) io-console (~> 0.5) - rouge (4.7.0) + rouge (5.0.0) + strscan (~> 3.1) rspec-core (3.13.6) rspec-support (~> 3.13.0) rspec-expectations (3.13.5) @@ -289,7 +290,7 @@ GEM rspec-mocks (>= 3.13.0, < 5.0.0) rspec-support (>= 3.13.0, < 5.0.0) rspec-support (3.13.7) - rubocop (1.88.0) + rubocop (1.88.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -329,6 +330,7 @@ GEM simpleidn (0.2.3) stimulus-rails (1.3.4) railties (>= 6.0.0) + strscan (3.1.8) thor (1.5.0) thruster (0.1.22) thruster (0.1.22-arm64-darwin) @@ -412,11 +414,11 @@ CHECKSUMS concurrent-ruby (1.3.7) sha256=4412caec3a5ea2e5fdc52076724c071a81f2c0593d83b2ac8cbb8ca63b3151b0 connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a crass (1.0.7) sha256=94868719948664c89ddcaf0a37c65048413dfcb1c869470a5f7a7ceb5390b295 - daisyui (1.2.0) sha256=4581f30fba9818882966c727d8499e26ed5597edfabd73ac0acf2639abd85d4d + daisyui (1.2.1) sha256=597b52d19fbfd4e06d08a72ac45c62379caedd6b0d68dcbfe7ed5623009c14b3 date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0 debug (1.11.1) sha256=2e0b0ac6119f2207a6f8ac7d4a73ca8eb4e440f64da0a3136c30343146e952b6 diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962 - docs-kit (1.0.2) + docs-kit (1.0.3) drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373 erb (6.0.4) sha256=38e3803694be357fe2bfe312487c74beaf9fb4e5beb3e22498952fe1645b95d9 erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9 @@ -429,7 +431,7 @@ CHECKSUMS irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3 json (2.20.0) sha256=9362bc6e55a952b056abf9167cf053358181c904cb70cd6eee0808ea830fc32b json_schemer (2.5.0) sha256=2f01fb4cce721a4e08dd068fc2030cffd0702a7f333f1ea2be6e8991f00ae396 - language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc + language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0 lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87 logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203 loofah (2.25.1) sha256=d436c73dbd0c1147b16c4a41db097942d217303e1f7728704b37e4df9f6d2e04 @@ -451,7 +453,7 @@ CHECKSUMS parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54 phlex (2.4.1) sha256=e596717fbfe38b5271840266758779ebe75092e02629f0c170287e6290a70b12 phlex-rails (2.4.0) sha256=2bcddbd488681acb25753bab1887d3ac150e644244ff8ba307f2171a4d0195f5 - playwright-ruby-client (1.60.0) sha256=942242d6130e797b21213d9c49dc09d31235cab429a9edae73401ed112c94853 + playwright-ruby-client (1.61.0) sha256=1f5c5f0307a2f6bd70b4fa797020a30eef5680caf8d5bd9ccc8d3937f6666e08 pp (0.6.4) sha256=dfcb0fce700c41456265922884f9fe195d7fbb0674a3578e6c0f69588e82b570 prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193 prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85 @@ -475,13 +477,13 @@ CHECKSUMS refract (1.1.0) sha256=ee3b9627e39f7692831101e2fedd73e0d09a592ff5d5c05f171d14211fc7a9c7 regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835 - rouge (4.7.0) sha256=dba5896715c0325c362e895460a6d350803dbf6427454f49a47500f3193ea739 + rouge (5.0.0) sha256=e2de9bba2f9cb88f8a73bca3643b560b2b398f32f91bf716f584477bc0175ebc rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836 rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47 rspec-rails (8.0.4) sha256=06235692fc0892683d3d34977e081db867434b3a24ae0dd0c6f3516bad4e22df rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c - rubocop (1.88.0) sha256=e420ddf1662d0ef34bc8a2910ac4b396a7ddda0b51a708264405241734b08e0b + rubocop (1.88.1) sha256=726af773d6bc169ed3ff852f3ca020b7c58d39c34e7a8d879a8e0147cc994f26 rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035 rubocop-capybara (3.0.0) sha256=7a64655238acda7f8f3c87e37ac825a64c615a79c17c253f1a28270dc3768c4b rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834 @@ -492,6 +494,7 @@ CHECKSUMS securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1 simpleidn (0.2.3) sha256=08ce96f03fa1605286be22651ba0fc9c0b2d6272c9b27a260bc88be05b0d2c29 stimulus-rails (1.3.4) sha256=765676ffa1f33af64ce026d26b48e8ffb2e0b94e0f50e9119e11d6107d67cb06 + strscan (3.1.8) sha256=aae2db611a225559f21ffbb71765c9a4e60fd262534a9ea84f4f11c7f32f679e thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73 thruster (0.1.22) sha256=f34fb82bd3e31570ae8f8b930e484f9e1db7b080cbc993d49090b161879c3e05 thruster (0.1.22-arm64-darwin) sha256=d0506142832b1b020ab687dbfb938ec7cb07eeaabebc7f8682a73e8f0636917b diff --git a/docs/bun.lock b/docs/bun.lock index 590f2ec..a93b9df 100644 --- a/docs/bun.lock +++ b/docs/bun.lock @@ -4,10 +4,10 @@ "workspaces": { "": { "devDependencies": { - "@tailwindcss/cli": "^4.1.18", - "daisyui": "^5.6.0", - "playwright": "^1.50.0", - "tailwindcss": "^4.1.18", + "@tailwindcss/cli": "latest", + "daisyui": "latest", + "playwright": "latest", + "tailwindcss": "latest", }, }, }, @@ -82,7 +82,7 @@ "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], - "daisyui": ["daisyui@5.6.6", "", {}, "sha512-UFiuIZYucF7ylrnY3PT1SqwaEbVB10mqTZRyeRchZk0bud+HihYLLhXdxGDVmR/ftrM9G9YVr9FFPRVVIZJ5hA=="], + "daisyui": ["daisyui@5.6.13", "", {}, "sha512-0UHyNG3TzF7pDIbPcWyLKQfgtGhJcIq2x26jwsDKp7ZhL0GwaqIMZ12+TWfp8p+mE4NNc29SJk63hEXTz3MQkg=="], "detect-libc": ["detect-libc@1.0.3", "", { "bin": { "detect-libc": "./bin/detect-libc.js" } }, "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg=="], diff --git a/docs/package.json b/docs/package.json index 17467b2..a80cacd 100644 --- a/docs/package.json +++ b/docs/package.json @@ -5,9 +5,9 @@ "watch:css": "bin/build-css --watch" }, "devDependencies": { - "@tailwindcss/cli": "^4.1.18", - "daisyui": "^5.6.0", - "playwright": "^1.50.0", - "tailwindcss": "^4.1.18" + "@tailwindcss/cli": "^4.3.2", + "daisyui": "^5.6.13", + "playwright": "^1.61.1", + "tailwindcss": "^4.3.2" } }