npm.io
14.4.3 • Published 12h agoCLI

@o3r/workspace

Licence
BSD-3-Clause
Version
14.4.3
Deps
7
Size
186 kB
Vulns
0
Weekly
0
Stars
57

Otter Workspace

Super cute Otter!

Description

Stable Version Bundle Size

This package is an Otter Framework Module providing tools at workspace level.

This packages provides several Schematics and CLIs used to accelerate the development and support maintenance of workspace's packages.

Schematics

Otter framework provides a set of code generators based on Angular schematics.

Schematics Description How to use
add Include Otter in a project workspace. ng add @o3r/workspace
library Add a new Library to the current Otter project ng g library
sdk Add a new SDK to the current Otter project ng g sdk
application Add a new Application to the current Otter project ng g application

Scripts

This packages exposes the following Command Line Interfaces:

Set Version

Replaces the value of the version field of the JSON files matched by the pattern provided to the --include options.

Usage: o3r-set-version [options] <version>

Replace the packages version in a monorepos

Options:

  -p, --placeholder <placeholder>  Pattern of the version placeholder (default: 0.0.0)
  --include <file>                 Add files pattern to apply the version replacement (default: '**/package.json', '**/lerna.json', '!**/templates', '!**/node_modules')
  --set-public                     Enforce the package to be public
  -V, --verbose                    Display debug logs
  -h, --help                       output usage information

Keywords