@backstage/plugin-scaffolder-backend-module-confluence-to-markdown 0.3.0-next.0 → 0.3.0-next.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +8 -39
  3. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-confluence-to-markdown
2
2
 
3
+ ## 0.3.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5d1670f: Update README installation instructions
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.25.0-next.2
10
+ - @backstage/backend-plugin-api@1.0.0-next.2
11
+ - @backstage/integration@1.15.0-next.0
12
+ - @backstage/config@1.2.0
13
+ - @backstage/errors@1.2.4
14
+ - @backstage/plugin-scaffolder-node@0.4.11-next.2
15
+
16
+ ## 0.3.0-next.1
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+ - @backstage/backend-common@0.25.0-next.1
22
+ - @backstage/backend-plugin-api@0.9.0-next.1
23
+ - @backstage/config@1.2.0
24
+ - @backstage/errors@1.2.4
25
+ - @backstage/integration@1.14.0
26
+ - @backstage/plugin-scaffolder-node@0.4.11-next.1
27
+
3
28
  ## 0.3.0-next.0
4
29
 
5
30
  ### Minor Changes
package/README.md CHANGED
@@ -15,47 +15,16 @@ From your Backstage root directory run:
15
15
  yarn --cwd packages/backend add @backstage/plugin-scaffolder-backend-module-confluence-to-markdown
16
16
  ```
17
17
 
18
- Then configure the action:
19
- (you can check the [docs](https://backstage.io/docs/features/software-templates/writing-custom-actions#registering-custom-actions) to see all options):
18
+ Then ensure that both the scaffolder and this module are added to your backend:
20
19
 
21
20
  ```typescript
22
- // packages/backend/src/plugins/scaffolder.ts
23
-
24
- import { createBuiltinActions } from '@backstage/plugin-scaffolder-backend';
25
- import { ScmIntegrations } from '@backstage/integration';
26
- import { createConfluenceToMarkdownAction } from '@backstage/plugin-scaffolder-backend-module-confluence-to-markdown';
27
-
28
- export default async function createPlugin(
29
- env: PluginEnvironment,
30
- ): Promise<Router> {
31
- const catalogClient = new CatalogClient({ discoveryApi: env.discovery });
32
- const integrations = ScmIntegrations.fromConfig(env.config);
33
-
34
- const builtInActions = createBuiltinActions({
35
- integrations,
36
- catalogClient,
37
- config: env.config,
38
- reader: env.reader,
39
- });
40
-
41
- const actions = [
42
- ...builtInActions,
43
- createConfluenceToMarkdownAction({
44
- integrations,
45
- config: env.config,
46
- reader: env.reader,
47
- }),
48
- ];
49
-
50
- return createRouter({
51
- actions,
52
- catalogClient: catalogClient,
53
- logger: env.logger,
54
- config: env.config,
55
- database: env.database,
56
- reader: env.reader,
57
- });
58
- }
21
+ // In packages/backend/src/index.ts
22
+ const backend = createBackend();
23
+ // ...
24
+ backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
25
+ backend.add(
26
+ import('@backstage/plugin-scaffolder-backend-module-confluence-to-markdown'),
27
+ );
59
28
  ```
60
29
 
61
30
  ### Configuration
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.0-next.0",
3
+ "version": "0.3.0-next.2",
4
4
  "description": "The confluence-to-markdown module for @backstage/plugin-scaffolder-backend",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -42,12 +42,12 @@
42
42
  "test": "backstage-cli package test"
43
43
  },
44
44
  "dependencies": {
45
- "@backstage/backend-common": "^0.25.0-next.0",
46
- "@backstage/backend-plugin-api": "^0.9.0-next.0",
45
+ "@backstage/backend-common": "^0.25.0-next.2",
46
+ "@backstage/backend-plugin-api": "^1.0.0-next.2",
47
47
  "@backstage/config": "^1.2.0",
48
48
  "@backstage/errors": "^1.2.4",
49
- "@backstage/integration": "^1.14.0",
50
- "@backstage/plugin-scaffolder-node": "^0.4.11-next.0",
49
+ "@backstage/integration": "^1.15.0-next.0",
50
+ "@backstage/plugin-scaffolder-node": "^0.4.11-next.2",
51
51
  "fs-extra": "^11.2.0",
52
52
  "git-url-parse": "^14.0.0",
53
53
  "node-fetch": "^2.7.0",
@@ -55,9 +55,9 @@
55
55
  "yaml": "^2.0.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@backstage/backend-test-utils": "^0.6.0-next.0",
59
- "@backstage/cli": "^0.27.1-next.0",
60
- "@backstage/plugin-scaffolder-node-test-utils": "^0.1.12-next.0",
58
+ "@backstage/backend-test-utils": "^1.0.0-next.2",
59
+ "@backstage/cli": "^0.27.1-next.2",
60
+ "@backstage/plugin-scaffolder-node-test-utils": "^0.1.12-next.2",
61
61
  "msw": "^1.0.0"
62
62
  },
63
63
  "configSchema": "config.d.ts"