@backstage/plugin-scaffolder-backend-module-confluence-to-markdown 0.3.22 → 0.3.23-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 +8 -0
- package/config.schema.json +57 -0
- package/package.json +11 -11
- package/config.d.ts +0 -51
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-confluence-to-markdown
|
|
2
2
|
|
|
3
|
+
## 0.3.23-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-plugin-api@1.9.3-next.0
|
|
9
|
+
- @backstage/plugin-scaffolder-node@0.13.5-next.0
|
|
10
|
+
|
|
3
11
|
## 0.3.22
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"confluence": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"baseUrl": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The base URL for accessing the Confluence API"
|
|
11
|
+
},
|
|
12
|
+
"auth": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"type": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"basic",
|
|
19
|
+
"bearer",
|
|
20
|
+
"userpass"
|
|
21
|
+
],
|
|
22
|
+
"description": "Authentication method - basic, bearer, username/password"
|
|
23
|
+
},
|
|
24
|
+
"token": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Token used for the basic and bearer auth methods",
|
|
27
|
+
"visibility": "secret"
|
|
28
|
+
},
|
|
29
|
+
"email": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Email used with the token for the basic auth method",
|
|
32
|
+
"visibility": "secret"
|
|
33
|
+
},
|
|
34
|
+
"username": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Username used with the Username/Password auth method",
|
|
37
|
+
"visibility": "secret"
|
|
38
|
+
},
|
|
39
|
+
"password": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Password used with the Username/Password auth method",
|
|
42
|
+
"visibility": "secret"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"type"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"baseUrl",
|
|
52
|
+
"auth"
|
|
53
|
+
],
|
|
54
|
+
"description": "Configuration options for the Confluence to Markdown action"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-confluence-to-markdown",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.23-next.0",
|
|
4
4
|
"description": "The confluence-to-markdown module for @backstage/plugin-scaffolder-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist",
|
|
43
|
-
"config.
|
|
43
|
+
"config.schema.json"
|
|
44
44
|
],
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "backstage-cli package build",
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
"test": "backstage-cli package test"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@backstage/backend-plugin-api": "
|
|
57
|
-
"@backstage/config": "
|
|
58
|
-
"@backstage/errors": "
|
|
59
|
-
"@backstage/integration": "
|
|
60
|
-
"@backstage/plugin-scaffolder-node": "
|
|
56
|
+
"@backstage/backend-plugin-api": "1.9.3-next.0",
|
|
57
|
+
"@backstage/config": "1.3.8",
|
|
58
|
+
"@backstage/errors": "1.3.1",
|
|
59
|
+
"@backstage/integration": "2.0.3",
|
|
60
|
+
"@backstage/plugin-scaffolder-node": "0.13.5-next.0",
|
|
61
61
|
"fs-extra": "^11.2.0",
|
|
62
62
|
"git-url-parse": "^15.0.0",
|
|
63
63
|
"node-html-markdown": "^1.3.0",
|
|
64
64
|
"yaml": "^2.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@backstage/backend-test-utils": "
|
|
68
|
-
"@backstage/cli": "
|
|
69
|
-
"@backstage/plugin-scaffolder-node-test-utils": "
|
|
67
|
+
"@backstage/backend-test-utils": "1.11.5-next.0",
|
|
68
|
+
"@backstage/cli": "0.36.4-next.0",
|
|
69
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.3.13-next.0",
|
|
70
70
|
"msw": "^1.0.0"
|
|
71
71
|
},
|
|
72
|
-
"configSchema": "config.
|
|
72
|
+
"configSchema": "config.schema.json"
|
|
73
73
|
}
|
package/config.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2023 The Backstage Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export interface Config {
|
|
18
|
-
/** Configuration options for the Confluence to Markdown action */
|
|
19
|
-
confluence?: {
|
|
20
|
-
/**
|
|
21
|
-
* The base URL for accessing the Confluence API
|
|
22
|
-
*/
|
|
23
|
-
baseUrl: string;
|
|
24
|
-
auth: {
|
|
25
|
-
/**
|
|
26
|
-
* Authentication method - basic, bearer, username/password
|
|
27
|
-
*/
|
|
28
|
-
type: 'basic' | 'bearer' | 'userpass';
|
|
29
|
-
/**
|
|
30
|
-
* Token used for the basic and bearer auth methods
|
|
31
|
-
* @visibility secret
|
|
32
|
-
*/
|
|
33
|
-
token?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Email used with the token for the basic auth method
|
|
36
|
-
* @visibility secret
|
|
37
|
-
*/
|
|
38
|
-
email?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Username used with the Username/Password auth method
|
|
41
|
-
* @visibility secret
|
|
42
|
-
*/
|
|
43
|
-
username?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Password used with the Username/Password auth method
|
|
46
|
-
* @visibility secret
|
|
47
|
-
*/
|
|
48
|
-
password?: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|