2.6.0 • Published 9 months ago

@zettelooo/commons v2.6.0

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

Zettel: Commons

Common basic types and implementations to be used by any other project.

Installation

$ npm install @zettelooo/commons

Development

Clone the repository locally:

$ git clone git@github.com:zettelooo/commons.git

Install the dependencies:

$ cd commons
$ npm install

It's recommended to use VS Code to develop this project. You need to have Prettier and ESLint extensions to be installed on your IDE.

Linting will be called automatically before committing. Any linting error will abort the process. Therefore, you possibly need to lint the staged changes manualy before trying to commit them yourself and fix all the errors and as much as possible of warnings first.

Lint check before commit:

$ npm run bt -- lint-staged   # Alternatively:   $ npm run l

Publication

Publish a new version of the NPM package:

  • Push all the changes. The workspace needs to be cleaned.
  • Make sure you're on master branch.
$ npm version patch   # / minor / major / any other valid semantic version

Misc

You can use the following NPM script to access Zettel Build Tools:

$ npm run bt -- <command>   # e.g.: npm run bt - update

Copyright: Zettel, 2020-23

2.6.0

9 months ago

2.5.1

10 months ago

2.5.0

12 months ago

2.4.1

12 months ago