Skip to content

Commit e85f09a

Browse files
committed
feat: Update composer.lock and add script for live registry updates
1 parent dd5eeae commit e85f09a

4 files changed

Lines changed: 78 additions & 34 deletions

File tree

composer.lock

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/views/filament/pages/whats-new.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<div
7878
class="flex items-center gap-2 font-mono text-xs text-gray-600 dark:text-gray-400 bg-white dark:bg-gray-900/60 border border-gray-200 dark:border-gray-700 rounded-lg px-3 py-2">
7979
<span class="text-gray-400 select-none">$</span>
80-
<span>git pull origin master --no-edit</span>
80+
<span>git pull origin master --no-edit && composer install --no-interaction</span>
8181
</div>
8282
<div
8383
class="flex items-center gap-2 font-mono text-xs text-gray-600 dark:text-gray-400 bg-white dark:bg-gray-900/60 border border-gray-200 dark:border-gray-700 rounded-lg px-3 py-2">

scripts/update-lock.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env bash
2+
# Generates a composer.lock using the live registry (composer.devso.me)
3+
# instead of the local path repositories.
4+
# Run this before committing composer.lock after releasing new package versions.
5+
6+
set -e
7+
8+
COMPOSER_JSON="composer.json"
9+
BACKUP="composer.json.local-backup"
10+
11+
echo "Switching to live repositories..."
12+
cp "$COMPOSER_JSON" "$BACKUP"
13+
14+
python3 -c "
15+
import json
16+
17+
with open('$COMPOSER_JSON') as f:
18+
data = json.load(f)
19+
20+
data['repositories'] = [
21+
{
22+
'type': 'composer',
23+
'url': 'https://composer.devso.me'
24+
}
25+
]
26+
27+
with open('$COMPOSER_JSON', 'w') as f:
28+
json.dump(data, f, indent=4)
29+
print('Done: repositories switched to live registry.')
30+
"
31+
32+
echo "Running composer update..."
33+
ddev composer update --no-interaction
34+
35+
echo "Restoring local composer.json..."
36+
mv "$BACKUP" "$COMPOSER_JSON"
37+
38+
echo ""
39+
echo "Done! composer.lock updated. You can now commit it."

storage/app/version.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
2-
"current": "3.0.2",
2+
"current": "3.0.3",
33
"changelog": {
4+
"3.0.3": {
5+
"title": "updated composer.lock and added version numbers to package composer.json files",
6+
"description": "Updated composer.lock with latest package versions and added explicit version numbers to each package's composer.json for better clarity and dependency management.",
7+
"released_at": "2026-06-19"
8+
},
49
"3.0.2": {
510
"title": "VSRO Compatibility & Item Name Translation",
611
"description": "Full VSRO server support for Monster Drops — no more SQL errors, item names now resolved via _ItemNameDesc just like the Items page.",

0 commit comments

Comments
 (0)