Skip to content

Commit

Permalink
⬆️ chore(deps): Update all non-major dependencies (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Gostański <mateusz.gostanski@gmail.com>
  • Loading branch information
renovate[bot] and grixu authored May 3, 2024
1 parent 0ad869a commit 442d6f6
Show file tree
Hide file tree
Showing 8 changed files with 1,007 additions and 378 deletions.
33 changes: 16 additions & 17 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.0/schema.json",
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"organizeImports": {
"enabled": true
},
Expand Down Expand Up @@ -42,10 +42,15 @@
"rules": {
"complexity": {
"noForEach": "warn",
"noUselessLoneBlockStatements": "error",
"noUselessTernary": "error",
"noBannedTypes": "warn"
},
"correctness": {
"noUndeclaredVariables": "error",
"noInvalidUseBeforeDeclaration": "error",
"noUnusedImports": "error",
"noUnusedPrivateClassMembers": "error",
"noUnusedVariables": "error"
},
"style": {
Expand All @@ -55,6 +60,9 @@
"useShorthandArrayType": "error",
"useShorthandAssign": "error",
"useSingleCaseStatement": "error",
"useNodejsImportProtocol": "error",
"useExportType": "error",
"useImportType": "error",
"useNamingConvention": {
"level": "error",
"options": {
Expand All @@ -67,23 +75,14 @@
"noConsoleLog": "error",
"noMisrefactoredShorthandAssign": "warn",
"noImplicitAnyLet": "error",
"noExplicitAny": "off"
},
"nursery": {
"noEmptyBlockStatements": "off",
"useExportType": "error",
"useImportType": "error",
"useNodejsImportProtocol": "error",
"noInvalidUseBeforeDeclaration": "error",
"noGlobalEval": "error",
"noGlobalAssign": "error",
"noExplicitAny": "off",
"noThenProperty": "error",
"noUselessTernary": "error",
"noUnusedImports": "error",
"noUnusedPrivateClassMembers": "error",
"noUselessLoneBlockStatements": "error",
"useAwait": "error",
"useGroupedTypeImport": "error"
"noGlobalAssign": "error",
"noEmptyBlockStatements": "off",
"useAwait": "error"
},
"security": {
"noGlobalEval": "error"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"private": true,
"type": "module",
"dependencies": {
"vitepress": "1.0.0-rc.45"
"vitepress": "1.1.4"
},
"devDependencies": {
"markdownlint-cli2": "0.12.1"
"markdownlint-cli2": "0.13.0"
},
"scripts": {
"dev": "vitepress dev",
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@
"@faker-js/faker": "8.4.1",
"@paralleldrive/cuid2": "2.2.2",
"@total-typescript/ts-reset": "0.5.1",
"@vitest/coverage-istanbul": "1.3.1",
"@vitest/coverage-istanbul": "1.5.3",
"commitlint-config-gitmoji": "2.3.1",
"gitmoji-cli": "9.1.0",
"gitmoji-cli": "9.2.0",
"husky": "9.0.11",
"jsdom": "24.0.0",
"markdownlint-cli2": "0.12.1",
"markdownlint-cli2": "0.13.0",
"lint-staged": "15.1.0",
"publint": "0.2.7",
"turbo": "1.12.5",
"type-fest": "4.11.1",
"typescript": "5.4.2",
"turbo": "1.13.3",
"type-fest": "4.18.0",
"typescript": "5.4.5",
"unbuild": "2.0.0",
"valibot": "0.30.0",
"vite-tsconfig-paths": "4.3.1",
"@biomejs/biome": "1.5.3",
"vitepress": "1.0.0-rc.45",
"vitest": "1.3.1",
"zod": "3.22.4"
"vite-tsconfig-paths": "4.3.2",
"@biomejs/biome": "1.7.1",
"vitepress": "1.1.4",
"vitest": "1.5.3",
"zod": "3.23.5"
}
}
14 changes: 7 additions & 7 deletions packages/repository/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@
"node": ">=18.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@biomejs/biome": "1.7.2",
"@faker-js/faker": "8.4.1",
"@total-typescript/ts-reset": "0.5.1",
"@vitest/coverage-istanbul": "1.3.1",
"@vitest/coverage-istanbul": "1.5.3",
"jsdom": "24.0.0",
"lint-staged": "15.1.0",
"publint": "0.2.7",
"type-fest": "4.11.1",
"typescript": "5.4.2",
"type-fest": "4.18.0",
"typescript": "5.4.5",
"unbuild": "2.0.0",
"valibot": "0.30.0",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.3.1",
"zod": "3.22.4"
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.5.3",
"zod": "3.23.5"
},
"dependencies": {
"@paralleldrive/cuid2": "2.2.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/repository/src/entity/interface/entity.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ describe("Entity interface", () => {
}
>

expectTypeOf<Test["update"]>().toMatchTypeOf<{
expectTypeOf<Test["update"]>().toMatchTypeOf<
(
data: TestEntityData
): Entity<TestEntityData, { update(): never }, undefined, undefined>
}>()
) => Entity<TestEntityData, { update(): never }, undefined, undefined>
>()
})

it("Defined methods can override other built-in methods", () => {
Expand Down
1 change: 1 addition & 0 deletions packages/repository/src/network/sync.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { SyncKey } from "./interface/sync"
import { SyncMap, makeSyncKey } from "./sync"

declare module "vitest" {
// biome-ignore lint/suspicious/noExportsInTest: this is only way to extend interface
export interface TestContext {
syncMapDestinationId: SyncKey
}
Expand Down
6 changes: 3 additions & 3 deletions packages/repository/src/observers/observerFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ describe("ObserverFactory", () => {
dataAccessor: () => ({ foo: "bar" }),
})

expectTypeOf(observe).parameter(0).toMatchTypeOf<{
(data: { foo: string }): void
}>()
expectTypeOf(observe)
.parameter(0)
.toMatchTypeOf<(data: { foo: string }) => void>()
})
})

Expand Down
Loading

0 comments on commit 442d6f6

Please sign in to comment.