Skip to content

Commit e1650f4

Browse files
authored
add dependabot configuration, fix frontend build (#1)
1 parent 305e970 commit e1650f4

File tree

5 files changed

+36
-7
lines changed

5 files changed

+36
-7
lines changed

.github/dependabot.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
day: sunday
8+
open-pull-requests-limit: 10
9+
10+
- package-ecosystem: gomod
11+
directory: "/"
12+
schedule:
13+
interval: weekly
14+
day: sunday
15+
open-pull-requests-limit: 10
16+
17+
- package-ecosystem: github-actions
18+
directory: "/"
19+
schedule:
20+
interval: weekly
21+
day: sunday
22+
open-pull-requests-limit: 10
23+
24+
- package-ecosystem: docker
25+
directory: "/"
26+
schedule:
27+
interval: weekly
28+
day: sunday
29+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
frontend:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
14+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1515
with:
16-
node-version: '18'
16+
node-version: '20'
1717
cache: 'npm'
1818
- run: npm ci
1919
- run: npm run typecheck
@@ -24,8 +24,8 @@ jobs:
2424
backend:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
28-
- uses: actions/setup-go@v5
27+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
28+
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
2929
with:
3030
go-version: '1.21'
3131
- run: go test -race ./pkg/...

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
service: grafana
66

77
arcadedb:
8-
image: arcadedata/arcadedb:latest
8+
image: arcadedata/arcadedb:26.3.1
99
ports:
1010
- "2480:2480"
1111
- "2424:2424"

src/components/TimeSeriesEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export function TimeSeriesEditor({ query, onChange, onRunQuery, datasource }: Pr
2424
const [loading, setLoading] = useState(true);
2525

2626
useEffect(() => {
27-
setLoading(true);
2827
datasource
2928
.getMetadata()
3029
.then(setMetadata)

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export interface ArcadeDBDataSourceOptions extends DataSourceJsonData {
4040

4141
export interface ArcadeDBSecureJsonData {
4242
password?: string;
43+
basicAuthPassword?: string;
4344
}
4445

4546
// Metadata response from /grafana/metadata

0 commit comments

Comments
 (0)