@grafana/create-plugin 5.7.1 → 5.7.3-canary.1199.5f9c033.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
+ # v5.7.2 (Mon Oct 28 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix: Dont default navigation page permissions to admin [#1243](https://github.com/grafana/plugin-tools/pull/1243) ([@jackw](https://github.com/jackw))
6
+
7
+ #### Authors: 1
8
+
9
+ - Jack Westbrook ([@jackw](https://github.com/jackw))
10
+
11
+ ---
12
+
1
13
  # v5.7.1 (Fri Oct 25 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "5.7.1",
3
+ "version": "5.7.3-canary.1199.5f9c033.0",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -45,13 +45,13 @@
45
45
  "@types/minimist": "^1.2.2",
46
46
  "@types/semver": "^7.3.9",
47
47
  "@types/which": "^3.0.0",
48
- "boxen": "^7.1.1",
48
+ "boxen": "^8.0.0",
49
49
  "chalk": "^5.3.0",
50
50
  "change-case": "^5.4.0",
51
51
  "debug": "^4.3.4",
52
52
  "enquirer": "^2.4.1",
53
53
  "find-up": "^7.0.0",
54
- "glob": "^10.3.10",
54
+ "glob": "^11.0.0",
55
55
  "handlebars": "^4.7.8",
56
56
  "marked": "^10.0.0",
57
57
  "marked-terminal": "^7.0.0",
@@ -86,5 +86,5 @@
86
86
  "engines": {
87
87
  "node": ">=20"
88
88
  },
89
- "gitHead": "3cf97dd8d55f2890e467e51ba0b13535d92227af"
89
+ "gitHead": "5f9c033739bbea1085b355c2c2ff75ef30f29ce5"
90
90
  }
@@ -24,7 +24,6 @@
24
24
  "type": "page",
25
25
  "name": "Page One",
26
26
  "path": "/a/%PLUGIN_ID%/one",
27
- "role": "Admin",
28
27
  "addToNav": true,
29
28
  "defaultNav": true
30
29
  },
@@ -32,7 +31,6 @@
32
31
  "type": "page",
33
32
  "name": "Page Two",
34
33
  "path": "/a/%PLUGIN_ID%/two",
35
- "role": "Admin",
36
34
  "addToNav": true,
37
35
  "defaultNav": false
38
36
  },
@@ -40,7 +38,6 @@
40
38
  "type": "page",
41
39
  "name": "Page Three",
42
40
  "path": "/a/%PLUGIN_ID%/three",
43
- "role": "Admin",
44
41
  "addToNav": true,
45
42
  "defaultNav": false
46
43
  },
@@ -48,7 +45,6 @@
48
45
  "type": "page",
49
46
  "name": "Page Four",
50
47
  "path": "/a/%PLUGIN_ID%/four",
51
- "role": "Admin",
52
48
  "addToNav": true,
53
49
  "defaultNav": false
54
50
  },
@@ -20,6 +20,12 @@
20
20
  "parserOptions": {
21
21
  "project": "./tsconfig.json"
22
22
  }
23
+ },
24
+ {
25
+ "files": ["./tests/**/*"],
26
+ "rules": {
27
+ "react-hooks/rules-of-hooks": "off",
28
+ },
23
29
  }
24
30
  ]
25
31
  }
@@ -19,12 +19,12 @@
19
19
  "license": "Apache-2.0",
20
20
  "devDependencies": {
21
21
  "@babel/core": "^7.21.4",{{#if useCypress}}
22
- "@grafana/e2e": "^11.0.7",
23
- "@grafana/e2e-selectors": "^11.2.2",{{/if}}
24
- "@grafana/eslint-config": "^7.0.0",{{#if usePlaywright}}
25
- "@grafana/plugin-e2e": "^1.8.3",{{/if}}
22
+ "@grafana/e2e": "^11.0.7",{{/if}}
23
+ "@grafana/eslint-config": "^8.0.0",{{#if usePlaywright}}
24
+ "@grafana/plugin-e2e": "^1.11.0",{{/if}}
26
25
  "@grafana/tsconfig": "^2.0.0",{{#if usePlaywright}}
27
26
  "@playwright/test": "^1.41.2",{{/if}}
27
+ "@grafana/e2e-selectors": "11.2.2",
28
28
  "@swc/core": "^1.3.90",
29
29
  "@swc/helpers": "^0.5.0",
30
30
  "@swc/jest": "^0.2.26",
@@ -66,11 +66,11 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@emotion/css": "11.10.6",
69
- "@grafana/data": "^11.2.2",
70
- "@grafana/runtime": "^11.2.2",
71
- "@grafana/ui": "^11.2.2",
72
- "@grafana/schema": "^11.2.2",{{#if_eq pluginType "scenesapp"}}
73
- "@grafana/scenes": "^5.19.1",{{/if_eq}}
69
+ "@grafana/data": "^11.3.0",
70
+ "@grafana/runtime": "^11.3.0",
71
+ "@grafana/ui": "^11.3.0",
72
+ "@grafana/schema": "^11.3.0",{{#if_eq pluginType "scenesapp"}}
73
+ "@grafana/scenes": "^5.20.4",{{/if_eq}}
74
74
  "react": "18.2.0",
75
75
  "react-dom": "18.2.0",{{#if isAppType}}
76
76
  "react-router-dom": "^{{ reactRouterVersion }}",
@@ -7,7 +7,7 @@ services:
7
7
  context: ./.config
8
8
  args:
9
9
  grafana_image: ${GRAFANA_IMAGE:-{{~grafanaImage~}} }
10
- grafana_version: ${GRAFANA_VERSION:-11.2.2}
10
+ grafana_version: ${GRAFANA_VERSION:-11.3.0}
11
11
  development: ${DEVELOPMENT:-false}
12
12
  ports:
13
13
  - 3000:3000/tcp
@@ -26,7 +26,6 @@
26
26
  "type": "page",
27
27
  "name": "Home",
28
28
  "path": "/a/%PLUGIN_ID%/home",
29
- "role": "Admin",
30
29
  "addToNav": true,
31
30
  "defaultNav": true
32
31
  },
@@ -34,7 +33,6 @@
34
33
  "type": "page",
35
34
  "name": "Page with tabs",
36
35
  "path": "/a/%PLUGIN_ID%/page-with-tabs",
37
- "role": "Admin",
38
36
  "addToNav": true,
39
37
  "defaultNav": false
40
38
  },
@@ -42,7 +40,6 @@
42
40
  "type": "page",
43
41
  "name": "Page with drilldown",
44
42
  "path": "/a/%PLUGIN_ID%/page-with-drilldown",
45
- "role": "Admin",
46
43
  "addToNav": true,
47
44
  "defaultNav": false
48
45
  },
@@ -50,7 +47,6 @@
50
47
  "type": "page",
51
48
  "name": "Hello world",
52
49
  "path": "/a/%PLUGIN_ID%/hello-world",
53
- "role": "Admin",
54
50
  "addToNav": true,
55
51
  "defaultNav": false
56
52
  }