@go-to-k/cdkd 0.285.2 → 0.285.4
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/dist/{asg-provider-DEG5QGu2.js → asg-provider-sRJzRAe_.js} +2 -2
- package/dist/{asg-provider-DEG5QGu2.js.map → asg-provider-sRJzRAe_.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{deploy-engine-Bci2hIDt.js → deploy-engine-3EmPzxSN.js} +469 -43
- package/dist/deploy-engine-3EmPzxSN.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-fntegUX1.js → program-DoauTYs2.js} +105 -8
- package/dist/{program-fntegUX1.js.map → program-DoauTYs2.js.map} +1 -1
- package/dist/{version-CPBCBoA5.js → version-Dlq6xZAQ.js} +2 -2
- package/dist/{version-CPBCBoA5.js.map → version-Dlq6xZAQ.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-Bci2hIDt.js.map +0 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* back on that path.
|
|
9
9
|
*/
|
|
10
10
|
function getCdkdVersion() {
|
|
11
|
-
return "0.285.
|
|
11
|
+
return "0.285.4";
|
|
12
12
|
}
|
|
13
13
|
/** The two spellings commander registers for `.version()`. */
|
|
14
14
|
const VERSION_FLAGS = /* @__PURE__ */ new Set(["--version", "-V"]);
|
|
@@ -41,4 +41,4 @@ function isVersionOnlyInvocation(userArgs) {
|
|
|
41
41
|
|
|
42
42
|
//#endregion
|
|
43
43
|
export { isVersionOnlyInvocation as n, getCdkdVersion as t };
|
|
44
|
-
//# sourceMappingURL=version-
|
|
44
|
+
//# sourceMappingURL=version-Dlq6xZAQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-
|
|
1
|
+
{"version":3,"file":"version-Dlq6xZAQ.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Injected at build time by tsdown `define` from package.json (see the\n// `define` block in vite.config.ts). It does NOT exist under vitest or under\n// `node --experimental-strip-types`, where the define never runs, so every\n// read must go through the `typeof` guard below.\ndeclare const __CDKD_VERSION__: string;\n\n/** Dev sentinel reported when the build-time define has not run. */\nexport const DEV_VERSION_SENTINEL = '0.0.0-dev';\n\n/**\n * The build-time cdkd version, with a dev fallback for non-built contexts.\n *\n * This module deliberately has NO imports. `src/cli/index.ts` reads the\n * version on a fast path that must not pull the command tree (see\n * `isVersionOnlyInvocation`), and any import here would put a module graph\n * back on that path.\n */\nexport function getCdkdVersion(): string {\n return typeof __CDKD_VERSION__ === 'string' ? __CDKD_VERSION__ : DEV_VERSION_SENTINEL;\n}\n\n/** The two spellings commander registers for `.version()`. */\nconst VERSION_FLAGS = new Set(['--version', '-V']);\n\n/**\n * True when the whole invocation is nothing but a version flag.\n *\n * Deliberately narrower than \"the argv contains a version flag\", and the\n * reason is CONSERVATISM rather than a known disagreement. Measured against\n * commander 12.1.0 on 2026-08-25, every multi-token shape tried still printed\n * the version and exited 0 — `cdkd -c --version`, `cdkd deploy -c --version`,\n * `cdkd --profile -V` — so commander gives a standalone version flag priority\n * and does not consume it as an option value. An earlier draft of this comment\n * asserted the opposite; it was wrong, and a review measured it.\n *\n * The narrow rule is still the right one, for two reasons that survive that\n * correction. It does not DEPEND on that precedence, which is commander's\n * behaviour rather than cdkd's and can change across a major; and a wider rule\n * would be a second spelling of commander's parse, which is the class of bug\n * where two predicates answer one question and disagree at an edge nobody\n * enumerated. A single-token argv has no such edge — there is no subcommand to\n * route to and no option that could be consuming it.\n *\n * Everything this refuses falls through to the full commander parse with its\n * behaviour unchanged, so the cost of refusing too much is only that those\n * invocations stay slow.\n */\nexport function isVersionOnlyInvocation(userArgs: readonly string[]): boolean {\n return userArgs.length === 1 && VERSION_FLAGS.has(userArgs[0] as string);\n}\n"],"mappings":";;;;;;;;;AAiBA,SAAgB,iBAAyB;CACvC;AACF;;AAGA,MAAM,gCAAgB,IAAI,IAAI,CAAC,aAAa,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAyBjD,SAAgB,wBAAwB,UAAsC;CAC5E,OAAO,SAAS,WAAW,KAAK,cAAc,IAAI,SAAS,EAAY;AACzE"}
|