rlsbl 0.0.1 → 0.1.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/LICENSE +21 -0
- package/README.md +155 -0
- package/bin/cli.js +16 -0
- package/package.json +22 -3
- package/rlsbl/__init__.py +174 -1
- package/rlsbl/__main__.py +4 -0
- package/rlsbl/commands/__init__.py +0 -0
- package/rlsbl/commands/check_name.py +184 -0
- package/rlsbl/commands/init_cmd.py +321 -0
- package/rlsbl/commands/release.py +179 -0
- package/rlsbl/commands/status.py +76 -0
- package/rlsbl/registries/__init__.py +5 -0
- package/rlsbl/registries/npm.py +120 -0
- package/rlsbl/registries/pypi.py +172 -0
- package/rlsbl/utils.py +124 -0
- package/templates/npm/ci.yml.tpl +22 -0
- package/templates/npm/publish.yml.tpl +22 -0
- package/templates/pypi/ci.yml.tpl +20 -0
- package/templates/pypi/publish.yml.tpl +18 -0
- package/templates/shared/CHANGELOG.md.tpl +5 -0
- package/templates/shared/CLAUDE.md.tpl +20 -0
- package/templates/shared/LICENSE.tpl +21 -0
- package/templates/shared/check-prs.sh.tpl +10 -0
- package/templates/shared/claude-settings.json.tpl +15 -0
- package/templates/shared/gitignore.tpl +13 -0
- package/templates/shared/pre-push-hook.sh.tpl +42 -0
- package/templates/shared/pre-release.sh.tpl +13 -0
- package/templates/shared/record-gif.sh.tpl +34 -0
- package/pyproject.toml +0 -11
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Record a demo GIF for README. Requires: vhs (https://github.com/charmbracelet/vhs).
|
|
3
|
+
# Usage: ./scripts/record-gif.sh [duration_seconds]
|
|
4
|
+
set -euo pipefail
|
|
5
|
+
|
|
6
|
+
DURATION="${1:-10}"
|
|
7
|
+
ASSETS_DIR="assets"
|
|
8
|
+
|
|
9
|
+
mkdir -p "$ASSETS_DIR"
|
|
10
|
+
|
|
11
|
+
if ! command -v vhs &>/dev/null; then
|
|
12
|
+
echo "Error: vhs is required."
|
|
13
|
+
echo "Install: go install github.com/charmbracelet/vhs@latest"
|
|
14
|
+
exit 1
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
TAPE=$(mktemp /tmp/record-XXXX.tape)
|
|
18
|
+
cat > "$TAPE" <<EOF
|
|
19
|
+
Set FontFamily "monospace"
|
|
20
|
+
Set FontSize 24
|
|
21
|
+
Set Width 1200
|
|
22
|
+
Set Height 600
|
|
23
|
+
Set TypingSpeed 50ms
|
|
24
|
+
Type "{{binCommand}} --help"
|
|
25
|
+
Enter
|
|
26
|
+
Sleep 3s
|
|
27
|
+
EOF
|
|
28
|
+
|
|
29
|
+
echo "Recording demo..."
|
|
30
|
+
vhs "$TAPE" -o "$ASSETS_DIR/demo.gif"
|
|
31
|
+
rm -f "$TAPE"
|
|
32
|
+
|
|
33
|
+
echo "Done. GIF saved to $ASSETS_DIR/demo.gif"
|
|
34
|
+
echo "Edit this script to customize the recording."
|
package/pyproject.toml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "rlsbl"
|
|
3
|
-
version = "0.0.1"
|
|
4
|
-
description = "Release orchestration and project scaffolding for npm and PyPI"
|
|
5
|
-
license = "MIT"
|
|
6
|
-
authors = [{ name = "smm-h" }]
|
|
7
|
-
requires-python = ">=3.11"
|
|
8
|
-
|
|
9
|
-
[build-system]
|
|
10
|
-
requires = ["hatchling"]
|
|
11
|
-
build-backend = "hatchling.build"
|