Skip to content

Commit

Permalink
Rename to follow convention
Browse files Browse the repository at this point in the history
  • Loading branch information
bbckr committed Sep 18, 2024
1 parent 8177be3 commit f70c2db
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This SeatGeek Backstage Plugins Collection offers the following plugins:
- **Gitlab Catalog**: the Gitlab Catalog Plugin offers catalog integrations with the Gitlab API.
- [plugins/gitlab-catalog-backend](plugins/gitlab-catalog-backend/)
- **HCL Scaffolder Actions**: the HCL Scaffolder Actions plugin includes custom actions for working with HCL in your Backstage Software Templates.
- [plugins/hcl-scaffolder-actions-backend](plugins/hcl-scaffolder-actions-backend/)
- [plugins/scaffolder-backend-module-hcl](plugins/scaffolder-backend-module-hcl/)

Each of the plugins contain instructions for installation and development within
their respective locations.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# hcl-scaffolder-actions-backend
# scaffolder-backend-module-hcl

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.

Expand All @@ -8,7 +8,7 @@ This contains a collection of actions to use in scaffolder templates for working

```bash
# From your Backstage root directory
yarn add --cwd packages/backend @seatgeek/backstage-plugin-hcl-scaffolder-actions-backend
yarn add --cwd packages/backend @seatgeek/backstage-plugin-scaffolder-backend-module-hcl
```

Then ensure that both the scaffolder and this module are added to your backend:
Expand All @@ -17,9 +17,7 @@ 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-hcl-scaffolder-actions-backend'),
);
backend.add(import('@seatgeek/backstage-plugin-scaffolder-backend-module-hcl'));
```

After that you can use the actions in your template.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@seatgeek/backstage-plugin-hcl-scaffolder-actions-backend",
"name": "@seatgeek/backstage-plugin-scaffolder-backend-module-hcl",
"version": "0.0.0-semantically-released",
"main": "src/index.ts",
"types": "src/index.ts",
Expand All @@ -13,7 +13,7 @@
"role": "backend-plugin-module",
"pluginId": "scaffolder",
"pluginPackages": [
"@seatgeek/backstage-plugin-hcl-scaffolder-actions-backend"
"@seatgeek/backstage-plugin-scaffolder-backend-module-hcl"
],
"pluginPackage": "@backstage/plugin-scaffolder-backend"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import * as actions from './actions';

export const scaffolderBackendModuleActions = createBackendModule({
pluginId: 'scaffolder',
moduleId: 'hcl-scaffolder-actions-backend-module',
moduleId: 'scaffolder-backend-module-hcl',
register({ registerInit }) {
registerInit({
deps: {
Expand Down

0 comments on commit f70c2db

Please sign in to comment.