release: @johanleroy/git-arboretum 1.0.1
Some checks failed
CI / Build & test (Node 22) (push) Successful in 9m43s
CI / Build & test (Node 24) (push) Successful in 9m41s
Release / Publish to Gitea npm registry (push) Successful in 9m33s
CI / Pack & boot smoke (Node 22) (push) Failing after 4m56s

Republie pour rafraîchir le README embarqué (page du paquet) :
- doc d'install sans token (paquet public)
- README français + sélecteur de langue
- copy-meta réécrit le lien FR en absolu (page du paquet)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Johan LEROY
2026-06-17 14:32:28 +02:00
parent 6b343bcc4b
commit e2147e369b
3 changed files with 7 additions and 4 deletions

2
package-lock.json generated
View File

@@ -4960,7 +4960,7 @@
}, },
"packages/server": { "packages/server": {
"name": "@johanleroy/git-arboretum", "name": "@johanleroy/git-arboretum",
"version": "1.0.0", "version": "1.0.1",
"bundleDependencies": [ "bundleDependencies": [
"@arboretum/shared" "@arboretum/shared"
], ],

View File

@@ -1,6 +1,6 @@
{ {
"name": "@johanleroy/git-arboretum", "name": "@johanleroy/git-arboretum",
"version": "1.0.0", "version": "1.0.1",
"description": "Self-hosted web dashboard for git worktrees and the Claude Code sessions running on them", "description": "Self-hosted web dashboard for git worktrees and the Claude Code sessions running on them",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",

View File

@@ -15,9 +15,12 @@ const rootDir = join(serverDir, '..', '..');
const readmeSrc = join(rootDir, 'README.md'); const readmeSrc = join(rootDir, 'README.md');
if (existsSync(readmeSrc)) { if (existsSync(readmeSrc)) {
const rawBase = 'https://git.lidge.fr/johanleroy/arboretum/raw/branch/main/'; const rawBase = 'https://git.lidge.fr/johanleroy/arboretum/raw/branch/main/';
const readme = readFileSync(readmeSrc, 'utf8').replaceAll('src="brand/', `src="${rawBase}brand/`); const srcBase = 'https://git.lidge.fr/johanleroy/arboretum/src/branch/main/';
const readme = readFileSync(readmeSrc, 'utf8')
.replaceAll('src="brand/', `src="${rawBase}brand/`)
.replaceAll('href="README.fr.md"', `href="${srcBase}README.fr.md"`);
writeFileSync(join(serverDir, 'README.md'), readme); writeFileSync(join(serverDir, 'README.md'), readme);
console.log('copy-meta: README.md copié (chemins images réécrits en absolu)'); console.log('copy-meta: README.md copié (chemins images + lien FR réécrits en absolu)');
} else { } else {
console.error(`copy-meta: ${readmeSrc} introuvable`); console.error(`copy-meta: ${readmeSrc} introuvable`);
process.exit(1); process.exit(1);