@backstage/plugin-scaffolder-backend 1.14.1-next.0 → 1.15.0-next.1

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/dist/index.cjs.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ScaffolderEntitiesProcessor = require('./cjs/ScaffolderEntitiesProcessor-c40021d1.cjs.js');
5
+ var ScaffolderEntitiesProcessor = require('./cjs/ScaffolderEntitiesProcessor-9c1b2955.cjs.js');
6
6
  var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
7
7
  require('@backstage/catalog-model');
8
8
  require('@backstage/errors');
@@ -25,6 +25,7 @@ require('lodash/get');
25
25
  require('octokit');
26
26
  require('child_process');
27
27
  require('stream');
28
+ require('libsodium-wrappers');
28
29
  require('@octokit/webhooks');
29
30
  require('azure-devops-node-api');
30
31
  require('node-fetch');
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../src/deprecated.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n ActionContext as ActionContextNode,\n createTemplateAction as createTemplateActionNode,\n TaskSecrets as TaskSecretsNode,\n TemplateAction as TemplateActionNode,\n} from '@backstage/plugin-scaffolder-node';\nimport { JsonObject } from '@backstage/types';\n\n/**\n * @public\n * @deprecated Import from {@link @backstage/plugin-scaffolder-node#ActionContext} instead\n */\nexport type ActionContext<TInput extends JsonObject> =\n ActionContextNode<TInput>;\n\n/**\n * @public\n * @deprecated Use `createTemplateAction` from `@backstage/plugin-scaffolder-node` instead\n */\nexport const createTemplateAction = createTemplateActionNode;\n\n/**\n * @public\n * @deprecated Use `TaskSecrets` from `@backstage/plugin-scaffolder-node` instead\n */\nexport type TaskSecrets = TaskSecretsNode;\n\n/**\n * @public\n * @deprecated Use `TemplateAction` from `@backstage/plugin-scaffolder-node` instead\n */\nexport type TemplateAction<TInput extends JsonObject> =\n TemplateActionNode<TInput>;\n"],"names":["createTemplateActionNode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCO,MAAM,oBAAuB,GAAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/deprecated.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n ActionContext as ActionContextNode,\n createTemplateAction as createTemplateActionNode,\n TaskSecrets as TaskSecretsNode,\n TemplateAction as TemplateActionNode,\n} from '@backstage/plugin-scaffolder-node';\nimport { JsonObject } from '@backstage/types';\n\n/**\n * @public\n * @deprecated Import from {@link @backstage/plugin-scaffolder-node#ActionContext} instead\n */\nexport type ActionContext<TInput extends JsonObject> =\n ActionContextNode<TInput>;\n\n/**\n * @public\n * @deprecated Use `createTemplateAction` from `@backstage/plugin-scaffolder-node` instead\n */\nexport const createTemplateAction = createTemplateActionNode;\n\n/**\n * @public\n * @deprecated Use `TaskSecrets` from `@backstage/plugin-scaffolder-node` instead\n */\nexport type TaskSecrets = TaskSecretsNode;\n\n/**\n * @public\n * @deprecated Use `TemplateAction` from `@backstage/plugin-scaffolder-node` instead\n */\nexport type TemplateAction<TInput extends JsonObject> =\n TemplateActionNode<TInput>;\n"],"names":["createTemplateActionNode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCO,MAAM,oBAAuB,GAAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -403,6 +403,12 @@ declare function createPublishGithubAction(options: {
403
403
  hasIssues?: boolean | undefined;
404
404
  token?: string | undefined;
405
405
  topics?: string[] | undefined;
406
+ repoVariables?: {
407
+ [key: string]: string;
408
+ } | undefined;
409
+ secrets?: {
410
+ [key: string]: string;
411
+ } | undefined;
406
412
  requiredCommitSigning?: boolean | undefined;
407
413
  }, _backstage_types.JsonObject>;
408
414
 
@@ -592,6 +598,12 @@ declare function createGithubRepoCreateAction(options: {
592
598
  hasIssues?: boolean | undefined;
593
599
  token?: string | undefined;
594
600
  topics?: string[] | undefined;
601
+ repoVariables?: {
602
+ [key: string]: string;
603
+ } | undefined;
604
+ secrets?: {
605
+ [key: string]: string;
606
+ } | undefined;
595
607
  requireCommitSigning?: boolean | undefined;
596
608
  }, _backstage_types.JsonObject>;
597
609
 
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": "1.14.1-next.0",
4
+ "version": "1.15.0-next.1",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -44,22 +44,22 @@
44
44
  "build:assets": "node scripts/build-nunjucks.js"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/backend-common": "^0.18.6-next.0",
48
- "@backstage/backend-plugin-api": "^0.5.3-next.0",
49
- "@backstage/backend-tasks": "^0.5.3-next.0",
50
- "@backstage/catalog-client": "^1.4.2-next.0",
51
- "@backstage/catalog-model": "^1.3.0",
47
+ "@backstage/backend-common": "^0.19.0-next.1",
48
+ "@backstage/backend-plugin-api": "^0.5.3-next.1",
49
+ "@backstage/backend-tasks": "^0.5.3-next.1",
50
+ "@backstage/catalog-client": "^1.4.2-next.1",
51
+ "@backstage/catalog-model": "^1.4.0-next.0",
52
52
  "@backstage/config": "^1.0.7",
53
- "@backstage/errors": "^1.1.5",
54
- "@backstage/integration": "^1.4.5",
55
- "@backstage/plugin-auth-node": "^0.2.15-next.0",
56
- "@backstage/plugin-catalog-backend": "^1.9.2-next.0",
57
- "@backstage/plugin-catalog-common": "^1.0.13",
58
- "@backstage/plugin-catalog-node": "^1.3.7-next.0",
59
- "@backstage/plugin-permission-common": "^0.7.5",
60
- "@backstage/plugin-permission-node": "^0.7.9-next.0",
61
- "@backstage/plugin-scaffolder-common": "^1.3.0",
62
- "@backstage/plugin-scaffolder-node": "^0.1.4-next.0",
53
+ "@backstage/errors": "^1.2.0-next.0",
54
+ "@backstage/integration": "^1.5.0-next.0",
55
+ "@backstage/plugin-auth-node": "^0.2.15-next.1",
56
+ "@backstage/plugin-catalog-backend": "^1.9.2-next.1",
57
+ "@backstage/plugin-catalog-common": "^1.0.14-next.0",
58
+ "@backstage/plugin-catalog-node": "^1.3.7-next.1",
59
+ "@backstage/plugin-permission-common": "^0.7.6-next.0",
60
+ "@backstage/plugin-permission-node": "^0.7.9-next.1",
61
+ "@backstage/plugin-scaffolder-common": "^1.3.1-next.0",
62
+ "@backstage/plugin-scaffolder-node": "^0.1.4-next.1",
63
63
  "@backstage/types": "^1.0.2",
64
64
  "@gitbeaker/core": "^35.6.0",
65
65
  "@gitbeaker/node": "^35.1.0",
@@ -79,6 +79,7 @@
79
79
  "isomorphic-git": "^1.23.0",
80
80
  "jsonschema": "^1.2.6",
81
81
  "knex": "^2.0.0",
82
+ "libsodium-wrappers": "^0.7.11",
82
83
  "lodash": "^4.17.21",
83
84
  "luxon": "^3.0.0",
84
85
  "morgan": "^1.10.0",
@@ -97,11 +98,12 @@
97
98
  "zod": "^3.21.4"
98
99
  },
99
100
  "devDependencies": {
100
- "@backstage/backend-test-utils": "^0.1.38-next.0",
101
- "@backstage/cli": "^0.22.8-next.0",
101
+ "@backstage/backend-test-utils": "^0.1.38-next.1",
102
+ "@backstage/cli": "^0.22.8-next.1",
102
103
  "@types/command-exists": "^1.2.0",
103
104
  "@types/fs-extra": "^9.0.1",
104
105
  "@types/git-url-parse": "^9.0.0",
106
+ "@types/libsodium-wrappers": "^0.7.10",
105
107
  "@types/mock-fs": "^4.13.0",
106
108
  "@types/nunjucks": "^3.1.4",
107
109
  "@types/supertest": "^2.0.8",