Legoktm added a comment.
So first, I note that ContentTranslation has seemed to gotten this working without any libup intervention, see e.g. https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/ContentTranslation/+/ec12768a718a8bccf070a70b86c9c42afe603362 I believe this works because of https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/ContentTranslation/+/refs/heads/master/package.json where `npm test` runs both the main test and the sub test. Would doing something like that work for the Wikibase repos? For actually implementing this in libup, recursing through subdirectories to run the `npm ...` commands should be straightforward. The main technical issue would be how to represent dependencies in libup's internal tracking database, especially if they're conflicting. For now, I think we could internally pretend each nested package.json is a separate repository with some fake name like `mediawiki/extensions/Wikibase:client/data-bridge/package.json`. TASK DETAIL https://phabricator.wikimedia.org/T228527 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: darthmon_wmde, WMDE-leszek, Addshore, Daimona, Michael, Legoktm, Jdforrester-WMF, Aklapper, Lucas_Werkmeister_WMDE, Esanders, Akuckartz, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, abian, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs