Skip to content

Commit 442d6f6

Browse files
renovate[bot]grixu
andauthored
⬆️ chore(deps): Update all non-major dependencies (#82)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mateusz Gostański <[email protected]>
1 parent 0ad869a commit 442d6f6

File tree

8 files changed

+1007
-378
lines changed

8 files changed

+1007
-378
lines changed

biome.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
33
"organizeImports": {
44
"enabled": true
55
},
@@ -42,10 +42,15 @@
4242
"rules": {
4343
"complexity": {
4444
"noForEach": "warn",
45+
"noUselessLoneBlockStatements": "error",
46+
"noUselessTernary": "error",
4547
"noBannedTypes": "warn"
4648
},
4749
"correctness": {
4850
"noUndeclaredVariables": "error",
51+
"noInvalidUseBeforeDeclaration": "error",
52+
"noUnusedImports": "error",
53+
"noUnusedPrivateClassMembers": "error",
4954
"noUnusedVariables": "error"
5055
},
5156
"style": {
@@ -55,6 +60,9 @@
5560
"useShorthandArrayType": "error",
5661
"useShorthandAssign": "error",
5762
"useSingleCaseStatement": "error",
63+
"useNodejsImportProtocol": "error",
64+
"useExportType": "error",
65+
"useImportType": "error",
5866
"useNamingConvention": {
5967
"level": "error",
6068
"options": {
@@ -67,23 +75,14 @@
6775
"noConsoleLog": "error",
6876
"noMisrefactoredShorthandAssign": "warn",
6977
"noImplicitAnyLet": "error",
70-
"noExplicitAny": "off"
71-
},
72-
"nursery": {
73-
"noEmptyBlockStatements": "off",
74-
"useExportType": "error",
75-
"useImportType": "error",
76-
"useNodejsImportProtocol": "error",
77-
"noInvalidUseBeforeDeclaration": "error",
78-
"noGlobalEval": "error",
79-
"noGlobalAssign": "error",
78+
"noExplicitAny": "off",
8079
"noThenProperty": "error",
81-
"noUselessTernary": "error",
82-
"noUnusedImports": "error",
83-
"noUnusedPrivateClassMembers": "error",
84-
"noUselessLoneBlockStatements": "error",
85-
"useAwait": "error",
86-
"useGroupedTypeImport": "error"
80+
"noGlobalAssign": "error",
81+
"noEmptyBlockStatements": "off",
82+
"useAwait": "error"
83+
},
84+
"security": {
85+
"noGlobalEval": "error"
8786
}
8887
}
8988
}

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"private": true,
44
"type": "module",
55
"dependencies": {
6-
"vitepress": "1.0.0-rc.45"
6+
"vitepress": "1.1.4"
77
},
88
"devDependencies": {
9-
"markdownlint-cli2": "0.12.1"
9+
"markdownlint-cli2": "0.13.0"
1010
},
1111
"scripts": {
1212
"dev": "vitepress dev",

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@
2828
"@faker-js/faker": "8.4.1",
2929
"@paralleldrive/cuid2": "2.2.2",
3030
"@total-typescript/ts-reset": "0.5.1",
31-
"@vitest/coverage-istanbul": "1.3.1",
31+
"@vitest/coverage-istanbul": "1.5.3",
3232
"commitlint-config-gitmoji": "2.3.1",
33-
"gitmoji-cli": "9.1.0",
33+
"gitmoji-cli": "9.2.0",
3434
"husky": "9.0.11",
3535
"jsdom": "24.0.0",
36-
"markdownlint-cli2": "0.12.1",
36+
"markdownlint-cli2": "0.13.0",
3737
"lint-staged": "15.1.0",
3838
"publint": "0.2.7",
39-
"turbo": "1.12.5",
40-
"type-fest": "4.11.1",
41-
"typescript": "5.4.2",
39+
"turbo": "1.13.3",
40+
"type-fest": "4.18.0",
41+
"typescript": "5.4.5",
4242
"unbuild": "2.0.0",
4343
"valibot": "0.30.0",
44-
"vite-tsconfig-paths": "4.3.1",
45-
"@biomejs/biome": "1.5.3",
46-
"vitepress": "1.0.0-rc.45",
47-
"vitest": "1.3.1",
48-
"zod": "3.22.4"
44+
"vite-tsconfig-paths": "4.3.2",
45+
"@biomejs/biome": "1.7.1",
46+
"vitepress": "1.1.4",
47+
"vitest": "1.5.3",
48+
"zod": "3.23.5"
4949
}
5050
}

packages/repository/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,20 @@
5050
"node": ">=18.0.0"
5151
},
5252
"devDependencies": {
53-
"@biomejs/biome": "1.5.3",
53+
"@biomejs/biome": "1.7.2",
5454
"@faker-js/faker": "8.4.1",
5555
"@total-typescript/ts-reset": "0.5.1",
56-
"@vitest/coverage-istanbul": "1.3.1",
56+
"@vitest/coverage-istanbul": "1.5.3",
5757
"jsdom": "24.0.0",
5858
"lint-staged": "15.1.0",
5959
"publint": "0.2.7",
60-
"type-fest": "4.11.1",
61-
"typescript": "5.4.2",
60+
"type-fest": "4.18.0",
61+
"typescript": "5.4.5",
6262
"unbuild": "2.0.0",
6363
"valibot": "0.30.0",
64-
"vite-tsconfig-paths": "4.3.1",
65-
"vitest": "1.3.1",
66-
"zod": "3.22.4"
64+
"vite-tsconfig-paths": "4.3.2",
65+
"vitest": "1.5.3",
66+
"zod": "3.23.5"
6767
},
6868
"dependencies": {
6969
"@paralleldrive/cuid2": "2.2.2"

packages/repository/src/entity/interface/entity.test-d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ describe("Entity interface", () => {
101101
}
102102
>
103103

104-
expectTypeOf<Test["update"]>().toMatchTypeOf<{
104+
expectTypeOf<Test["update"]>().toMatchTypeOf<
105105
(
106106
data: TestEntityData
107-
): Entity<TestEntityData, { update(): never }, undefined, undefined>
108-
}>()
107+
) => Entity<TestEntityData, { update(): never }, undefined, undefined>
108+
>()
109109
})
110110

111111
it("Defined methods can override other built-in methods", () => {

packages/repository/src/network/sync.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { SyncKey } from "./interface/sync"
33
import { SyncMap, makeSyncKey } from "./sync"
44

55
declare module "vitest" {
6+
// biome-ignore lint/suspicious/noExportsInTest: this is only way to extend interface
67
export interface TestContext {
78
syncMapDestinationId: SyncKey
89
}

packages/repository/src/observers/observerFactory.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ describe("ObserverFactory", () => {
4242
dataAccessor: () => ({ foo: "bar" }),
4343
})
4444

45-
expectTypeOf(observe).parameter(0).toMatchTypeOf<{
46-
(data: { foo: string }): void
47-
}>()
45+
expectTypeOf(observe)
46+
.parameter(0)
47+
.toMatchTypeOf<(data: { foo: string }) => void>()
4848
})
4949
})
5050

0 commit comments

Comments
 (0)