Skip to content

kc-workspace/kcws-js

Repository files navigation

Kamontat's Workspace for Js/Ts Ecosystem

This monorepo included libraries, tools, and helpers that will make my life easier.

Commit activity Quality gate Violations Tech debt Code coverage Mergify status

Prerequisite

  1. Run ./scripts/prerequisite.sh for checking current environment

Everyday command

Below is a list of command you usually use to develop this repository.

Install dependencies

rush install or rush update: The main different between install and update is the install won't update files and throw if files requires to update (more).

Build packages

rush rebuild or rush build: Rebuild will build every packages, however build will build only changed package.

Run package script

rushx <script_name>: This will provide better error report and ensure nodejs and pnpm version by rush.

Create git commit

rush commit: Create Git commit using commitizen configure as conventional syntax.

Create changesfile

Changesfile is a changelog entry which later will use to create CHANGELOG file and bump version (more)

rush change [--commit]: This will prompt to add changelog entry and version type to bump. Add --commit to git commit as well.

Check & Update dependencies

rush upgrade [--interactive]: Upgrade all outdated dependencies or select via prompt using --interactive option. powered by npm-check-updates