Skip to content

Commit

Permalink
fix!: bump peerbit
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Feb 1, 2024
1 parent 33c5b6a commit 9d20e92
Show file tree
Hide file tree
Showing 42 changed files with 3,000 additions and 1,491 deletions.
6 changes: 3 additions & 3 deletions packages/collaborative-learning/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"deploy": "yarn build && NODE_DEBUG=gh-pages gh-pages -d dist"
},
"dependencies": {
"peerbit": "^3",
"@peerbit/document": "^4",
"peerbit": "^4",
"@peerbit/document": "^6",
"@tensorflow/tfjs": "^4.2.0",
"@peerbit/react": "*",
"react": "^18.2.0",
Expand All @@ -31,7 +31,7 @@
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"vite": "^5.0.12"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion packages/file-share/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@peerbit/please-lib": "^0.0.7",
"chalk": "^5.3.0",
"peerbit": "^3",
"peerbit": "^4",
"yargs": "^17.7.2"
}
}
16 changes: 13 additions & 3 deletions packages/file-share/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,33 @@
},
"dependencies": {
"@peerbit/please-lib": "^0.0.7",
"peerbit": "^3",
"peerbit": "^4",
"@peerbit/react": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-use": "^17.4.0",
"react-router-dom": "^6.16.0",
"fast-diff": "^1.3.0",
"react-icons": "^4.10.1",
"faker": "5.5.3",
"@radix-ui/react-toast": "^1.1.4",
"@radix-ui/react-toggle": "^1.0.3"
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-progress": "^1.0.3",
"chartjs-chart-graph": "^4.2.7",
"chart.js": "^4.4.1",
"chartjs-plugin-datalabels": "^2.2.0"
},
"devDependencies": {
"@types/faker": "5.5.9",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite": "^5.0.12",
"tailwindcss": "^3.3.3",
"postcss": "^8.4.26",
"autoprefixer": "^10.4.14"
Expand Down
6 changes: 5 additions & 1 deletion packages/file-share/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ import { PeerProvider, usePeer } from "@peerbit/react";
import { BaseRoutes } from "./routes";
import { HashRouter } from "react-router-dom";
import { Footer } from "./Footer";

/* import { enable } from "@libp2p/logger";
enable("libp2p:*"); */
document.documentElement.classList.add("dark");

export const App = () => {
return (
<PeerProvider
inMemory={true}
iframe={{ type: "proxy", targetOrigin: "*" }}
top={{
inMemory: true,
type: "node",
network:
import.meta.env.MODE === "development" ? "local" : "remote",
Expand Down
Loading

0 comments on commit 9d20e92

Please sign in to comment.