Skip to content

Commit c6ad446

Browse files
committed
update deps, fix biome.json schema, update yarn, use vite-dts
1 parent c4457b6 commit c6ad446

File tree

12 files changed

+1568
-880
lines changed

12 files changed

+1568
-880
lines changed

.yarn/releases/yarn-4.9.2.cjs renamed to .yarn/releases/yarn-4.10.3.cjs

Lines changed: 355 additions & 355 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ nmHoistingLimits: workspaces
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.9.2.cjs
7+
yarnPath: .yarn/releases/yarn-4.10.3.cjs

apps/site/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"serve": "docusaurus serve"
1111
},
1212
"dependencies": {
13-
"@docusaurus/core": "^3.9.1",
14-
"@docusaurus/preset-classic": "^3.9.1",
13+
"@docusaurus/core": "^3.9.2",
14+
"@docusaurus/preset-classic": "^3.9.2",
1515
"@easyops-cn/docusaurus-search-local": "^0.52.1",
1616
"@iframe-resizer/child": "^5.5.7",
1717
"@iframe-resizer/react": "^5.5.7",
@@ -33,11 +33,11 @@
3333
},
3434
"devDependencies": {
3535
"@babel/plugin-proposal-decorators": "^7.28.0",
36-
"@docusaurus/module-type-aliases": "^3.9.1",
37-
"@docusaurus/tsconfig": "^3.9.1",
36+
"@docusaurus/module-type-aliases": "^3.9.2",
37+
"@docusaurus/tsconfig": "^3.9.2",
3838
"@svgr/webpack": "^8.1.0",
3939
"@types/react": "^19.2.2",
40-
"@types/react-dom": "^19.2.1",
40+
"@types/react-dom": "^19.2.2",
4141
"@types/uuid": "^11.0.0",
4242
"raw-loader": "^4.0.2",
4343
"shx": "^0.4.0",

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
33
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true, "defaultBranch": "master" },
44
"files": {
55
"includes": [

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ redirects = [
66
[build]
77
command = "yarn build-netlify"
88
publish = "apps/site/build"
9-
environment = { NODE_VERSION = "24.3.0", YARN_VERSION = "4.9.2" }
9+
environment = { NODE_VERSION = "24.3.0", YARN_VERSION = "4.10.3" }
1010

1111
[dev]
1212
publish = "apps/site/build"

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
"yjs": "^13.6.27"
2828
},
2929
"devDependencies": {
30-
"@biomejs/biome": "^2.2.5",
30+
"@biomejs/biome": "^2.2.6",
3131
"globals": "^16.4.0",
3232
"netlify-cli": "^23.9.1",
3333
"turbo": "^2.5.8",
34-
"typescript": "^5.9.3"
34+
"typescript": "^5.9.3",
35+
"vite": "^7.1.10",
36+
"vite-plugin-dts": "^4.5.4"
3537
},
36-
"packageManager": "yarn@4.9.2"
38+
"packageManager": "yarn@4.10.3"
3739
}

packages/lib/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,17 @@
7474
"@swc/core": "^1.13.20",
7575
"@swc/jest": "^0.2.39",
7676
"@types/jest": "^30.0.0",
77-
"@types/node": "^24.7.0",
77+
"@types/node": "^24.8.1",
7878
"babel-jest": "^30.2.0",
7979
"jest": "^30.2.0",
8080
"mobx-v4": "npm:mobx@^4.15.7",
8181
"mobx-v5": "npm:mobx@^5.15.7",
82-
"rollup-plugin-typescript2": "^0.36.0",
8382
"shx": "^0.4.0",
8483
"spec.ts": "^1.1.3",
85-
"ts-jest": "^29.4.4",
84+
"ts-jest": "^29.4.5",
8685
"ts-node": "^10.9.2",
87-
"typedoc": "^0.28.13",
88-
"typescript": "^5.9.3",
89-
"vite": "^7.1.9"
86+
"typedoc": "^0.28.14",
87+
"typescript": "^5.9.3"
9088
},
9189
"dependencies": {
9290
"fast-deep-equal": "^3.1.3",

packages/lib/vite.config.mts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from "path"
2-
import typescript2 from "rollup-plugin-typescript2"
32
import { defineConfig } from "vite"
3+
import dts from "vite-plugin-dts"
44

55
const resolvePath = (str: string) => path.resolve(__dirname, str)
66

@@ -33,11 +33,9 @@ export default defineConfig({
3333
},
3434
},
3535
plugins: [
36-
{
37-
...typescript2({
38-
useTsconfigDeclarationDir: true,
39-
}),
40-
enforce: "pre",
41-
},
36+
dts({
37+
tsconfigPath: resolvePath("./tsconfig.json"),
38+
outDir: resolvePath("./dist/types"),
39+
}),
4240
],
4341
})

packages/mobx-keystone-yjs/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,15 @@
6969
"@babel/preset-env": "^7.28.3",
7070
"@babel/preset-typescript": "^7.27.1",
7171
"@types/jest": "^30.0.0",
72-
"@types/node": "^24.7.0",
72+
"@types/node": "^24.8.1",
7373
"babel-jest": "^30.2.0",
7474
"jest": "^30.2.0",
7575
"mobx-keystone": "workspace:packages/lib",
76-
"rollup-plugin-typescript2": "^0.36.0",
7776
"shx": "^0.4.0",
7877
"spec.ts": "^1.1.3",
79-
"ts-jest": "^29.4.4",
78+
"ts-jest": "^29.4.5",
8079
"ts-node": "^10.9.2",
81-
"typescript": "^5.9.3",
82-
"vite": "^7.1.9"
80+
"typescript": "^5.9.3"
8381
},
8482
"dependencies": {
8583
"tslib": "^2.8.1"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
export { YjsTextModel, yjsTextModelId } from "./binding/YjsTextModel"
21
export { bindYjsToMobxKeystone } from "./binding/bindYjsToMobxKeystone"
32
export {
43
applyJsonArrayToYArray,
54
applyJsonObjectToYMap,
65
convertJsonToYjsData,
76
} from "./binding/convertJsonToYjsData"
8-
export { yjsBindingContext } from "./binding/yjsBindingContext"
7+
export { YjsTextModel, yjsTextModelId } from "./binding/YjsTextModel"
98
export type { YjsBindingContext } from "./binding/yjsBindingContext"
9+
export { yjsBindingContext } from "./binding/yjsBindingContext"
1010
export { MobxKeystoneYjsError } from "./utils/error"

0 commit comments

Comments
 (0)