chore: generate codemirror languages from linguist-languages package (#38624)

Replace the previous main-branch fetch with data from npm package
[`linguist-languages`](https://github.com/ikatyang-collab/linguist-languages)
and only run generate targets when actually needed. The removed
`fileFilters` were leftovers from the nolyfill removal.
This commit is contained in:
silverwind
2026-07-26 12:19:53 +02:00
committed by GitHub
parent a2166293f7
commit b4eb8c03c4
5 changed files with 23 additions and 21 deletions
+11 -6
View File
@@ -114,17 +114,22 @@
{
"matchManagers": ["npm"],
"postUpdateOptions": ["pnpmDedupe"],
},
{
"matchPackageNames": ["@primer/octicons", "material-icon-theme", "svgo"],
"postUpgradeTasks": {
"commands": ["make svg", "make generate-codemirror-languages"],
"commands": ["make svg"],
"fileFilters": [
"package.json",
"pnpm-lock.yaml",
"pnpm-workspace.yaml",
"public/assets/img/svg/**",
"options/fileicon/**",
"assets/codemirror-languages.json",
],
"executionMode": "branch",
},
},
{
"matchPackageNames": ["@codemirror/language-data", "linguist-languages"],
"postUpgradeTasks": {
"commands": ["make generate-codemirror-languages"],
"fileFilters": ["assets/codemirror-languages.json"],
},
},
],