Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/commands/serve/proxy-extension-composition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { cliLogger } from "veryfront/utils/logger";
import { type ExtensionFactory, ExtensionLoader } from "veryfront/extensions";
import { importFirstPartyExtensionModule } from "veryfront/extensions/first-party-import";
import { getEnv, setEnv } from "veryfront/platform/env";
import { getEnv, setEnv } from "veryfront/platform";
import {
createProxyShutdownAggregateError,
type RegisterProxyShutdownHook,
Expand Down
2 changes: 1 addition & 1 deletion cli/commands/serve/proxy-runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getEnv, setEnv } from "veryfront/platform/env";
import { getEnv, setEnv } from "veryfront/platform";
import { cliLogger } from "veryfront/utils/logger";
import denoConfig from "../../../deno.json" with { type: "json" };
import { ensureCliSchemaValidator } from "../../shared/default-contracts.ts";
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"./extensions/observability": "./src/extensions/observability/index.ts",
"./extensions/websocket": "./src/extensions/websocket/index.ts",
"./platform": "./src/platform/index.ts",
"./platform/env": "./src/platform/compat/process/env-public.ts",
"./platform/env": "./src/platform/env.ts",
Comment thread
kojiwakayama marked this conversation as resolved.
"./platform/path": "./src/platform/compat/path/index.ts",
"./testing": "./src/testing/index.ts",
"./testing/assert": "./src/testing/assert.ts",
Expand Down Expand Up @@ -244,7 +244,7 @@
"veryfront/transforms/mdx-cache": "./src/transforms/mdx/esm-module-loader/cache/index.ts",
"veryfront/observability/otlp-setup": "./src/observability/tracing/otlp-setup.ts",
"veryfront/platform/esbuild-init": "./src/platform/compat/esbuild-init.ts",
"veryfront/platform/env": "./src/platform/compat/process/env-public.ts",
"veryfront/platform/env": "./src/platform/env.ts",
"veryfront/platform/path": "./src/platform/compat/path/index.ts",
"veryfront/platform/http": "./src/platform/compat/http/index.ts",
"veryfront/cli": "./cli/main.ts",
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/veryfront/index.client.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function GET() {
| `defineConfig` | Define a Veryfront project configuration object. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/config/define-config-core.ts#L4) |
| `defineConfigWithEnv` | Define a Veryfront project configuration from the current environment name. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/config/define-config.ts#L8) |
| `forbidden` | Create a 403 Forbidden response. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/http/responses.ts#L134) |
| `getEnv` | Read an environment variable from the active project scope. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/process/env.ts#L155) |
| `getEnv` | Read an environment variable from the active project scope. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/process/env.ts#L229) |
| `json` | Create a JSON response with the correct content type. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/http/responses.ts#L67) |
| `mergeConfigs` | Merge multiple partial Veryfront configuration objects into one config object. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/config/define-config-core.ts#L17) |
| `notFound` | Render the 404 page from a data loader. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/data/helpers.ts#L63) |
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/veryfront/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function getServerData(ctx: DataContext) {
| `defineConfig` | Define a Veryfront project configuration object. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/config/define-config-core.ts#L4) |
| `defineConfigWithEnv` | Define a Veryfront project configuration from the current environment name. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/config/define-config.ts#L8) |
| `forbidden` | Create a 403 Forbidden response. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/http/responses.ts#L134) |
| `getEnv` | Read an environment variable from the active project scope. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/process/env.ts#L155) |
| `getEnv` | Read an environment variable from the active project scope. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/process/env.ts#L229) |
| `json` | Create a JSON response with the correct content type. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/http/responses.ts#L67) |
| `mergeConfigs` | Merge multiple partial Veryfront configuration objects into one config object. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/config/define-config-core.ts#L17) |
| `notFound` | Render the 404 page from a data loader. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/data/helpers.ts#L63) |
Expand Down
1 change: 0 additions & 1 deletion docs/api-reference/veryfront/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const result = await withSpan("load-data", async () => {
| `getActiveContext` | Context for get active. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/tracing/index.ts#L98) |
| `getErrorCollector` | Return error collector. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/error-collector.ts#L406) |
| `getGlobalMetricsAPI` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/tracing/api-shim.ts#L684) |
| `getHostTelemetryEnv` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/tracing/telemetry-env.ts#L7) |
| `getLogBuffer` | Return log buffer. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/log-buffer.ts#L231) |
| `getMetricsState` | State for get metrics. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/metrics/index.ts#L38) |
| `getTraceContext` | | [source](https://github.com/veryfront/veryfront-code/blob/main/src/observability/tracing/otlp-setup.ts#L651) |
Expand Down
Loading
Loading