In this chapter, you will learn about defining and constants and utility functions which we will frequently use throughout the project. Estimated time: ~10 minutes
First, navigate to the root of the directory/monorepo and run bun install to install all the dependencies.
Now, navigate to make a lib folder inside packages/cliwith the files constants.ts and utils.ts and navigate to it:
mkdir -p packages/cli/lib
touch packages/cli/lib/constants.ts packages/cli/lib/utils.ts
cd packages/cli/lib
constants.ts will contain the constants we use throughout the project with utils.ts will contain the necessary utility functions.