UNPKG

@backstage-community/plugin-scaffolder-backend-module-annotator

Version:

The annotator module for @backstage/plugin-scaffolder-backend

22 lines (18 loc) 670 B
'use strict'; var annotator = require('../annotator/annotator.cjs.js'); const createScaffoldedFromAction = () => { return annotator.createAnnotatorAction( "catalog:scaffolded-from", "Creates a new `catalog:scaffolded-from` scaffolder action to update a catalog-info.yaml with the entityRef of the template that created it.", "Annotating catalog-info.yaml with template entityRef", () => { return { spec: { scaffoldedFrom: { readFromContext: "templateInfo.entityRef" } } }; } ); }; exports.createScaffoldedFromAction = createScaffoldedFromAction; //# sourceMappingURL=createScaffoldedFromAction.cjs.js.map