@principal-ai/principal-view-cli 0.14.15 → 0.14.16
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/commands/hooks.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/package.json +1 -1
package/dist/commands/hooks.js
CHANGED
|
@@ -18,14 +18,14 @@ const VV_HOOK_MARKER = '# Principal View checks';
|
|
|
18
18
|
function getVVHookContent() {
|
|
19
19
|
return `${VV_HOOK_MARKER}
|
|
20
20
|
echo "Running Principal View doctor check..."
|
|
21
|
-
npx @principal-ai/principal-view-cli doctor --errors-only || {
|
|
21
|
+
npx @principal-ai/principal-view-cli@latest doctor --errors-only || {
|
|
22
22
|
echo "❌ Principal View doctor check failed (errors found)"
|
|
23
23
|
echo " Run 'npx @principal-ai/principal-view-cli doctor' to see details"
|
|
24
24
|
exit 1
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
echo "Running Principal View canvas validation..."
|
|
28
|
-
npx @principal-ai/principal-view-cli validate --quiet 2>/dev/null || {
|
|
28
|
+
npx @principal-ai/principal-view-cli@latest validate --quiet 2>/dev/null || {
|
|
29
29
|
if [ $? -ne 0 ]; then
|
|
30
30
|
echo "❌ Canvas validation failed"
|
|
31
31
|
echo " Run 'npx @principal-ai/principal-view-cli validate' to see details"
|
package/dist/index.cjs
CHANGED
|
@@ -251389,14 +251389,14 @@ var VV_HOOK_MARKER = "# Principal View checks";
|
|
|
251389
251389
|
function getVVHookContent() {
|
|
251390
251390
|
return `${VV_HOOK_MARKER}
|
|
251391
251391
|
echo "Running Principal View doctor check..."
|
|
251392
|
-
npx @principal-ai/principal-view-cli doctor --errors-only || {
|
|
251392
|
+
npx @principal-ai/principal-view-cli@latest doctor --errors-only || {
|
|
251393
251393
|
echo "\u274C Principal View doctor check failed (errors found)"
|
|
251394
251394
|
echo " Run 'npx @principal-ai/principal-view-cli doctor' to see details"
|
|
251395
251395
|
exit 1
|
|
251396
251396
|
}
|
|
251397
251397
|
|
|
251398
251398
|
echo "Running Principal View canvas validation..."
|
|
251399
|
-
npx @principal-ai/principal-view-cli validate --quiet 2>/dev/null || {
|
|
251399
|
+
npx @principal-ai/principal-view-cli@latest validate --quiet 2>/dev/null || {
|
|
251400
251400
|
if [ $? -ne 0 ]; then
|
|
251401
251401
|
echo "\u274C Canvas validation failed"
|
|
251402
251402
|
echo " Run 'npx @principal-ai/principal-view-cli validate' to see details"
|