Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@backstage/plugin-scaffolder-common

Package Overview
Dependencies
Maintainers
4
Versions
696
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/plugin-scaffolder-common - npm Package Compare versions

Comparing version 0.0.0-nightly-202192822050 to 0.0.0-nightly-20220623347

11

CHANGELOG.md
# @backstage/plugin-scaffolder-common
## 0.0.0-nightly-202192822050
## 0.1.2
### Patch Changes
- d078377f67: Support navigating back to pre-filled templates to update inputs of scaffolder tasks for resubmission
## 0.1.1
### Patch Changes
- 10615525f3: Switch to use the json and observable types from `@backstage/types`
- Updated dependencies
- @backstage/catalog-model@0.0.0-nightly-202192822050
- @backstage/catalog-model@0.9.6
import { Entity, JSONSchema } from '@backstage/catalog-model';
import { JsonObject } from '@backstage/types';
import { JsonObject, JsonValue } from '@backstage/types';

@@ -26,2 +26,59 @@ /** @public */

/**
* TemplateMetadata
*
* @public
*/
declare type TemplateMetadata = {
name: string;
};
/**
* TaskStep
*
* @public
*/
interface TaskStep {
id: string;
name: string;
action: string;
input?: JsonObject;
if?: string | boolean;
}
/**
* TaskSpecV1beta2
*
* @public
*/
interface TaskSpecV1beta2 {
apiVersion: 'backstage.io/v1beta2';
baseUrl?: string;
values: JsonObject;
steps: TaskStep[];
output: {
[name: string]: string;
};
metadata?: TemplateMetadata;
}
/**
* TaskSpecV1beta3
*
* @public
*/
interface TaskSpecV1beta3 {
apiVersion: 'scaffolder.backstage.io/v1beta3';
baseUrl?: string;
parameters: JsonObject;
steps: TaskStep[];
output: {
[name: string]: JsonValue;
};
metadata?: TemplateMetadata;
}
/**
* TaskSpec
*
* @public
*/
declare type TaskSpec = TaskSpecV1beta2 | TaskSpecV1beta3;
/**
* Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin

@@ -35,2 +92,2 @@ *

export { TemplateEntityV1beta3, templateEntityV1beta3Schema };
export { TaskSpec, TaskSpecV1beta2, TaskSpecV1beta3, TaskStep, TemplateEntityV1beta3, TemplateMetadata, templateEntityV1beta3Schema };

8

package.json
{
"name": "@backstage/plugin-scaffolder-common",
"description": "Common functionalities for the scaffolder, to be shared between scaffolder and scaffolder-backend plugin",
"version": "0.0.0-nightly-202192822050",
"version": "0.0.0-nightly-20220623347",
"main": "dist/index.cjs.js",

@@ -39,9 +39,9 @@ "types": "dist/index.d.ts",

"dependencies": {
"@backstage/catalog-model": "^0.0.0-nightly-202192822050",
"@backstage/types": "^0.1.1"
"@backstage/catalog-model": "^0.0.0-nightly-20220623347",
"@backstage/types": "^0.0.0-nightly-20220623347"
},
"devDependencies": {
"@backstage/cli": "^0.0.0-nightly-202192822050"
"@backstage/cli": "^0.0.0-nightly-20220623347"
},
"module": "dist/index.esm.js"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc