webdaemon
v35.0.2
Published
Web Daemon
Readme
Web Daemon Library
The source files in js and ts are re-exported in ./index.js which defines what
global classes and functions are available in the library.
The library contains both browser-side symbols such as BrowserApp and agent-side symbols
such as Lifecycle. Some symbols, such as Token, are used by both sides of an app.
Note the package.template.json (and the generated package.json if present) which show
the published files are ./dist and the main file is dist/index.js.
Build
The library is distributed using npm, as a single bundled Javascript file in dist/index.js.
Build the distributable library using the toplevel make npm target, optionally providing the
semantic version number:
make npm- Builds the library with version
0.0.0-timestamp - Useful for interim and development releases.
- Builds the library with version
VERSION=14.3.2 make npm- Builds the library with the given version number.
- Version must be
major.minor.patch, where themajor.minormust match the deployed tabserver version.
make npm_publish- Publishes the previously build library on
npmunder its version number.
- Publishes the previously build library on
Use npm view webdaemon to view published versions. It seems to take a minute or so to
reflect the latest published version sometimes.
Note that npm does not allow replacement of previously published versions, hence the use
of the special version 0.0.0-timestamp for dev and trial purposes.
