فشل تدقيق السمات لأن -- لم يتم العثور على "@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 إعجابات

بالنظر إلى ملف package.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)

آه، لم ندمج تغييرات mass-pr لـ stylelint بعد. لكننا قمنا بتحديث الهيكل. لذا فإن تشغيل الإصدار main من mass-pr قد أعاد مستودعك إلى الوراء :sweat_smile:
يوجد طلب سحب قيد التقدم هنا، لذا يمكنك ربما الاطلاع عليه واستخدامه لإصلاح الأمور.
(@cvx هل يمكننا دمج طلب السحب هذا؟ أم لا يزال هناك المزيد لإضافته؟)

إعجابَين (2)

كنت أعتقد أن الكتلة العضلية تم سحبها من الهيكل العظمي. سأحاول الانتباه عن كثب.

إعجاب واحد (1)

تم دفع جميع التغييرات المتبقية، جاهز لإعادة المراجعة!

هذا صحيح، ولكنه ينسخ فقط بعض الملفات (الملفات التي يعرفها):smiley:

4 إعجابات