Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pully

Package magnager for JSCore.

Installation

Using install script

This only works if pully is previously not installed.

/js web https://raw.githubusercontent.com/FabricCore/pully/refs/heads/master/installer.js

Using pully

If pully is not previously installed, use the install script.

/pully install pully

Require as Dependency

{
  "dependencies": {
    "pully": "0.1.0"
  }
}

Manual Install

  1. Download pully.
  2. Unzip file content to .minecraft/config/jscore/modules/pully/

The folder should look like this

.minecraft/config/jscore/
└── modules/
    └── pully/
        └── package.json

Commands

/pully install <package 1> <package 2> <package 3>

Install a package and its dependencies.

/pully uninstall <package 1> <package 2> <package 3>

Uninstall a package and its dependencies.

/pully update

Update all packages.

/pully aliases to /pully update

/pully clean

Removes undepended packages that are not installed explicitly.

Library Functions

pully.pullOne(pack: String, remote: String, print: boolean?) → boolean

Install one package (without installing additional dependencies).

  • pack is the name of the package as in package.json
  • remote is the URL to the zip file
  • print prints download start and installed messages if true, default: false.

pully.installed() → { Object }

Returns a list of all packages with their dependencies.

pully.fullDepTree() → { Object }

Returns a list of all packages, with their dependencies and dependents.

pully.repo(then: F)

where F: (repo: JSON)

Fetches package index from repository.

pully.repoBlocking() → JSON

Fetches package index from repository, blocking variant.

pully.remove(packs: [String], then: F, print: boolean?)

***where F: (success: boolean) Remove a list of packages.

  • Will result in a failure if removing a package result in a missing dependency.
  • print defaults to true.

pully.clean(then: F)

*where F: ()

Removes unused dependencies.

pully.pull(packs: [String], then: F)

where F: (changed: boolean)

Install a list of packages with their dependencies.

  • changed is true if at least 1 package is installed.

pully.updateAll(then: F)

where F: ()

Update all packages.

About

Package manager.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages