daml/language-support/js
gleber aa70c7f64e
Enforce consistent formatting of BUILD files. (#412)
* Add buildifier targets.

The tool allows to check and format BUILD files in the repo.

To check if files are well formatted, run:

    bazel run //:buildifier

To fix badly-formatted files run:

    bazel run //:buildifier-fix

* Cleanup dade-copyright-headers formatting.

* Fix dade-copyright-headers on files with just the copyright.

* Run buildifier automatically on CI via 'fmt.sh'.

* Reformat all BUILD files with buildifier.

Excludes autogenerated Bazel files.
2019-04-12 13:10:16 +02:00
..
daml-codegen Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
daml-grpc Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
daml-ledger Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
docs Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
BUILD Enforce consistent formatting of BUILD files. (#412) 2019-04-12 13:10:16 +02:00
codegen.sh open-sourcing daml 2019-04-04 09:33:38 +01:00
install.sh Map Protobuf's 64 bit integers to strings in JS (#324) 2019-04-09 15:19:32 +02:00
README.md Document IDE support for language-support/js 2019-04-05 14:00:33 +11:00

language-support/js

Official DAML Ledger API support for JavaScript and TypeScript on the Node.js platform.


WARNING: The support is currently shipped as an EXPERIMENTAL feature.


Prepare the development environment

As with the rest of the repository, Bazel is used as a build system.

The build rules currently used have Bazel managing the dependencies centrally throughout the repository.

The following step is optional but it enables IDEs and editors to pick up the dependencies between packages within this project; in order to build the modules locally and install them in the node_modules directory of each package, run the install.sh script:

language-support/js/install.sh

Re-run the script every time you make a change that affects other projects (e.g.: something changes in daml-grpc that needs to be picked up by daml-ledger).