An Interest In:
Web News this Week
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
August 22, 2021 11:16 pm GMT
Please leave your feedback!
Original Link: https://dev.to/pandademic/i-made-a-package-manager-23dc
I made a package manager!
I made a Package manager!
I made a package manager. It can download a package. It depends on simple ini files in a repository instead of package.json or anything else. Its entire production zip is less than 5kbs of space including docs and other things. It is written in ruby and depends on wget and Inifile to download and read the package files , respectively. feedback and pull requests (for packages) welcome!
REPO:
Pandademic / Latte
Latte package manager!
Latte
Latte is a Open source MIT licenced Package management system.It works by take the name of the package, finding its package.ini file and then getting the source code from the repo or the latest release zip/tar.gz.
Install
Prerequisites
- ruby 2.6 or higher
- latest files in the production branch
- wget
Actual Install
Linux:
- extract the file called latte(should be located in the dist folder of the source code) into your home directory
- in your ./bashrc or .zshrc or .fishrc put
sh alias latte ="ruby ~/latte"
- and you should be good to use commands!
Creating a package
steps:
- Fork this repo
- Make a new github repo and do your coding there
- Then in the Fork of packages folder create a packageName.ini where packageName is your packages name.Then look at the package_example.ini in the docs to format the package.ini
- Push your changes in the fork to a pull request
Please leave your feedback!
Original Link: https://dev.to/pandademic/i-made-a-package-manager-23dc
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To