veryfront 0.1.937 → 0.1.939
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/cli/commands/deploy/command.js +1 -1
- package/esm/cli/commands/routes/command.d.ts.map +1 -1
- package/esm/cli/commands/routes/command.js +2 -3
- package/esm/deno.js +1 -1
- package/esm/src/platform/cloud/resolver.js +8 -8
- package/esm/src/routing/api/index.d.ts +1 -0
- package/esm/src/routing/api/index.d.ts.map +1 -1
- package/esm/src/routing/api/index.js +1 -0
- package/esm/src/routing/index.d.ts +1 -1
- package/esm/src/routing/index.d.ts.map +1 -1
- package/esm/src/routing/index.js +1 -1
- package/esm/src/server/index.d.ts +1 -0
- package/esm/src/server/index.d.ts.map +1 -1
- package/esm/src/server/index.js +1 -0
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
|
@@ -62,7 +62,7 @@ export function createRelease(client, projectSlug, options) {
|
|
|
62
62
|
if (options?.name)
|
|
63
63
|
body.name = options.name;
|
|
64
64
|
if (options?.branch)
|
|
65
|
-
body.
|
|
65
|
+
body.branch_reference = options.branch;
|
|
66
66
|
return client.post(`/projects/${projectSlug}/releases`, body);
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/routes/command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/routes/command.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAsB,aAAa,CACjC,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAC/B,OAAO,CAAC,IAAI,CAAC,CA4Df"}
|
|
@@ -2,9 +2,8 @@ import { join, relative } from "../../../deps/jsr.io/@std/path/1.1.4/mod.js";
|
|
|
2
2
|
import { runtime } from "../../../src/platform/index.js";
|
|
3
3
|
import { getConfig } from "../../../src/config/index.js";
|
|
4
4
|
import { cliLogger } from "../../utils/index.js";
|
|
5
|
-
import { ApiRouteMatcher } from "../../../src/routing/
|
|
6
|
-
import {
|
|
7
|
-
import { RouteDiscovery } from "../../../src/server/dev-server/route-discovery.js";
|
|
5
|
+
import { ApiRouteMatcher, discoverAppRoutes, discoverPagesRoutes } from "../../../src/routing/index.js";
|
|
6
|
+
import { RouteDiscovery } from "../../../src/server/index.js";
|
|
8
7
|
export async function routesCommand(projectDir, options = {}) {
|
|
9
8
|
const adapter = await runtime.get();
|
|
10
9
|
const config = await getConfig(projectDir, adapter);
|
package/esm/deno.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
2
2
|
import { getCurrentRequestContext } from "../adapters/fs/veryfront/request-context.js";
|
|
3
|
-
import {
|
|
3
|
+
import { getHostEnv } from "../compat/process.js";
|
|
4
4
|
import { getCurrentVeryfrontCloudContext } from "../../provider/veryfront-cloud/context.js";
|
|
5
5
|
function getRuntimeConfig() {
|
|
6
6
|
const getter = dntShim.dntGlobalThis.__vfGetRuntimeConfig;
|
|
@@ -13,8 +13,8 @@ function isRuntimeConfigInitialized() {
|
|
|
13
13
|
const DEFAULT_API_BASE_URL = "https://api.veryfront.com";
|
|
14
14
|
function getApiBaseUrlEnv() {
|
|
15
15
|
const getter = dntShim.dntGlobalThis.__vfGetApiBaseUrlEnv;
|
|
16
|
-
return getter?.() ??
|
|
17
|
-
|
|
16
|
+
return getter?.() ?? getHostEnv("VERYFRONT_API_BASE_URL") ??
|
|
17
|
+
getHostEnv("VERYFRONT_API_URL")?.replace("/graphql", "/api") ?? DEFAULT_API_BASE_URL;
|
|
18
18
|
}
|
|
19
19
|
export const DEFAULT_VERYFRONT_CLOUD_MODEL = "veryfront-cloud/anthropic/claude-sonnet-4-6";
|
|
20
20
|
export const DEFAULT_VERYFRONT_CLOUD_EMBEDDING_MODEL = "veryfront-cloud/openai/text-embedding-3-small";
|
|
@@ -44,14 +44,14 @@ function getResolvedVeryfrontCloudContext() {
|
|
|
44
44
|
return {
|
|
45
45
|
apiToken: requestContext?.token ??
|
|
46
46
|
scopedContext?.apiToken ??
|
|
47
|
-
|
|
47
|
+
getHostEnv("VERYFRONT_API_TOKEN") ??
|
|
48
48
|
runtimeBootstrap.apiToken,
|
|
49
49
|
projectSlug: requestContext?.projectSlug ??
|
|
50
50
|
scopedContext?.projectSlug ??
|
|
51
|
-
|
|
51
|
+
getHostEnv("VERYFRONT_PROJECT_SLUG") ??
|
|
52
52
|
runtimeBootstrap.projectSlug,
|
|
53
53
|
serviceLayer: normalizeServiceLayer(scopedContext?.serviceLayer) ??
|
|
54
|
-
normalizeServiceLayer(
|
|
54
|
+
normalizeServiceLayer(getHostEnv("VERYFRONT_SERVICE_LAYER")),
|
|
55
55
|
hasRequestContext: requestContext !== null || scopedContext !== undefined,
|
|
56
56
|
usesVeryfrontFs: runtimeBootstrap.usesVeryfrontFs,
|
|
57
57
|
};
|
|
@@ -83,8 +83,8 @@ export function isVeryfrontCloudEnabled() {
|
|
|
83
83
|
return Boolean(bootstrap.apiToken && hasProjectContext);
|
|
84
84
|
}
|
|
85
85
|
export function getDefaultVeryfrontCloudModel() {
|
|
86
|
-
return normalizeCloudModelString(
|
|
86
|
+
return normalizeCloudModelString(getHostEnv("VERYFRONT_DEFAULT_MODEL"), DEFAULT_VERYFRONT_CLOUD_MODEL);
|
|
87
87
|
}
|
|
88
88
|
export function getDefaultVeryfrontCloudEmbeddingModel() {
|
|
89
|
-
return normalizeCloudModelString(
|
|
89
|
+
return normalizeCloudModelString(getHostEnv("VERYFRONT_DEFAULT_EMBEDDING_MODEL"), DEFAULT_VERYFRONT_CLOUD_EMBEDDING_MODEL);
|
|
90
90
|
}
|
|
@@ -7,6 +7,7 @@ export { APIRouteHandler } from "./handler.js";
|
|
|
7
7
|
export type { APIContext, APIHandler, APIResponse, APIRoute } from "./handler.js";
|
|
8
8
|
export { ApiRouteMatcher } from "./api-route-matcher.js";
|
|
9
9
|
export type { Route, RouteMatch } from "./api-route-matcher.js";
|
|
10
|
+
export { discoverAppRoutes, discoverPagesRoutes } from "./route-discovery.js";
|
|
10
11
|
export { badRequest, forbidden, internalServerError as serverError, jsonResponse as json, notFound, redirectResponse as redirect, unauthorized, } from "../../platform/compat/http/responses.js";
|
|
11
12
|
export { applyCORSHeaders, handleCORSPreflight } from "../../security/index.js";
|
|
12
13
|
export { createContext, normalizeParams, parseCookies } from "./context-builder.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/routing/api/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/routing/api/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAElF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EACL,UAAU,EACV,SAAS,EACT,mBAAmB,IAAI,WAAW,EAClC,YAAY,IAAI,IAAI,EACpB,QAAQ,EACR,gBAAgB,IAAI,QAAQ,EAC5B,YAAY,GACb,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEhF,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpF,YAAY,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export { APIRouteHandler } from "./handler.js";
|
|
7
7
|
export { ApiRouteMatcher } from "./api-route-matcher.js";
|
|
8
|
+
export { discoverAppRoutes, discoverPagesRoutes } from "./route-discovery.js";
|
|
8
9
|
export { badRequest, forbidden, internalServerError as serverError, jsonResponse as json, notFound, redirectResponse as redirect, unauthorized, } from "../../platform/compat/http/responses.js";
|
|
9
10
|
export { applyCORSHeaders, handleCORSPreflight } from "../../security/index.js";
|
|
10
11
|
export { createContext, normalizeParams, parseCookies } from "./context-builder.js";
|
|
@@ -11,5 +11,5 @@ export { extractParams, getPathCandidates, getSlugFromPath, getSupportedExtensio
|
|
|
11
11
|
export type { RouteData, SpaPageData } from "./client/index.js";
|
|
12
12
|
export { extractPageDataFromScript, NavigationHandlers, PageLoader, PageTransition, ViewportPrefetch, } from "./client/index.js";
|
|
13
13
|
export type { APIContext, APIHandler, APIResponse, APIRoute } from "./api/index.js";
|
|
14
|
-
export { APIRouteHandler, applyCORSHeaders, badRequest, createContext, forbidden, handleCORSPreflight, json, normalizeParams, notFound, parseCookies, redirect, serverError, unauthorized, } from "./api/index.js";
|
|
14
|
+
export { APIRouteHandler, ApiRouteMatcher, applyCORSHeaders, badRequest, createContext, discoverAppRoutes, discoverPagesRoutes, forbidden, handleCORSPreflight, json, normalizeParams, notFound, parseCookies, redirect, serverError, unauthorized, } from "./api/index.js";
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/src/routing/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,UAAU,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,IAAI,EACJ,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,GACb,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/src/routing/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,UAAU,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EACL,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACnB,IAAI,EACJ,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,GACb,MAAM,gBAAgB,CAAC"}
|
package/esm/src/routing/index.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
export { getSpecificityScore, matchRoute, normalizePath, PageRouteMatcher, parseRoute, } from "./matchers/index.js";
|
|
8
8
|
export { extractParams, getPathCandidates, getSlugFromPath, getSupportedExtensions, isDynamicRoute, matchesPattern, normalizeSlug, pathToSlug, slugToPath, } from "./slug-mapper/index.js";
|
|
9
9
|
export { extractPageDataFromScript, NavigationHandlers, PageLoader, PageTransition, ViewportPrefetch, } from "./client/index.js";
|
|
10
|
-
export { APIRouteHandler, applyCORSHeaders, badRequest, createContext, forbidden, handleCORSPreflight, json, normalizeParams, notFound, parseCookies, redirect, serverError, unauthorized, } from "./api/index.js";
|
|
10
|
+
export { APIRouteHandler, ApiRouteMatcher, applyCORSHeaders, badRequest, createContext, discoverAppRoutes, discoverPagesRoutes, forbidden, handleCORSPreflight, json, normalizeParams, notFound, parseCookies, redirect, serverError, unauthorized, } from "./api/index.js";
|
|
@@ -28,6 +28,7 @@ export { createVeryfrontServer, type CreateVeryfrontServerOptions, type NodeVery
|
|
|
28
28
|
export type { DevServerOptions, DiscoveryOptions, FileWatcherMetrics, RouteDirectory, ServerHandle, StartProductionServerOptions, };
|
|
29
29
|
import { ReloadNotifier } from "./reload-notifier.js";
|
|
30
30
|
export { ReloadNotifier };
|
|
31
|
+
export { RouteDiscovery } from "./dev-server/route-discovery.js";
|
|
31
32
|
export type { BuildOptions, BuildStats } from "./build-types.js";
|
|
32
33
|
export { defaultDistributedCacheInitializers } from "./distributed-cache-initializers.js";
|
|
33
34
|
/** Shared options for both development and production server modes. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/src/server/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,yBAAyB,CAAC;AAKjC,OAAO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,cAAc,EACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,qBAAqB,EACrB,KAAK,4BAA4B,EAClC,MAAM,wBAAwB,CAAC;AAahC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,qBAAqB,EAAE,CAAC;AAC5D,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,wBAAwB,EACxB,KAAK,+BAA+B,EACpC,oBAAoB,EACpB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,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AAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC,GAAG;IACrE;;;OAGG;IACH,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;OAIG;IACH,UAAU,EAAE,CAAC,EAAE,EAAE,SAAS,KAAK,IAAI,CAAC;CACrC,CAAC;AAwCF,wEAAwE;AACxE,wBAAsB,aAAa,CACjC,OAAO,GAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,aAAa,GAAG,YAAY,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,GACxF,OAAO,CAAC,gBAAgB,CAAC,CA8G3B;AAED;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;;GAKG;AACH,wBAAsB,WAAW,CAC/B,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,eAAe,CAAC,CAkD1B"}
|
package/esm/src/server/index.js
CHANGED
|
@@ -38,6 +38,7 @@ export { DevServer, startDevServer, startProductionServer };
|
|
|
38
38
|
export { createVeryfrontServer, startNodeVeryfrontServer, startVeryfrontServer, } from "./service-server.js";
|
|
39
39
|
import { ReloadNotifier } from "./reload-notifier.js";
|
|
40
40
|
export { ReloadNotifier };
|
|
41
|
+
export { RouteDiscovery } from "./dev-server/route-discovery.js";
|
|
41
42
|
export { defaultDistributedCacheInitializers } from "./distributed-cache-initializers.js";
|
|
42
43
|
/**
|
|
43
44
|
* Create a Veryfront request handler for use with any HTTP framework.
|