pack-workspace
Like pack
, but when ran in the monorepo root, will pack all packages in the
workspace, as denoted by the workspaces
field in package.json
.
package.json
{
"scripts": {
"pack": "packemon pack-workspace --addEngines --declaration",
"release": "yarn run pack && yarn publish"
}
}
Options
Supports all the same command line options as build-workspace
.