release: @johanleroy/git-arboretum 1.0.0 — publication sur le registre Gitea
Some checks failed
CI / Build & test (Node 22) (push) Successful in 9m42s
CI / Build & test (Node 24) (push) Successful in 9m41s
CI / Pack & boot smoke (Node 22) (push) Has been cancelled
Release / Publish to Gitea npm registry (push) Successful in 9m37s

- renomme le paquet en @johanleroy/git-arboretum (scope routé vers le registre npm Gitea privé)
- embarque @arboretum/shared via bundleDependencies (scripts/vendor-shared.mjs au prepack)
- joint README/LICENSE au tarball (scripts/copy-meta.mjs) + metadata, keywords, publishConfig
- CI pack-smoke en mono-tarball avec assertion bundleDep ; nouveau workflow release.yml (publish sur tag v*)
- version 1.0.0 ; README mis à jour (install scopé + service systemd)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Johan LEROY
2026-06-17 13:53:30 +02:00
parent 416e5577cb
commit c78571af07
10 changed files with 228 additions and 21 deletions

View File

@@ -41,14 +41,21 @@ jobs:
cache: npm
- run: npm ci
- run: npm run build
# @arboretum/shared est une dépendance runtime non publiée : on packe les
# deux tarballs et on les installe ensemble dans un projet vierge.
- name: Pack tarballs
# @arboretum/shared (dépendance runtime non publiée) est embarquée dans le tarball
# via bundleDependencies (matérialisée au prepack). On packe donc UN SEUL tarball
# et on l'installe seul, comme un vrai consommateur depuis le registre.
- name: Pack tarball
run: |
mkdir -p /tmp/tarballs
npm pack -w @arboretum/shared -w git-arboretum --pack-destination /tmp/tarballs
npm pack -w @johanleroy/git-arboretum --pack-destination /tmp/tarballs
ls -l /tmp/tarballs
- name: Install tarballs in an empty project
- name: Assert @arboretum/shared is bundled in the tarball
run: |
tgz=$(ls /tmp/tarballs/*.tgz)
tar -tzf "$tgz" | grep -q 'node_modules/@arboretum/shared/dist/index.js' \
|| { echo "ERREUR: @arboretum/shared non embarqué dans $tgz"; exit 1; }
echo "OK: bundleDependency @arboretum/shared présente dans $tgz"
- name: Install tarball in an empty project
run: |
mkdir /tmp/smoke
cd /tmp/smoke