chore(pockethost): gobot service fixes (split commit)

This commit is contained in:
Ben Allfree 2024-07-30 09:50:23 -04:00
parent 4a5a063268
commit 331cdc9fd5
3 changed files with 42 additions and 4 deletions

View File

@ -45,7 +45,7 @@
"ftp-srv": "github:pockethost/ftp-srv#0fc708bae0d5d7a55ce948767f082d6fcfb2af59", "ftp-srv": "github:pockethost/ftp-srv#0fc708bae0d5d7a55ce948767f082d6fcfb2af59",
"get-port": "^6.1.2", "get-port": "^6.1.2",
"glob": "^10.3.10", "glob": "^10.3.10",
"gobot": "1.0.0-alpha.40", "gobot": "1.0.0-alpha.41",
"gobot-pocketbase": "0.22.8-alpha.22", "gobot-pocketbase": "0.22.8-alpha.22",
"http-proxy": "^1.18.1", "http-proxy": "^1.18.1",
"http-proxy-middleware": "^2.0.6", "http-proxy-middleware": "^2.0.6",

View File

@ -149,6 +149,8 @@ export const SETTINGS = {
DISCORD_HEALTH_CHANNEL_URL: mkString(''), DISCORD_HEALTH_CHANNEL_URL: mkString(''),
DOCKER_CONTAINER_HOST: mkString(`host.docker.internal`), DOCKER_CONTAINER_HOST: mkString(`host.docker.internal`),
PH_GOBOT_ROOT: mkPath(join(_PH_HOME, 'gobot'), { create: true }),
} }
export type Settings = ReturnType<typeof DefaultSettingsService> export type Settings = ReturnType<typeof DefaultSettingsService>
@ -278,6 +280,9 @@ export const DISCORD_HEALTH_CHANNEL_URL = () =>
export const DOCKER_CONTAINER_HOST = () => settings().DOCKER_CONTAINER_HOST export const DOCKER_CONTAINER_HOST = () => settings().DOCKER_CONTAINER_HOST
export const PH_GOBOT_ROOT = (...paths: string[]) =>
join(settings().PH_GOBOT_ROOT, ...paths)
/** Helpers */ /** Helpers */
export const MOTHERSHIP_DATA_ROOT = (...paths: string[]) => export const MOTHERSHIP_DATA_ROOT = (...paths: string[]) =>

39
pnpm-lock.yaml generated
View File

@ -420,8 +420,8 @@ importers:
specifier: ^10.3.10 specifier: ^10.3.10
version: 10.3.10 version: 10.3.10
gobot: gobot:
specifier: 1.0.0-alpha.40 specifier: 1.0.0-alpha.41
version: 1.0.0-alpha.40 version: 1.0.0-alpha.41
gobot-pocketbase: gobot-pocketbase:
specifier: 0.22.8-alpha.22 specifier: 0.22.8-alpha.22
version: 0.22.8-alpha.22 version: 0.22.8-alpha.22
@ -3340,6 +3340,10 @@ packages:
resolution: {integrity: sha512-bV+QO3VZamsnKLH5Pqt0tFZ2CD90JT2QjQIs6tvMP1H2w8QJApbRPVkpJ4O56nXGgyj6f0udelDrsd4tm1F6CQ==} resolution: {integrity: sha512-bV+QO3VZamsnKLH5Pqt0tFZ2CD90JT2QjQIs6tvMP1H2w8QJApbRPVkpJ4O56nXGgyj6f0udelDrsd4tm1F6CQ==}
hasBin: true hasBin: true
gobot@1.0.0-alpha.41:
resolution: {integrity: sha512-AXXCqWZHt3pcHnTtb+74M95mI12jMNuy7wzZyQcnwQY6mRUzrUJlzUlrlFcqfc7vklet2Dm9CECs17VPdK0BjA==}
hasBin: true
gopd@1.0.1: gopd@1.0.1:
resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
@ -9435,7 +9439,7 @@ snapshots:
gobot-pocketbase@0.22.8-alpha.22: gobot-pocketbase@0.22.8-alpha.22:
dependencies: dependencies:
gobot: 1.0.0-alpha.40 gobot: 1.0.0-alpha.41
gobot@1.0.0-alpha.40: gobot@1.0.0-alpha.40:
dependencies: dependencies:
@ -9466,6 +9470,35 @@ snapshots:
tmp: 0.2.3 tmp: 0.2.3
unbzip2-stream: 1.4.3 unbzip2-stream: 1.4.3
gobot@1.0.0-alpha.41:
dependencies:
'@s-libs/micro-dash': 17.1.0
bottleneck: 2.19.5
commander: 12.1.0
decompress: 4.2.1
decompress-bzip2: 4.0.0
decompress-gz: 0.0.1
decompress-tar: 4.1.1
decompress-tarbz2: 4.1.1
decompress-targz: 4.1.1
decompress-unzip: 4.0.1
env-paths: 3.0.0
fast-safe-stringify: 2.1.1
file-type: 19.0.0
find-up: 7.0.0
glob: 10.3.10
is-stream: 4.0.1
json-stringify-safe: 5.0.1
lzma-native: 8.0.6
markdown-table: 3.0.3
node-fetch: 3.3.2
rimraf: 5.0.5
semver: 7.6.2
table: 6.8.2
tar-stream: 1.6.2
tmp: 0.2.3
unbzip2-stream: 1.4.3
gopd@1.0.1: gopd@1.0.1:
dependencies: dependencies:
get-intrinsic: 1.2.2 get-intrinsic: 1.2.2