Newer Version Available
Create and Update a Second-Generation Managed Package
To create a package, change to the project directory in the CLI. The package name you enter becomes the package alias, and is automatically added to the project file. You can choose to designate an active Dev Hub org user to receive email notifications for Apex gacks, and install, upgrade, or uninstall failures associated with your packages. For definitions of each parameter shown here, see sf package create in the Salesforce CLI Reference Guide.
The package details you supply when you create a package are automatically added to your sfdx-project.json project configuration file.
Package Size Limit
A second-generation managed package can include up to 10,000 metadata files.