mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
logging
This commit is contained in:
parent
5b65264034
commit
cfdf863aa0
3 changed files with 6 additions and 26 deletions
4
Makefile
4
Makefile
|
|
@ -28,10 +28,6 @@ clean:
|
||||||
packages/db/dist \
|
packages/db/dist \
|
||||||
packages/schemas/node_modules \
|
packages/schemas/node_modules \
|
||||||
packages/schemas/dist \
|
packages/schemas/dist \
|
||||||
packages/crypto/node_modules \
|
|
||||||
packages/crypto/dist \
|
|
||||||
packages/error/node_modules \
|
|
||||||
packages/error/dist \
|
|
||||||
packages/mcp/node_modules \
|
packages/mcp/node_modules \
|
||||||
packages/mcp/dist \
|
packages/mcp/dist \
|
||||||
packages/shared/node_modules \
|
packages/shared/node_modules \
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,8 @@ const resolveEnvironmentVariableOverridesFromConfig = async (config: SourcebotCo
|
||||||
}
|
}
|
||||||
|
|
||||||
const resolved: Record<string, string> = {};
|
const resolved: Record<string, string> = {};
|
||||||
|
|
||||||
|
const start = performance.now();
|
||||||
console.debug('resolving environment variable overrides');
|
console.debug('resolving environment variable overrides');
|
||||||
|
|
||||||
for (const [key, override] of Object.entries(config.environmentOverrides)) {
|
for (const [key, override] of Object.entries(config.environmentOverrides)) {
|
||||||
|
|
@ -39,6 +41,9 @@ const resolveEnvironmentVariableOverridesFromConfig = async (config: SourcebotCo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const end = performance.now();
|
||||||
|
console.debug(`resolved environment variable overrides in ${end - start}ms`);
|
||||||
|
|
||||||
return resolved;
|
return resolved;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
23
yarn.lock
23
yarn.lock
|
|
@ -8101,7 +8101,6 @@ __metadata:
|
||||||
"@ssddanbrown/codemirror-lang-twig": "npm:^1.0.0"
|
"@ssddanbrown/codemirror-lang-twig": "npm:^1.0.0"
|
||||||
"@stripe/react-stripe-js": "npm:^3.1.1"
|
"@stripe/react-stripe-js": "npm:^3.1.1"
|
||||||
"@stripe/stripe-js": "npm:^5.6.0"
|
"@stripe/stripe-js": "npm:^5.6.0"
|
||||||
"@t3-oss/env-nextjs": "npm:^0.12.0"
|
|
||||||
"@tailwindcss/typography": "npm:^0.5.16"
|
"@tailwindcss/typography": "npm:^0.5.16"
|
||||||
"@tanstack/eslint-plugin-query": "npm:^5.74.7"
|
"@tanstack/eslint-plugin-query": "npm:^5.74.7"
|
||||||
"@tanstack/react-query": "npm:^5.53.3"
|
"@tanstack/react-query": "npm:^5.53.3"
|
||||||
|
|
@ -8280,7 +8279,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@t3-oss/env-core@npm:0.12.0, @t3-oss/env-core@npm:^0.12.0":
|
"@t3-oss/env-core@npm:^0.12.0":
|
||||||
version: 0.12.0
|
version: 0.12.0
|
||||||
resolution: "@t3-oss/env-core@npm:0.12.0"
|
resolution: "@t3-oss/env-core@npm:0.12.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
@ -8317,26 +8316,6 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@t3-oss/env-nextjs@npm:^0.12.0":
|
|
||||||
version: 0.12.0
|
|
||||||
resolution: "@t3-oss/env-nextjs@npm:0.12.0"
|
|
||||||
dependencies:
|
|
||||||
"@t3-oss/env-core": "npm:0.12.0"
|
|
||||||
peerDependencies:
|
|
||||||
typescript: ">=5.0.0"
|
|
||||||
valibot: ^1.0.0-beta.7 || ^1.0.0
|
|
||||||
zod: ^3.24.0
|
|
||||||
peerDependenciesMeta:
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
valibot:
|
|
||||||
optional: true
|
|
||||||
zod:
|
|
||||||
optional: true
|
|
||||||
checksum: 10c0/f39cae67353c09818b13836cf1f0ab8186058f6fd2f5e8983f43c8601f1cd6948d3a159a2f166420049080ca56e73ba69e483229f21593aba0d6d8f4cf79ef32
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@tailwindcss/typography@npm:^0.5.16":
|
"@tailwindcss/typography@npm:^0.5.16":
|
||||||
version: 0.5.16
|
version: 0.5.16
|
||||||
resolution: "@tailwindcss/typography@npm:0.5.16"
|
resolution: "@tailwindcss/typography@npm:0.5.16"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue