Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

local-package-link

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-package-link

Link external local packages into a project or monorepo

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
126
increased by53.66%
Maintainers
0
Weekly downloads
 
Created
Source

glcl

A simple utility to remove files and directories in a project directory based on a list of globs defined in a file.

Pre-requisites

  • Bun

Usage

Create a glob list file

At the root of your project, create a file named glob-list.clean and add the globs you want to use.

For example:

./node_modules
./packages/*/node_modules
./packages/*/dist*
./packages/*/_output

Then, using bunx run the following command:

bunx glcl

This will remove all files and directories that match the globs in the glob-list.clean file.

Customized glob file lists

You don't have to only use the default glob-list.clean file.

You can also use a custom glob file list by passing the file names as arguments:

bunx glcl -f glob-list.custom -f some-other-glob-list

This allows you to have multiple glob lists for different purposes.

Keywords

FAQs

Package last updated on 02 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc