Friday, September 22, 2023

Developer Notes

 

What is npm? 

npm is the default package manager for Node.js. It is used to implement developer tools and command line tools for Salesforce projects. npm command line is generally used with developer tools to perform code linting/formatting and unit testing. Installing Node.js will install the npm

npm consist of three different components : 

  • Website - is for managing public and private packages
  • Command line Interface - runs in terminal
  • Registry - database of JavaScript software

Learn more about npm here : https://docs.npmjs.com/about-npm


sfdx-project.json : is a Salesforce project config file

            - Info about the package is bundled in this file. The API version name/number, login Url and other package details are included here.