@grafana/create-plugin 5.10.2-canary.1385.8b3cd54.0 → 5.11.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,23 @@
|
|
|
1
|
+
# v5.11.0 (Mon Dec 09 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Create Plugin: Add bundle stats workflow [#1357](https://github.com/grafana/plugin-tools/pull/1357) ([@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- fix(deps): update dependency @grafana/e2e-selectors to ^11.5.0-211617 [#1385](https://github.com/grafana/plugin-tools/pull/1385) ([@renovate[bot]](https://github.com/renovate[bot]) [@sunker](https://github.com/sunker))
|
|
10
|
+
- chore(deps): update grafana patch dependencies to v11.3.2 [#1381](https://github.com/grafana/plugin-tools/pull/1381) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
11
|
+
- chore(deps): update dependency @grafana/plugin-e2e to v1.12.4 [#1373](https://github.com/grafana/plugin-tools/pull/1373) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
12
|
+
|
|
13
|
+
#### Authors: 3
|
|
14
|
+
|
|
15
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
|
16
|
+
- Erik Sundell ([@sunker](https://github.com/sunker))
|
|
17
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
1
21
|
# v5.10.1 (Tue Dec 03 2024)
|
|
2
22
|
|
|
3
23
|
#### 🐛 Bug Fix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/create-plugin",
|
|
6
6
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=20"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "25d29975ed30ab9a0fb6a9b80c1557a9f899c300"
|
|
90
90
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Bundle Stats
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
pull-requests: write
|
|
11
|
+
actions: read
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
compare:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- name: Checkout repository
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- uses: grafana/plugin-actions/bundle-size@main
|
|
@@ -47,7 +47,12 @@ jobs:
|
|
|
47
47
|
- name: Unit tests
|
|
48
48
|
run: {{ packageManagerName }} run test:ci
|
|
49
49
|
- name: Build frontend
|
|
50
|
-
run:
|
|
50
|
+
run: |
|
|
51
|
+
if [ "$\{{ github.event_name }}" == "push" ] && [ "$\{{ github.ref }}" == "refs/heads/main" ]; then
|
|
52
|
+
{{ packageManagerName }} run build{{#if isNPM}} --{{/if}} --profile --json stats.json
|
|
53
|
+
else
|
|
54
|
+
{{ packageManagerName }} run build
|
|
55
|
+
fi
|
|
51
56
|
|
|
52
57
|
- name: Check for backend
|
|
53
58
|
id: check-for-backend
|
|
@@ -121,6 +126,14 @@ jobs:
|
|
|
121
126
|
path: $\{{ steps.metadata.outputs.plugin-id }}
|
|
122
127
|
retention-days: 5
|
|
123
128
|
|
|
129
|
+
- name: Upload stats.json artifact
|
|
130
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
131
|
+
uses: actions/upload-artifact@v4
|
|
132
|
+
with:
|
|
133
|
+
name: main-branch-stats
|
|
134
|
+
path: stats.json
|
|
135
|
+
overwrite: true
|
|
136
|
+
|
|
124
137
|
resolve-versions:
|
|
125
138
|
name: Resolve e2e images
|
|
126
139
|
runs-on: ubuntu-latest
|