1.1.4 • Published 23 days ago

hoist-modules v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
23 days ago

hoist-modules

A small program to dedup Node.js modules and hoist them up to the root node_modules directory.

This module fixes a problem in the build process for Data-Forge Notebook. Using pnpm produces symbolic links to shared modules between packages in a workspace. Unfortunately this messes up the Electron build because it converts the symbolic links to duplicate modules.

Click here to support my work.

Usage

Globally instaled:

npm install -g hoist-modules
hoist-modules <root-node_modules-directory> <target-dir> [--force]

Installed in your project:

cd my-project
npm install --dev hoist-modules
npx hoist-modules <root-node_modules-directory> <target-dir> [--force]

Run it for development

Setup:

cd hoist-modules
npm install

Run it:

npm run start -- <root-node_modules-directory> <target-dir> -- --force

Or run it with live reload:

npm run dev -- <root-node_modules-directory> <target-dir> -- --force
1.1.4

23 days ago

1.1.1

7 months ago

1.1.0

7 months ago

1.1.3

7 months ago

1.1.2

7 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago