Skip to content

hexalang/Hexa-Packages

Repository files navigation

packages

Build status

Hexa package manager is a tool for easy code sharing between developers. This repo contains list of freely downloadable packages. Add yours!

Package manager is a part of Hexa compiler, go grab one.

If you're looking for IDE packages visit this link

How to use package manager: Package manager in book

Preview online: https://hexalang.github.io/packages/

List: https://hexalang.github.io/packages/packages.json

Discuss with community

Adding your package

Open _includes/packages.json and click on "Edit this file" button:

Edit this file

This will create your own copy of the packages repository.

Edit packages structure:

Add new {} JSON object to the array of packages.json with at least this contents:

  • name - name of the package, for example my-good-package
  • url - address of github repo, for example https://github.com/PeyTy/hexa-demo-package
  • description - short description of the package, like Random number generator

Finish editing:

Propose

Comparing

Create

Done

Well done! 🎉

Add initial release

You should add a release with v1.0.0 version tag to your package repo:

releases

create_release

publish_release

Verify that tag properly created:

verify_release

More information about how to create and manage your packages

Notes

  • Version numbers are vx.y.z, not vx.y neither any other format
  • Links to GitLab/etc should work, but not tested yet
  • packages.json file in a root folder just statically includes _includes/packages.json into itself via Jekyll website builder, so it's available online for any purpose