5.0.5 • Published 10 months ago
@onbbu/pkm v5.0.5
Plugin PKM for onbbu framework
This library provides a set of functions to interact with package manager and onbbu
Getting started
Installation
use npm to install this package in your application as follows
npm install @onbbu/pkm
pnpm install @onbbu/pkm
Example
import { Package } from '@onbbu/pkm'
const pkg = new Package(__dirname, 'PNPM', "https://example.com", "token")
await pkg.init()
await pkg.pull_latest_dependencie()
await pkg.build()
import { IPackageManager, set_registry } from '@onbbu/pkm'
set_registry({
registry: "https://npm.sarys.ar",
package_manager: IPackageManager.NPM
})
Troubleshooting
Log an issue at https://discord.gg/dfNxBGqw channel