@coreframe/config 0.1.7 → 0.1.8

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 +3 -45
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ type DatabaseConfig = {
32
32
  /** Database engine used by project workflows. */dialect: DatabaseDialect; /** Project-relative module that seeds the database. */
33
33
  seed?: string;
34
34
  };
35
- type DevPlatform = "android" | "desktop" | "ios" | "macos" | "web" | "webext";
35
+ type DevPlatform = "android" | "ios" | "linux" | "macos" | "web" | "webext" | "windows";
36
36
  type DevConfig = {
37
37
  /** Platforms started by the development command. */platforms?: DevPlatform[];
38
38
  };
@@ -104,47 +104,6 @@ type DeployContext = {
104
104
  url: string; /** Version assigned to the release. */
105
105
  version: string;
106
106
  };
107
- type TauriReleasePlatform = "macos" | "windows" | "linux" | "ios" | "android";
108
- type TauriReleasePlatformConfig = {
109
- /** Glob patterns used to find build artifacts for the platform. */artifactGlobs?: string[]; /** Arguments passed to the Tauri build command for the platform. */
110
- buildArgs?: string[]; /** Rust target triple used to build the platform. */
111
- targetTriple?: string; /** Platform key written to the Tauri updater manifest. */
112
- updatePlatform?: string;
113
- };
114
- type TauriReleaseConfig = {
115
- /** Local directory into which remote workflow artifacts are downloaded. */artifactDownloadDir?: string; /** Backblaze B2 bucket that receives release files. */
116
- b2Bucket?: string; /** Local path where the latest updater manifest is written. */
117
- latestManifestPath?: string; /** Platforms built on the machine running the deploy command. */
118
- localPlatforms?: TauriReleasePlatform[];
119
- /**
120
- * Per-platform artifact discovery and build overrides.
121
- *
122
- * @example
123
- * defineConfig({
124
- * deploy: {
125
- * tauriRelease: {
126
- * platform: {
127
- * macos: {
128
- * artifactGlobs: ["src-tauri/target/release/bundle/macos/*.sig"],
129
- * targetTriple: "aarch64-apple-darwin",
130
- * },
131
- * },
132
- * },
133
- * },
134
- * })
135
- */
136
- platform?: Partial<Record<TauriReleasePlatform, TauriReleasePlatformConfig>>; /** Public base URL used to construct release download URLs. */
137
- publicBaseUrl?: string; /** Path prefix added to public release download URLs. */
138
- publicPathPrefix?: string; /** Project-relative path to the release notes file. */
139
- releaseNotesPath?: string; /** Remote path under which versioned release files are stored. */
140
- releasePath?: string; /** Local directory containing release files ready for upload. */
141
- releaseUploadDir?: string; /** Platforms built by the remote release workflow. */
142
- workflowPlatforms?: TauriReleasePlatform[]; /** GitHub Actions workflow used to build remote release artifacts. */
143
- workflowName?: string; /** Delay in milliseconds between remote workflow status checks. */
144
- workflowPollIntervalMs?: number; /** Git ref on which the remote release workflow runs. */
145
- workflowRef?: string; /** Maximum time in milliseconds to wait for the remote workflow. */
146
- workflowTimeoutMs?: number;
147
- };
148
107
  type DeploySmokeCheck = {
149
108
  /** Label used to identify the check in deployment output. */name: string; /** Application-relative path checked after deployment. */
150
109
  path?: string; /** Absolute URL checked after deployment instead of an application path. */
@@ -195,8 +154,7 @@ type DeployConfig = {
195
154
  * },
196
155
  * })
197
156
  */
198
- stagingHostname?: StagingHostnameConfig; /** Tauri desktop and mobile release settings. */
199
- tauriRelease?: TauriReleaseConfig;
157
+ stagingHostname?: StagingHostnameConfig;
200
158
  };
201
159
  declare function defineConfig(config: CoreframeConfig): CoreframeConfig;
202
160
  declare function readProjectConfig({
@@ -207,4 +165,4 @@ declare function readProjectConfig({
207
165
  declare function importProjectModule<T>(path: string, cwd?: string): Promise<T>;
208
166
  declare function importProjectDependency<T>(specifier: string, cwd?: string): Promise<T>;
209
167
  //#endregion
210
- export { AssetsConfig, CoreframeConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeploySmokeCheck, DevConfig, DevPlatform, FlutterConfig, FlutterDeepLinkConfig, I18nConfig, JsonObject, JsonValue, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, StagingHostnameConfig, TauriReleaseConfig, TauriReleasePlatform, TauriReleasePlatformConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectConfig, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
168
+ export { AssetsConfig, CoreframeConfig, DatabaseConfig, DatabaseDialect, DeployConfig, DeployContext, DeployEnvironment, DeployEnvironmentConfig, DeploySmokeCheck, DevConfig, DevPlatform, FlutterConfig, FlutterDeepLinkConfig, I18nConfig, JsonObject, JsonValue, PreviewConfig, PreviewTunnelConfig, PreviewWorkerConfig, PrimaryWorkerContributions, PrimaryWorkerEnvironment, StagingHostnameConfig, WorkerConfig, WorkerDeployEnvironment, WorkerEnvironmentDeclaration, WorkerEnvironmentKind, WorkerEnvironmentVariableConfig, WranglerConfig, coreframeGeneratedWorkerVariables, coreframeLocalWorkerVariables, coreframeManagedWorkerSecrets, defineConfig, derivePrimaryWorkerConfig, importProjectDependency, importProjectModule, normalizeWorkerEnvironment, primaryWorkerConfigPath, primaryWorkerEnvironments, readProjectConfig, validateWorkerInventoryOwnership, workerBindingNames, wranglerEnvironmentNames };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreframe/config",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Environment and project configuration utilities for Coreframe apps",
5
5
  "repository": {
6
6
  "type": "git",