diff --git a/frontends/dashboard/package.json b/frontends/dashboard/package.json index 2769089f..ae79e240 100644 --- a/frontends/dashboard/package.json +++ b/frontends/dashboard/package.json @@ -13,8 +13,8 @@ }, "type": "module", "devDependencies": { - "@dansvel/vite-plugin-markdown": "https://github.com/pockethost/vite-plugin-markdown.git#pockethost", - "@microsoft/fetch-event-source": "https://github.com/pockethost/fetch-event-source.git#pockethost", + "@dansvel/vite-plugin-markdown": "https://github.com/pockethost/vite-plugin-markdown.git#b2e84d276b741615d1e57198182933b85819e9c3", + "@microsoft/fetch-event-source": "https://github.com/pockethost/fetch-event-source.git#ebe3b7122647b48b93fd11effbbfb915d98956b0", "@s-libs/micro-dash": "^16.1.0", "@sveltejs/adapter-static": "^2.0.3", "@sveltejs/kit": "^1.25.2", diff --git a/package.json b/package.json index 2662b2d9..31ed5042 100644 --- a/package.json +++ b/package.json @@ -42,33 +42,33 @@ "type": "module", "dependencies": { "@s-libs/micro-dash": "^16.1.0", - "ajv": "^8.11.2", + "ajv": "^8.12.0", "boolean": "^3.2.0", "bottleneck": "^2.19.5", - "commander": "^11.0.0", - "date-fns": "^2.29.3", + "commander": "^11.1.0", + "date-fns": "^2.30.0", "decompress": "^4.2.1", - "decompress-unzip": "https://github.com/pockethost/decompress-unzip.git#6ef397b9a2df11d39c7b26ce779e123833844751", + "decompress-unzip": "github:pockethost/decompress-unzip#6ef397b9a2df11d39c7b26ce779e123833844751", "dockerode": "^3.3.5", "dotenv": "^16.3.1", "event-source-polyfill": "^1.0.31", "eventsource": "^2.0.2", "exit-hook": "^4.0.0", "find-up": "^6.3.0", - "ftp-srv": "https://github.com/pockethost/ftp-srv.git#0fc708bae0d5d7a55ce948767f082d6fcfb2af59", + "ftp-srv": "github:pockethost/ftp-srv#0fc708bae0d5d7a55ce948767f082d6fcfb2af59", "get-port": "^6.1.2", "glob": "^10.3.10", "http-proxy": "^1.18.1", "ip-cidr": "^3.1.0", "json-stringify-safe": "^5.0.1", - "knex": "^2.3.0", + "knex": "^2.5.1", "memorystream": "^0.3.1", "nanoid": "^5.0.2", - "node-fetch": "^3.3.0", + "node-fetch": "^3.3.2", "ora": "^7.0.1", "pocketbase": "^0.19.0", "semver": "^7.5.4", - "sqlite": "^4.1.2", + "sqlite": "^4.2.1", "sqlite3": "^5.1.6", "tail": "^2.2.6", "tmp": "^0.2.1", @@ -77,28 +77,28 @@ }, "devDependencies": { "@swc/cli": "^0.1.62", - "@swc/core": "^1.3.86", - "@types/bootstrap": "^5.2.6", - "@types/d3-scale": "^4.0.3", - "@types/d3-scale-chromatic": "^3.0.0", - "@types/decompress": "^4.2.4", - "@types/dockerode": "^3.3.19", + "@swc/core": "^1.3.95", + "@types/bootstrap": "^5.2.8", + "@types/d3-scale": "^4.0.6", + "@types/d3-scale-chromatic": "^3.0.1", + "@types/decompress": "^4.2.6", + "@types/dockerode": "^3.3.21", "@types/eventsource": "^1.1.14", - "@types/http-proxy": "^1.17.9", - "@types/js-cookie": "^3.0.2", + "@types/http-proxy": "^1.17.13", + "@types/js-cookie": "^3.0.5", "@types/json-stringify-safe": "^5.0.2", - "@types/marked": "^4.0.8", - "@types/memorystream": "^0.3.1", - "@types/node": "^20.8.7", - "@types/semver": "^7.3.13", + "@types/marked": "^4.3.2", + "@types/memorystream": "^0.3.3", + "@types/node": "^20.8.10", + "@types/semver": "^7.5.4", "@types/tail": "^2.2.2", - "@types/tmp": "^0.2.1", - "@types/unzipper": "^0.10.5", + "@types/tmp": "^0.2.5", + "@types/unzipper": "^0.10.8", "chalk": "^5.3.0", "chokidar-cli": "^3.0.0", - "concurrently": "^8.2.1", + "concurrently": "^8.2.2", "copyfiles": "^2.4.1", - "husky": "^8.0.0", + "husky": "^8.0.3", "js-yaml": "^4.1.0", "plop": "^4.0.0", "postinstall-postinstall": "^2.1.0", @@ -108,8 +108,8 @@ "rizzdown": "^0.0.6", "svelte": "^4.2.2", "tslib": "^2.6.2", - "tsx": "^3.12.8", - "type-fest": "^4.3.2", + "tsx": "^3.14.0", + "type-fest": "^4.6.0", "typescript": "^5.2.2" }, "overrides": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce8e5e22..6ed58bd1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: specifier: ^16.1.0 version: 16.1.0 ajv: - specifier: ^8.11.2 + specifier: ^8.12.0 version: 8.12.0 boolean: specifier: ^3.2.0 @@ -25,10 +25,10 @@ importers: specifier: ^2.19.5 version: 2.19.5 commander: - specifier: ^11.0.0 + specifier: ^11.1.0 version: 11.1.0 date-fns: - specifier: ^2.29.3 + specifier: ^2.30.0 version: 2.30.0 decompress: specifier: ^4.2.1 @@ -73,7 +73,7 @@ importers: specifier: ^5.0.1 version: 5.0.1 knex: - specifier: ^2.3.0 + specifier: ^2.5.1 version: 2.5.1(sqlite3@5.1.6) memorystream: specifier: ^0.3.1 @@ -82,7 +82,7 @@ importers: specifier: ^5.0.2 version: 5.0.2 node-fetch: - specifier: ^3.3.0 + specifier: ^3.3.2 version: 3.3.2 ora: specifier: ^7.0.1 @@ -94,7 +94,7 @@ importers: specifier: ^7.5.4 version: 7.5.4 sqlite: - specifier: ^4.1.2 + specifier: ^4.2.1 version: 4.2.1 sqlite3: specifier: ^5.1.6 @@ -116,55 +116,55 @@ importers: specifier: ^0.1.62 version: 0.1.62(@swc/core@1.3.95) '@swc/core': - specifier: ^1.3.86 + specifier: ^1.3.95 version: 1.3.95 '@types/bootstrap': - specifier: ^5.2.6 + specifier: ^5.2.8 version: 5.2.8 '@types/d3-scale': - specifier: ^4.0.3 + specifier: ^4.0.6 version: 4.0.6 '@types/d3-scale-chromatic': - specifier: ^3.0.0 + specifier: ^3.0.1 version: 3.0.1 '@types/decompress': - specifier: ^4.2.4 + specifier: ^4.2.6 version: 4.2.6 '@types/dockerode': - specifier: ^3.3.19 + specifier: ^3.3.21 version: 3.3.21 '@types/eventsource': specifier: ^1.1.14 version: 1.1.14 '@types/http-proxy': - specifier: ^1.17.9 + specifier: ^1.17.13 version: 1.17.13 '@types/js-cookie': - specifier: ^3.0.2 + specifier: ^3.0.5 version: 3.0.5 '@types/json-stringify-safe': specifier: ^5.0.2 version: 5.0.2 '@types/marked': - specifier: ^4.0.8 + specifier: ^4.3.2 version: 4.3.2 '@types/memorystream': - specifier: ^0.3.1 + specifier: ^0.3.3 version: 0.3.3 '@types/node': - specifier: ^20.8.7 + specifier: ^20.8.10 version: 20.8.10 '@types/semver': - specifier: ^7.3.13 + specifier: ^7.5.4 version: 7.5.4 '@types/tail': specifier: ^2.2.2 version: 2.2.2 '@types/tmp': - specifier: ^0.2.1 + specifier: ^0.2.5 version: 0.2.5 '@types/unzipper': - specifier: ^0.10.5 + specifier: ^0.10.8 version: 0.10.8 chalk: specifier: ^5.3.0 @@ -173,13 +173,13 @@ importers: specifier: ^3.0.0 version: 3.0.0 concurrently: - specifier: ^8.2.1 + specifier: ^8.2.2 version: 8.2.2 copyfiles: specifier: ^2.4.1 version: 2.4.1 husky: - specifier: ^8.0.0 + specifier: ^8.0.3 version: 8.0.3 js-yaml: specifier: ^4.1.0 @@ -209,10 +209,10 @@ importers: specifier: ^2.6.2 version: 2.6.2 tsx: - specifier: ^3.12.8 + specifier: ^3.14.0 version: 3.14.0 type-fest: - specifier: ^4.3.2 + specifier: ^4.6.0 version: 4.6.0 typescript: specifier: ^5.2.2 @@ -221,10 +221,10 @@ importers: frontends/dashboard: devDependencies: '@dansvel/vite-plugin-markdown': - specifier: https://github.com/pockethost/vite-plugin-markdown.git#pockethost - version: github.com/pockethost/vite-plugin-markdown/ad1b2315dc1f1c3189c116640e9f7a4df0786d98(@types/node@20.8.10)(sass@1.69.5) + specifier: https://github.com/pockethost/vite-plugin-markdown.git#b2e84d276b741615d1e57198182933b85819e9c3 + version: github.com/pockethost/vite-plugin-markdown/b2e84d276b741615d1e57198182933b85819e9c3(@types/node@20.8.10)(sass@1.69.5) '@microsoft/fetch-event-source': - specifier: https://github.com/pockethost/fetch-event-source.git#pockethost + specifier: https://github.com/pockethost/fetch-event-source.git#ebe3b7122647b48b93fd11effbbfb915d98956b0 version: github.com/pockethost/fetch-event-source/ebe3b7122647b48b93fd11effbbfb915d98956b0 '@s-libs/micro-dash': specifier: ^16.1.0 @@ -7421,12 +7421,13 @@ packages: yargs: 15.4.1 dev: false - github.com/pockethost/vite-plugin-markdown/ad1b2315dc1f1c3189c116640e9f7a4df0786d98(@types/node@20.8.10)(sass@1.69.5): - resolution: {tarball: https://codeload.github.com/pockethost/vite-plugin-markdown/tar.gz/ad1b2315dc1f1c3189c116640e9f7a4df0786d98} - id: github.com/pockethost/vite-plugin-markdown/ad1b2315dc1f1c3189c116640e9f7a4df0786d98 + github.com/pockethost/vite-plugin-markdown/b2e84d276b741615d1e57198182933b85819e9c3(@types/node@20.8.10)(sass@1.69.5): + resolution: {tarball: https://codeload.github.com/pockethost/vite-plugin-markdown/tar.gz/b2e84d276b741615d1e57198182933b85819e9c3} + id: github.com/pockethost/vite-plugin-markdown/b2e84d276b741615d1e57198182933b85819e9c3 name: '@dansvel/vite-plugin-markdown' version: 2.0.5 engines: {node: '>=16.0.0', npm: '>=8.0.0'} + prepare: true requiresBuild: true dependencies: front-matter: 4.0.2 diff --git a/src/server.ts b/src/server.ts index f26b9b43..5500a070 100644 --- a/src/server.ts +++ b/src/server.ts @@ -74,9 +74,11 @@ global.EventSource = EventSource }) resolve(url) await exitCode + console.log(`got exit code on mothership`, { exitCode }) } catch (e) { error(e) } finally { + console.log(`finally executing`) setTimeout(mothership, 10000) } }