@norskvideo/ctl-dev-kit 0.2.74 → 0.2.75
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/conventions/bump.yml +7 -5
- package/package.json +1 -1
package/conventions/bump.yml
CHANGED
|
@@ -304,7 +304,9 @@ jobs:
|
|
|
304
304
|
# @norskvideo/norsk-studio* family in whichever tracked package.json
|
|
305
305
|
# depends on them) move in lockstep via a global string-replace of old->new
|
|
306
306
|
# across every tracked file -- which also updates the version-pin guard
|
|
307
|
-
# test
|
|
307
|
+
# test -- except docs/internal/, whose records name the version something
|
|
308
|
+
# happened on and must keep saying so (#642). A repo with no studio npm
|
|
309
|
+
# deps needs no `overrides` block at all.
|
|
308
310
|
#
|
|
309
311
|
# A REFUSAL (the channels disagree, a pin is stranded, there is no
|
|
310
312
|
# ctlVersion, a channel cannot be read) refuses the pins alone: the step
|
|
@@ -432,7 +434,7 @@ jobs:
|
|
|
432
434
|
echo "studio lib: ${old_studio_lib:-<no npm pins>} -> ${new_studio_lib:-<unchanged>}"
|
|
433
435
|
echo "studio image: $old_studio_img -> $new_studio_img"
|
|
434
436
|
if [ "$old_media" != "$new_media" ]; then
|
|
435
|
-
git grep -lF "$old_media" -- . ':!bun.lock' | xargs -r sed -i "s|$old_media|$new_media|g"
|
|
437
|
+
git grep -lF "$old_media" -- . ':!bun.lock' ':!docs/internal' | xargs -r sed -i "s|$old_media|$new_media|g"
|
|
436
438
|
changed=1
|
|
437
439
|
parts+=("media \`$new_media\`")
|
|
438
440
|
moved+=("- media: $old_media -> $new_media")
|
|
@@ -441,7 +443,7 @@ jobs:
|
|
|
441
443
|
# when the two coincide, the image ref has already moved and the
|
|
442
444
|
# bare-version rewrite only touches the npm pins.
|
|
443
445
|
if [ "$old_studio_img" != "$new_studio_img" ]; then
|
|
444
|
-
git grep -lF "norskvideo/norsk-studio:$old_studio_img" -- . ':!bun.lock' \
|
|
446
|
+
git grep -lF "norskvideo/norsk-studio:$old_studio_img" -- . ':!bun.lock' ':!docs/internal' \
|
|
445
447
|
| xargs -r sed -i "s|norskvideo/norsk-studio:$old_studio_img|norskvideo/norsk-studio:$new_studio_img|g"
|
|
446
448
|
# And the tag on its own: a product can carry it unprefixed (onair2026's
|
|
447
449
|
# committed template input has `"studioTag": "<tag>"`), which the
|
|
@@ -451,13 +453,13 @@ jobs:
|
|
|
451
453
|
if [ "$old_studio_img" != "$old_studio_lib" ]; then
|
|
452
454
|
# `|| true`: after the prefixed rewrite most repos have no bare
|
|
453
455
|
# occurrence left, and git grep exits 1 on no match (pipefail).
|
|
454
|
-
{ git grep -lF "$old_studio_img" -- . ':!bun.lock' || true; } | xargs -r sed -i "s|$old_studio_img|$new_studio_img|g"
|
|
456
|
+
{ git grep -lF "$old_studio_img" -- . ':!bun.lock' ':!docs/internal' || true; } | xargs -r sed -i "s|$old_studio_img|$new_studio_img|g"
|
|
455
457
|
fi
|
|
456
458
|
changed=1
|
|
457
459
|
moved+=("- studio: $old_studio_img -> $new_studio_img")
|
|
458
460
|
fi
|
|
459
461
|
if [ -n "$new_studio_lib" ] && [ "$old_studio_lib" != "$new_studio_lib" ]; then
|
|
460
|
-
git grep -lF "$old_studio_lib" -- . ':!bun.lock' | xargs -r sed -i "s|$old_studio_lib|$new_studio_lib|g"
|
|
462
|
+
git grep -lF "$old_studio_lib" -- . ':!bun.lock' ':!docs/internal' | xargs -r sed -i "s|$old_studio_lib|$new_studio_lib|g"
|
|
461
463
|
changed=1
|
|
462
464
|
moved+=("- studio-lib: $old_studio_lib -> $new_studio_lib")
|
|
463
465
|
fi
|