@go-to-k/cdkd 0.134.0 → 0.135.1
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.
|
@@ -356,6 +356,38 @@ var LocalStartServiceError = class LocalStartServiceError extends CdkdError {
|
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
/**
|
|
359
|
+
* Signals that the upstream `cdk` CLI is not available on PATH (or at
|
|
360
|
+
* the override path passed via `--cdk-bin`). Surfaced from `cdkd migrate`
|
|
361
|
+
* (#465 PR A) before any other work runs.
|
|
362
|
+
*
|
|
363
|
+
* The message includes the install hint `npm install -g aws-cdk@latest`
|
|
364
|
+
* so users on a fresh machine see exactly how to recover.
|
|
365
|
+
*/
|
|
366
|
+
var MissingCdkCliError = class MissingCdkCliError extends CdkdError {
|
|
367
|
+
constructor(detail, cause) {
|
|
368
|
+
super(`${detail ?? "upstream 'cdk' CLI not found on PATH"}. 'cdkd migrate' shells out to the upstream aws-cdk CLI for L1 codegen — install it with 'npm install -g aws-cdk@latest' (or pass --cdk-bin <path>).`, "MISSING_CDK_CLI", cause);
|
|
369
|
+
this.name = "MissingCdkCliError";
|
|
370
|
+
Object.setPrototypeOf(this, MissingCdkCliError.prototype);
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Generic local-migrate orchestration failure (#465 PR A). Used by
|
|
375
|
+
* `cdkd migrate` for pre-flight rejections (Custom Resource / nested
|
|
376
|
+
* stack / non-terminal CFn stack state), output-dir collisions, and
|
|
377
|
+
* `cdk migrate` subprocess failures whose underlying stderr is folded
|
|
378
|
+
* into the error message. Exit code 2 (partial-failure family) because
|
|
379
|
+
* some pre-flight failures leave the user with a partially-populated
|
|
380
|
+
* output directory that's still useful for debugging.
|
|
381
|
+
*/
|
|
382
|
+
var LocalMigrateError = class LocalMigrateError extends CdkdError {
|
|
383
|
+
exitCode = 2;
|
|
384
|
+
constructor(message, cause) {
|
|
385
|
+
super(message, "LOCAL_MIGRATE_ERROR", cause);
|
|
386
|
+
this.name = "LocalMigrateError";
|
|
387
|
+
Object.setPrototypeOf(this, LocalMigrateError.prototype);
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
359
391
|
* Check if error is a cdkd error
|
|
360
392
|
*/
|
|
361
393
|
function isCdkdError(error) {
|
|
@@ -9206,5 +9238,5 @@ var DeployEngine = class {
|
|
|
9206
9238
|
};
|
|
9207
9239
|
|
|
9208
9240
|
//#endregion
|
|
9209
|
-
export {
|
|
9210
|
-
//# sourceMappingURL=deploy-engine-
|
|
9241
|
+
export { LockError as $, AssetPublisher as A, resolveStateBucketWithDefault as B, applyRoleArnIfSet as C, LockManager as D, TemplateParser as E, getDefaultStateBucketName as F, resolveBucketRegion as G, warnDeprecatedNoPrefixCliFlag as H, getLegacyStateBucketName as I, ConfigError as J, AssetError as K, resolveApp as L, WorkGraph as M, buildDockerImage as N, S3StateBackend as O, Synthesizer as P, LocalStartServiceError as Q, resolveCaptureObservedState as R, IntrinsicFunctionResolver as S, DagBuilder as T, AssemblyReader as U, resolveStateBucketWithDefaultAndSource as V, clearBucketRegionCache as W, LocalInvokeBuildError as X, DependencyError as Y, LocalMigrateError as Z, normalizeAwsTagsToCfn as _, withRetry as a, RouteDiscoveryError as at, CloudControlProvider as b, cyan as c, StateError as ct, red as d, isCdkdError as dt, MissingCdkCliError as et, yellow as f, normalizeAwsError as ft, matchesCdkPath as g, CDK_PATH_TAG as h, withResourceDeadline as i, ResourceUpdateNotSupportedError as it, stringifyValue as j, shouldRetainResource as k, gray as l, SynthesisError as lt, collectInlinePolicyNamesManagedBySiblings as m, DEFAULT_RESOURCE_WARN_AFTER_MS as n, ProvisioningError as nt, IMPLICIT_DELETE_DEPENDENCIES as o, StackHasActiveImportsError as ot, IAMRoleProvider as p, withErrorHandling as pt, CdkdError as q, DeployEngine as r, ResourceTimeoutError as rt, bold as s, StackTerminationProtectionError as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, PartialFailureError as tt, green as u, formatError as ut, resolveExplicitPhysicalId as v, DiffCalculator as w, assertRegionMatch as x, ProviderRegistry as y, resolveSkipPrefix as z };
|
|
9242
|
+
//# sourceMappingURL=deploy-engine-CX1x5ug1.js.map
|