JS/TS Peer for the Fluence p2p network
Go to file
Anatolios Laskaris 63a3579ee6
chore: Add release-please (#240)
* Add release-please

* Fix

* Fix ci.js

* Rename fluence-js

* Run pnpm i

* Fix

* Update workflows

* Fix
2023-02-15 16:45:04 +02:00
.github chore: Add release-please (#240) 2023-02-15 16:45:04 +02:00
packages fix: NodeJS package building (#248) 2023-02-15 16:56:42 +03:00
.editorconfig Turn on noImplicitAny and strictNullChecks (#153) 2022-05-12 17:14:16 +03:00
.gitignore chore(deps): bump fluence-js to 0.27.0, avm: 0.31.11 (#199) 2022-11-01 20:00:17 +04:00
.npmrc feat!: Standalone web JS Client (#243) 2023-02-13 21:41:35 +07:00
.prettierrc.cjs feat!: Standalone web JS Client (#243) 2023-02-13 21:41:35 +07:00
ci.js chore: Add release-please (#240) 2023-02-15 16:45:04 +02:00
CONTRIBUTING.md Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
LICENSE Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
package.json feat!: Expose updated JS Client API via js-client.api package (#246) 2023-02-15 03:00:42 +03:00
pnpm-lock.yaml fix: NodeJS package building (#248) 2023-02-15 16:56:42 +03:00
pnpm-workspace.yaml chore: Add release-please (#240) 2023-02-15 16:45:04 +02:00
README.md feat!: Standalone web JS Client (#243) 2023-02-13 21:41:35 +07:00
tsconfig.json feat!: Standalone web JS Client (#243) 2023-02-13 21:41:35 +07:00

Fluence JS

npm

Official TypeScript implementation of the Fluence Peer.

Getting started

To start developing applications with Fluence JS refer to the official documentation

Contributing

While the project is still in the early stages of development, you are welcome to track progress and contribute. As the project is undergoing rapid changes, interested contributors should contact the team before embarking on larger pieces of work. All contributors should consult with and agree to our basic contributing rules.

Setting up dev environment

Fluence JS uses pnpm to manage monorepo packages. See pnpm.io for installation instructions.

Install dependencies

pnpm install

Build all packages

pnpm -r build

Running tests

Tests are split into unit and integration categories. By default integration tests require a locally running Fluence node with 4310 port open for ws connections. The dependency can be started with docker

 docker run --rm -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj

To run all tests

pnpm -r test

To run only unit tests

pnpm -r test:unit

To run only integration tests

pnpm -r test:integration

License

Apache 2.0