claudekit-cli 4.0.0-dev.8 → 4.0.0-dev.9
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/cli-manifest.json +2 -2
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/cli-manifest.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -62842,7 +62842,7 @@ var package_default;
|
|
|
62842
62842
|
var init_package = __esm(() => {
|
|
62843
62843
|
package_default = {
|
|
62844
62844
|
name: "claudekit-cli",
|
|
62845
|
-
version: "4.0.0-dev.
|
|
62845
|
+
version: "4.0.0-dev.9",
|
|
62846
62846
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
62847
62847
|
type: "module",
|
|
62848
62848
|
repository: {
|
|
@@ -64840,6 +64840,9 @@ function buildInitCommand(isGlobal, kit, beta, yes) {
|
|
|
64840
64840
|
function resolveCkExecutable(platformName = process.platform) {
|
|
64841
64841
|
return platformName === "win32" ? "ck.cmd" : "ck";
|
|
64842
64842
|
}
|
|
64843
|
+
function shouldRunCkExecutableInShell(platformName = process.platform) {
|
|
64844
|
+
return platformName === "win32";
|
|
64845
|
+
}
|
|
64843
64846
|
async function fetchLatestReleaseTag(kit, beta) {
|
|
64844
64847
|
try {
|
|
64845
64848
|
const { GitHubClient: GitHubClient2 } = await Promise.resolve().then(() => (init_github_client(), exports_github_client));
|
|
@@ -64950,7 +64953,7 @@ async function promptKitUpdate(beta, yes, deps) {
|
|
|
64950
64953
|
const spawnFn = deps?.spawnInitFn ?? ((spawnArgs) => new Promise((resolve30) => {
|
|
64951
64954
|
const child = spawn2(resolveCkExecutable(), spawnArgs, {
|
|
64952
64955
|
stdio: "inherit",
|
|
64953
|
-
shell:
|
|
64956
|
+
shell: shouldRunCkExecutableInShell()
|
|
64954
64957
|
});
|
|
64955
64958
|
child.on("close", (code) => resolve30(code ?? 1));
|
|
64956
64959
|
child.on("error", (err) => {
|