@pourkit/cli 0.0.0-next-20260625065443 → 0.0.0-next-20260625073725
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/cli.js +12 -7
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -13098,7 +13098,10 @@ var MANAGED_BLOCK_BEGIN_MARKER = MANAGED_BLOCK_BEGIN2.trim();
|
|
|
13098
13098
|
var MANAGED_BLOCK_END_MARKER = "<!-- END POURKIT MANAGED BLOCK -->";
|
|
13099
13099
|
var OLD_DOCS_PATH_PATTERN = ".pourkit/docs/agents/";
|
|
13100
13100
|
function resolvePackagedManagedPath(...segments) {
|
|
13101
|
-
|
|
13101
|
+
const bundledPath = resolve3(__dirname3, "managed", ...segments);
|
|
13102
|
+
const sourcePath = resolve3(__dirname3, "..", "managed", ...segments);
|
|
13103
|
+
const candidates = [bundledPath, sourcePath];
|
|
13104
|
+
return candidates.find((candidate) => existsSync18(candidate)) ?? bundledPath;
|
|
13102
13105
|
}
|
|
13103
13106
|
function resolvePackagedManagedDocPath(docName) {
|
|
13104
13107
|
return resolvePackagedManagedPath("docs", "agents", docName);
|
|
@@ -13854,8 +13857,10 @@ var OVERRIDES_DIR = ".pourkit/overrides";
|
|
|
13854
13857
|
var MANAGED_BLOCK_BEGIN3 = "<!-- BEGIN POURKIT MANAGED BLOCK -->\n";
|
|
13855
13858
|
var MANAGED_BLOCK_END2 = "\n<!-- END POURKIT MANAGED BLOCK -->";
|
|
13856
13859
|
function resolvePackagedManagedPath2(...segments) {
|
|
13857
|
-
const
|
|
13858
|
-
|
|
13860
|
+
const bundledPath = resolve4(__dirname4, "managed", ...segments);
|
|
13861
|
+
const sourcePath = resolve4(__dirname4, "..", "managed", ...segments);
|
|
13862
|
+
const candidates = [bundledPath, sourcePath];
|
|
13863
|
+
return candidates.find((candidate) => existsSync19(candidate)) ?? bundledPath;
|
|
13859
13864
|
}
|
|
13860
13865
|
function resolvePackagedManagedDocPath2(docName) {
|
|
13861
13866
|
return resolvePackagedManagedPath2("docs", "agents", docName);
|
|
@@ -16128,11 +16133,11 @@ function createCliProgram(version) {
|
|
|
16128
16133
|
return program;
|
|
16129
16134
|
}
|
|
16130
16135
|
async function resolveCliVersion() {
|
|
16131
|
-
if (isPackageVersion("0.0.0-next-
|
|
16132
|
-
return "0.0.0-next-
|
|
16136
|
+
if (isPackageVersion("0.0.0-next-20260625073725")) {
|
|
16137
|
+
return "0.0.0-next-20260625073725";
|
|
16133
16138
|
}
|
|
16134
|
-
if (isReleaseVersion("0.0.0-next-
|
|
16135
|
-
return "0.0.0-next-
|
|
16139
|
+
if (isReleaseVersion("0.0.0-next-20260625073725")) {
|
|
16140
|
+
return "0.0.0-next-20260625073725";
|
|
16136
16141
|
}
|
|
16137
16142
|
try {
|
|
16138
16143
|
const root = repoRoot();
|