diff --git a/plugins/scaffolder-actions-backend/.eslintrc.js b/plugins/hcl-scaffolder-actions-backend/.eslintrc.js similarity index 100% rename from plugins/scaffolder-actions-backend/.eslintrc.js rename to plugins/hcl-scaffolder-actions-backend/.eslintrc.js diff --git a/plugins/scaffolder-actions-backend/.gitignore b/plugins/hcl-scaffolder-actions-backend/.gitignore similarity index 100% rename from plugins/scaffolder-actions-backend/.gitignore rename to plugins/hcl-scaffolder-actions-backend/.gitignore diff --git a/plugins/scaffolder-actions-backend/README.md b/plugins/hcl-scaffolder-actions-backend/README.md similarity index 64% rename from plugins/scaffolder-actions-backend/README.md rename to plugins/hcl-scaffolder-actions-backend/README.md index 55eddbd..80da9c4 100644 --- a/plugins/scaffolder-actions-backend/README.md +++ b/plugins/hcl-scaffolder-actions-backend/README.md @@ -1,6 +1,6 @@ -# scaffolder-backend-module-actions +# hcl-scaffolder-actions-backend -Welcome to the scaffolder-backend-module-actions plugin! +This contains a collection of actions to use in scaffolder templates for working with HCL (Hashicorp Configuration Language). See https://github.com/hashicorp/hcl to learn more about HCL. ## Getting started @@ -8,7 +8,7 @@ Welcome to the scaffolder-backend-module-actions plugin! ```bash # From your Backstage root directory -yarn add --cwd packages/backend @seatgeek/backstage-plugin-scaffolder-actions-backend +yarn add --cwd packages/backend @seatgeek/backstage-plugin-hcl-scaffolder-actions-backend ``` Then ensure that both the scaffolder and this module are added to your backend: @@ -17,15 +17,13 @@ Then ensure that both the scaffolder and this module are added to your backend: // In packages/backend/src/index.ts const backend = createBackend(); // ... -backend.add(import('@seatgeek/backstage-plugin-scaffolder-actions-backend')); +backend.add(import('@seatgeek/backstage-plugin-hcl-scaffolder-actions-backend')); ``` After that you can use the actions in your template. ## Actions -This contains a collection of actions to use in scaffolder templates: - - `hcl:merge` Merge HCL strings - `hcl:merge:write` Merge HCL strings and write to a file - `hcl:merge:files` Merge HCL files diff --git a/plugins/scaffolder-actions-backend/package.json b/plugins/hcl-scaffolder-actions-backend/package.json similarity index 90% rename from plugins/scaffolder-actions-backend/package.json rename to plugins/hcl-scaffolder-actions-backend/package.json index 4531fb4..f2ae1e8 100644 --- a/plugins/scaffolder-actions-backend/package.json +++ b/plugins/hcl-scaffolder-actions-backend/package.json @@ -1,5 +1,5 @@ { - "name": "@seatgeek/backstage-plugin-scaffolder-actions-backend", + "name": "@seatgeek/backstage-plugin-hcl-scaffolder-actions-backend", "version": "0.0.0-semantically-released", "main": "src/index.ts", "types": "src/index.ts", @@ -13,7 +13,7 @@ "role": "backend-plugin-module", "pluginId": "scaffolder", "pluginPackages": [ - "@seatgeek/backstage-plugin-scaffolder-actions-backend" + "@seatgeek/backstage-plugin-hcl-scaffolder-actions-backend" ], "pluginPackage": "@backstage/plugin-scaffolder-backend" }, diff --git a/plugins/scaffolder-actions-backend/src/actions/hcl/hcl.test.ts b/plugins/hcl-scaffolder-actions-backend/src/actions/hcl/hcl.test.ts similarity index 100% rename from plugins/scaffolder-actions-backend/src/actions/hcl/hcl.test.ts rename to plugins/hcl-scaffolder-actions-backend/src/actions/hcl/hcl.test.ts diff --git a/plugins/scaffolder-actions-backend/src/actions/hcl/hcl.ts b/plugins/hcl-scaffolder-actions-backend/src/actions/hcl/hcl.ts similarity index 100% rename from plugins/scaffolder-actions-backend/src/actions/hcl/hcl.ts rename to plugins/hcl-scaffolder-actions-backend/src/actions/hcl/hcl.ts diff --git a/plugins/scaffolder-actions-backend/src/actions/hcl/index.ts b/plugins/hcl-scaffolder-actions-backend/src/actions/hcl/index.ts similarity index 100% rename from plugins/scaffolder-actions-backend/src/actions/hcl/index.ts rename to plugins/hcl-scaffolder-actions-backend/src/actions/hcl/index.ts diff --git a/plugins/scaffolder-actions-backend/src/actions/index.ts b/plugins/hcl-scaffolder-actions-backend/src/actions/index.ts similarity index 100% rename from plugins/scaffolder-actions-backend/src/actions/index.ts rename to plugins/hcl-scaffolder-actions-backend/src/actions/index.ts diff --git a/plugins/scaffolder-actions-backend/src/index.ts b/plugins/hcl-scaffolder-actions-backend/src/index.ts similarity index 100% rename from plugins/scaffolder-actions-backend/src/index.ts rename to plugins/hcl-scaffolder-actions-backend/src/index.ts diff --git a/plugins/scaffolder-actions-backend/src/module.ts b/plugins/hcl-scaffolder-actions-backend/src/module.ts similarity index 94% rename from plugins/scaffolder-actions-backend/src/module.ts rename to plugins/hcl-scaffolder-actions-backend/src/module.ts index 6ec1d48..ce9a6f6 100644 --- a/plugins/scaffolder-actions-backend/src/module.ts +++ b/plugins/hcl-scaffolder-actions-backend/src/module.ts @@ -11,7 +11,7 @@ import * as actions from './actions'; export const scaffolderBackendModuleActions = createBackendModule({ pluginId: 'scaffolder', - moduleId: 'seatgeek-scaffolder-actions-backend-module', + moduleId: 'hcl-scaffolder-actions-backend-module', register({ registerInit }) { registerInit({ deps: {