cli: internal rename of create -> new

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-09-01 17:51:51 +02:00
parent 8d886dd33e
commit 99cf5ffb1e
17 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ export function registerCommands(program: Command) {
'The package registry to use for new packages',
)
.option('--no-private', 'Do not mark new packages as private')
.action(lazy(() => import('./create/create').then(m => m.default)));
.action(lazy(() => import('./new/new').then(m => m.default)));
program
.command('create', { hidden: true })
@@ -243,7 +243,7 @@ export function registerCommands(program: Command) {
'The package registry to use for new packages',
)
.option('--no-private', 'Do not mark new packages as private')
.action(lazy(() => import('./create/create').then(m => m.default)));
.action(lazy(() => import('./new/new').then(m => m.default)));
program
.command('create-plugin', { hidden: true })
@@ -18,7 +18,7 @@ import os from 'os';
import fs from 'fs-extra';
import { join as joinPath } from 'path';
import { OptionValues } from 'commander';
import { FactoryRegistry } from '../../lib/create/FactoryRegistry';
import { FactoryRegistry } from '../../lib/new/FactoryRegistry';
import { paths } from '../../lib/paths';
import { assertError } from '@backstage/errors';
import { Task } from '../../lib/tasks';