0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2025-07-13 07:10:50 +08:00

default.json5

This commit is contained in:
严浩
2024-10-14 11:34:59 +08:00
committed by GitHub
parent cfce3f61d5
commit d4f1aba7b2
2 changed files with 6 additions and 8 deletions

View File

@ -29,12 +29,13 @@
],
"customManagers": [
// https://semantic-release.gitbook.io/semantic-release/usage/installation#notes
// == npx semantic-release@xx ==
/* === run: npx semantic-release@24 === */
{
"customType": "regex",
"description": "Update semantic-release version used by npx",
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$"
"^\\.github/workflows/[^/]+\\.ya?ml$",
"^default\\.json5$"
],
"matchStrings": [
"\\srun: npx semantic-release@(?<currentValue>.*?)\\s"
@ -42,12 +43,13 @@
"datasourceTemplate": "npm",
"depNameTemplate": "semantic-release"
},
// ==
/* === use-node-version=16.0.0 === */
{
"customType": "regex",
"description": "Update Node.js version configured in `.npmrc`. match `use-node-version=22.9.0`",
"fileMatch": [
"^\\.npmrc$"
"^\\.npmrc$",
"^default\\.json5$"
],
"matchStrings": [
"use-node-version=(?<currentValue>.*?)$"