main
MartyPM Bridge runtime manifest, source, tests and showcase for 0.1.0 d2ae474

Publishing the SolidCraft bridge

Maintainer notes. Not shipped in the package.

Page: https://wiki.adom.inc/martypm/solidcraft-bridge (owner martypm). Keyword: solidcraft.

Develop

node test/run-tests.js                       # stand-in SolidCraft, no app needed
(cd dist/dev && python3 -m http.server 47391 --bind 127.0.0.1) &
scripts/dev-deploy.sh                        # install the working copy on this PC, pinned

The dev install remembers the localhost manifest URL. After publishing, reinstall from the wiki manifest (below) and unpin with bridge_dev_mode {"name":"solidcraft","on":false}.

Release

  1. Bump the version in bridge/bridge.json, bridge/package.json, package.json and page.json.
  2. node test/run-tests.js, then scripts/build-release.sh (writes dist/).
  3. Runtime: adom-wiki release create martypm/solidcraft-bridge --title "" --changelog "..." adom-wiki release upload martypm/solidcraft-bridge dist/solidcraft-bridge-v.zip --platform any then push dist/adom-bridge-solidcraft-manifest.json to the page files, and check the zip URL in it downloads without signing in.
  4. Skills: adom-wiki pkg publish (tarball: SKILL.md, README.md, package.json, install.sh, uninstall.sh only).
  5. Install from the wiki on the PC: adom-bridge bridge_install '{"manifestUrl":"https://wiki.adom.inc/api/v1/pages/martypm/solidcraft-bridge/files/adom-bridge-solidcraft-manifest.json"}'
  6. Open the page in pup and look at it before calling it done.