switch to my fork of dynamic (bcc support)

This commit is contained in:
CoolElectronics 2023-08-15 19:44:33 -04:00
parent b638ab7c98
commit aa503383f4
No known key found for this signature in database
GPG key ID: F63593D168636C50
19 changed files with 375 additions and 171 deletions

View file

@ -0,0 +1,27 @@
filemap.js,1692120772182,b2265636c7f61a4adeffa57de0bad4d36755cb794446b2134b8f6cdaf8ccaf64
404.html,1692120786990,b7bab6b83fa074653ff28c8d2a64135d3434575f70a12ab3d3ba8080461b9537
index.html,1692120773586,ff0001da2a8e11f93d7a35313c22990abb229ca71a17a5671f746a28af4f7ec5
uv.config.js,1692120772190,a3e16666e0c7ca53f5c897119b0f7de197a7e5ccc53edd9497190f8e1f92c70e
sw.js,1692120772182,53d6f1acf64c6b04f47e4a563c6bda37a4e7a967255162269f1b6e388ecb75eb
assets/index-40fc4048.css,1692120773620,d7f37173053fdf61f31b75c6546bae86ece214407335b991932175f66726d409
dynamic/dynamic.config.js,1692120772173,e6349c825846ace5396b36d6a448166c0d7f94c863e015edc688900ac91ca5b4
uv/sw.js,1692120772183,de6735d15c11b5c42bb82007d30288db1672aab1f2f7768409647295addaa077
uv/uv.client.js,1692120772188,2c2023aab2dbf4e46aa7a71e2375c500f6287a5c1971b364eea96c2533863f6c
uv/uv.config.js,1692120772189,ee0662337aea967ef2b519cdb76ca556bfc11c2a4fd729cbaa6e6fac68bf707e
uv/uv.handler.js,1692120772189,e1bfe6f3c0ef92129cd6210a32ce815f7a13e5166b14b21ebc515c4bacab7a47
uv/uv.sw.js,1692120772189,4d6870a941269ba331153b2eead1d8ca4beaa4692f1f0f4a128ba358c0bd70e3
uv/uv.sw.js.map,1692120772190,ecf0aff96fc2dfa6e46c2434ee825906bbbf10d3988a163a18a16993015c25a6
uv/uv.handler.js.map,1692120772189,a333fb9a2e776a1a8e213e682edc3f55101b873cf12ecdd80c5f67d69282d47a
uv/uv.client.js.map,1692120772188,0eca026b21a3bf0e5dde9c8bc9bd436a383238467715a730209693f95745ddaa
dynamic/dynamic.html.js,1692120772177,86a345ae1b4cbc8e4ed9e5a2963f59d4e61112f54a66a4828f55fdf8326a13b2
dynamic/dynamic.worker.js,1692120772180,73753cc94736abd9140f57f3f61185a6141b03ba6d3f5134ebdddcfe2e923e57
dynamic/dynamic.client.js,1692120772170,457d8407bc75402b516a9397550d2d0e083cebf180ecda71ebc7d00588f57083
dynamic/dynamic.handler.js,1692120772174,1611dd5c7df5e93ffd9eaa49ad128fc06e95134bb60726715d559e9f35626c14
dynamic/dynamic.html.js.map,1692120772178,e01117579f8eca4ec5c1746bdd1de6f51a7a3e495ae14f7fc54d99acc64169e4
dynamic/dynamic.worker.js.map,1692120772181,78c249d3269cfe446f0d508b534151bfe6f4accebdc00186f6befadce8a7ddf5
uv/uv.bundle.js,1692120772184,111b01ce7e0bb7884a3348e39721a674ce7d008973d5d1d9fa9c34fa1845f436
dynamic/dynamic.client.js.map,1692120772171,d8e4c863a2b498e629905beb27d39b6c4e9059803a3836c2d5951e285effe3db
dynamic/dynamic.handler.js.map,1692120772175,1ef1cd560879f2844cde581e37d928123509d291100226130aa8d170c51d6203
assets/index-6f25d148.js,1692120773622,d25c62441574e9b3d03dd00cef49b5b91423bb6152ec64dbc8d9ab51d4bc9ffb
uv/uv.bundle.js.map,1692120772185,d626ec0e7024d7d434dd441022351653ea9f313653ff88fc6331d08db32ede40
assets/index-6f25d148.js.map,1692120773628,3055d212fe81a1ba94bc345b1a0ca7bad3c15eaa9ab005caf0052d2f049a3e61

5
.firebaserc Normal file
View file

@ -0,0 +1,5 @@
{
"projects": {
"default": "adrift-6c1f6"
}
}

4
.gitmodules vendored
View file

@ -12,4 +12,6 @@
url = https://github.com/CoolElectronics/vite-plugin-singlefile
[submodule "Dynamic"]
path = Dynamic
url = https://github.com/NebulaServices/Dynamic
url = https://github.com/CoolElectronics/Dynamic
[submodule "Dynamic/"]
url = https://github.com/CoolElectronics/Dynamic/

@ -1 +1 @@
Subproject commit 3680d531ababfe3dab998b9cf29cc9e570f865e2
Subproject commit 46f8b0c32121598966eb9d668ee4ef3c11b90d40

View file

@ -14,6 +14,7 @@
"bare-client-custom": "file:../bare-client-custom",
"firebase": "^10.1.0",
"protocol": "workspace:*",
"uuid": "^9.0.0",
"web-streams-polyfill": "^3.2.1"
},
"devDependencies": {

10
firebase.json Normal file
View file

@ -0,0 +1,10 @@
{
"hosting": {
"public": "frontend/dist/",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}

View file

@ -31,6 +31,7 @@
"svelte-preprocess": "^5.0.4",
"tailwindcss": "^3.3.3",
"typescript": "^5.1.6",
"uuid": "^9.0.0",
"vite": "^4.4.9",
"vite-plugin-singlefile": "git://github.com/CoolElectronics/vite-plugin-singlefile.git",
"vite-plugin-svelte": "^3.0.1"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,26 @@
// vite.config.js
import { defineConfig } from "file:///home/ce/Documents/GitHub/adrift/node_modules/.pnpm/vite@4.4.9/node_modules/vite/dist/node/index.js";
import { svelte } from "file:///home/ce/Documents/GitHub/adrift/node_modules/.pnpm/@sveltejs+vite-plugin-svelte@2.4.5_svelte@4.2.0_vite@4.4.9/node_modules/@sveltejs/vite-plugin-svelte/src/index.js";
import { viteSingleFile } from "file:///home/ce/Documents/GitHub/adrift/node_modules/.pnpm/github.com+CoolElectronics+vite-plugin-singlefile@0d528cf28b80545b7423150252fd18e7efd8a5e3_ro_mhfpd7pl55om7n5r5r2q4keutu/node_modules/vite-plugin-singlefile/dist/esm/index.js";
var vite_config_default = defineConfig({
plugins: [
svelte({}),
process.env.VITE_ADRIFT_SINGLEFILE && viteSingleFile()
],
build: {
dev: true,
minify: false,
target: "esnext",
outDir: "dist",
sourcemap: true,
rollupOptions: {
external: [
"./sw.js"
]
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9jZS9Eb2N1bWVudHMvR2l0SHViL2FkcmlmdC9mcm9udGVuZFwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiL2hvbWUvY2UvRG9jdW1lbnRzL0dpdEh1Yi9hZHJpZnQvZnJvbnRlbmQvdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL2hvbWUvY2UvRG9jdW1lbnRzL0dpdEh1Yi9hZHJpZnQvZnJvbnRlbmQvdml0ZS5jb25maWcuanNcIjtpbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tIFwidml0ZVwiXG5pbXBvcnQgeyBzdmVsdGUgfSBmcm9tIFwiQHN2ZWx0ZWpzL3ZpdGUtcGx1Z2luLXN2ZWx0ZVwiXG5pbXBvcnQgeyB2aXRlU2luZ2xlRmlsZSB9IGZyb20gXCJ2aXRlLXBsdWdpbi1zaW5nbGVmaWxlXCJcblxuZXhwb3J0IGRlZmF1bHQgZGVmaW5lQ29uZmlnKHtcbiAgcGx1Z2luczogW1xuICAgIHN2ZWx0ZSh7XG5cbiAgICB9KSxcbiAgICBwcm9jZXNzLmVudi5WSVRFX0FEUklGVF9TSU5HTEVGSUxFICYmIHZpdGVTaW5nbGVGaWxlKClcbiAgXSxcbiAgYnVpbGQ6IHtcbiAgICBkZXY6IHRydWUsXG4gICAgbWluaWZ5OiBmYWxzZSxcbiAgICB0YXJnZXQ6IFwiZXNuZXh0XCIsXG4gICAgb3V0RGlyOiBcImRpc3RcIixcbiAgICBzb3VyY2VtYXA6IHRydWUsXG4gICAgcm9sbHVwT3B0aW9uczoge1xuICAgICAgZXh0ZXJuYWw6IFtcbiAgICAgICAgXCIuL3N3LmpzXCJcbiAgICAgIF1cbiAgICB9XG4gIH1cbn0pXG4iXSwKICAibWFwcGluZ3MiOiAiO0FBQTZTLFNBQVMsb0JBQW9CO0FBQzFVLFNBQVMsY0FBYztBQUN2QixTQUFTLHNCQUFzQjtBQUUvQixJQUFPLHNCQUFRLGFBQWE7QUFBQSxFQUMxQixTQUFTO0FBQUEsSUFDUCxPQUFPLENBRVAsQ0FBQztBQUFBLElBQ0QsUUFBUSxJQUFJLDBCQUEwQixlQUFlO0FBQUEsRUFDdkQ7QUFBQSxFQUNBLE9BQU87QUFBQSxJQUNMLEtBQUs7QUFBQSxJQUNMLFFBQVE7QUFBQSxJQUNSLFFBQVE7QUFBQSxJQUNSLFFBQVE7QUFBQSxJQUNSLFdBQVc7QUFBQSxJQUNYLGVBQWU7QUFBQSxNQUNiLFVBQVU7QUFBQSxRQUNSO0FBQUEsTUFDRjtBQUFBLElBQ0Y7QUFBQSxFQUNGO0FBQ0YsQ0FBQzsiLAogICJuYW1lcyI6IFtdCn0K

236
pnpm-lock.yaml generated
View file

@ -10,33 +10,36 @@ importers:
Dynamic:
dependencies:
'@dynamic-pkg/acorn':
specifier: ^1.0.1
version: 1.0.1
'@dynamic-pkg/astring':
specifier: ^1.0.1
version: 1.0.1
'@dynamic-pkg/cookie':
specifier: ^1.0.0
version: 1.0.0
'@dynamic-pkg/mime':
specifier: ^1.0.1
version: 1.0.1
'@dynamic-pkg/mutation':
specifier: ^1.0.0
version: 1.0.0
'@fastify/compress':
specifier: ^6.4.0
version: 6.4.0
'@fastify/static':
specifier: ^6.10.2
version: 6.10.2
'@tomphttp/bare-client':
specifier: ^2.2.0-alpha
version: 2.2.0-alpha
specifier: file:../bare-client-custom
version: file:bare-client-custom
'@tomphttp/bare-server-node':
specifier: ^2.0.1
version: 2.0.1
acorn:
specifier: ^8.10.0
version: 8.10.0
astring:
specifier: ^1.8.6
version: 1.8.6
chalk:
specifier: ^5.3.0
version: 5.3.0
cookie:
specifier: ^0.5.0
version: 0.5.0
crypto-js:
specifier: ^4.1.1
version: 4.1.1
@ -65,12 +68,18 @@ importers:
specifier: ^2.6.0
version: 2.6.0
devDependencies:
'@types/cookie':
specifier: ^0.5.1
version: 0.5.1
'@types/crypto-js':
specifier: ^4.1.1
version: 4.1.1
'@types/mime-db':
specifier: ^1.43.1
version: 1.43.1
'@types/path-browserify':
specifier: ^1.0.0
version: 1.0.0
'@types/set-cookie-parser':
specifier: ^2.4.2
version: 2.4.2
@ -79,10 +88,10 @@ importers:
version: 7.1.1
ts-node:
specifier: ^10.8.1
version: 10.9.1(@types/node@20.4.10)(typescript@4.9.4)
version: 10.9.1(@types/node@20.4.10)(typescript@5.1.6)
typescript:
specifier: ^4.7.4
version: 4.9.4
specifier: ^5.1.6
version: 5.1.6
Ultraviolet:
dependencies:
@ -147,10 +156,10 @@ importers:
version: 5.0.3(rollup@3.28.0)
'@typescript-eslint/eslint-plugin':
specifier: ^5.59.7
version: 5.59.7(@typescript-eslint/parser@5.59.7)(eslint@8.41.0)(typescript@4.9.4)
version: 5.59.7(@typescript-eslint/parser@5.59.7)(eslint@8.41.0)(typescript@5.1.6)
'@typescript-eslint/parser':
specifier: ^5.59.7
version: 5.59.7(eslint@8.41.0)(typescript@4.9.4)
version: 5.59.7(eslint@8.41.0)(typescript@5.1.6)
eslint:
specifier: ^8.41.0
version: 8.41.0
@ -162,7 +171,7 @@ importers:
version: 3.28.0
rollup-plugin-typescript2:
specifier: ^0.34.1
version: 0.34.1(rollup@3.28.0)(typescript@4.9.4)
version: 0.34.1(rollup@3.28.0)(typescript@5.1.6)
client:
dependencies:
@ -178,6 +187,9 @@ importers:
protocol:
specifier: workspace:*
version: link:../protocol
uuid:
specifier: ^9.0.0
version: 9.0.0
web-streams-polyfill:
specifier: ^3.2.1
version: 3.2.1
@ -336,6 +348,9 @@ importers:
typescript:
specifier: ^5.1.6
version: 5.1.6
uuid:
specifier: ^9.0.0
version: 9.0.0
vite:
specifier: ^4.4.9
version: 4.4.9
@ -1892,18 +1907,6 @@ packages:
engines: {node: '>=10.0.0'}
dev: true
/@dynamic-pkg/acorn@1.0.1:
resolution: {integrity: sha512-Z/66xlcXWiifPXyLbZVSXAOFrNc8SYJwY4DDhpXBgQLZ0wS03IgsHag46aVwV4BMQtSINs85bI8n4xi7752eug==}
dev: false
/@dynamic-pkg/astring@1.0.1:
resolution: {integrity: sha512-1XhmbtAExqgn2+iGPScdU5YQaqVUJcYCJ7uX4ptZWLUpR3U8vbYbpQTzbcDIdxEHs7ATPnLrhoZ8EW0+cVWN6Q==}
dev: false
/@dynamic-pkg/cookie@1.0.0:
resolution: {integrity: sha512-Q08+Rcc1BQm0duGzdlWqzhBqiQ1G1xlTenWO2JCFm07iVS+lv7BbyFYsuaq3hkzW61eVPMK10Pafrx7JdcTZdQ==}
dev: false
/@dynamic-pkg/mime@1.0.1:
resolution: {integrity: sha512-uZ16uKblCpCWRvF2oPx+hE3Oo+co6NLoEFdA4vWka7+ywoWcQlpbXkNucWoSvLS8V0eTqZIEGx3xJ7rwPUXleg==}
dev: false
@ -2370,6 +2373,19 @@ packages:
text-decoding: 1.0.0
dev: false
/@fastify/compress@6.4.0:
resolution: {integrity: sha512-9zsljrMmv1mf/r+a+tQQbNJz6++jzsTUVGtJxNKnhd9LXNJNGwTJ3bndkcpJYiG/AoWHwsHGYjB13JnQhR/yNw==}
dependencies:
'@fastify/accept-negotiator': 1.1.0
fastify-plugin: 4.5.1
into-stream: 6.0.0
mime-db: 1.52.0
minipass: 6.0.2
peek-stream: 1.1.3
pump: 3.0.0
pumpify: 2.0.1
dev: false
/@fastify/deepmerge@1.3.0:
resolution: {integrity: sha512-J8TOSBq3SoZbDhM9+R/u77hP93gz/rajSA+K2kGyijPpORPWUXHUpTaleoj+92As0S9uPRP7Oi8IqMf0u+ro6A==}
dev: false
@ -3732,10 +3748,6 @@ packages:
resolution: {integrity: sha512-WyIVnSAqzfrLejmOhh/l/LtDOeK+SHnBGi/z+QyliVP1T1JxoNE5eecwxlV+osM9J6FTAYVGNHr8/5bubaIj6Q==}
dev: false
/@tomphttp/bare-client@2.2.0-alpha:
resolution: {integrity: sha512-xhcflOpwr92tkpp8SoDhB3nK3LHMBIjx+vgow37XobQew2k0/mXSxmaU7BsDFpOIa1CcLCEsR8gWn0v7Cy9+7Q==}
dev: false
/@tomphttp/bare-server-node@2.0.1:
resolution: {integrity: sha512-L42TC/AldYRFBRZSxhkI0FC5TL8EC/NAsepNC/cWYTTiHQJ7mGg/vdTqNz8ShTYHr6LTHYkuD3/81nhX55SYtA==}
engines: {node: '>=18.0.0'}
@ -3783,6 +3795,10 @@ packages:
dependencies:
'@types/node': 20.4.10
/@types/cookie@0.5.1:
resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==}
dev: true
/@types/crypto-js@4.1.1:
resolution: {integrity: sha512-BG7fQKZ689HIoc5h+6D2Dgq1fABRa0RbBWKBd9SP/MVRVXROflpm5fhwyATX5duFmbStzyzyycPB8qUYKDH3NA==}
dev: true
@ -3925,6 +3941,10 @@ packages:
resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}
dev: true
/@types/path-browserify@1.0.0:
resolution: {integrity: sha512-XMCcyhSvxcch8b7rZAtFAaierBYdeHXVvg2iYnxOV0MCQHmPuRRmGZPFDRzPayxcGiiSL1Te9UIO+f3cuj0tfw==}
dev: true
/@types/pug@2.0.6:
resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==}
dev: false
@ -4036,7 +4056,7 @@ packages:
- supports-color
dev: true
/@typescript-eslint/eslint-plugin@5.59.7(@typescript-eslint/parser@5.59.7)(eslint@8.41.0)(typescript@4.9.4):
/@typescript-eslint/eslint-plugin@5.59.7(@typescript-eslint/parser@5.59.7)(eslint@8.41.0)(typescript@5.1.6):
resolution: {integrity: sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -4048,18 +4068,18 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.6.2
'@typescript-eslint/parser': 5.59.7(eslint@8.41.0)(typescript@4.9.4)
'@typescript-eslint/parser': 5.59.7(eslint@8.41.0)(typescript@5.1.6)
'@typescript-eslint/scope-manager': 5.59.7
'@typescript-eslint/type-utils': 5.59.7(eslint@8.41.0)(typescript@4.9.4)
'@typescript-eslint/utils': 5.59.7(eslint@8.41.0)(typescript@4.9.4)
'@typescript-eslint/type-utils': 5.59.7(eslint@8.41.0)(typescript@5.1.6)
'@typescript-eslint/utils': 5.59.7(eslint@8.41.0)(typescript@5.1.6)
debug: 4.3.4
eslint: 8.41.0
grapheme-splitter: 1.0.4
ignore: 5.2.4
natural-compare-lite: 1.4.0
semver: 7.5.4
tsutils: 3.21.0(typescript@4.9.4)
typescript: 4.9.4
tsutils: 3.21.0(typescript@5.1.6)
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
@ -4097,7 +4117,7 @@ packages:
- supports-color
dev: true
/@typescript-eslint/parser@5.59.7(eslint@8.41.0)(typescript@4.9.4):
/@typescript-eslint/parser@5.59.7(eslint@8.41.0)(typescript@5.1.6):
resolution: {integrity: sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -4109,10 +4129,10 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 5.59.7
'@typescript-eslint/types': 5.59.7
'@typescript-eslint/typescript-estree': 5.59.7(typescript@4.9.4)
'@typescript-eslint/typescript-estree': 5.59.7(typescript@5.1.6)
debug: 4.3.4
eslint: 8.41.0
typescript: 4.9.4
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
@ -4161,7 +4181,7 @@ packages:
- supports-color
dev: true
/@typescript-eslint/type-utils@5.59.7(eslint@8.41.0)(typescript@4.9.4):
/@typescript-eslint/type-utils@5.59.7(eslint@8.41.0)(typescript@5.1.6):
resolution: {integrity: sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -4171,12 +4191,12 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.59.7(typescript@4.9.4)
'@typescript-eslint/utils': 5.59.7(eslint@8.41.0)(typescript@4.9.4)
'@typescript-eslint/typescript-estree': 5.59.7(typescript@5.1.6)
'@typescript-eslint/utils': 5.59.7(eslint@8.41.0)(typescript@5.1.6)
debug: 4.3.4
eslint: 8.41.0
tsutils: 3.21.0(typescript@4.9.4)
typescript: 4.9.4
tsutils: 3.21.0(typescript@5.1.6)
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
@ -4217,7 +4237,7 @@ packages:
- supports-color
dev: true
/@typescript-eslint/typescript-estree@5.59.7(typescript@4.9.4):
/@typescript-eslint/typescript-estree@5.59.7(typescript@5.1.6):
resolution: {integrity: sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -4232,8 +4252,8 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.4
tsutils: 3.21.0(typescript@4.9.4)
typescript: 4.9.4
tsutils: 3.21.0(typescript@5.1.6)
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
@ -4279,7 +4299,7 @@ packages:
- typescript
dev: true
/@typescript-eslint/utils@5.59.7(eslint@8.41.0)(typescript@4.9.4):
/@typescript-eslint/utils@5.59.7(eslint@8.41.0)(typescript@5.1.6):
resolution: {integrity: sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -4290,7 +4310,7 @@ packages:
'@types/semver': 7.5.0
'@typescript-eslint/scope-manager': 5.59.7
'@typescript-eslint/types': 5.59.7
'@typescript-eslint/typescript-estree': 5.59.7(typescript@4.9.4)
'@typescript-eslint/typescript-estree': 5.59.7(typescript@5.1.6)
eslint: 8.41.0
eslint-scope: 5.1.1
semver: 7.5.4
@ -4814,6 +4834,11 @@ packages:
engines: {node: '>=4'}
dev: false
/astring@1.8.6:
resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==}
hasBin: true
dev: false
/async-exit-hook@2.0.1:
resolution: {integrity: sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw==}
engines: {node: '>=0.12.0'}
@ -5651,6 +5676,15 @@ packages:
engines: {node: '>=12'}
dev: false
/duplexify@3.7.1:
resolution: {integrity: sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==}
dependencies:
end-of-stream: 1.4.4
inherits: 2.0.4
readable-stream: 2.3.8
stream-shift: 1.0.1
dev: false
/duplexify@4.1.2:
resolution: {integrity: sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==}
dependencies:
@ -5659,7 +5693,6 @@ packages:
readable-stream: 3.6.2
stream-shift: 1.0.1
dev: false
optional: true
/eastasianwidth@0.2.0:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
@ -5695,7 +5728,6 @@ packages:
dependencies:
once: 1.4.0
dev: false
optional: true
/enhanced-resolve@5.15.0:
resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==}
@ -6668,6 +6700,13 @@ packages:
engines: {node: '>= 0.6'}
dev: false
/from2@2.3.0:
resolution: {integrity: sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==}
dependencies:
inherits: 2.0.4
readable-stream: 2.3.8
dev: false
/fs-extra@10.1.0:
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'}
@ -7185,6 +7224,14 @@ packages:
engines: {node: '>=10.13.0'}
dev: true
/into-stream@6.0.0:
resolution: {integrity: sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA==}
engines: {node: '>=10'}
dependencies:
from2: 2.3.0
p-is-promise: 3.0.0
dev: false
/invariant@2.2.4:
resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}
dependencies:
@ -8492,6 +8539,11 @@ packages:
yallist: 3.1.1
dev: false
/minipass@6.0.2:
resolution: {integrity: sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==}
engines: {node: '>=16 || 14 >=14.17'}
dev: false
/minipass@7.0.3:
resolution: {integrity: sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==}
engines: {node: '>=16 || 14 >=14.17'}
@ -8915,6 +8967,11 @@ packages:
os-tmpdir: 1.0.2
dev: false
/p-is-promise@3.0.0:
resolution: {integrity: sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==}
engines: {node: '>=8'}
dev: false
/p-limit@2.3.0:
resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}
engines: {node: '>=6'}
@ -9030,6 +9087,14 @@ packages:
engines: {node: '>=8'}
dev: true
/peek-stream@1.1.3:
resolution: {integrity: sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA==}
dependencies:
buffer-from: 1.1.2
duplexify: 3.7.1
through2: 2.0.5
dev: false
/periscopic@3.1.0:
resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==}
dependencies:
@ -9336,6 +9401,21 @@ packages:
resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==}
dev: true
/pump@3.0.0:
resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==}
dependencies:
end-of-stream: 1.4.4
once: 1.4.0
dev: false
/pumpify@2.0.1:
resolution: {integrity: sha512-m7KOje7jZxrmutanlkS1daj1dS6z6BgslzOXmcSEpIlCxM3VJH7lG5QLeck/6hgF6F4crFf01UtQmNsJfweTAw==}
dependencies:
duplexify: 4.1.2
inherits: 2.0.4
pump: 3.0.0
dev: false
/punycode@2.3.0:
resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
engines: {node: '>=6'}
@ -9758,7 +9838,7 @@ packages:
svelte: 4.2.0
dev: false
/rollup-plugin-typescript2@0.34.1(rollup@3.28.0)(typescript@4.9.4):
/rollup-plugin-typescript2@0.34.1(rollup@3.28.0)(typescript@5.1.6):
resolution: {integrity: sha512-P4cHLtGikESmqi1CA+tdMDUv8WbQV48mzPYt77TSTOPJpERyZ9TXdDgjSDix8Fkqce6soYz3+fa4lrC93IEkcw==}
peerDependencies:
rollup: '>=1.26.3'
@ -9770,7 +9850,7 @@ packages:
rollup: 3.28.0
semver: 7.5.4
tslib: 2.6.1
typescript: 4.9.4
typescript: 5.1.6
dev: true
/rollup-pluginutils@2.8.2:
@ -10126,7 +10206,6 @@ packages:
/stream-shift@1.0.1:
resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==}
dev: false
optional: true
/string-width@1.0.2:
resolution: {integrity: sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==}
@ -10607,37 +10686,6 @@ packages:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
dev: false
/ts-node@10.9.1(@types/node@20.4.10)(typescript@4.9.4):
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
peerDependencies:
'@swc/core': '>=1.2.50'
'@swc/wasm': '>=1.2.50'
'@types/node': '*'
typescript: '>=2.7'
peerDependenciesMeta:
'@swc/core':
optional: true
'@swc/wasm':
optional: true
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.9
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
'@types/node': 20.4.10
acorn: 8.10.0
acorn-walk: 8.2.0
arg: 4.1.3
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
typescript: 4.9.4
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
dev: true
/ts-node@10.9.1(@types/node@20.4.10)(typescript@5.1.6):
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
@ -10667,7 +10715,6 @@ packages:
typescript: 5.1.6
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
dev: false
/tslib@1.14.1:
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
@ -10686,6 +10733,16 @@ packages:
typescript: 4.9.4
dev: true
/tsutils@3.21.0(typescript@5.1.6):
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
engines: {node: '>= 6'}
peerDependencies:
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
dependencies:
tslib: 1.14.1
typescript: 5.1.6
dev: true
/type-check@0.3.2:
resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==}
engines: {node: '>= 0.8.0'}
@ -10772,7 +10829,6 @@ packages:
resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
engines: {node: '>=14.17'}
hasBin: true
dev: false
/uc.micro@1.0.6:
resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==}

0
server/src/cli.ts Normal file
View file

View file

@ -9,6 +9,7 @@ import { auth } from "firebase-config";
import { getDatabase, onValue, ref, set } from "firebase/database";
import { AdriftServer } from "./server";
import WebSocket from "isomorphic-ws";
const configuration = {
iceServers: [
{
@ -172,7 +173,7 @@ async function connectFirebase() {
}
connectFirebase();
/*let tracker = new WebSocket("ws://localhost:17776/join");
let tracker = new WebSocket("ws://localhost:17776/join");
tracker.on("message", (str: string) => {
if (!str) return;
let data = JSON.parse(str);
@ -184,6 +185,6 @@ tracker.on("message", (str: string) => {
tracker.send(JSON.stringify(answer));
})
});*/
});
app.listen(3000, () => console.log("listening"));