@grafana/create-plugin 5.26.0 → 5.26.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,17 @@
1
+ # v5.26.1 (Mon Sep 01 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Create Plugin: always externalize i18next [#2047](https://github.com/grafana/plugin-tools/pull/2047) ([@hugohaggmark](https://github.com/hugohaggmark))
6
+ - Update dependency @grafana/plugin-e2e to v2.1.10 [#2073](https://github.com/grafana/plugin-tools/pull/2073) ([@renovate[bot]](https://github.com/renovate[bot]))
7
+
8
+ #### Authors: 2
9
+
10
+ - [@renovate[bot]](https://github.com/renovate[bot])
11
+ - Hugo Häggmark ([@hugohaggmark](https://github.com/hugohaggmark))
12
+
13
+ ---
14
+
1
15
  # v5.26.0 (Fri Aug 29 2025)
2
16
 
3
17
  #### 🚀 Enhancement
package/CONTRIBUTING.md CHANGED
@@ -47,7 +47,7 @@ npm install
47
47
 
48
48
  ## Development
49
49
 
50
- There are a collection of [commands](#commmands) to assist with developing `create-plugin`. Please read the main [contributing guide](../../CONTRIBUTING.md) before contributing any code changes to the project.
50
+ There are a collection of [commands](#commands) to assist with developing `create-plugin`. Please read the main [contributing guide](../../CONTRIBUTING.md) before contributing any code changes to the project.
51
51
 
52
52
  Development requires linking this application so you can run it in your terminal to see what effect your changes have.
53
53
 
@@ -69,7 +69,7 @@ You should now be able to run `npx create-plugin` or `npx create-plugin update`
69
69
 
70
70
  If you see `create-plugin not found` try running `npm unlink -g @grafana/create-plugin` then run the build and link commands again.
71
71
 
72
- ### Commmands
72
+ ### Commands
73
73
 
74
74
  Below are the main commands used for developing `create-plugin`. They can be run using either `npx nx run`, `npm run` or navigating to `packages/create-plugin` and running the command directly.
75
75
 
@@ -227,5 +227,5 @@ describe('Migration - append profile to webpack', () => {
227
227
  To test a migration locally you'll need a plugin to test on.
228
228
 
229
229
  - Bump the version of create-plugin _(This can be necessary if your plugin was already updated using the latest create-plugin version.)_
230
- - Verify that the `.config/.cprc.json` in your plugin has a version that is lower than the bumped create-plugin version _(The `.cprc.json` holds the version of create-plugin that was used to scaffold / last update the plugin)
230
+ - Verify that the `.config/.cprc.json` in your plugin has a version that is lower than the bumped `create-plugin` version. `.cprc.json` holds the version of `create-plugin` that was used to scaffold or make the last update of the plugin.
231
231
  - Run `npx create-plugin update --experimentalUpdates` in your plugin (see instructions on how to link your create-plugin dev version)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "5.26.0",
3
+ "version": "5.26.1",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=20"
62
62
  },
63
- "gitHead": "26e247a79d5fed2259c8385a4ff68deb2dafa988"
63
+ "gitHead": "15542c798628e8651a56c2a87b3cd16f44df38c0"
64
64
  }
@@ -72,6 +72,7 @@ const config = async (env: Env): Promise<Configuration> => {
72
72
  'react-redux',
73
73
  'redux',
74
74
  'rxjs',
75
+ 'i18next',
75
76
  'react-router',{{#unless useReactRouterV6}}
76
77
  'react-router-dom',{{/unless}}
77
78
  'd3',
@@ -79,8 +80,7 @@ const config = async (env: Env): Promise<Configuration> => {
79
80
  /^@grafana\/ui/i,{{/unless}}
80
81
  /^@grafana\/runtime/i,
81
82
  /^@grafana\/data/i,{{#if bundleGrafanaUI}}
82
- 'react-inlinesvg',
83
- 'i18next',{{/if}}
83
+ 'react-inlinesvg',{{/if}}
84
84
 
85
85
  // Mark legacy SDK imports as external if their name starts with the "grafana/" prefix
86
86
  ({ request }, callback) => {
@@ -21,7 +21,7 @@
21
21
  {{#if useCypress}} "@grafana/e2e": "^11.0.7",
22
22
  "@grafana/e2e-selectors": "^12.0.2",{{/if}}
23
23
  "@grafana/eslint-config": "^8.0.0",{{#if usePlaywright}}
24
- "@grafana/plugin-e2e": "^2.1.9",{{/if}}
24
+ "@grafana/plugin-e2e": "^2.1.10",{{/if}}
25
25
  "@grafana/tsconfig": "^2.0.0",{{#if usePlaywright}}
26
26
  "@playwright/test": "^1.52.0",{{/if}}{{#if useExperimentalRspack}}
27
27
  "@rspack/core": "^1.3.0",
@@ -76,6 +76,7 @@
76
76
  "dependencies": {
77
77
  "@emotion/css": "11.10.6",
78
78
  "@grafana/data": "^12.1.0",
79
+ "@grafana/i18n": "^12.1.0",
79
80
  "@grafana/runtime": "^12.1.0",
80
81
  "@grafana/ui": "^12.1.0",
81
82
  "@grafana/schema": "^12.1.0",{{#if_eq pluginType "scenesapp" }}