@grafana/create-plugin 5.25.0 → 5.25.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
|
+
# v5.25.1 (Mon Jun 30 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Add useExperimentalUpdates to feature flags for migration adoption [#1935](https://github.com/grafana/plugin-tools/pull/1935) ([@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v5.25.0 (Wed Jun 25 2025)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -3,6 +3,7 @@ import { migrationUpdate } from './update.migrate.command.js';
|
|
|
3
3
|
import { isGitDirectory, isGitDirectoryClean } from '../utils/utils.git.js';
|
|
4
4
|
import { output } from '../utils/utils.console.js';
|
|
5
5
|
import { isPluginDirectory } from '../utils/utils.plugin.js';
|
|
6
|
+
import { getConfig } from '../utils/utils.config.js';
|
|
6
7
|
|
|
7
8
|
const update = async (argv) => {
|
|
8
9
|
if (!await isGitDirectory() && !argv.force) {
|
|
@@ -39,7 +40,7 @@ const update = async (argv) => {
|
|
|
39
40
|
});
|
|
40
41
|
process.exit(1);
|
|
41
42
|
}
|
|
42
|
-
if (argv.experimentalUpdates) {
|
|
43
|
+
if (argv.experimentalUpdates || getConfig().features.useExperimentalUpdates) {
|
|
43
44
|
return await migrationUpdate(argv);
|
|
44
45
|
}
|
|
45
46
|
return await standardUpdate();
|
package/dist/constants.js
CHANGED
|
@@ -32,7 +32,8 @@ const DEFAULT_FEATURE_FLAGS = {
|
|
|
32
32
|
useReactRouterV6: true,
|
|
33
33
|
bundleGrafanaUI: false,
|
|
34
34
|
usePlaywright: true,
|
|
35
|
-
useExperimentalRspack: false
|
|
35
|
+
useExperimentalRspack: false,
|
|
36
|
+
useExperimentalUpdates: false
|
|
36
37
|
};
|
|
37
38
|
const GRAFANA_FE_PACKAGES = [
|
|
38
39
|
"@grafana/data",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "5.25.
|
|
3
|
+
"version": "5.25.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/create-plugin",
|
|
6
6
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=20"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b687405adef21fdff0ed01916ad262b623cc3bc9"
|
|
62
62
|
}
|
|
@@ -4,6 +4,7 @@ import { migrationUpdate } from './update.migrate.command.js';
|
|
|
4
4
|
import { isGitDirectory, isGitDirectoryClean } from '../utils/utils.git.js';
|
|
5
5
|
import { output } from '../utils/utils.console.js';
|
|
6
6
|
import { isPluginDirectory } from '../utils/utils.plugin.js';
|
|
7
|
+
import { getConfig } from '../utils/utils.config.js';
|
|
7
8
|
|
|
8
9
|
export const update = async (argv: minimist.ParsedArgs) => {
|
|
9
10
|
if (!(await isGitDirectory()) && !argv.force) {
|
|
@@ -46,7 +47,7 @@ export const update = async (argv: minimist.ParsedArgs) => {
|
|
|
46
47
|
process.exit(1);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
if (argv.experimentalUpdates) {
|
|
50
|
+
if (argv.experimentalUpdates || getConfig().features.useExperimentalUpdates) {
|
|
50
51
|
return await migrationUpdate(argv);
|
|
51
52
|
}
|
|
52
53
|
|
package/src/constants.ts
CHANGED