@grafana/create-plugin 5.12.2 → 5.12.3
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.12.3 (Mon Dec 30 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Create Plugin: Fix cache busting chunks using contenthash [#1426](https://github.com/grafana/plugin-tools/pull/1426) ([@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v5.12.2 (Fri Dec 20 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.12.
|
|
3
|
+
"version": "5.12.3",
|
|
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": "d2d9ace8636018fcc8c89e069985d87e4d5becb4"
|
|
90
90
|
}
|
|
@@ -178,6 +178,7 @@ const config = async (env): Promise<Configuration> => {
|
|
|
178
178
|
keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`),
|
|
179
179
|
},
|
|
180
180
|
filename: '[name].js',
|
|
181
|
+
chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js',
|
|
181
182
|
library: {
|
|
182
183
|
type: 'amd',
|
|
183
184
|
},
|
|
@@ -204,14 +205,14 @@ const config = async (env): Promise<Configuration> => {
|
|
|
204
205
|
{ from: 'plugin.json', to: '.' },
|
|
205
206
|
{ from: '../LICENSE', to: '.' },
|
|
206
207
|
{ from: '../CHANGELOG.md', to: '.', force: true },
|
|
207
|
-
{ from: '**/*.json', to: '.' },
|
|
208
|
-
{ from: '**/*.svg', to: '.', noErrorOnMissing: true },
|
|
209
|
-
{ from: '**/*.png', to: '.', noErrorOnMissing: true },
|
|
210
|
-
{ from: '**/*.html', to: '.', noErrorOnMissing: true },
|
|
211
|
-
{ from: 'img/**/*', to: '.', noErrorOnMissing: true },
|
|
212
|
-
{ from: 'libs/**/*', to: '.', noErrorOnMissing: true },
|
|
213
|
-
{ from: 'static/**/*', to: '.', noErrorOnMissing: true },
|
|
214
|
-
{ from: '**/query_help.md', to: '.', noErrorOnMissing: true },
|
|
208
|
+
{ from: '**/*.json', to: '.' },
|
|
209
|
+
{ from: '**/*.svg', to: '.', noErrorOnMissing: true },
|
|
210
|
+
{ from: '**/*.png', to: '.', noErrorOnMissing: true },
|
|
211
|
+
{ from: '**/*.html', to: '.', noErrorOnMissing: true },
|
|
212
|
+
{ from: 'img/**/*', to: '.', noErrorOnMissing: true },
|
|
213
|
+
{ from: 'libs/**/*', to: '.', noErrorOnMissing: true },
|
|
214
|
+
{ from: 'static/**/*', to: '.', noErrorOnMissing: true },
|
|
215
|
+
{ from: '**/query_help.md', to: '.', noErrorOnMissing: true },
|
|
215
216
|
],
|
|
216
217
|
}),
|
|
217
218
|
// Replace certain template-variables in the README and plugin.json
|