@backstage/plugin-scaffolder-backend 0.15.22 → 0.15.24-next.0
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 +45 -0
- package/dist/index.cjs.js +133 -46
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { TaskSpec, TaskSpecV1beta2, TaskSpecV1beta3, TemplateMetadata } from '@b
|
|
|
11
11
|
import { UrlReader, ContainerRunner, PluginDatabaseManager } from '@backstage/backend-common';
|
|
12
12
|
import { Config } from '@backstage/config';
|
|
13
13
|
import { createPullRequest } from 'octokit-plugin-create-pull-request';
|
|
14
|
-
import { Octokit } from '
|
|
14
|
+
import { Octokit } from 'octokit';
|
|
15
15
|
export { createFetchCookiecutterAction } from '@backstage/plugin-scaffolder-backend-module-cookiecutter';
|
|
16
16
|
import { SpawnOptionsWithoutStdio } from 'child_process';
|
|
17
17
|
import { Knex } from 'knex';
|
|
@@ -121,6 +121,7 @@ declare type ClientFactoryInput = {
|
|
|
121
121
|
host: string;
|
|
122
122
|
owner: string;
|
|
123
123
|
repo: string;
|
|
124
|
+
token?: string;
|
|
124
125
|
};
|
|
125
126
|
interface CreateGithubPullRequestActionOptions {
|
|
126
127
|
integrations: ScmIntegrationRegistry;
|
|
@@ -168,7 +169,9 @@ declare class OctokitProvider {
|
|
|
168
169
|
*
|
|
169
170
|
* @param repoUrl - Repository URL
|
|
170
171
|
*/
|
|
171
|
-
getOctokit(repoUrl: string
|
|
172
|
+
getOctokit(repoUrl: string, options?: {
|
|
173
|
+
token?: string;
|
|
174
|
+
}): Promise<OctokitIntegration>;
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
declare type RunCommandOptions = {
|
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.15.
|
|
4
|
+
"version": "0.15.24-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -31,19 +31,18 @@
|
|
|
31
31
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@backstage/backend-common": "^0.10.
|
|
34
|
+
"@backstage/backend-common": "^0.10.7-next.0",
|
|
35
35
|
"@backstage/catalog-client": "^0.5.5",
|
|
36
36
|
"@backstage/catalog-model": "^0.9.10",
|
|
37
37
|
"@backstage/config": "^0.1.13",
|
|
38
38
|
"@backstage/errors": "^0.2.0",
|
|
39
39
|
"@backstage/integration": "^0.7.2",
|
|
40
|
-
"@backstage/plugin-catalog-backend": "^0.21.
|
|
41
|
-
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "^0.1.
|
|
40
|
+
"@backstage/plugin-catalog-backend": "^0.21.3-next.0",
|
|
41
|
+
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "^0.1.11-next.0",
|
|
42
42
|
"@backstage/plugin-scaffolder-common": "^0.1.3",
|
|
43
43
|
"@backstage/types": "^0.1.1",
|
|
44
44
|
"@gitbeaker/core": "^34.6.0",
|
|
45
45
|
"@gitbeaker/node": "^35.1.0",
|
|
46
|
-
"@octokit/rest": "^18.5.3",
|
|
47
46
|
"@octokit/webhooks": "^9.14.1",
|
|
48
47
|
"@types/express": "^4.17.6",
|
|
49
48
|
"azure-devops-node-api": "^11.0.1",
|
|
@@ -60,12 +59,13 @@
|
|
|
60
59
|
"isbinaryfile": "^4.0.8",
|
|
61
60
|
"isomorphic-git": "^1.8.0",
|
|
62
61
|
"jsonschema": "^1.2.6",
|
|
63
|
-
"knex": "^0.
|
|
62
|
+
"knex": "^1.0.2",
|
|
64
63
|
"lodash": "^4.17.21",
|
|
65
64
|
"luxon": "^2.0.2",
|
|
66
65
|
"morgan": "^1.10.0",
|
|
67
66
|
"node-fetch": "^2.6.1",
|
|
68
67
|
"nunjucks": "^3.2.3",
|
|
68
|
+
"octokit": "^1.7.1",
|
|
69
69
|
"octokit-plugin-create-pull-request": "^3.10.0",
|
|
70
70
|
"uuid": "^8.2.0",
|
|
71
71
|
"vm2": "^3.9.5",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"yaml": "^1.10.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@backstage/cli": "^0.13.0",
|
|
77
|
-
"@backstage/test-utils": "^0.2.
|
|
76
|
+
"@backstage/cli": "^0.13.2-next.0",
|
|
77
|
+
"@backstage/test-utils": "^0.2.4",
|
|
78
78
|
"@types/command-exists": "^1.2.0",
|
|
79
79
|
"@types/fs-extra": "^9.0.1",
|
|
80
80
|
"@types/git-url-parse": "^9.0.0",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"assets"
|
|
96
96
|
],
|
|
97
97
|
"configSchema": "config.d.ts",
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "e6f167225d843beeb974c287c3364d951b587626"
|
|
99
99
|
}
|