https://github.com/forcedotcom/packaging
https://github.com/forcedotcom/packaging
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/forcedotcom/packaging
- Owner: forcedotcom
- License: apache-2.0
- Created: 2022-06-07T15:02:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-30T16:10:46.000Z (3 months ago)
- Last Synced: 2026-04-02T07:38:09.764Z (3 months ago)
- Language: TypeScript
- Size: 26.1 MB
- Stars: 16
- Watchers: 10
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Salesforce Packaging
[](https://www.npmjs.com/package/@salesforce/packaging) [](https://npmjs.org/package/@salesforce/packaging) [](https://opensource.org/license/apache-2-0)
## Description
A TypeScript library for packaging metadata in your Salesforce project. This library supports both First-Generation packaging (1GP) and Second-Generation packaging (2GP).
## Usage
There are 4 main classes to use from this library:
1. [Package1Version](https://forcedotcom.github.io/packaging/classes/package1_package1Version.Package1Version.html) - Work with 1st generation package versions.
1. [Package](https://forcedotcom.github.io/packaging/classes/package_package.Package.html) - Work with 2nd generation packages.
1. [PackageVersion](https://forcedotcom.github.io/packaging/classes/package_packageVersion.PackageVersion.html) - Work with 2nd generation package versions.
1. [SubscriberPackageVersion](https://forcedotcom.github.io/packaging/classes/package_subscriberPackageVersion.SubscriberPackageVersion.html) - Work with 2nd generation subscriber package versions.
Please reference the [API Documentation](https://forcedotcom.github.io/packaging/) for complete details of code and types.
## Contributing
If you are interested in contributing, please take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.