@cleocode/caamp 1.0.1 → 1.0.2
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/README.md +18 -15
- package/dist/{chunk-VAFYP7CI.js → chunk-762HFAUU.js} +42 -29
- package/dist/chunk-762HFAUU.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +13 -5
- package/dist/chunk-VAFYP7CI.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
tokenizeCriteriaValue,
|
|
63
63
|
updateInstructionsSingleOperation,
|
|
64
64
|
validateSkill
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-762HFAUU.js";
|
|
66
66
|
|
|
67
67
|
// src/cli.ts
|
|
68
68
|
import { Command } from "commander";
|
|
@@ -1439,7 +1439,7 @@ function getCaampVersion() {
|
|
|
1439
1439
|
if (cachedVersion) return cachedVersion;
|
|
1440
1440
|
try {
|
|
1441
1441
|
const currentDir = dirname(fileURLToPath(import.meta.url));
|
|
1442
|
-
const packageJsonPath = join4(currentDir, "..", "
|
|
1442
|
+
const packageJsonPath = join4(currentDir, "..", "package.json");
|
|
1443
1443
|
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
|
|
1444
1444
|
cachedVersion = packageJson.version ?? "0.0.0";
|
|
1445
1445
|
} catch {
|