-
-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
10,750 additions
and
23,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Currently (2022-05-22) we need to ignore peer dependencies as those break the frontend when using react v18 | ||
legacy-peer-deps=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
backend/lib/webserver/middlewares/ExternalAccessCheckMiddleware.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"bin": "index.js", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=15" | ||
"node": ">=16" | ||
}, | ||
"pkg": { | ||
"assets": [ | ||
|
@@ -26,51 +26,51 @@ | |
"test": "mocha \"test/**/*_spec.js\"", | ||
"prepare_commit": "npm run lint_fix && npm run ts-check && npm run test", | ||
"build": "npm run build_armv7 && npm run build_aarch64 && npm run build_armv7_lowmem", | ||
"build_armv7": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node16-linuxstatic-armv7 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=38\" . --output ../build/armv7/valetudo", | ||
"build_aarch64": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node16-linuxstatic-arm64 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=64\" . --output ../build/aarch64/valetudo", | ||
"build_armv7_lowmem": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node16-linuxstatic-armv7 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=34,optimize-for-size,lite-mode,no-regexp-tier-up,no-expose-wasm\" . --output ../build/armv7/valetudo-lowmem" | ||
"build_armv7": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node18-linuxstatic-armv7 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=38\" . --output ../build/armv7/valetudo", | ||
"build_aarch64": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node18-linuxstatic-arm64 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=64\" . --output ../build/aarch64/valetudo", | ||
"build_armv7_lowmem": "cross-env PKG_CACHE_PATH=../build_dependencies/pkg pkg --targets node18-linuxstatic-armv7 --compress Brotli --no-bytecode --public-packages \"*\" --options \"expose-gc,max-heap-size=34,optimize-for-size,lite-mode,no-regexp-tier-up,no-expose-wasm\" . --output ../build/armv7/valetudo-lowmem" | ||
}, | ||
"author": "", | ||
"dependencies": { | ||
"@destinationstransfers/ntp": "2.0.0", | ||
"ajv": "8.8.2", | ||
"async-mqtt": "2.6.1", | ||
"axios": "0.24.0", | ||
"body-parser": "1.19.0", | ||
"ajv": "8.11.0", | ||
"async-mqtt": "2.6.2", | ||
"axios": "0.27.2", | ||
"body-parser": "1.20.0", | ||
"bonjour-service": "1.0.12", | ||
"compression": "1.7.4", | ||
"crc": "3.8.0", | ||
"crc": "4.1.1", | ||
"escape-html": "1.0.3", | ||
"express": "4.17.2", | ||
"express": "4.18.1", | ||
"express-basic-auth": "1.2.1", | ||
"express-dynamic-middleware": "1.0.0", | ||
"express-list-endpoints": "6.0.0", | ||
"express-rate-limit": "5.5.1", | ||
"express-rate-limit": "6.4.0", | ||
"hashlru": "git+https://[email protected]/Hypfer/hashlru#3.0.0", | ||
"is-in-subnet": "4.0.1", | ||
"jstoxml": "2.2.7", | ||
"mqtt": "4.2.8", | ||
"jstoxml": "3.2.3", | ||
"mqtt": "4.3.7", | ||
"nested-object-assign": "1.0.4", | ||
"nested-property": "4.0.0", | ||
"openapi-validator-middleware": "3.2.4", | ||
"quick-lru": "5.1.1", | ||
"openapi-validator-middleware": "3.2.6", | ||
"semaphore": "1.1.0", | ||
"swagger-ui-express": "4.3.0", | ||
"swagger-ui-express": "4.4.0", | ||
"uuid": "8.3.2", | ||
"zoo-ids": "2.0.7" | ||
}, | ||
"devDependencies": { | ||
"@types/compression": "1.7.2", | ||
"@types/express": "4.17.13", | ||
"@types/express-list-endpoints": "6.0.0", | ||
"@types/jstoxml": "2.0.1", | ||
"@types/mocha": "7.0.2", | ||
"@types/node": "16.11.1", | ||
"@types/jstoxml": "2.0.2", | ||
"@types/mocha": "9.1.1", | ||
"@types/node": "17.0.35", | ||
"@types/node-ssdp": "4.0.1", | ||
"@types/semaphore": "1.1.1", | ||
"@types/uuid": "8.3.3", | ||
"@types/uuid": "8.3.4", | ||
"cross-env": "7.0.3", | ||
"mocha": "7.1.1", | ||
"pkg": "5.6.0", | ||
"mocha": "10.0.0", | ||
"pkg": "5.7.0", | ||
"should": "13.2.3" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,37 +30,36 @@ | |
] | ||
}, | ||
"dependencies": { | ||
"@emotion/react": "11.6.0", | ||
"@emotion/styled": "11.6.0", | ||
"@fontsource/jetbrains-mono": "4.5.3", | ||
"@fontsource/roboto": "4.5.3", | ||
"@mui/material": "5.2.0", | ||
"@mui/icons-material": "5.2.0", | ||
"@mui/lab": "5.0.0-alpha.48", | ||
"axios": "0.24.0", | ||
"color": "4.0.1", | ||
"date-fns": "2.26.0", | ||
"notistack": "2.0.3", | ||
"react": "17.0.2", | ||
"@fontsource/jetbrains-mono": "4.5.8", | ||
"@fontsource/roboto": "4.5.7", | ||
"@mui/material": "5.8.0", | ||
"@mui/base": "5.0.0-alpha.81", | ||
"@mui/icons-material": "5.8.0", | ||
"@mui/lab": "5.0.0-alpha.82", | ||
"@emotion/styled": "11.8.1", | ||
"@emotion/react": "11.9.0", | ||
"axios": "0.27.2", | ||
"date-fns": "2.28.0", | ||
"notistack": "2.0.5", | ||
"react": "18.1.0", | ||
"react-div-100vh": "0.7.0", | ||
"react-dom": "17.0.2", | ||
"rehype-raw": "6.1.0", | ||
"react-markdown": "7.1.0", | ||
"react-dom": "18.1.0", | ||
"rehype-raw": "6.1.1", | ||
"react-markdown": "8.0.3", | ||
"remark-gfm": "3.0.1", | ||
"react-query": "3.33.5", | ||
"react-router-dom": "5.3.0", | ||
"react-scripts": "4.0.3", | ||
"semaphore": "^1.1.0", | ||
"use-long-press": "2.0.0", | ||
"react-query": "3.39.0", | ||
"react-router-dom": "5.3.3", | ||
"react-scripts": "5.0.1", | ||
"semaphore": "1.1.0", | ||
"use-long-press": "2.0.2", | ||
"uuid": "8.3.2" | ||
}, | ||
"devDependencies": { | ||
"@types/color": "3.0.2", | ||
"@types/react": "17.0.37", | ||
"@types/react-dom": "17.0.11", | ||
"@types/react-router-dom": "5.1.8", | ||
"@types/uuid": "8.3.3", | ||
"@types/react": "18.0.9", | ||
"@types/react-dom": "18.0.4", | ||
"@types/react-router-dom": "5.3.3", | ||
"@types/uuid": "8.3.4", | ||
"tsutils": "3.21.0", | ||
"cra-build-watch": "3.4.0" | ||
"cra-build-watch": "git+https://[email protected]/Hypfer/cra-build-watch.git#5.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
import ReactDOM from "react-dom"; | ||
import { createRoot } from "react-dom/client"; | ||
import App from "./App"; | ||
|
||
ReactDOM.render(<App/>, document.getElementById("root")); | ||
// @ts-ignore | ||
const root = createRoot(document.getElementById("root")); | ||
|
||
root.render(<App/>); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.