@backstage/plugin-scaffolder-backend-module-gitlab 0.2.0 → 0.2.1-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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-gitlab
2
2
 
3
+ ## 0.2.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 50c4457119ec: Fixed publish configuration.
8
+ - Updated dependencies
9
+ - @backstage/integration@1.5.0-next.0
10
+ - @backstage/errors@1.2.0-next.0
11
+ - @backstage/plugin-scaffolder-node@0.1.4-next.1
12
+ - @backstage/config@1.0.7
13
+
14
+ ## 0.2.1-next.0
15
+
16
+ ### Patch Changes
17
+
18
+ - f5a66052f04f: Tweak README
19
+ - Updated dependencies
20
+ - @backstage/integration@1.4.5
21
+ - @backstage/config@1.0.7
22
+ - @backstage/errors@1.1.5
23
+ - @backstage/plugin-scaffolder-node@0.1.4-next.0
24
+
3
25
  ## 0.2.0
4
26
 
5
27
  ### Minor Changes
package/README.md CHANGED
@@ -20,9 +20,10 @@ Configure the action:
20
20
  // packages/backend/src/plugins/scaffolder.ts
21
21
 
22
22
  import {
23
- createGitlabProjectAccessTokenAction,
24
23
  createGitlabProjectAccessTokenAction,
25
24
  createGitlabProjectDeployTokenAction,
25
+ createGitlabProjectVariableAction,
26
+ createGitlabGroupEnsureExistsAction,
26
27
  } from '@backstage/plugin-scaffolder-backend-module-gitlab';
27
28
 
28
29
  // Create BuiltIn Actions
@@ -36,18 +37,10 @@ const builtInActions = createBuiltinActions({
36
37
  // Add Gitlab Actions
37
38
  const actions = [
38
39
  ...builtInActions,
39
- createGitlabProjectAccessTokenAction({
40
- integrations: integrations,
41
- }),
42
- createGitlabProjectAccessTokenAction({
43
- integrations: integrations,
44
- }),
45
- createGitlabProjectDeployTokenAction({
46
- integrations: integrations,
47
- }),
48
- createGitlabGroupEnsureExistsAction({
49
- integrations: integrations,
50
- }),
40
+ createGitlabProjectAccessTokenAction({ integrations: integrations }),
41
+ createGitlabProjectDeployTokenAction({ integrations: integrations }),
42
+ createGitlabProjectVariableAction({ integrations: integrations }),
43
+ createGitlabGroupEnsureExistsAction({ integrations: integrations }),
51
44
  ];
52
45
 
53
46
  // Create Scaffolder Router
package/dist/index.d.ts CHANGED
@@ -27,8 +27,8 @@ declare const createGitlabProjectDeployTokenAction: (options: {
27
27
  integrations: ScmIntegrationRegistry;
28
28
  }) => _backstage_plugin_scaffolder_node.TemplateAction<{
29
29
  name: string;
30
- projectId: string | number;
31
30
  repoUrl: string;
31
+ projectId: string | number;
32
32
  token?: string | undefined;
33
33
  username?: string | undefined;
34
34
  scopes?: string[] | undefined;
@@ -46,8 +46,8 @@ declare const createGitlabProjectDeployTokenAction: (options: {
46
46
  declare const createGitlabProjectAccessTokenAction: (options: {
47
47
  integrations: ScmIntegrationRegistry;
48
48
  }) => _backstage_plugin_scaffolder_node.TemplateAction<{
49
- projectId: string | number;
50
49
  repoUrl: string;
50
+ projectId: string | number;
51
51
  token?: string | undefined;
52
52
  name?: string | undefined;
53
53
  accessLevel?: number | undefined;
@@ -67,8 +67,8 @@ declare const createGitlabProjectVariableAction: (options: {
67
67
  }) => _backstage_plugin_scaffolder_node.TemplateAction<{
68
68
  key: string;
69
69
  value: string;
70
- projectId: string | number;
71
70
  repoUrl: string;
71
+ projectId: string | number;
72
72
  variableType: string;
73
73
  token?: string | undefined;
74
74
  variableProtected?: boolean | undefined;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-gitlab",
3
- "version": "0.2.0",
4
- "main": "dist/index.esm.js",
3
+ "version": "0.2.1-next.1",
4
+ "main": "dist/index.cjs.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
8
8
  "access": "public",
9
- "main": "dist/index.esm.js",
9
+ "main": "dist/index.cjs.js",
10
10
  "types": "dist/index.d.ts"
11
11
  },
12
12
  "backstage": {
@@ -32,16 +32,16 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@backstage/config": "^1.0.7",
35
- "@backstage/errors": "^1.1.5",
36
- "@backstage/integration": "^1.4.5",
37
- "@backstage/plugin-scaffolder-node": "^0.1.3",
35
+ "@backstage/errors": "^1.2.0-next.0",
36
+ "@backstage/integration": "^1.5.0-next.0",
37
+ "@backstage/plugin-scaffolder-node": "^0.1.4-next.1",
38
38
  "@gitbeaker/node": "^35.8.0",
39
39
  "zod": "^3.21.4"
40
40
  },
41
41
  "devDependencies": {
42
- "@backstage/backend-common": "^0.18.5",
43
- "@backstage/cli": "^0.22.7",
44
- "@backstage/core-app-api": "^1.8.0"
42
+ "@backstage/backend-common": "^0.19.0-next.1",
43
+ "@backstage/cli": "^0.22.8-next.1",
44
+ "@backstage/core-app-api": "^1.8.1-next.0"
45
45
  },
46
46
  "files": [
47
47
  "dist"