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",
|
"jsonl",
|
||||||
"mcmeta",
|
"mcmeta",
|
||||||
"sarif",
|
"sarif",
|
||||||
|
"slnlaunch",
|
||||||
"tact",
|
"tact",
|
||||||
"tfstate",
|
"tfstate",
|
||||||
"topojson",
|
"topojson",
|
||||||
@@ -691,10 +692,17 @@
|
|||||||
"extensions": [
|
"extensions": [
|
||||||
"ini",
|
"ini",
|
||||||
"cnf",
|
"cnf",
|
||||||
|
"container",
|
||||||
"dof",
|
"dof",
|
||||||
"lektorproject",
|
"lektorproject",
|
||||||
|
"mount",
|
||||||
|
"network",
|
||||||
"prefs",
|
"prefs",
|
||||||
"properties",
|
"properties",
|
||||||
|
"service",
|
||||||
|
"socket",
|
||||||
|
"target",
|
||||||
|
"timer",
|
||||||
"url",
|
"url",
|
||||||
"conf"
|
"conf"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -73,7 +73,11 @@
|
|||||||
"postUpdateOptions": ["gomodUpdateImportPaths"],
|
"postUpdateOptions": ["gomodUpdateImportPaths"],
|
||||||
"postUpgradeTasks": {
|
"postUpgradeTasks": {
|
||||||
"commands": ["make tidy"],
|
"commands": ["make tidy"],
|
||||||
"fileFilters": ["go.mod", "go.sum", "assets/go-licenses.json"],
|
"fileFilters": [
|
||||||
|
"go.mod",
|
||||||
|
"go.sum",
|
||||||
|
"assets/go-licenses.json",
|
||||||
|
],
|
||||||
"executionMode": "branch",
|
"executionMode": "branch",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -95,8 +99,15 @@
|
|||||||
"matchManagers": ["npm"],
|
"matchManagers": ["npm"],
|
||||||
"postUpdateOptions": ["pnpmDedupe"],
|
"postUpdateOptions": ["pnpmDedupe"],
|
||||||
"postUpgradeTasks": {
|
"postUpgradeTasks": {
|
||||||
"commands": ["make svg"],
|
"commands": ["make svg", "make generate-codemirror-languages"],
|
||||||
"fileFilters": ["package.json", "pnpm-lock.yaml", "pnpm-workspace.yaml", "public/assets/img/svg/**", "options/fileicon/**"],
|
"fileFilters": [
|
||||||
|
"package.json",
|
||||||
|
"pnpm-lock.yaml",
|
||||||
|
"pnpm-workspace.yaml",
|
||||||
|
"public/assets/img/svg/**",
|
||||||
|
"options/fileicon/**",
|
||||||
|
"assets/codemirror-languages.json",
|
||||||
|
],
|
||||||
"executionMode": "branch",
|
"executionMode": "branch",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user