-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support 3rd-party dprint plugins #185
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! The change looks good to me 👍
I may add the dependency in
renovate-config-dprint/dprint.json
Lines 18 to 25 in 5acfcad
"plugins": [ | |
"https://plugins.dprint.dev/typescript-0.90.5.wasm", | |
"https://plugins.dprint.dev/json-0.19.2.wasm", | |
"https://plugins.dprint.dev/markdown-0.17.0.wasm", | |
"https://plugins.dprint.dev/toml-0.6.1.wasm", | |
"https://plugins.dprint.dev/dockerfile-0.3.0.wasm", | |
"https://plugins.dprint.dev/sql-0.2.0.wasm" | |
] |
"regex": [
{
"deps": [
{
"depName": "dprint/dprint-plugin-typescript",
"currentValue": "0.89.2",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/typescript-0.89.2.wasm\"",
"updates": [
{
"bucket": "non-major",
"newVersion": "0.90.5",
"newValue": "0.90.5",
"releaseTimestamp": "2024-05-05T23:38:01.000Z",
"newMajor": 0,
"newMinor": 90,
"updateType": "minor",
"branchName": "renovate/dprint-dprint-plugin-typescript-0.x"
}
],
"packageName": "dprint/dprint-plugin-typescript",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/dprint/dprint-plugin-typescript",
"registryUrl": "https://github.com",
"currentVersion": "0.89.2",
"isSingleVersion": true,
"fixedVersion": "0.89.2"
},
{
"depName": "dprint/dprint-plugin-json",
"currentValue": "0.19.2",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/json-0.19.2.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-json",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/dprint/dprint-plugin-json",
"registryUrl": "https://github.com",
"currentVersion": "0.19.2",
"fixedVersion": "0.19.2"
},
{
"depName": "dprint/dprint-plugin-markdown",
"currentValue": "0.17.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/markdown-0.17.0.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-markdown",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/dprint/dprint-plugin-markdown",
"registryUrl": "https://github.com",
"currentVersion": "0.17.0",
"fixedVersion": "0.17.0"
},
{
"depName": "dprint/dprint-plugin-toml",
"currentValue": "0.6.1",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/toml-0.6.1.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-toml",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/dprint/dprint-plugin-toml",
"registryUrl": "https://github.com",
"currentVersion": "0.6.1",
"fixedVersion": "0.6.1"
},
{
"depName": "dprint/dprint-plugin-dockerfile",
"currentValue": "0.3.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/dockerfile-0.3.0.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-dockerfile",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/dprint/dprint-plugin-dockerfile",
"registryUrl": "https://github.com",
"currentVersion": "0.3.0",
"fixedVersion": "0.3.0"
},
{
"depName": "dprint/dprint-plugin-sql",
"currentValue": "0.2.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/sql-0.2.0.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-sql",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/dprint/dprint-plugin-sql",
"registryUrl": "https://github.com",
"currentVersion": "0.2.0",
"fixedVersion": "0.2.0"
},
{
"depName": "dprint/dprint-plugin-g",
"currentValue": "plane/malva-v0.2.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/g-plane/malva-v0.2.0.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-g",
"versioning": "semver-coerced",
"warnings": [
{
"topic": "dprint/dprint-plugin-g",
"message": "Failed to look up github-releases package dprint/dprint-plugin-g"
}
]
},
{
"depName": "dprint/dprint-plugin-g",
"currentValue": "plane/markup_fmt-v0.7.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/g-plane/markup_fmt-v0.7.0.wasm\"",
"updates": [],
"packageName": "dprint/dprint-plugin-g",
"versioning": "semver-coerced",
"warnings": [
{
"topic": "dprint/dprint-plugin-g",
"message": "Failed to look up github-releases package dprint/dprint-plugin-g"
}
]
}
],
"matchStrings": [
"\"https://plugins.dprint.dev/(?<depName>[^/]+)-(?<currentValue>.+?).wasm\""
],
"depNameTemplate": "dprint/dprint-plugin-{{{depName}}}",
"datasourceTemplate": "github-releases",
"packageFile": "dprint.json"
},
{
"deps": [
{
"depName": "g-plane/malva",
"currentValue": "v0.2.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/g-plane/malva-v0.2.0.wasm\"",
"updates": [
{
"bucket": "non-major",
"newVersion": "v0.3.1",
"newValue": "v0.3.1",
"releaseTimestamp": "2024-05-10T00:58:54.000Z",
"newMajor": 0,
"newMinor": 3,
"updateType": "minor",
"branchName": "renovate/g-plane-malva-0.x"
}
],
"packageName": "g-plane/malva",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/g-plane/malva",
"registryUrl": "https://github.com",
"currentVersion": "v0.2.0",
"isSingleVersion": true,
"fixedVersion": "v0.2.0"
},
{
"depName": "g-plane/markup_fmt",
"currentValue": "v0.7.0",
"datasource": "github-releases",
"replaceString": "\"https://plugins.dprint.dev/g-plane/markup_fmt-v0.7.0.wasm\"",
"updates": [
{
"bucket": "non-major",
"newVersion": "v0.8.0",
"newValue": "v0.8.0",
"releaseTimestamp": "2024-05-08T15:00:00.000Z",
"newMajor": 0,
"newMinor": 8,
"updateType": "minor",
"branchName": "renovate/g-plane-markup_fmt-0.x"
}
],
"packageName": "g-plane/markup_fmt",
"versioning": "semver-coerced",
"warnings": [],
"sourceUrl": "https://github.com/g-plane/markup_fmt",
"registryUrl": "https://github.com",
"currentVersion": "v0.7.0",
"isSingleVersion": true,
"fixedVersion": "v0.7.0"
}
],
"matchStrings": [
"\"https://plugins.dprint.dev/(?<depName>[^/]+/[^/]+)-(?<currentValue>.+?).wasm\""
],
"depNameTemplate": "{{{depName}}}",
"datasourceTemplate": "github-releases",
"packageFile": "dprint.json"
}
] |
02e89f0 => https://developer.mend.io/github/kachick/renovate-config-dprint/-/job/58660fff-cd0e-4c4d-8595-cc3f5e195303
#188 ✅ All changes worked 🎉 |
Close #175
Close #179