Repository navigation
MWS-wikiwise 0.7.2
MWS-wikiwise 0.7.2
2 commits since 0.7.1, 12 files, +359/−30.
A feature release for the SimpleWiki shell: it now reaches an existing store on
its own, and a new command applies it on demand.
Install
mkdir my-folder && cd my-folder
npm install https://github.com/heino17/MultiWikiServer-wikiwise/releases/download/v0.7.2/mws-wikiwise-0.7.2.tgz
npx mws init-data-folder
npx mws update-tiddlywiki
npx mws init-store
npx mws listen --listener
mws-wikiwise-0.7.2.tgz — 4,234,252 bytes
sha256 ba3c9c62bcc35fa3e30fc1db33258a3e0d70fa6bf3ab2f210215f21e25f67932
npx mws init-data-folder is not optional: the server only starts if the data
folder's package.json is named @tiddlywiki/mws-instance, is marked private
and carries a 0.2.x version.
Added
- The bundled SimpleWiki shell reaches the store on the next server start
(§137). When itsmws-shell-versionis newer than the store's newest SimpleWiki
release,listenwrites a new template release; the wikis adopt it through
their shell policy —notifyshows the owner the update hint,autofollows.
A start with nothing to do is a read-only no-op, and an equal or newer label in
the store is left alone, so a hand-edited template is not rolled back. update-simplewiki(§137) applies the bundled shell on demand, also
backwards, and reports the version move and the new release number.
Operating notes
- To update an existing installation, install the new tarball
(npm install .../v0.7.2/mws-wikiwise-0.7.2.tgz) —npm updatedoes not move
MWS. The next server start then carries the bundled SimpleWiki shell forward on
its own;npx mws update-simplewikidoes the same thing right away. - No migration, no new dependency.
Verified
npm run tsc2andnpm run buildare clean.templates/simplewiki.htmlinside the tarball reports
mws-shell-version v0.1.46, and the tarball'spackage.jsonsays0.7.2.- In the dev store: a fresh
init-store(v0.1.46) logs nothing on start; a
v0.1.45 shell is carried to v0.1.46 on start (a second start logs nothing); a
v0.1.99 shell is left alone (no downgrade);update-simplewikibrings it back
to v0.1.46.