Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start a nupm package registry #68

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions registry.nuon
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Registry is a NUON file that tells nupm where to look for packages
#
# Currently, these package types are supported:
# * git ..... package is an online git repository
# * local ... package is on a local filesystem
#
# The package type defines the columns of the registry record. Each column holds
# holds a table of packages.
#
# Git packages accept the following columns:
# * name ....... name of the package
# * version .... version of the package
# * url ........ Git URL of the package
# * revision ... Git revision to check out when installing the package (commit
# hash, version, branch name, ...)
# * path ....... Path relative to the repository root where to look for nupm.nuon
#
# Local packages accept the following columns:
# * name ....... name of the package
# * version .... version of the package
# * path ....... Path where to look for nupm.nuon. It can be absolute, or
# relative. If relative, then relative to the registry file.
#
# One registry can contain packages with the same name, but they must be of
# different version.

{
git: [
[name version url revision path];
[
nu-git-manager
0.5.0
https://github.com/amtoine/nu-git-manager.git
0.5.0
pkgs/nu-git-manager
]

[
nu-git-manager-sugar
0.5.0
https://github.com/amtoine/nu-git-manager.git
0.5.0
pkgs/nu-git-manager-sugar
]
]
}
Loading