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 `