This commit is contained in:
Frieder Bluemle
2020-12-08 22:50:41 -08:00
committed by GitHub
parent 1c69d4716c
commit cbd3a44c09
41 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ This package provides a CLI for developing Backstage plugins and apps.
## Installation
Install the package via npm or yarn:
Install the package via npm or Yarn:
```sh
$ npm install --save @backstage/cli
+3 -3
View File
@@ -87,9 +87,9 @@ export function registerCommands(program: CommanderStatic) {
'Create plugin with the backend dependencies as default',
)
.description('Creates a new plugin in the current repository')
.option('--scope <scope>', 'NPM scope')
.option('--npm-registry <URL>', 'NPM registry URL')
.option('--no-private', 'Public NPM Package')
.option('--scope <scope>', 'npm scope')
.option('--npm-registry <URL>', 'npm registry URL')
.option('--no-private', 'Public npm package')
.action(
lazy(() => import('./create-plugin/createPlugin').then(m => m.default)),
);
+1 -1
View File
@@ -90,7 +90,7 @@ type Options = {
* will be suitable for packaging e.g. into a docker image.
*
* This creates a structure that is functionally similar to if the packages where
* installed from NPM, but uses yarn workspaces to link to them at runtime.
* installed from npm, but uses Yarn workspaces to link to them at runtime.
*/
export async function createDistWorkspace(
packageNames: string[],
+1 -1
View File
@@ -37,7 +37,7 @@ type LockfileQueryEntry = {
version: string;
};
/** Entries that have an invalid version range, for example an NPM tag */
/** Entries that have an invalid version range, for example an npm tag */
type AnalyzeResultInvalidRange = {
name: string;
range: string;