@grafana/create-plugin 6.2.0 → 6.2.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v6.2.1 (Thu Nov 20 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Create Plugin: use migration description for commit messages [#2315](https://github.com/grafana/plugin-tools/pull/2315) ([@jackw](https://github.com/jackw))
6
+
7
+ #### Authors: 1
8
+
9
+ - Jack Westbrook ([@jackw](https://github.com/jackw))
10
+
11
+ ---
12
+
1
13
  # v6.2.0 (Thu Nov 20 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -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} (${migration.scriptPath})`);
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",
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": "0ce6b92fb308b79f5c201eee6456213910f53b77"
64
+ "gitHead": "1f334497771024c2e125a7295e3c4b9a22150ee0"
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
- await gitCommitNoVerify(`chore: run create-plugin migration - ${migration.name} (${migration.scriptPath})`);
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