@woodsportal/hubspot-kit 1.0.42-dev.1 → 1.0.42-dev.3

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 CHANGED
@@ -205,16 +205,8 @@ function isKitUpdateAvailable(current, latest) {
205
205
  }
206
206
  return semver.lt(currentCoerced, latestCoerced);
207
207
  }
208
- function formatKitUpgradeCommand(projectRoot) {
209
- const root = projectRoot || process.cwd();
210
- const spec = `${KIT_PACKAGE_NAME}@latest`;
211
- if (existsSync(join(root, "yarn.lock"))) {
212
- return `yarn add -D ${spec}`;
213
- }
214
- if (existsSync(join(root, "pnpm-lock.yaml"))) {
215
- return `pnpm add -D ${spec}`;
216
- }
217
- return `npm install -D ${spec}`;
208
+ function formatKitUpgradeCommand(_projectRoot) {
209
+ return `pnpm add -D ${KIT_PACKAGE_NAME}@latest`;
218
210
  }
219
211
  function shouldUseWarnColor() {
220
212
  if (process.env.NO_COLOR !== void 0) return false;