@backstage/plugin-scaffolder-backend 0.0.0-nightly-2021102922210 → 0.0.0-nightly-202111322253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -5
- package/config.d.ts +12 -12
- package/dist/index.cjs.js +145 -148
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { Config } from '@backstage/config';
|
|
|
11
11
|
import { createPullRequest } from 'octokit-plugin-create-pull-request';
|
|
12
12
|
import { Octokit } from '@octokit/rest';
|
|
13
13
|
export { createFetchCookiecutterAction } from '@backstage/plugin-scaffolder-backend-module-cookiecutter';
|
|
14
|
+
import { SpawnOptionsWithoutStdio } from 'child_process';
|
|
14
15
|
import { Knex } from 'knex';
|
|
15
16
|
import express from 'express';
|
|
16
17
|
import { TemplateEntityV1beta2, Entity, LocationSpec } from '@backstage/catalog-model';
|
|
@@ -140,11 +141,19 @@ declare class OctokitProvider {
|
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
declare type RunCommandOptions = {
|
|
144
|
+
/** command to run */
|
|
143
145
|
command: string;
|
|
146
|
+
/** arguments to pass the command */
|
|
144
147
|
args: string[];
|
|
148
|
+
/** options to pass to spawn */
|
|
149
|
+
options?: SpawnOptionsWithoutStdio;
|
|
150
|
+
/** stream to capture stdout and stderr output */
|
|
145
151
|
logStream?: Writable;
|
|
146
152
|
};
|
|
147
|
-
|
|
153
|
+
/**
|
|
154
|
+
* Run a command in a sub-process, normally a shell command.
|
|
155
|
+
*/
|
|
156
|
+
declare const runCommand: ({ command, args, logStream, options, }: RunCommandOptions) => Promise<void>;
|
|
148
157
|
|
|
149
158
|
/**
|
|
150
159
|
* Status
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend",
|
|
3
3
|
"description": "The Backstage backend plugin that helps you create new things",
|
|
4
|
-
"version": "0.0.0-nightly-
|
|
4
|
+
"version": "0.0.0-nightly-202111322253",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@backstage/backend-common": "^0.
|
|
34
|
+
"@backstage/backend-common": "^0.9.12",
|
|
35
35
|
"@backstage/catalog-client": "^0.5.2",
|
|
36
36
|
"@backstage/catalog-model": "^0.9.7",
|
|
37
37
|
"@backstage/config": "^0.1.11",
|
|
38
38
|
"@backstage/errors": "^0.1.5",
|
|
39
|
-
"@backstage/integration": "^0.
|
|
40
|
-
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-
|
|
39
|
+
"@backstage/integration": "^0.6.10",
|
|
40
|
+
"@backstage/plugin-catalog-backend": "^0.0.0-nightly-202111322253",
|
|
41
41
|
"@backstage/plugin-scaffolder-common": "^0.1.1",
|
|
42
|
-
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "^0.
|
|
42
|
+
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "^0.1.5",
|
|
43
43
|
"@backstage/types": "^0.1.1",
|
|
44
44
|
"@gitbeaker/core": "^34.6.0",
|
|
45
45
|
"@gitbeaker/node": "^34.6.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"vm2": "^3.9.5"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
76
|
+
"@backstage/cli": "^0.0.0-nightly-202111322253",
|
|
77
77
|
"@backstage/test-utils": "^0.1.23",
|
|
78
78
|
"@types/command-exists": "^1.2.0",
|
|
79
79
|
"@types/fs-extra": "^9.0.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@types/mock-fs": "^4.13.0",
|
|
82
82
|
"@types/nunjucks": "^3.1.4",
|
|
83
83
|
"@types/supertest": "^2.0.8",
|
|
84
|
-
"esbuild": "^0.
|
|
84
|
+
"esbuild": "^0.14.1",
|
|
85
85
|
"jest-when": "^3.1.0",
|
|
86
86
|
"mock-fs": "^5.1.0",
|
|
87
87
|
"msw": "^0.35.0",
|