@woodsportal/hubspot-kit 1.0.42-dev.2 → 1.0.42-dev.4
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 +2 -10
- package/dist/cli.js.map +1 -1
- package/package.json +4 -3
- package/scripts/ci-pnpm-install.sh +26 -0
- package/scripts/publish-cdn-github.mjs +41 -4
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(
|
|
209
|
-
|
|
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;
|