@grafana/create-plugin 6.5.0-canary.2320.20267597497.0 → 6.5.0-canary.2320.20267963205.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.
@@ -49,15 +49,15 @@ function i18nAddition(context, options) {
49
49
  } catch (error) {
50
50
  additionsDebug(`Error ensuring i18next external: ${error instanceof Error ? error.message : String(error)}`);
51
51
  }
52
- console.log("\n\u2705 i18n support has been successfully added to your plugin!\n");
53
- console.log("Next steps:");
54
- console.log("1. Follow the instructions to translate your source code:");
55
- console.log(
52
+ additionsDebug("\n\u2705 i18n support has been successfully added to your plugin!\n");
53
+ additionsDebug("Next steps:");
54
+ additionsDebug("1. Follow the instructions to translate your source code:");
55
+ additionsDebug(
56
56
  " https://grafana.com/developers/plugin-tools/how-to-guides/plugin-internationalization-grafana-11#determine-the-text-to-translate"
57
57
  );
58
- console.log("2. Run the i18n-extract script to scan your code for translatable strings:");
59
- console.log(" npm run i18n-extract (or yarn/pnpm run i18n-extract)");
60
- console.log("3. Fill in your locale JSON files with translated strings\n");
58
+ additionsDebug("2. Run the i18n-extract script to scan your code for translatable strings:");
59
+ additionsDebug(" npm run i18n-extract (or yarn/pnpm run i18n-extract)");
60
+ additionsDebug("3. Fill in your locale JSON files with translated strings\n");
61
61
  return context;
62
62
  }
63
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "6.5.0-canary.2320.20267597497.0",
3
+ "version": "6.5.0-canary.2320.20267963205.0",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -56,5 +56,5 @@
56
56
  "engines": {
57
57
  "node": ">=20"
58
58
  },
59
- "gitHead": "98307e6a7ae71c85e59d5b7bf2f2eeb98f9fb332"
59
+ "gitHead": "2d7dc3b835015e2b3c24f53907ad874b344446af"
60
60
  }
@@ -88,15 +88,15 @@ export default function i18nAddition(context: Context, options: I18nOptions): Co
88
88
  }
89
89
 
90
90
  // Success message with next steps
91
- console.log('\n✅ i18n support has been successfully added to your plugin!\n');
92
- console.log('Next steps:');
93
- console.log('1. Follow the instructions to translate your source code:');
94
- console.log(
91
+ additionsDebug('\n✅ i18n support has been successfully added to your plugin!\n');
92
+ additionsDebug('Next steps:');
93
+ additionsDebug('1. Follow the instructions to translate your source code:');
94
+ additionsDebug(
95
95
  ' https://grafana.com/developers/plugin-tools/how-to-guides/plugin-internationalization-grafana-11#determine-the-text-to-translate'
96
96
  );
97
- console.log('2. Run the i18n-extract script to scan your code for translatable strings:');
98
- console.log(' npm run i18n-extract (or yarn/pnpm run i18n-extract)');
99
- console.log('3. Fill in your locale JSON files with translated strings\n');
97
+ additionsDebug('2. Run the i18n-extract script to scan your code for translatable strings:');
98
+ additionsDebug(' npm run i18n-extract (or yarn/pnpm run i18n-extract)');
99
+ additionsDebug('3. Fill in your locale JSON files with translated strings\n');
100
100
 
101
101
  return context;
102
102
  }