Welcome to our Package Management Documentation! This guide provides comprehensive information on creating and managing packages on our platform.
In this section, you'll learn how to create and upload a new package to our platform. Follow the steps below to get started:
Step 1: Preparation
Step 2: Upload Files
Step 3: Review and Submit
Before you start creating and uploading your package, you will need to make sure your package has all the necessary files within its directory. This is how your package's file structure should look:
higitusfigitus/
├── package.json
├── README.md
├── CHANGELOG.md
├── ... (Other Files and Folders)
Note: If you are unfamiliar with the package.json file, this file contains all of your package's information, name, version etc. More information about this can be found on the package.json documentation page.
Both of these files can contain Markdown content. Your README content is shown on the overview page of your package, and the CHANGELOG content can be viewed per version. More information about the documentation files can be found here.
To upload your package files and assets, follow these steps:
After uploading your package files, it's essential to review and submit your package for approval:
Handling versions of your package is pretty straightforward, but it's crucial to ensure continuity and consistency for your package's users. Below is the process for uploading a new version of your existing package:
Step 1: Preparation
package.json
, are updated for the new version.Step 2: Uploading the New Version
Step 3: Review and Submit Version
The foundation for any version update starts with updating your files:
package.json
: Ensure that the version number in your package.json
file reflects the new version. This number should, of course, be higher than the previous version.package.json
file. This ensures continuity for your package across different versions.Adding a new version to an existing package is quite similar to adding a new package, just with a few tweaks:
After you've uploaded the new version's files, it's time for a final review: