Skip to content

Commit

Permalink
chore: update package configurations for yjs-for-react
Browse files Browse the repository at this point in the history
  • Loading branch information
cycleccc committed Mar 2, 2025
1 parent aa01136 commit b790d7b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 32 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"cz": "cz",
"test": "cross-env NODE_OPTIONS=--unhandled-rejections=warn vitest run --passWithNoTests --dangerouslyIgnoreUnhandledErrors",
"test-c": "cross-env NODE_OPTIONS=--unhandled-rejections=warn vitest run --passWithNoTests --dangerouslyIgnoreUnhandledErrors --coverage",
"dev": "cross-env FORCE_COLOR=1 turbo dev --filter=@wangeditor-next/editor",
"dev": "cross-env FORCE_COLOR=1 turbo dev",
"dev:sh": "sh scripts/build-base.sh dev",
"build": "cross-env FORCE_COLOR=1 turbo build --filter=@wangeditor-next/editor",
"build": "cross-env FORCE_COLOR=1 turbo build",
"publish": "yarn changeset publish",
"prerelease": "yarn build",
"format": "yarn prettier --write",
Expand Down
10 changes: 6 additions & 4 deletions packages/yjs-for-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"homepage": "https://github.com/wangeditor-next/wangeditor-next#readme",
"license": "MIT",
"types": "dist/index.d.ts",
"types": "dist/yjs-for-react/src/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"unpkg": "dist/index.global.js",
Expand All @@ -19,7 +19,7 @@
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"types": "./dist/yjs-for-react/src/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand All @@ -28,6 +28,9 @@
"files": [
"dist"
],
"directories": {
"lib": "dist"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -45,7 +48,6 @@
"size-stats": "cross-env NODE_ENV=production:size_stats rollup -c rollup.config.js"
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/use-sync-external-store": "^0.0.6"
},
"bugs": {
Expand All @@ -58,7 +60,7 @@
"peerDependencies": {
"@wangeditor-next/editor": "5.6.31",
"@wangeditor-next/yjs": "^0.1.30",
"react": ">=16.8.0",
"react": ">=17.0.2",
"slate": "^0.72.0",
"yjs": "^13.5.29"
}
Expand Down
27 changes: 1 addition & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3121,23 +3121,6 @@ __metadata:
languageName: node
linkType: hard

"@types/prop-types@npm:*":
version: 15.7.13
resolution: "@types/prop-types@npm:15.7.13"
checksum: 10c0/1b20fc67281902c6743379960247bc161f3f0406ffc0df8e7058745a85ea1538612109db0406290512947f9632fe9e10e7337bf0ce6338a91d6c948df16a7c61
languageName: node
linkType: hard

"@types/react@npm:^18.0.0":
version: 18.3.17
resolution: "@types/react@npm:18.3.17"
dependencies:
"@types/prop-types": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10c0/475191e9cd0ab5bef35cc1868295d6526cd78b25c1bb816f0747a1e92261688305f81c0e29aff52e6ea70397f133e34c399dc936cb5072f1acf465d9daacc0da
languageName: node
linkType: hard

"@types/resolve@npm:1.20.2":
version: 1.20.2
resolution: "@types/resolve@npm:1.20.2"
Expand Down Expand Up @@ -3803,14 +3786,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@wangeditor-next/yjs-for-react@workspace:packages/yjs-for-react"
dependencies:
"@types/react": "npm:^18.0.0"
"@types/use-sync-external-store": "npm:^0.0.6"
use-sync-external-store: "npm:^1.2.0"
y-protocols: "npm:^1.0.5"
peerDependencies:
"@wangeditor-next/editor": 5.6.31
"@wangeditor-next/yjs": ^0.1.30
react: ">=16.8.0"
react: ">=17.0.2"
slate: ^0.72.0
yjs: ^13.5.29
languageName: unknown
Expand Down Expand Up @@ -5351,13 +5333,6 @@ __metadata:
languageName: node
linkType: hard

"csstype@npm:^3.0.2":
version: 3.1.3
resolution: "csstype@npm:3.1.3"
checksum: 10c0/80c089d6f7e0c5b2bd83cf0539ab41474198579584fa10d86d0cafe0642202343cbc119e076a0b1aece191989477081415d66c9fefbf3c957fc2fc4b7009f248
languageName: node
linkType: hard

"cypress@npm:^13.0.0":
version: 13.15.0
resolution: "cypress@npm:13.15.0"
Expand Down

0 comments on commit b790d7b

Please sign in to comment.