mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-01 04:50:27 +00:00
ci: regenerate codemirror languages on renovate npm updates (#38267)
Adds `make generate-codemirror-languages` to the npm group's `postUpgradeTasks` in `renovate.json5`, so renovate regenerates `assets/codemirror-languages.json` whenever `@codemirror/language-data` (or any npm dep) updates — mirroring the existing `make svg` handling. Also reformats the `fileFilters` arrays multi-line and regenerates the asset to pick up current upstream linguist languages.
This commit is contained in:
8
assets/codemirror-languages.json
generated
8
assets/codemirror-languages.json
generated
@@ -436,6 +436,7 @@
|
||||
"jsonl",
|
||||
"mcmeta",
|
||||
"sarif",
|
||||
"slnlaunch",
|
||||
"tact",
|
||||
"tfstate",
|
||||
"topojson",
|
||||
@@ -691,10 +692,17 @@
|
||||
"extensions": [
|
||||
"ini",
|
||||
"cnf",
|
||||
"container",
|
||||
"dof",
|
||||
"lektorproject",
|
||||
"mount",
|
||||
"network",
|
||||
"prefs",
|
||||
"properties",
|
||||
"service",
|
||||
"socket",
|
||||
"target",
|
||||
"timer",
|
||||
"url",
|
||||
"conf"
|
||||
],
|
||||
|
||||
@@ -73,7 +73,11 @@
|
||||
"postUpdateOptions": ["gomodUpdateImportPaths"],
|
||||
"postUpgradeTasks": {
|
||||
"commands": ["make tidy"],
|
||||
"fileFilters": ["go.mod", "go.sum", "assets/go-licenses.json"],
|
||||
"fileFilters": [
|
||||
"go.mod",
|
||||
"go.sum",
|
||||
"assets/go-licenses.json",
|
||||
],
|
||||
"executionMode": "branch",
|
||||
},
|
||||
},
|
||||
@@ -95,8 +99,15 @@
|
||||
"matchManagers": ["npm"],
|
||||
"postUpdateOptions": ["pnpmDedupe"],
|
||||
"postUpgradeTasks": {
|
||||
"commands": ["make svg"],
|
||||
"fileFilters": ["package.json", "pnpm-lock.yaml", "pnpm-workspace.yaml", "public/assets/img/svg/**", "options/fileicon/**"],
|
||||
"commands": ["make svg", "make generate-codemirror-languages"],
|
||||
"fileFilters": [
|
||||
"package.json",
|
||||
"pnpm-lock.yaml",
|
||||
"pnpm-workspace.yaml",
|
||||
"public/assets/img/svg/**",
|
||||
"options/fileicon/**",
|
||||
"assets/codemirror-languages.json",
|
||||
],
|
||||
"executionMode": "branch",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user