🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

oink0

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oink0

A smart linker for Mediatool repository

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Oink

Oink links a local package into another project so you can test changes without publishing. Full docs: https://olchyk98.github.io/mt-linking/.

Why Oink

  • Links packages in place; no manual copying.
  • Detects common build setups and moves the outputs for you.
  • Saves learned packages under ~/.config/oink/link/.
  • Optional live reload keeps things in sync while you edit.

Quick Start

  • Install: pnpm install -g oink0.
  • In the source package run oink learn.
  • In the consumer run oink (--livereload streams updates).

Daily Use

  • Learn once; run oink in any consumer and it reuses the saved setup.
  • Each run reads package.json, builds if needed, and copies the output folders.
  • Reset with oink forget to clear saved packages.

Package Detection

Oink spots common layouts and copies their outputs plus package.json:

  • Transpiled bundle (rollup.config.mjs): dist, web, lib
  • Build script bundle (build script only): dist, web, lib
  • Amend + web (amend, lib, and web/dist): amend, boundaries, lib, dist, web
  • Amend native (amend + lib): amend, boundaries, lib
  • Makefile (Makefile present): dist, web, lib
  • Source only (src or lib): src, lib

Flags

  • --livereload watches the source package, skips .gitignore, and relinks after 200 ms.
  • --debounce <ms> sets a different watch delay.
  • --reprompt reopens the package picker after each run.

Contributing

Open an issue for bugs or ideas. Pull requests are by discussion only.

Created by Oles Odynets, 2025.

FAQs

Package last updated on 02 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts