rename to web-library-package

Signed-off-by: Kurt King <kurtaking@gmail.com>
This commit is contained in:
Kurt King
2022-11-28 12:40:25 -06:00
parent b935b6206d
commit b332250421
9 changed files with 5 additions and 4 deletions
@@ -32,8 +32,8 @@ type Options = {
};
export const webLibraryPlugin = createFactory<Options>({
name: 'web-library-plugin',
description: 'A new web-library plugin',
name: 'web-library-package',
description: 'A new web-library package',
optionsDiscovery: async () => ({
codeOwnersPath: await getCodeownersFilePath(paths.targetRoot),
}),
@@ -47,7 +47,7 @@ export const webLibraryPlugin = createFactory<Options>({
const extensionName = `${upperFirst(camelCase(id))}Page`;
Task.log();
Task.log(`Creating web-library plugin ${chalk.cyan(name)}`);
Task.log(`Creating web-library package ${chalk.cyan(name)}`);
const targetDir = ctx.isMonoRepo
? paths.resolveTargetRoot('plugins', id)
@@ -55,7 +55,7 @@ export const webLibraryPlugin = createFactory<Options>({
await executePluginPackageTemplate(ctx, {
targetDir,
templateName: 'default-web-library-plugin',
templateName: 'web-library-package',
values: {
id,
name,
@@ -0,0 +1 @@
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname);