@coreframe/config 0.1.18 → 0.2.0

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 +18 -18
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -9,12 +9,11 @@ type CoreframeConfig = {
9
9
  deploy?: DeployConfig; /** Local development settings. */
10
10
  dev?: DevConfig; /** Translation catalog and locale settings. */
11
11
  i18n?: I18nConfig; /** Local development job inspection and reset settings. */
12
- jobs?: JobsConfig; /** Flutter host integration settings. */
13
- flutter?: FlutterConfig; /** Local preview server and tunnel settings. */
12
+ jobs?: JobsConfig; /** Local preview server and tunnel settings. */
14
13
  preview?: PreviewConfig; /** Worker build and runtime settings. */
15
14
  worker?: WorkerConfig;
16
15
  };
17
- /** Named responsive layout breakpoints shared by Panda, web, and Flutter. */
16
+ /** Named responsive layout breakpoints shared by Panda and web. */
18
17
  type BreakpointsConfig = Readonly<{
19
18
  "2xl": number;
20
19
  lg: number;
@@ -32,13 +31,6 @@ declare function readProjectBreakpoints({
32
31
  }?: {
33
32
  cwd?: string;
34
33
  }): Promise<BreakpointsConfig>;
35
- type FlutterConfig = {
36
- /** Custom URL origin accepted for navigation into the Flutter app. */deepLink: FlutterDeepLinkConfig;
37
- };
38
- type FlutterDeepLinkConfig = {
39
- /** Lowercase URL host accepted for Flutter navigation links, without a port. */host: string; /** Lowercase URI scheme used by Flutter navigation links. */
40
- scheme: string;
41
- };
42
34
  type AssetsConfig = {
43
35
  /** Credential profile used to access the asset storage service. */credentialProfile: string; /** S3-compatible API endpoint for the asset storage service. */
44
36
  endpoint: string; /** Project identifier used to namespace generated asset keys. */
@@ -54,10 +46,10 @@ type DashboardConfig = {
54
46
  type DatabaseDialect = "postgres" | "sqlite";
55
47
  type DatabaseConfig = {
56
48
  /**
57
- * Cloudflare D1 binding that owns deployment migrations for a native D1-backed SQLite
58
- * project. When omitted, Coreframe detects the binding from `wrangler.jsonc` migration
59
- * metadata in the deploy environment. Set to `false` when the deployment database uses a
60
- * connection URL even though the Worker declares unrelated D1 bindings.
49
+ * Cloudflare D1 binding that owns deployment migrations for a native D1-backed SQLite project.
50
+ * When omitted, Coreframe detects the binding from `wrangler.jsonc` migration metadata in the
51
+ * deploy environment. Set to `false` when the deployment database uses a connection URL even
52
+ * though the Worker declares unrelated D1 bindings.
61
53
  */
62
54
  d1Binding?: string | false; /** Database engine used by project workflows. */
63
55
  dialect: DatabaseDialect; /** Project-relative module that seeds the database. */
@@ -66,7 +58,7 @@ type DatabaseConfig = {
66
58
  type JobsConfig = {
67
59
  /** Project-relative module exporting the local development job administration contract. */entry: string;
68
60
  };
69
- type DevPlatform = "android" | "ios" | "linux" | "macos" | "web" | "webext" | "windows";
61
+ type DevPlatform = "web" | "webext";
70
62
  type DevConfig = {
71
63
  /** Platforms started by the development command. */platforms?: DevPlatform[];
72
64
  };
@@ -165,9 +157,17 @@ type DeploySmokeCheck = {
165
157
  };
166
158
  /** Inputs passed only to the application-owned reviewer deployment entrypoint. Never log them. */
167
159
  type ReviewerDeployContext = DeployContext & {
168
- /** Deployment database dialect; no local database lifecycle is started. */dialect: DatabaseDialect; /** Deployment database credentials using the same connection selection as migrations; no local fallbacks. */
160
+ /** Deployment database dialect; no local database lifecycle is started. */dialect: DatabaseDialect;
161
+ /**
162
+ * Deployment database credentials using the same connection selection as migrations; no local
163
+ * fallbacks.
164
+ */
169
165
  env: NodeJS.ProcessEnv; /** Dedicated reviewer email, normalized to lowercase. */
170
- email: string; /** Password hashed when creating the account and used for credential and HTTPS sign-in verification. */
166
+ email: string;
167
+ /**
168
+ * Password hashed when creating the account and used for credential and HTTPS sign-in
169
+ * verification.
170
+ */
171
171
  password: string;
172
172
  };
173
173
  /** Application-owned provisioning and verification, independent of local/demo seeds. */
@@ -248,4 +248,4 @@ declare function readProjectConfig({
248
248
  declare function importProjectModule<T>(path: string, cwd?: string): Promise<T>;
249
249
  declare function importProjectDependency<T>(specifier: string, cwd?: string): Promise<T>;
250
250
  //#endregion
251
- export { AssetsConfig, BreakpointsConfig, CoreframeConfig, DashboardConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeployMode, DeploySmokeCheck, DevConfig, DevPlatform, FlutterConfig, FlutterDeepLinkConfig, I18nConfig, JobsConfig, JsonObject, JsonValue, PreviewAccessBypassConfig, PreviewAccessConfig, PreviewAccessIpContext, PreviewAccessIpResolver, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, ReviewerDeployContext, ReviewerDeployModule, StagingHostnameConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, breakpointNames, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectBreakpoints, readProjectConfig, validateBreakpoints, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
251
+ export { AssetsConfig, BreakpointsConfig, CoreframeConfig, DashboardConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeployMode, DeploySmokeCheck, DevConfig, DevPlatform, I18nConfig, JobsConfig, JsonObject, JsonValue, PreviewAccessBypassConfig, PreviewAccessConfig, PreviewAccessIpContext, PreviewAccessIpResolver, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, ReviewerDeployContext, ReviewerDeployModule, StagingHostnameConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, breakpointNames, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectBreakpoints, readProjectConfig, validateBreakpoints, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreframe/config",
3
- "version": "0.1.18",
3
+ "version": "0.2.0",
4
4
  "description": "Environment and project configuration utilities for Coreframe apps",
5
5
  "repository": {
6
6
  "type": "git",