A Node.js HTTP client package for AgentBox CRM
Monorepo built with Turborepo.
-
Install or update nvm
nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. nvm works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL.
-
Open the shell and change to the
monorepo
workspace root directory.cd monorepo
-
Install and activate the indicated Node.js version in
.nvmrc
nvm install
-
Switch to the Node.js version specified in
.nvmrc
in the current shell. You should run this every time you open a new shell.nvm use node -v
-
To avoid running
nvm use
for each shell, you can set the system default Node.js version as indicated in the.nvmrc
. Run the following and restart your shellnvm alias default "$(<.nvmrc)"
-
Global install
Yarn
npm i -g yarn
-
Global install
Turborepo
yarn global add create-turbo
-
Install packages
yarn
-
Build
yarn build
-
To run the unit tests
yarn test