Jacdac TypeScript library
Перейти к файлу
peli 1f189c4c53 more flag twidling 2020-06-28 08:21:48 -07:00
.github/workflows gh from master only 2020-06-27 22:15:06 -07:00
docs patch: support for global identifiers 2020-06-28 00:36:39 -07:00
service more flag twidling 2020-06-28 08:21:48 -07:00
src updated bindinds 2020-06-28 08:04:41 -07:00
test renaming files 2020-06-22 18:34:29 -07:00
tools patch: always patch tools on distdocs 2020-06-26 07:08:19 -07:00
.gitignore attempt at publishing to npm 2020-06-23 06:56:16 -07:00
.npm-ignore removing typedoc 2020-06-22 20:25:16 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-06-22 06:24:26 -07:00
LICENSE Initial LICENSE commit 2020-06-22 06:24:27 -07:00
README.md updated readme 2020-06-26 10:05:48 -07:00
SECURITY.md Initial SECURITY.md commit 2020-06-22 06:24:29 -07:00
package-lock.json chore(release): 1.1.1 [skip ci] 2020-06-28 06:56:29 +00:00
package.json chore(release): 1.1.1 [skip ci] 2020-06-28 06:56:29 +00:00
rollup.config.ts fix build 2020-06-23 09:29:25 -07:00
tsconfig.json working on console 2020-06-23 22:35:37 -07:00
tslint.json patch: add lint to build 2020-06-22 16:31:52 -07:00

README.md

JACDAC TypeScript

This repository contains a TypeScript/JavaScript client library for the JACDAC protocol.

The rest of this page is for developers of the jacdac-ts library.

Developer setup

Setup

  • run npm install

Build watch

You can do npm run watch to watch/build bundles. Bundles are placed under the dist folder.

HTML tools

Launch a small web server and try all the tools under docs/static/tools/* at http://localhost:8080/docs/static/tools/console.html . These tools load the files under dist so you'll want to also run watch on the side.

npm run tools

Gatsby build

Launch the gatsbdy develop mode and navigate to http://localhost:8000 . This build does not require to load dist as the library is compiled directly into the web site.

npm run docs

Commits create releases

The releases are automatically created by the build system based on the title of the commit:

  • patch|fix:... patch
  • minor:feature:... minor

NPM scripts

  • npm run watch: Run npm run build in watch mode
  • npm run lint: Lints code
  • npm run docs: Launch docs web service

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.