@hubspot/cli 7.7.25-experimental.0 → 7.7.26-experimental.0
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.
|
@@ -2,10 +2,11 @@ import util from 'util';
|
|
|
2
2
|
import { exec } from 'node:child_process';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import fs from 'fs';
|
|
5
|
+
import pkg from '../../package.json' with { type: 'json' };
|
|
5
6
|
export const execAsync = util.promisify(exec);
|
|
6
7
|
export function wrapCommand(commandString) {
|
|
7
8
|
if (process.env.HUBSPOT_MCP_STANDALONE_MODE) {
|
|
8
|
-
return `npx -y --package=@hubspot/cli
|
|
9
|
+
return `npx -y --package=@hubspot/cli@${pkg.version} ${commandString}`;
|
|
9
10
|
}
|
|
10
11
|
return commandString;
|
|
11
12
|
}
|
package/package.json
CHANGED