Skip to content

Commit 05a474c

Browse files
committed
update import so that it uses the jsonnetfile.json
1 parent 3279937 commit 05a474c

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed

discourse-mixin/g.libsonnet

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
// grafonnet must be imported with "g" alias
2-
local g = import './vendor/grafonnet-v11.0.0/main.libsonnet';
3-
g
1+
import 'github.com/grafana/grafonnet/gen/grafonnet-v11.4.0/main.libsonnet'

discourse-mixin/jsonnetfile.json

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
11
{
22
"version": 1,
33
"dependencies": [
4-
{
5-
"source": {
6-
"git": {
7-
"remote": "https://github.com/grafana/grafonnet",
8-
"subdir": "gen/grafonnet-v11.0.0"
9-
}
4+
{
5+
"source": {
6+
"git": {
7+
"remote": "https://github.com/grafana/grafonnet-lib.git",
8+
"subdir": "grafonnet"
9+
}
10+
},
11+
"version": "master"
1012
},
11-
"version": "main"
12-
},
13-
{
14-
"source": {
15-
"git": {
16-
"remote": "https://github.com/grafana/jsonnet-libs.git",
17-
"subdir": "common-lib"
18-
}
13+
{
14+
"source": {
15+
"git": {
16+
"remote": "https://github.com/grafana/jsonnet-libs.git",
17+
"subdir": "common-lib"
18+
}
19+
},
20+
"version": "master"
1921
},
20-
"version": "master"
21-
}
22+
{
23+
"source": {
24+
"git": {
25+
"remote": "https://github.com/grafana/jsonnet-libs.git",
26+
"subdir": "grafana-cloud-integration-utils"
27+
}
28+
},
29+
"version": "master"
30+
}
2231
],
2332
"legacyImports": true
2433
}

0 commit comments

Comments
 (0)