From 71a2a1e52c02d2fa6df2a4d5f5e808e17fe07221 Mon Sep 17 00:00:00 2001 From: tegwick Date: Sat, 3 Oct 2026 00:53:03 +0200 Subject: [PATCH] release 1.0.1: publish as @coulomb/testdrive-jsui to the coulomb Forgejo npm registry Scoped name, publishConfig.registry, secret-free .npmrc (token from NPM_AUTH_TOKEN env), changelog (1.0.0 tagged but never published), install docs without public-CDN claims, consumer smoke uses the package name. Co-Authored-By: Claude Sonnet 5.5 Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 299063@bnt-lap001 Assistant-Session: 53eb1e1c-c13a-4277-9ce2-3702960d93f7 --- .npmrc | 5 +++++ ARCHITECTURE.md | 15 ++++++--------- CHANGELOG.md | 9 ++++++++- NPM_PUBLICATION_PLAN.md | 2 ++ package-lock.json | 8 ++++---- package.json | 7 +++++-- scripts/consumer-smoke.sh | 7 ++++--- 7 files changed, 34 insertions(+), 19 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..ef16b6c --- /dev/null +++ b/.npmrc @@ -0,0 +1,5 @@ +# Scope -> coulomb Forgejo npm registry. The token is read from the environment +# (NPM_AUTH_TOKEN, injected by `secrets-engine exec --catalog --` or +# `warden access`); never write a token into this file. +@coulomb:registry=https://forgejo.coulomb.social/api/packages/coulomb/npm/ +//forgejo.coulomb.social/api/packages/coulomb/npm/:_authToken=${NPM_AUTH_TOKEN} diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index c099b52..3985174 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -198,22 +198,19 @@ String html = adapter.generateHtml(markdown, "edit", config); ## 📦 Distribution Models -### Model 1: CDN (Simplest) +### Model 1: Self-hosted file (simplest) -```html - - - -``` +Copy `dist/testdrive-jsui.min.js` and `dist/testdrive-jsui.css` from the package (or a release build) next to your page and load them with `