2.0.5 • Published 9 months ago
@npmversion/workspace v2.0.5
@npmversion/workspace
This package deals with NPM packages for the tool
Usage
Method updatePackageVersion
It will update the package version in the package.json
from the current context.
It will also update the NPM packages declared in the package.json
.
It allows the following parameters:
- packageVersion (
string
): required parameter. - cwd (
string
): required parameter.
Method computeWorkspace
It will read the NPM packages declared in the package.json
and returns an appropriate Workspace model
It allows the following parameters:
- cwd (
string
): required parameter.
Commands
npm run dev:linting
: Lint filesnpm test
: Run testsnpm run test:coverage
: Run tests and see coverage reports