@grafana/create-plugin 7.5.0-canary.2630.25784081775.0 → 7.5.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v7.5.0 (Wed May 13 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: disable package manager script execution [#2630](https://github.com/grafana/plugin-tools/pull/2630) ([@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v7.4.0 (Wed May 13 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -23,7 +23,11 @@ async function configureYarn(cwd) {
|
|
|
23
23
|
shell: true,
|
|
24
24
|
cwd
|
|
25
25
|
});
|
|
26
|
-
|
|
26
|
+
spawnSync("yarn", ["config", "set", "approvedGitRepositories", "--json", `'["https://github.com/grafana/*"]'`], {
|
|
27
|
+
shell: true,
|
|
28
|
+
cwd
|
|
29
|
+
});
|
|
30
|
+
return "Configured Yarn Berry to use node_modules, disabled script execution, and set approved Git repositories.";
|
|
27
31
|
} catch (error) {
|
|
28
32
|
throw new Error(
|
|
29
33
|
"There was an error configuring Yarn. Please run `yarn set version stable && yarn config set nodeLinker node-modules && yarn config set enableScripts false` in your plugin directory."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "7.5.0
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/create-plugin",
|
|
6
6
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=20"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "a5b29c0663a14099383f2cda889ff86df36086ae"
|
|
59
59
|
}
|
|
@@ -30,7 +30,12 @@ export async function configureYarn(cwd: string) {
|
|
|
30
30
|
shell: true,
|
|
31
31
|
cwd,
|
|
32
32
|
});
|
|
33
|
-
|
|
33
|
+
// TODO: Remove this once grafana/react-data-grid is published to NPM.
|
|
34
|
+
spawnSync('yarn', ['config', 'set', 'approvedGitRepositories', '--json', `'["https://github.com/grafana/*"]'`], {
|
|
35
|
+
shell: true,
|
|
36
|
+
cwd,
|
|
37
|
+
});
|
|
38
|
+
return 'Configured Yarn Berry to use node_modules, disabled script execution, and set approved Git repositories.';
|
|
34
39
|
} catch (error) {
|
|
35
40
|
throw new Error(
|
|
36
41
|
'There was an error configuring Yarn. Please run `yarn set version stable && yarn config set nodeLinker node-modules && yarn config set enableScripts false` in your plugin directory.'
|