Skip to content
osstotalsoftPublic

Repository files navigation

jsbb

JavaScript building blocks for a better, safer, side-effect-free world.

"Sometimes, the elegant implementation is just a function. Not a method. Not a class. Not a framework. Just a function."

The blocks

Bootstrap

yarn install

Build

yarn lerna run build

Lint typescript definitions

yarn lerna run tslint

Test

yarn test

Publish

npm set //registry.npmjs.org/:_authToken=<your-granular-token>
yarn lerna publish patch --contents build -- --no-verify-access

OR

yarn lerna publish minor --contents build -- --no-verify-access

OR

yarn lerna publish major --contents build -- --no-verify-access

--contents build is required: each package is published from its build folder (the package root has no index.js and build is git-ignored).

If the publish fails after the version commit and tag were pushed, publish the versions that are not on npm yet:

yarn lerna publish from-package --contents build -- --no-verify-access

License

JSBB is licensed under the MIT license.

Contributing

When using Visual Studio Code please use the extension Licenser for applying the license header in files.

Releases

Packages

Used by

Contributors

Languages