Skip to content

Commit 12427a0

Browse files
committed
chore: Update Angular and Svelte dependencies and enable documentation tests in the verify script.
1 parent 3e8c0db commit 12427a0

File tree

9 files changed

+68
-40
lines changed

9 files changed

+68
-40
lines changed

bun.lock

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

examples/angular-vite-pwa/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
"generate-pwa-assets": "pwa-assets-generator"
1010
},
1111
"dependencies": {
12-
"@angular/core": "^21.1.0",
13-
"@angular/platform-browser": "^21.1.0",
12+
"@angular/core": "^21.1.3",
13+
"@angular/platform-browser": "^21.1.3",
1414
"@evolu/common": "workspace:*",
1515
"@evolu/web": "workspace:*"
1616
},
1717
"devDependencies": {
1818
"@analogjs/vite-plugin-angular": "^2.2.2",
1919
"@angular/build": "^21.1.0",
20-
"@angular/compiler-cli": "^21.1.0",
20+
"@angular/compiler-cli": "^21.1.3",
2121
"@tailwindcss/vite": "^4.1.18",
2222
"@vite-pwa/assets-generator": "^1.0.2",
2323
"tailwindcss": "^4.1.18",

examples/angular-vite-pwa/src/app/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {
2+
createQueryBuilder,
23
type EvoluSchema,
34
id,
45
NonEmptyString100,
56
nullOr,
67
SqliteBoolean,
7-
createQueryBuilder,
88
} from "@evolu/common";
99

1010
// Define the typed IDs

examples/svelte-vite-pwa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@evolu/web": "workspace:*",
1717
"@sveltejs/vite-plugin-svelte": "^6.2.4",
1818
"@tsconfig/svelte": "^5.0.7",
19-
"svelte": "^5.48.2",
19+
"svelte": "^5.49.2",
2020
"svelte-check": "^4.3.6",
2121
"tslib": "^2.8.1",
2222
"typescript": "^5.9.3",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint": "biome check",
2323
"lint-monorepo": "bunx sherif@latest",
2424
"format": "biome format --write .",
25-
"verify": "bun run format && bun run build && bun run test && bun run test:coverage && bun run lint && bun run lint-monorepo && bun run build:docs && bunx vitest run scripts/typedoc-plugin-evolu.test.mts",
25+
"verify": "bun run format && bun run build && bun run test && bun run test:coverage && bun run lint && bun run lint-monorepo && bun run build:docs && INCLUDE_DOCS_TESTS=true bunx vitest run scripts/typedoc-plugin-evolu.test.mts",
2626
"clean": "turbo clean && rimraf node_modules bun.lock .turbo out",
2727
"version": "changeset version",
2828
"release": "bun run build && changeset publish",

packages/common/src/local-first/Evolu.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { createId, type Id, type SimpleName } from "../Type.js";
2727
import type { CreateMessageChannelDep } from "../Worker.js";
2828
import type { EvoluError } from "./Error.js";
2929
import type { AppOwner, OwnerTransport } from "./Owner.js";
30-
import { OwnerId, createOwnerWebSocketTransport } from "./Owner.js";
30+
import { createOwnerWebSocketTransport, OwnerId } from "./Owner.js";
3131
import type {
3232
Queries,
3333
QueriesToQueryRowsPromises,
@@ -46,6 +46,7 @@ import type {
4646
MutationKind,
4747
MutationMapping,
4848
MutationOptions,
49+
SystemColumns,
4950
ValidateSchema,
5051
} from "./Schema.js";
5152
import { insertable, updateable, upsertable } from "./Schema.js";
@@ -996,8 +997,7 @@ export const createEvolu =
996997
// },
997998

998999
exportDatabase: () => {
999-
const { promise, resolve } =
1000-
Promise.withResolvers<Uint8Array>();
1000+
const { promise, resolve } = Promise.withResolvers<Uint8Array>();
10011001
const _onCompleteId = exportCallbacks.register(resolve);
10021002
// dbWorker.postMessage({ type: "export", onCompleteId });
10031003
return promise;

packages/common/src/local-first/Schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import { OwnerId } from "./Owner.js";
5454
import type { Query, Row } from "./Query.js";
5555
import { serializeQuery } from "./Query.js";
5656
import type { CrdtMessage, DbChange } from "./Storage.js";
57-
import type { TimestampBytes } from "./Timestamp.js";
57+
import type { Timestamp, TimestampBytes } from "./Timestamp.js";
5858

5959
/**
6060
* Defines the schema of an Evolu database.

packages/svelte/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
"@evolu/web": "workspace:*",
4343
"@sveltejs/package": "^2.5.7",
4444
"@tsconfig/svelte": "^5.0.7",
45-
"svelte": "^5.48.2",
45+
"svelte": "^5.49.2",
4646
"svelte-check": "^4.3.6",
4747
"typescript": "^5.9.3"
4848
},
4949
"peerDependencies": {
5050
"@evolu/common": "^7.4.1",
5151
"@evolu/web": "^2.4.0",
52-
"svelte": ">=5"
52+
"svelte": ">=5.49.2"
5353
},
5454
"publishConfig": {
5555
"access": "public"

vitest.config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export default defineConfig({
1414
include: ["scripts/**/*.test.mts"],
1515
// Exclude typedoc test because it requires generated docs.
1616
// It runs explicitly after build:docs in the verify script.
17-
exclude: ["scripts/typedoc-plugin-evolu.test.mts"],
17+
exclude: process.env.INCLUDE_DOCS_TESTS
18+
? []
19+
: ["scripts/typedoc-plugin-evolu.test.mts"],
1820
},
1921
},
2022
],

0 commit comments

Comments
 (0)