@coreframe/config 0.1.12 → 0.1.13

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -56,13 +56,12 @@ type DevConfig = {
56
56
  /** Platforms started by the development command. */platforms?: DevPlatform[];
57
57
  };
58
58
  type PreviewTunnelConfig = {
59
- /** Whether Coreframe or an external provider manages the tunnel hostname's DNS. */dns: "external" | "managed"; /** Public hostname assigned to the preview tunnel. */
60
- hostname: string; /** Cloudflare tunnel name. */
59
+ /** Whether Coreframe or an external provider manages the preview hostname's DNS. */dns: "external" | "managed"; /** Cloudflare tunnel name. */
61
60
  name: string; /** Credential profile used to manage the tunnel. */
62
61
  profile: string;
63
62
  };
64
63
  type PreviewAccessIpContext = {
65
- /** Exact HTTPS origin configured for the preview application. */appOrigin: string; /** Public hostname assigned to the preview tunnel. */
64
+ /** Exact HTTPS origin configured for the preview application. */appOrigin: string; /** Public hostname derived from the preview application origin. */
66
65
  hostname: string; /** Identity of the Coreframe-managed preview tunnel. */
67
66
  tunnel: {
68
67
  name: string;
@@ -84,7 +83,8 @@ type PreviewConfig = {
84
83
  port?: number; /** Whether startup fails when the configured port is unavailable. */
85
84
  strictPort?: boolean;
86
85
  /**
87
- * Public tunnel settings for the local preview server.
86
+ * Public tunnel settings for the local preview server. The tunnel hostname is derived from
87
+ * `appOrigin`.
88
88
  *
89
89
  * @example
90
90
  * defineConfig({
@@ -92,7 +92,6 @@ type PreviewConfig = {
92
92
  * appOrigin: "https://preview.example.com",
93
93
  * tunnel: {
94
94
  * dns: "managed",
95
- * hostname: "preview.example.com",
96
95
  * name: "coreframe-preview",
97
96
  * profile: "company",
98
97
  * },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreframe/config",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Environment and project configuration utilities for Coreframe apps",
5
5
  "repository": {
6
6
  "type": "git",