@damienmortini/globlink
v0.0.14
Published
npm link all packages matching an array of glob patterns
Downloads
135
Readme
Glob Link
npm link
all packages matching an array of glob patterns
⚠️ To be able to link packages, they should be added to the list of linkable packages locally. See npm link for more information.
If you are working in a monorepo with workspaces you can use npm link --workspaces
to link all workspaces in one go.
Command Line
globlink [globpatterns]
Example
globlink @my-scope/* @another-scope/* packageprefix-* a-single-package ...
API
globLink(globPatterns:String[]) // Returns a promise
Example
import { globLink } from '@damienmortini/globlink'
await globLink([
'my-package',
'@my-scope/*'
'@my-scope2/*'
])