How to specify the dependencies on other packages?
None. Specify the dependencies on other packages. To specify dependencies for managed packages within the same Dev Hub, use either the package version alias or a combination of the package name and the version number. You can use the LATEST keyword for the version number to set the dependency.
How to set dependencies in Salesforce DX developer guide?
To specify dependencies for managed packages within the same Dev Hub, use either the package version alias or a combination of the package name and the version number. You can use the LATEST keyword for the version number to set the dependency. The 0Ho ID if you specify the package ID along with the version number
How to install packages with dependencies in scratch?
Use this sample script as a basis to create your own script to install packages with dependencies. This script contains a query that finds dependent packages and installs them in the correct dependency order. Be sure to replace the package version ID and scratch org user name with your own specific details.
How to set default package directory in Salesforce?
If you don’t specify a path, the Salesforce CLI uses a placeholder when you create a package. Indicates the default package directory. Use the force:source:pull command to copy metadata from your scratch org to your default package directory. There can be only one package directory in which the default is set to true.
How to find dependencies in a npm package?
When you (or another user) run npm install, npm will download dependencies and devDependencies that are listed in package.json that meet the semantic version requirements listed for each. To see which versions of a package will be installed, use the semver calculator. “dependencies”: Packages required by your application in production.
How to add dependencies to a package.json file?
To add an entry to the “dependencies” attribute of a package.json file, on the command line, run the following command: To add an entry to the “devDependencies” attribute of a package.json file, on the command line, run the following command: