@m-ld/m-ld v0.10.0
m-ld Javascript Engine
m-ld is a decentralised live information sharing component with a JSON-based API.
This repository is the code of the Javascript engine for m-ld, for node.js, modern browsers and other Javascript platforms. Typescript is supported and recommended.
ci & website
The project and documentation are built using typedoc, and delivered to the engine documentation website at https://js.m-ld.org/ using Vercel. This build includes unit testing.
work in progress
- Issues relating to this engine are logged on the Issues tab.
Contributions are welcome! Contributed work is governed according to a CAA, the GitHub Community Guidelines, and the privacy policy.
extensions
Plug-ins such as remotes implementations in this repository are structured as:
- Directories under
src - Entries in
package.json#exportslike"./ext/socket.io": "./ext/socket. io/index.js" - Dependencies in
package.json#peerDependenciesand markedoptionalinpackage.json#peerDependenciesMeta. Also inpackage.json#devDependenciesfor unit tests.
scripts
Scripts are run with npm.
- The
buildscript cleans, compiles, tests and generates documentation. - The
devscript compiles and unit tests, and watches for changes (usedev+logto see console output). - The
compliancescript runs spec compliance tests (long-running). - The
doc-devscript can be used afterbuildto create a local web server watching for documentation changes.
publishing (team only)
This project uses semantic versioning. There are two main branches.
- The
edgebranch is for pre-releases. Docs are delivered to edge.js.m-ld.org. A merge intoedgeshould be immediately followed by a pre-release if it affects versioned components. - The
masterbranch is for releases. Docs are delivered to js.m-ld.org. A merge intomastershould be immediately followed by a release if it affects versioned components.
Only the unit tests are included in the build. Prior to publish remember to run
the compliance tests script (ticket).
VERSION=? npm publish builds the project, increments the version as specified
with the VERSION variable (e.g. patch), pushes the code and publishes the
package. Ensure the repo is up-to-date and on master (release) or edge
(pre-release)
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago