1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 12:25:51 -04:00

use latest novnc from source

This commit is contained in:
2022-02-13 10:26:07 -05:00
parent c3ab3559af
commit 090a485c8a
3 changed files with 22 additions and 20 deletions

View File

@@ -28,8 +28,8 @@
"@fontsource/roboto-mono": "4.5.3", "@fontsource/roboto-mono": "4.5.3",
"@giscus/react": "^1.1.2", "@giscus/react": "^1.1.2",
"@hcaptcha/react-hcaptcha": "^1.1.0", "@hcaptcha/react-hcaptcha": "^1.1.0",
"@next/bundle-analyzer": "12.0.10", "@next/bundle-analyzer": "12.0.11-canary.15",
"@novnc/novnc": "1.3.0", "@novnc/novnc": "github:novnc/noVNC#679b45fa3b453c7cf32f4b4455f4814818ecf161",
"@octokit/graphql": "^4.8.0", "@octokit/graphql": "^4.8.0",
"@primer/octicons": "^16.3.1", "@primer/octicons": "^16.3.1",
"@sentry/node": "^6.17.7", "@sentry/node": "^6.17.7",
@@ -93,7 +93,7 @@
"@typescript-eslint/parser": "^5.11.0", "@typescript-eslint/parser": "^5.11.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "~8.9.0", "eslint": "~8.9.0",
"eslint-config-next": "12.0.10", "eslint-config-next": "12.0.11-canary.15",
"eslint-config-prettier": "~8.3.0", "eslint-config-prettier": "~8.3.0",
"eslint-plugin-import": "~2.25.4", "eslint-plugin-import": "~2.25.4",
"eslint-plugin-mdx": "~1.16.0", "eslint-plugin-mdx": "~1.16.0",

View File

@@ -8,6 +8,9 @@ import type { ReactElement } from "react";
// obviously, an interactive VNC display will not work even a little bit server-side // obviously, an interactive VNC display will not work even a little bit server-side
const VNC = dynamic(() => import("../components/VNC/VNC"), { ssr: false }); const VNC = dynamic(() => import("../components/VNC/VNC"), { ssr: false });
// https://github.com/jakejarvis/y2k
const SOCKET_PROXY = "wss://y2k.jrvs.io";
const Y2K = () => { const Y2K = () => {
// print a fancy console message (in browser only) just for funsies // print a fancy console message (in browser only) just for funsies
useEffect(() => { useEffect(() => {
@@ -36,7 +39,7 @@ const Y2K = () => {
}} }}
/> />
<VNC server="wss://y2k.jrvs.io" /> <VNC server={SOCKET_PROXY} />
</> </>
); );
}; };

View File

@@ -1147,10 +1147,10 @@
resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b" resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b"
integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA== integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==
"@next/bundle-analyzer@12.0.10": "@next/bundle-analyzer@12.0.11-canary.15":
version "12.0.10" version "12.0.11-canary.15"
resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-12.0.10.tgz#0094c8b27c3df2d742ba987901ab674736082e92" resolved "https://registry.yarnpkg.com/@next/bundle-analyzer/-/bundle-analyzer-12.0.11-canary.15.tgz#ef9267c6728dc5959894704b42e9583fa1ea8485"
integrity sha512-POUNU5BAyJUvuMnALBFaxQvS6Rpdk2D7snHV/3Wdv2UkVX5PUPBYZc3KLdMirMQ6jPNbnvB0/lG5/LM15fHtqw== integrity sha512-W3bW/DZ9zWcAJniXQmB+QqFPvON4Rx7+0KZaAQWZ0QSwZBo8ejNtLq8SOV7SyNunr5KNimqCFBtn8tw7y9s6jA==
dependencies: dependencies:
webpack-bundle-analyzer "4.3.0" webpack-bundle-analyzer "4.3.0"
@@ -1159,10 +1159,10 @@
resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.11-canary.15.tgz#c124bf871a47b76a9a1bdfbf18d7f2fb9dd01fba" resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.11-canary.15.tgz#c124bf871a47b76a9a1bdfbf18d7f2fb9dd01fba"
integrity sha512-ez1ABQdxicqBbaGVawEmIJpLeiiTNZWGfcELTF2k96HffMsedO8XYc2RZ+zgEiL1dKvPKFnWclRzg/egErKv7w== integrity sha512-ez1ABQdxicqBbaGVawEmIJpLeiiTNZWGfcELTF2k96HffMsedO8XYc2RZ+zgEiL1dKvPKFnWclRzg/egErKv7w==
"@next/eslint-plugin-next@12.0.10": "@next/eslint-plugin-next@12.0.11-canary.15":
version "12.0.10" version "12.0.11-canary.15"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.0.10.tgz#521ab5d05a89e818528668df8a3edb8f9df2c547" resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.0.11-canary.15.tgz#c08d458755e082fa801b7fcca6f39fcf82e93ea5"
integrity sha512-PbGRnV5HGSfRGLjf8uTh1MaWgLwnjKjWiGVjK752ifITJbZ28/5AmLAFT2shDYeux8BHgpgVll5QXu7GN3YLFw== integrity sha512-McoCULg/0X1JONZNM3TFM3ZnP9W9aYsYh33xWPPhUyKr7LWalgCNF6yiknh8hSO5KHkdWAdbRMGQa8Cl7kpM7w==
dependencies: dependencies:
glob "7.1.7" glob "7.1.7"
@@ -1242,10 +1242,9 @@
"@nodelib/fs.scandir" "2.1.5" "@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0" fastq "^1.6.0"
"@novnc/novnc@1.3.0": "@novnc/novnc@github:novnc/noVNC#679b45fa3b453c7cf32f4b4455f4814818ecf161":
version "1.3.0" version "1.3.0"
resolved "https://registry.yarnpkg.com/@novnc/novnc/-/novnc-1.3.0.tgz#06db5ff55eae646a623d3717d8bffaf131ffb93a" resolved "https://codeload.github.com/novnc/noVNC/tar.gz/679b45fa3b453c7cf32f4b4455f4814818ecf161"
integrity sha512-tR87mY5ADtaELadmZfW937JO/p8fRdz3wkPoqwhqB/vY1XnTQeLSWwkp4yMlr4iIDY0iCficfzFYX5EHMh4MHw==
"@octokit/endpoint@^6.0.1": "@octokit/endpoint@^6.0.1":
version "6.0.12" version "6.0.12"
@@ -2647,12 +2646,12 @@ escape-string-regexp@^5.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"
integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==
eslint-config-next@12.0.10: eslint-config-next@12.0.11-canary.15:
version "12.0.10" version "12.0.11-canary.15"
resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.0.10.tgz#f201f8f4514018f7ef46f454f56b81cf5c790379" resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.0.11-canary.15.tgz#85d9036079d6330a3b8a72d81e0cf42d94fe8c09"
integrity sha512-l1er6mwSo1bltjLwmd71p5BdT6k/NQxV1n4lKZI6xt3MDMrq7ChUBr+EecxOry8GC/rCRUtPpH8Ygs0BJc5YLg== integrity sha512-L/h+SYBYNvdbVhIGXKqpRRDXivQJzanPJ7W0Etu2tP6/1Zm58VocsDkOLcfYF1m6W/bsBRwgZfNBUdbJFRzyog==
dependencies: dependencies:
"@next/eslint-plugin-next" "12.0.10" "@next/eslint-plugin-next" "12.0.11-canary.15"
"@rushstack/eslint-patch" "^1.0.8" "@rushstack/eslint-patch" "^1.0.8"
"@typescript-eslint/parser" "^5.0.0" "@typescript-eslint/parser" "^5.0.0"
eslint-import-resolver-node "^0.3.4" eslint-import-resolver-node "^0.3.4"