chore: record gitea package backfill

This commit is contained in:
root 2026-05-27 18:27:18 +00:00
parent fe979fc789
commit 7312689376
8 changed files with 36 additions and 36 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@bytelyst/config", "name": "@bytelyst/config",
"version": "0.1.9", "version": "0.1.10",
"type": "module", "type": "module",
"exports": { "exports": {
".": { ".": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@bytelyst/feature-flag-client", "name": "@bytelyst/feature-flag-client",
"version": "0.1.6", "version": "0.1.7",
"type": "module", "type": "module",
"description": "Browser/React Native-safe feature flag client for platform-service", "description": "Browser/React Native-safe feature flag client for platform-service",
"exports": { "exports": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@bytelyst/kill-switch-client", "name": "@bytelyst/kill-switch-client",
"version": "0.1.7", "version": "0.1.8",
"type": "module", "type": "module",
"description": "Browser/React Native-safe kill switch client for platform-service", "description": "Browser/React Native-safe kill switch client for platform-service",
"exports": { "exports": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@bytelyst/mcp-client", "name": "@bytelyst/mcp-client",
"version": "0.1.2", "version": "0.1.3",
"type": "module", "type": "module",
"exports": { "exports": {
".": { ".": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@bytelyst/platform-client", "name": "@bytelyst/platform-client",
"version": "0.1.6", "version": "0.1.7",
"type": "module", "type": "module",
"description": "Browser/React Native-safe typed fetch wrapper for platform-service", "description": "Browser/React Native-safe typed fetch wrapper for platform-service",
"exports": { "exports": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@bytelyst/ui", "name": "@bytelyst/ui",
"version": "0.1.10", "version": "0.1.11",
"type": "module", "type": "module",
"scripts": { "scripts": {
"storybook": "storybook dev -p 6006", "storybook": "storybook dev -p 6006",

View File

@ -70,9 +70,9 @@
"publishedAt": "2026-05-27T08:43:36.916Z" "publishedAt": "2026-05-27T08:43:36.916Z"
}, },
"@bytelyst/config": { "@bytelyst/config": {
"version": "0.1.9", "version": "0.1.10",
"contentHash": "7d5b67270db7e967e8b0f99249c59526cd6b295822ab70659e7ab741c90dddb8", "contentHash": "22c9830f546ca48063a1ab481621ac1cd3cc7277f9960a172196524356945b11",
"publishedAt": "2026-05-27T08:43:38.406Z" "publishedAt": "2026-05-27T12:30:32.158Z"
}, },
"@bytelyst/cosmos": { "@bytelyst/cosmos": {
"version": "0.1.6", "version": "0.1.6",
@ -150,9 +150,9 @@
"publishedAt": "2026-05-27T08:44:00.633Z" "publishedAt": "2026-05-27T08:44:00.633Z"
}, },
"@bytelyst/feature-flag-client": { "@bytelyst/feature-flag-client": {
"version": "0.1.6", "version": "0.1.7",
"contentHash": "81bbef1e411bdf9c38e59f82b6b7427b653aa7f36b304a32202332d260529ba3", "contentHash": "a1efd8da8dcbdb491414ace515a1c82a43e96b8b23802723335c35a0ed26388b",
"publishedAt": "2026-05-27T08:44:02.205Z" "publishedAt": "2026-05-27T12:30:33.275Z"
}, },
"@bytelyst/feedback-client": { "@bytelyst/feedback-client": {
"version": "0.1.8", "version": "0.1.8",
@ -170,9 +170,9 @@
"publishedAt": "2026-05-27T08:44:06.822Z" "publishedAt": "2026-05-27T08:44:06.822Z"
}, },
"@bytelyst/kill-switch-client": { "@bytelyst/kill-switch-client": {
"version": "0.1.7", "version": "0.1.8",
"contentHash": "c9f4463e30f1364045f47118eaae0919068eea0e03685db574423e8ce3f1f5a8", "contentHash": "4b741216cbc413d41757a455c9c5abce7dd510255141f296d6583bcf28ca4b73",
"publishedAt": "2026-05-27T08:44:08.320Z" "publishedAt": "2026-05-27T12:30:34.386Z"
}, },
"@bytelyst/llm": { "@bytelyst/llm": {
"version": "0.1.6", "version": "0.1.6",
@ -195,9 +195,9 @@
"publishedAt": "2026-05-27T08:44:14.343Z" "publishedAt": "2026-05-27T08:44:14.343Z"
}, },
"@bytelyst/mcp-client": { "@bytelyst/mcp-client": {
"version": "0.1.2", "version": "0.1.3",
"contentHash": "d67ce59b18f5cdbcea42a9dbaff7a414b90a34325468cd81cdc87262b41d1334", "contentHash": "856c6897070af62059f1ab5cd0bbbb030b54a985a31e68e339ebc0e0dbc65d71",
"publishedAt": "2026-05-27T08:44:15.785Z" "publishedAt": "2026-05-27T12:30:35.530Z"
}, },
"@bytelyst/monitoring": { "@bytelyst/monitoring": {
"version": "0.1.6", "version": "0.1.6",
@ -225,9 +225,9 @@
"publishedAt": "2026-05-27T08:44:23.510Z" "publishedAt": "2026-05-27T08:44:23.510Z"
}, },
"@bytelyst/platform-client": { "@bytelyst/platform-client": {
"version": "0.1.6", "version": "0.1.7",
"contentHash": "a5d90ea537a55ea295d5c9933f4ccab2b152d57666db623f7e6bcc11f403025a", "contentHash": "dae7e33a55bc0a6e58567e8a1371c2d177c9f3584258864fc969425d93bdef22",
"publishedAt": "2026-05-27T08:44:24.997Z" "publishedAt": "2026-05-27T12:30:36.621Z"
}, },
"@bytelyst/push": { "@bytelyst/push": {
"version": "0.1.6", "version": "0.1.6",
@ -300,9 +300,9 @@
"publishedAt": "2026-05-27T08:44:46.061Z" "publishedAt": "2026-05-27T08:44:46.061Z"
}, },
"@bytelyst/ui": { "@bytelyst/ui": {
"version": "0.1.10", "version": "0.1.11",
"contentHash": "b8266af2e01335421f3b7c9121d404445791a360ebc8bc005151054cfbff0ebd", "contentHash": "79ec3ea41214698a8c0506eaa848451762fd2f8ed90d28ceb6f76d8f9f9a9bb2",
"publishedAt": "2026-05-27T08:44:47.749Z" "publishedAt": "2026-05-27T12:30:38.029Z"
}, },
"@bytelyst/use-keyboard-shortcuts": { "@bytelyst/use-keyboard-shortcuts": {
"version": "0.1.7", "version": "0.1.7",

View File

@ -253,7 +253,7 @@ for pkg_json in "$PACKAGES_DIR"/*/package.json; do
# Skip native SDKs # Skip native SDKs
if echo "$SKIP_DIRS" | grep -qw "$dir_name"; then if echo "$SKIP_DIRS" | grep -qw "$dir_name"; then
((skipped++)); continue ((++skipped)); continue
fi fi
pkg_name="$(pkg_field name "$pkg_json")" pkg_name="$(pkg_field name "$pkg_json")"
@ -262,7 +262,7 @@ for pkg_json in "$PACKAGES_DIR"/*/package.json; do
# Skip private packages # Skip private packages
private_flag="$(pkg_field private "$pkg_json")" private_flag="$(pkg_field private "$pkg_json")"
if [ "$private_flag" = "true" ]; then if [ "$private_flag" = "true" ]; then
((skipped++)); continue ((++skipped)); continue
fi fi
# Apply filter # Apply filter
@ -273,7 +273,7 @@ for pkg_json in "$PACKAGES_DIR"/*/package.json; do
# Must have built output # Must have built output
if [ ! -d "$pkg_dir/dist" ] && [ ! -d "$pkg_dir/generated" ]; then if [ ! -d "$pkg_dir/dist" ] && [ ! -d "$pkg_dir/generated" ]; then
echo " SKIP (no dist/): $pkg_name" echo " SKIP (no dist/): $pkg_name"
((skipped++)); continue ((++skipped)); continue
fi fi
# Pack locally (single pack — reused for publish if needed) # Pack locally (single pack — reused for publish if needed)
@ -283,12 +283,12 @@ for pkg_json in "$PACKAGES_DIR"/*/package.json; do
if ! (cd "$pkg_dir" && pnpm pack --pack-destination "$pack_dir" >/dev/null 2>&1); then if ! (cd "$pkg_dir" && pnpm pack --pack-destination "$pack_dir" >/dev/null 2>&1); then
echo " ERROR (pack): $pkg_name" echo " ERROR (pack): $pkg_name"
((errors++)); continue ((++errors)); continue
fi fi
local_tgz="$(find "$pack_dir" -maxdepth 1 -name '*.tgz' | head -1)" local_tgz="$(find "$pack_dir" -maxdepth 1 -name '*.tgz' | head -1)"
if [ -z "$local_tgz" ]; then if [ -z "$local_tgz" ]; then
echo " ERROR (no tgz): $pkg_name" echo " ERROR (no tgz): $pkg_name"
((errors++)); continue ((++errors)); continue
fi fi
# Extract for content hashing (keep around for publish) # Extract for content hashing (keep around for publish)
@ -300,7 +300,7 @@ for pkg_json in "$PACKAGES_DIR"/*/package.json; do
if [ "$local_hash" = "$manifest_hash" ]; then if [ "$local_hash" = "$manifest_hash" ]; then
echo " UP-TO-DATE: $pkg_name@$pkg_version" echo " UP-TO-DATE: $pkg_name@$pkg_version"
((up_to_date++)) ((++up_to_date))
rm -rf "$pack_dir" # free disk rm -rf "$pack_dir" # free disk
else else
if [ -z "$manifest_hash" ]; then if [ -z "$manifest_hash" ]; then
@ -311,7 +311,7 @@ for pkg_json in "$PACKAGES_DIR"/*/package.json; do
outdated_dirs+=("$pkg_dir") outdated_dirs+=("$pkg_dir")
outdated_names+=("$pkg_name") outdated_names+=("$pkg_name")
outdated_hashes+=("$local_hash") outdated_hashes+=("$local_hash")
((changed++)) ((++changed))
fi fi
done done
@ -449,20 +449,20 @@ for i in "${!outdated_dirs[@]}"; do
if grep -q '"workspace:' "$pack_dir/extracted/package/package.json"; then if grep -q '"workspace:' "$pack_dir/extracted/package/package.json"; then
echo " ERROR: workspace: ref survived rewriter in $pkg_name (F16 guard)" echo " ERROR: workspace: ref survived rewriter in $pkg_name (F16 guard)"
grep -n '"workspace:' "$pack_dir/extracted/package/package.json" | head -5 grep -n '"workspace:' "$pack_dir/extracted/package/package.json" | head -5
((pub_errors++)); continue ((++pub_errors)); continue
fi fi
# Repack with npm (from already-extracted content — no second pnpm pack) # Repack with npm (from already-extracted content — no second pnpm pack)
rm -f "$pack_dir"/*.tgz rm -f "$pack_dir"/*.tgz
if ! (cd "$pack_dir/extracted/package" && npm pack --pack-destination "$pack_dir" >/dev/null 2>&1); then if ! (cd "$pack_dir/extracted/package" && npm pack --pack-destination "$pack_dir" >/dev/null 2>&1); then
echo " ERROR: npm repack failed" echo " ERROR: npm repack failed"
((pub_errors++)); continue ((++pub_errors)); continue
fi fi
final_tgz="$(find "$pack_dir" -maxdepth 1 -name '*.tgz' | head -1)" final_tgz="$(find "$pack_dir" -maxdepth 1 -name '*.tgz' | head -1)"
if [ -z "$final_tgz" ]; then if [ -z "$final_tgz" ]; then
echo " ERROR: no tarball after repack" echo " ERROR: no tarball after repack"
((pub_errors++)); continue ((++pub_errors)); continue
fi fi
# Publish # Publish
@ -472,10 +472,10 @@ for i in "${!outdated_dirs[@]}"; do
--userconfig "$NPMRC_FILE" 2>&1; then --userconfig "$NPMRC_FILE" 2>&1; then
echo " Published $pkg_name@$pkg_version" echo " Published $pkg_name@$pkg_version"
manifest_set "$pkg_name" "$pkg_version" "$local_hash" manifest_set "$pkg_name" "$pkg_version" "$local_hash"
((published++)) ((++published))
else else
echo " FAILED to publish $pkg_name@$pkg_version" echo " FAILED to publish $pkg_name@$pkg_version"
((pub_errors++)) ((++pub_errors))
fi fi
# Free disk # Free disk