テーマlintが失敗しました -- "@discourse/lint-configs/stylelint"が見つかりません

数日前にスケルトンから始まったテーマコンポーネントがあります。ローカルで実行したときはテストに合格したように見えましたが、GitHubでは失敗しました。そこで mass-pr を実行してテーマ関連のものを更新しましたが、現在失敗しており、私のせいではないように見えます。

Run if test -f stylelint.config.mjs; then
  if test -f stylelint.config.mjs; then
    pnpm stylelint --allow-empty-input "{javascripts,desktop,mobile,common,scss}/**/*.scss"
  fi
  shell: /usr/bin/bash -e {0}
  env:
    JS_PKG_MANAGER_NULL_VALUE: none
Error: Could not find "@discourse/lint-configs/stylelint". Do you need to install the package or use the "configBasedir" option?
    at configurationError (file:///home/runner/work/right-sidebar-blocks-customization/right-sidebar-blocks-customization/node_modules/.pnpm/stylelint@16.14.1_typescript@5.8.2/node_modules/stylelint/lib/utils/configurationError.mjs:12:49)
    at getModulePath (file:///home/runner/work/right-sidebar-blocks-customization/right-sidebar-blocks-customization/node_modules/.pnpm/stylelint@16.14.1_typescript@5.8.2/node_modules/stylelint/lib/utils/getModulePath.mjs:29:9)
    at loadExtendedConfig (file:///home/runner/work/right-sidebar-blocks-customization/right-sidebar-blocks-customization/node_modules/.pnpm/stylelint@16.14.1_typescript@5.8.2/node_modules/stylelint/lib/augmentConfig.mjs:225:21)

何かできることはありますか?

「いいね!」 3

パッケージ.json を確認したところ、@discourse/lint-configs のバージョンが \"@discourse/lint-configs\": \"2.4.0\" に後退しているようです。

最新の lint-configs のバージョンは 2.11.0 です。
https://www.npmjs.com/package/@discourse/lint-configs/v/2.11.0?activeTab=readme

「いいね!」 2

ああ、stylelint の mass-pr の変更をまだマージしていませんでした。しかし、スケルトンは更新しました。そのため、mass-pr の main バージョンを実行したことで、リポジトリが後退してしまいました :sweat_smile:

PR が進行中です こちらので、それをチェックして物事を修復するために使用できるでしょう。

(@cvx この PR をマージできますか? それともまだ追加するものはありますか?)

「いいね!」 2

骨から質量が引き出されたと考えていました。もっと注意を払ってみます。

「いいね!」 1

残りの変更をすべてプッシュしました。再レビューの準備ができました!

その通りですが、コピーされるのは一部のファイル(認識しているファイル)のみです :smiley:

「いいね!」 4