Newer Version Available
Generate a Package Version
Before you create a package version, first verify package details, such as the package name, dependencies, and major, minor, and patch version numbers, in the sfdx-project.json file. Verify that the metadata you want to change or add in the new package version is located in the package’s main directory.
How Many Package Versions Can I Create Per Day?
Run this command to see how many package versions you can create per day and how many you have remaining.
Look for the Package2VersionCreates entry.
Create a Package Version
Create the package version with this command. Specify the package alias or ID (0Ho). You can also include a scratch definition file that contains a list of features and setting that the metadata of the package version depends on.
It can be a long-running process to create a package version, depending on the package size and other variables. You can easily view the status and monitor progress.
The output shows details about the request.
You can find the request ID (08c) in the initial output of force:package:version:create.
Depending on the size of the package and other variables, the create request can take several minutes. When you have more than one pending request to create package versions, you can view a list of all requests with this command.
Details for each request display as shown here (IDs and labels truncated).
Skip Validation to Quickly Iterate Package Development
Iterate package development more efficiently by skipping validation of dependencies, package ancestors, and metadata during package version creation. Skipping validation reduces the time it takes to create a new package version, but you can promote only validated package versions to the released state.
In Tooling API, use the SkipValidation field on the Package2VersionCreateRequest object.