@willbooster/wbfy 20.18.0 → 20.19.0
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/configs/applyReleaseAgeGate.sh +5 -0
- package/configs/releaseAgeGate.json +23 -1
- package/dist/index.js +101 -99
- package/package.json +2 -2
|
@@ -30,6 +30,11 @@ excludes=$(tr -d ' \n' < "$gateJsonPath" | sed -n 's/.*"excludes":\[\(.*\)].*/\1
|
|
|
30
30
|
# `minimumReleaseAge = 0`) or a silently shortened exclusion list while reporting success.
|
|
31
31
|
[ "$days" -gt 0 ] 2> /dev/null && [ -n "$excludes" ] ||
|
|
32
32
|
{ echo "$gateJsonPath is not a valid release-age gate." >&2; exit 1; }
|
|
33
|
+
# temporaryExcludes maps a package to the UTC date (YYYY-MM-DD) from which it is gated again; it must
|
|
34
|
+
# match bunfig.ts's filter so the global and repository configs agree.
|
|
35
|
+
temporaryExcludes=$(tr -d ' \n' < "$gateJsonPath" | sed -n 's/.*"temporaryExcludes":{\([^}]*\)}.*/\1/p' |
|
|
36
|
+
tr -d '"' | tr ',' '\n' | awk -F: -v today="$(date -u +%F)" '$2 > today { print $1 }')
|
|
37
|
+
[ -z "$temporaryExcludes" ] || excludes="$excludes"$'\n'"$temporaryExcludes"
|
|
33
38
|
|
|
34
39
|
emitHeader() {
|
|
35
40
|
[ -n "$1" ] && printf '%s\n' "$1"
|
|
@@ -52,5 +52,27 @@
|
|
|
52
52
|
"vinext-progress",
|
|
53
53
|
"wbfy",
|
|
54
54
|
"yarn-plugin-auto-install"
|
|
55
|
-
]
|
|
55
|
+
],
|
|
56
|
+
"temporaryExcludes": {
|
|
57
|
+
"@anthropic-ai/claude-agent-sdk": "2026-09-30",
|
|
58
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "2026-09-30",
|
|
59
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "2026-09-30",
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "2026-09-30",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "2026-09-30",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "2026-09-30",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "2026-09-30",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "2026-09-30",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "2026-09-30",
|
|
66
|
+
"@openai/codex-sdk": "2026-09-30",
|
|
67
|
+
"next": "2026-09-30",
|
|
68
|
+
"@next/env": "2026-09-30",
|
|
69
|
+
"@next/swc-darwin-arm64": "2026-09-30",
|
|
70
|
+
"@next/swc-darwin-x64": "2026-09-30",
|
|
71
|
+
"@next/swc-linux-arm64-gnu": "2026-09-30",
|
|
72
|
+
"@next/swc-linux-arm64-musl": "2026-09-30",
|
|
73
|
+
"@next/swc-linux-x64-gnu": "2026-09-30",
|
|
74
|
+
"@next/swc-linux-x64-musl": "2026-09-30",
|
|
75
|
+
"@next/swc-win32-arm64-msvc": "2026-09-30",
|
|
76
|
+
"@next/swc-win32-x64-msvc": "2026-09-30"
|
|
77
|
+
}
|
|
56
78
|
}
|