@holdyourvoice/hyv 2.8.3 → 2.8.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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/scripts/postinstall.js +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable CLI changes. Also mirrored to [holdyourvoice.com/changelog](https://holdyourvoice.com/changelog) for user-facing releases.
|
|
4
4
|
|
|
5
|
+
## [2.8.4] — 2026-06-12
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- Postinstall only auto-runs welcome when npm shows script output; otherwise first bare `hyv` shows full onboarding (fixes silent global installs)
|
|
9
|
+
|
|
5
10
|
## [2.8.3] — 2026-06-12
|
|
6
11
|
|
|
7
12
|
### Fixed
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -123,8 +123,11 @@ if (configured.length > 0) {
|
|
|
123
123
|
print('');
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// First install →
|
|
127
|
-
|
|
126
|
+
// First install → onboarding during install when npm shows script output; else first `hyv` runs it
|
|
127
|
+
const canShowOnboarding =
|
|
128
|
+
process.stdout.isTTY || process.env.npm_config_foreground_scripts === 'true';
|
|
129
|
+
|
|
130
|
+
if (!quiet && !hasCompletedOnboarding(hyvDir) && canShowOnboarding) {
|
|
128
131
|
print('');
|
|
129
132
|
print(' starting onboarding...');
|
|
130
133
|
print('');
|