Skip to content

Commit

Permalink
upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nikgraf committed Aug 18, 2023
1 parent 135b463 commit 66a6806
Show file tree
Hide file tree
Showing 7 changed files with 613 additions and 552 deletions.
6 changes: 4 additions & 2 deletions examples/frontend/pages/doc/[docId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const Document: React.FC<{ docId: string }> = ({ docId }) => {
);
};

export default function DocumentPage() {
const DocumentPage: React.FC = () => {
const router = useRouter();
const [libsodiumIsReady, setLibsodiumIsReady] = useState(false);

Expand All @@ -204,4 +204,6 @@ export default function DocumentPage() {
return null;

return <Document docId={docId} />;
}
};

export default DocumentPage;
6 changes: 4 additions & 2 deletions examples/frontend/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Head from "next/head";
import { useRouter } from "next/router";
import { v4 as uuidv4 } from "uuid";

export default function Home() {
const Home: React.FC = () => {
const router = useRouter();

return (
Expand Down Expand Up @@ -60,4 +60,6 @@ export default function Home() {
</main>
</>
);
}
};

export default Home;
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
"benchmarks/*"
],
"devDependencies": {
"ts-node": "^10.4.0",
"typescript": "^5.1.3"
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"scripts": {
"ts:check": "pnpm install && pnpm -r ts:check",
"test": "pnpm install && pnpm -r test",
"lint": "pnpm install && pnpm -r lint"
},
"resolutions": {
"yjs": "13.6.7"
}
}
16 changes: 8 additions & 8 deletions packages/secsync-react-automerge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
},
"dependencies": {
"@xstate/react": "^3.2.2",
"secsync": "^0.1.0"
"secsync": "workspace:^"
},
"peerDependencies": {
"react": "*",
"@automerge/automerge": "*"
"@automerge/automerge": "*",
"react": "*"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.1.1",
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.20",
"jest": "^29.1.1"
"jest": "^29.6.2"
},
"jest": {
"setupFilesAfterEnv": [
Expand Down
10 changes: 5 additions & 5 deletions packages/secsync-react-yjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"yjs": "*"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.1.1",
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.20",
"jest": "^29.1.1"
"jest": "^29.6.2"
},
"jest": {
"setupFilesAfterEnv": [
Expand Down
14 changes: 7 additions & 7 deletions packages/secsync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"dependencies": {
"canonicalize": "^2.0.0",
"libsodium-wrappers": "^0.7.11",
"xstate": "^4.37.2",
"zod": "^3.21.4"
"xstate": "^4.38.2",
"zod": "^3.22.1"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.1.1",
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@types/jest": "^29.5.3",
"@types/libsodium-wrappers": "^0.7.10",
"@types/ws": "^8.5.5",
"@xstate/cli": "^0.5.2",
"jest": "^29.1.1",
"jest": "^29.6.2",
"mock-socket": "^9.2.1"
},
"jest": {
Expand Down
Loading

0 comments on commit 66a6806

Please sign in to comment.