UNPKG

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

Version:

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

24 lines (20 loc) 819 B
'use strict'; var annotator = require('../annotator/annotator.cjs.js'); var createScaffoldedFromAction_examples = require('./createScaffoldedFromAction.examples.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" } } }; }, createScaffoldedFromAction_examples.examples ); }; exports.createScaffoldedFromAction = createScaffoldedFromAction; //# sourceMappingURL=createScaffoldedFromAction.cjs.js.map