Skip to content

MultiWikiServer-wikiwise v0.6.1

Choose a tag to compare

@heino17 heino17 released this 12 Oct 15:27
· 25 commits to main since this release

MultiWikiServer-wikiwise v0.6.1

3 commits since 0.6.0 · 14 files changed · +9144 / −215.

A small follow-up in the 0.6 line. A fresh installation now brings the
SimpleWiki template with it, so the one-click entry is there on day one; and
the READMEs no longer claim that npm update updates MWS.

Install

mkdir my-folder && cd my-folder
npm install https://github.com/heino17/MultiWikiServer-wikiwise/releases/download/v0.6.1/mws-wikiwise-0.6.1.tgz
npx mws init-data-folder
npx mws update-tiddlywiki
npx mws init-store
npx mws listen --listener

mws-wikiwise-0.6.1.tgz — 4,194,427 bytes

sha256  a08ab273277c2c3adf0d1aa38fcd6835fab65dae624c125674dd8c664d350db6

npx mws init-data-folder is not optional: MWS only starts if the data folder's
package.json is named @tiddlywiki/mws-instance, is marked private and
carries a 0.2.x version.

New

  • A fresh data folder already has the SimpleWiki template (§132).
    init-store provisions it from a templates/simplewiki.html that ships in
    the package, so the 1-click wiki creation as SimpleWiki entry is there on
    day one instead of having to be set up by hand with provision-simplewiki. It
    seeds the template only when it is absent — an existing store is left
    untouched, and provision-simplewiki stays the way to bring a newer shell in.

Fixed

  • The READMEs no longer claim that npm update updates MWS (§131). MWS is
    not on npm, the dependency is pinned to a tarball URL, so npm update does
    nothing. Both READMEs now name installing the new release tarball as the
    update path.

Operating notes

  • To update an existing installation, install the new tarball
    (npm install .../v0.6.1/mws-wikiwise-0.6.1.tgz) — npm update does not move
    MWS. An existing store keeps its current SimpleWiki template; run
    npx mws provision-simplewiki <simplewiki.html> to bring a newer shell in.
  • No migration and no new runtime dependency.

Verification

npm run tsc2 and npm run build are clean, the package contains
templates/simplewiki.html, and a scratch store (init-store) gets the
SimpleWiki template: release 1, v0.1.31, customHtmlEnabled, 1,311.1 kB of
content, ADMIN B_write + TEACHER A_read; a second run leaves it in place.
See the CHANGELOG §131 and §132.