3.0.0 • Published 2 years ago
@zettelooo/chrome-extension-server-shared v3.0.0
Zettel: Shared between Chrome Extension & Server
Shared implementations between Chrome Extension and Server.
Installation
$ npm install @zettelooo/chrome-extension-server-sharedDevelopment
Clone the repository locally:
$ git clone git@github.com:zettelooo/chrome-extension-server-shared.gitInstall the dependencies:
$ cd chrome-extension-server-shared
$ npm installIt'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 lPublication
Publish a new version of the NPM package:
- Push all the changes. The workspace needs to be cleaned.
- Make sure you're on
masterbranch.
$ npm version patch # / minor / major / any other valid semantic versionMisc
You can use the following NPM script to access Zettel Build Tools:
$ npm run bt -- <command> # e.g.: npm run bt - updateCopyright: Zettel, 2020-24