@grafana/create-plugin 5.12.3 → 5.12.4

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.12.4 (Tue Dec 31 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Create Plugin: Use `module.tsx` in is-compatible workflow for apps [#1384](https://github.com/grafana/plugin-tools/pull/1384) ([@leventebalogh](https://github.com/leventebalogh))
6
+ - chore: align nvmrc node with package.json [#1424](https://github.com/grafana/plugin-tools/pull/1424) ([@s4kh](https://github.com/s4kh))
7
+
8
+ #### Authors: 2
9
+
10
+ - Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
11
+ - Syerikjan Kh ([@s4kh](https://github.com/s4kh))
12
+
13
+ ---
14
+
1
15
  # v5.12.3 (Mon Dec 30 2024)
2
16
 
3
17
  #### 🐛 Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "5.12.3",
3
+ "version": "5.12.4",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -35,7 +35,7 @@
35
35
  "generate-panel": "tsc && npm run clean-generated && CREATE_PLUGIN_DEV=true node ./dist/bin/run.js --pluginName='Sample panel' --orgName='sample-org' --pluginType='panel'",
36
36
  "generate-datasource": "tsc && npm run clean-generated && CREATE_PLUGIN_DEV=true node ./dist/bin/run.js --pluginName='Sample datasource' --orgName='sample-org' --pluginType='datasource' --no-hasBackend",
37
37
  "generate-datasource-backend": "tsc && npm run clean-generated && CREATE_PLUGIN_DEV=true node ./dist/bin/run.js --pluginName='Sample datasource' --orgName='sample-org' --pluginType='datasource' --hasBackend",
38
- "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
38
+ "lint": "eslint --cache ./src",
39
39
  "lint:fix": "npm run lint -- --fix",
40
40
  "test": "vitest",
41
41
  "typecheck": "tsc --noEmit"
@@ -57,13 +57,13 @@
57
57
  "which": "^5.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@types/glob": "^8.0.0",
61
- "@types/marked-terminal": "^6.0.1",
62
- "@types/minimist": "^1.2.2",
63
- "@types/semver": "^7.3.9",
64
- "@types/which": "^3.0.0",
65
- "eslint-plugin-react": "^7.26.1",
66
- "eslint-plugin-react-hooks": "^5.0.0"
60
+ "@types/glob": "^8.1.0",
61
+ "@types/marked-terminal": "^6.1.1",
62
+ "@types/minimist": "^1.2.5",
63
+ "@types/semver": "^7.5.8",
64
+ "@types/which": "^3.0.4",
65
+ "eslint-plugin-react": "^7.37.3",
66
+ "eslint-plugin-react-hooks": "^5.1.0"
67
67
  },
68
68
  "overrides": {
69
69
  "@types/marked-terminal": {
@@ -86,5 +86,5 @@
86
86
  "engines": {
87
87
  "node": ">=20"
88
88
  },
89
- "gitHead": "d2d9ace8636018fcc8c89e069985d87e4d5becb4"
89
+ "gitHead": "e01bf0d1680dd6b5dedb54a466399ac3bcef1edf"
90
90
  }
@@ -1 +1 @@
1
- 20
1
+ 22
@@ -21,4 +21,4 @@ jobs:
21
21
  - name: Build plugin
22
22
  run: {{ packageManagerName }} run build
23
23
  - name: Compatibility check
24
- run: npx --yes @grafana/levitate@latest is-compatible --path src/module.ts --target @grafana/data,@grafana/ui,@grafana/runtime
24
+ run: npx --yes @grafana/levitate@latest is-compatible --path $(find ./src -type f \( -name "module.ts" -o -name "module.tsx" \)) --target @grafana/data,@grafana/ui,@grafana/runtime