Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbret committed Jan 14, 2025
1 parent 5979962 commit b148aa7
Show file tree
Hide file tree
Showing 11 changed files with 1,566 additions and 2,080 deletions.
3,604 changes: 1,543 additions & 2,061 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"publish-packages": "npm test && npm run build && lerna publish minor --yes",
"misc:check-pack": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz"
},
"workspaces": ["packages/*"],
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.19.3",
Expand All @@ -37,20 +39,18 @@
"jest": "^29.4.1",
"lerna": "^8.1.2",
"postcss": "^8.4.36",
"rollup-plugin-node-externals": "^8.0.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-node-externals": "^7.0.0",
"rxjs": "*",
"serve": "^14.2.0",
"tailwindcss": "^3.4.1",
"ts-node": "^10.4.0",
"vite": "^6.0.7",
"vite": "^5.0.0",
"vite-plugin-dts": "^4.0.3",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^2.0.5",
"workbox-build": "^7.0.0",
"workbox-window": "^7.0.0",
"xmldoc": "^1.1.2"
"workbox-window": "^7.0.0"
},
"dependencies": {
"@chakra-ui/react": "^2.8.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.2",
"react-icons": "^5.0.1",
"react-router-dom": "^6.8.1",
"react-router": "^7.1.1",
"react-use": "^17.4.0",
"reactjrx": "^1.97.0",
"rxjs": "^7.8.0",
"screenfull": "^6.0.1",
"stream-browserify": "^3.0.0",
"xmldoc": "^1.2.0"
"xmldoc": "^1.1.2"
},
"gitHead": "781f4eb7b95735eca4fa981f1ea4bf8bc78ad7ac"
}
2 changes: 1 addition & 1 deletion packages/demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
Routes,
Route,
Navigate,
} from "react-router-dom"
} from "react-router"
import { HomeScreen } from "./home/HomeScreen"
import { ChakraProvider } from "@chakra-ui/react"
import { theme } from "./theme/theme"
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/books/BookTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
Link,
Text,
} from "@chakra-ui/react"
import { Link as RouterLink } from "react-router-dom"
import { Link as RouterLink } from "react-router"

export const BookTable = ({
items,
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/books/BooksScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link as RouterLink } from "react-router-dom"
import { Link as RouterLink } from "react-router"
import {
Table,
Tr,
Expand Down
3 changes: 1 addition & 2 deletions packages/demo/src/books/NavigationBreadcrumb.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink } from "@chakra-ui/react"
import React from "react"
import { Link } from "react-router-dom"
import { Link } from "react-router"

export const NavigationBreadcrumb = () => {
return (
Expand Down
3 changes: 1 addition & 2 deletions packages/demo/src/home/HomeScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react"
import { Link } from "react-router-dom"
import { Link } from "react-router"
import {
Button as ChakraButton,
Text,
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/reader/ReaderScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { memo, useEffect, useRef } from "react"
import { useManifest } from "./useManifest"
import { useParams } from "react-router-dom"
import { useParams } from "react-router"
import { useResetStateOnUnMount } from "./states"
import { HighlightMenu } from "./annotations/HighlightMenu"
import { Bookmarks } from "./bookmarks/Bookmarks"
Expand Down
10 changes: 8 additions & 2 deletions packages/demo/stream-shim.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
export const stream = { Stream: () => {} }
export function Stream() {
console.log('Stream');
}

export const Stream = () => {}
export const stream = {
Stream: function Stream() {},
};

stream.Stream.prototype = Stream.prototype;
2 changes: 1 addition & 1 deletion packages/streamer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"gitHead": "4601e14dcacf50b2295cb343582a7ef2c7e1eedc",
"devDependencies": {
"buffer": "^6.0.3",
"xmldoc": "^1.2.0"
"xmldoc": "^1.1.2"
}
}

0 comments on commit b148aa7

Please sign in to comment.