Skip to content

Commit 6ab4f14

Browse files
committed
Upgrade create-plugin to latest version.
1 parent 5c04839 commit 6ab4f14

File tree

7 files changed

+8977
-11538
lines changed

7 files changed

+8977
-11538
lines changed

.config/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ module.exports = {
1313
"singleQuote": true,
1414
"useTabs": false,
1515
"tabWidth": 2
16-
};
16+
};

.config/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ ENV GF_DEFAULT_APP_MODE "development"
1313

1414
# Inject livereload script into grafana index.html
1515
USER root
16-
RUN sed -i 's/<\/body><\/html>/<script src=\"http:\/\/localhost:35729\/livereload.js\"><\/script><\/body><\/html>/g' /usr/share/grafana/public/views/index.html
16+
RUN sed -i 's/<\/body><\/html>/<script src=\"http:\/\/localhost:35729\/livereload.js\"><\/script><\/body><\/html>/g' /usr/share/grafana/public/views/index.html

.config/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
'^.+\\.(t|j)sx?$': [
2626
'@swc/jest',
2727
{
28-
sourceMaps: true,
28+
sourceMaps: 'inline',
2929
jsc: {
3030
parser: {
3131
syntax: 'typescript',

.config/webpack/webpack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const config = async (env): Promise<Configuration> => ({
117117
type: 'asset/resource',
118118
generator: {
119119
// Keep publicPath relative for host.com/grafana/ deployments
120-
publicPath: `public/plugins/${pluginJson.id}/fonts`,
120+
publicPath: `public/plugins/${pluginJson.id}/fonts/`,
121121
outputPath: 'fonts/',
122122
filename: Boolean(env.production) ? '[hash][ext]' : '[name][ext]',
123123
},

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
build:
77
context: ./.config
88
args:
9-
grafana_version: 9.5.2
9+
grafana_version: 10.0.1
1010
ports:
1111
- 3000:3000/tcp
1212
volumes:

0 commit comments

Comments
 (0)