Skip to content

Commit f862a45

Browse files
committed
Dependency updates
1 parent 5be1e5c commit f862a45

8 files changed

Lines changed: 88 additions & 54 deletions

File tree

.github/dependabot.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@ version: 2
22
updates:
33
- package-ecosystem: "npm"
44
directory: "/"
5-
open-pull-requests-limit: 1
65
schedule:
76
interval: "daily"
7+
cooldown:
8+
default-days: 3
9+
semver-major-days: 7
10+
groups:
11+
minor-and-patch:
12+
applies-to: version-updates
13+
update-types:
14+
- "minor"
15+
- "patch"
16+
major:
17+
applies-to: version-updates
18+
update-types:
19+
- "major"
820
exclude-paths:
921
- "examples/**"

.github/workflows/automerge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ permissions:
88
jobs:
99
auto_merge:
1010
runs-on: ubuntu-latest
11-
if: github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository_owner == 'CloudCannon'
11+
if: github.actor == 'dependabot[bot]' && github.event.pull_request.user.login ==
12+
'dependabot[bot]' && github.repository_owner == 'CloudCannon'
1213
steps:
1314
- name: Dependabot metadata
1415
id: metadata
1516
uses: dependabot/fetch-metadata@v2
1617
with:
1718
github-token: "${{ secrets.GITHUB_TOKEN }}"
1819
- name: Approve PR
20+
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
1921
run: gh pr review --approve "$PR_URL"
2022
env:
2123
PR_URL: ${{github.event.pull_request.html_url}}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.17.0
1+
24.14.1

biome.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
33
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
44
"files": {
55
"ignoreUnknown": false,
6-
"ignore": [".zed/**", ".backstage/**", "package.json", "package-lock.json"]
6+
"includes": [
7+
"**",
8+
"!**/.zed",
9+
"!**/.backstage",
10+
"!**/package.json",
11+
"!**/package-lock.json",
12+
"!examples"
13+
]
714
},
815
"formatter": {
916
"enabled": true,
@@ -22,7 +29,7 @@
2229
"quoteStyle": "single"
2330
}
2431
},
25-
"organizeImports": { "enabled": true },
32+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
2633
"linter": {
2734
"enabled": true,
2835
"rules": {

examples/file-browser/src/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
body {
1111
margin: 0;
12-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
13-
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
12+
font-family:
13+
-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
14+
"Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1415
-webkit-font-smoothing: antialiased;
1516
-moz-osx-font-smoothing: grayscale;
1617
}

package-lock.json

Lines changed: 52 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@cloudcannon/configuration-types": "0.0.43"
4141
},
4242
"devDependencies": {
43-
"@biomejs/biome": "1.9.4",
44-
"typescript": "^5.9.2"
43+
"@biomejs/biome": "2.4.11",
44+
"typescript": "6.0.2"
4545
}
4646
}

src/index.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,10 @@ export interface CloudCannonJavaScriptV1APIFileData {
304304
* const value = await CloudCannon.data();
305305
* ```
306306
*/
307-
get(options?: { slug?: string; rewriteUrls?: boolean }): Promise<
308-
Record<string, any> | any[] | undefined
309-
>;
307+
get(options?: {
308+
slug?: string;
309+
rewriteUrls?: boolean;
310+
}): Promise<Record<string, any> | any[] | undefined>;
310311

311312
/**
312313
* Sets data for a specific field

0 commit comments

Comments
 (0)