claudekit-cli 3.35.0-dev.10 → 3.35.0-dev.11
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/index.js
CHANGED
|
@@ -48860,7 +48860,7 @@ var package_default;
|
|
|
48860
48860
|
var init_package = __esm(() => {
|
|
48861
48861
|
package_default = {
|
|
48862
48862
|
name: "claudekit-cli",
|
|
48863
|
-
version: "3.35.0-dev.
|
|
48863
|
+
version: "3.35.0-dev.11",
|
|
48864
48864
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
48865
48865
|
type: "module",
|
|
48866
48866
|
repository: {
|
|
@@ -50934,12 +50934,14 @@ function registerSystemRoutes(app) {
|
|
|
50934
50934
|
});
|
|
50935
50935
|
}
|
|
50936
50936
|
async function getPackageJson() {
|
|
50937
|
-
|
|
50938
|
-
|
|
50939
|
-
return JSON.parse(content);
|
|
50940
|
-
} catch {
|
|
50941
|
-
return null;
|
|
50937
|
+
if (typeof package_default?.version === "string" && package_default.version.trim()) {
|
|
50938
|
+
return { version: package_default.version.trim() };
|
|
50942
50939
|
}
|
|
50940
|
+
const envVersion = process.env.npm_package_version?.trim();
|
|
50941
|
+
if (envVersion) {
|
|
50942
|
+
return { version: envVersion };
|
|
50943
|
+
}
|
|
50944
|
+
return null;
|
|
50943
50945
|
}
|
|
50944
50946
|
async function getKitMetadata2(kitName) {
|
|
50945
50947
|
try {
|
|
@@ -50969,6 +50971,7 @@ var init_system_routes = __esm(() => {
|
|
|
50969
50971
|
init_logger();
|
|
50970
50972
|
init_path_resolver();
|
|
50971
50973
|
init_kit();
|
|
50974
|
+
init_package();
|
|
50972
50975
|
versionCache = new Map;
|
|
50973
50976
|
CACHE_TTL_MS = 5 * 60 * 1000;
|
|
50974
50977
|
});
|