@grafana/create-plugin 6.2.0 → 6.2.1-canary.2315.19531209952.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,7 +20,9 @@ async function runMigrations(migrations, options = {}) {
|
|
|
20
20
|
const context = await runCodemod(migration, options.codemodOptions);
|
|
21
21
|
const shouldCommit = options.commitEachMigration && context.hasChanges();
|
|
22
22
|
if (shouldCommit) {
|
|
23
|
-
await gitCommitNoVerify(`chore: run create-plugin migration - ${migration.name}
|
|
23
|
+
await gitCommitNoVerify(`chore: run create-plugin migration - ${migration.name}
|
|
24
|
+
|
|
25
|
+
${migration.description}`);
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
setRootConfig({ version: CURRENT_APP_VERSION });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "6.2.0",
|
|
3
|
+
"version": "6.2.1-canary.2315.19531209952.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/create-plugin",
|
|
6
6
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=20"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "28f3c34275d558f7a2ad1878a5777957db7f7a70"
|
|
65
65
|
}
|
|
@@ -38,7 +38,8 @@ export async function runMigrations(migrations: Migration[], options: RunMigrati
|
|
|
38
38
|
const shouldCommit = options.commitEachMigration && context.hasChanges();
|
|
39
39
|
|
|
40
40
|
if (shouldCommit) {
|
|
41
|
-
|
|
41
|
+
// for conventional commits we need to add a newline between the title and the description
|
|
42
|
+
await gitCommitNoVerify(`chore: run create-plugin migration - ${migration.name}\n\n${migration.description}`);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
|