@damienmortini/glob-link
v0.0.20
Published
npm link all packages matching an array of glob patterns
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
glob-link [globpatterns]Example
glob-link @my-scope/* @another-scope/* packageprefix-* a-single-package ...API
globLink(globPatterns:String[]) // Returns a promiseExample
import { globLink } from '@damienmortini/glob-link'
await globLink([
'my-package',
'@my-scope/*'
'@my-scope2/*'
])