@backstage/plugin-scaffolder-backend-module-cookiecutter 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.
- package/CHANGELOG.md +29 -0
- package/README.md +6 -23
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-cookiecutter
|
|
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-defaults@0.5.0-next.2
|
|
11
|
+
- @backstage/backend-plugin-api@1.0.0-next.2
|
|
12
|
+
- @backstage/integration@1.15.0-next.0
|
|
13
|
+
- @backstage/config@1.2.0
|
|
14
|
+
- @backstage/errors@1.2.4
|
|
15
|
+
- @backstage/types@1.1.1
|
|
16
|
+
- @backstage/plugin-scaffolder-node@0.4.11-next.2
|
|
17
|
+
|
|
18
|
+
## 0.3.0-next.1
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @backstage/backend-defaults@0.5.0-next.1
|
|
24
|
+
- @backstage/backend-common@0.25.0-next.1
|
|
25
|
+
- @backstage/backend-plugin-api@0.9.0-next.1
|
|
26
|
+
- @backstage/config@1.2.0
|
|
27
|
+
- @backstage/errors@1.2.4
|
|
28
|
+
- @backstage/integration@1.14.0
|
|
29
|
+
- @backstage/types@1.1.1
|
|
30
|
+
- @backstage/plugin-scaffolder-node@0.4.11-next.1
|
|
31
|
+
|
|
3
32
|
## 0.3.0-next.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -13,31 +13,14 @@ You need to configure the action in your backend:
|
|
|
13
13
|
yarn --cwd packages/backend add @backstage/plugin-scaffolder-backend-module-cookiecutter
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
(you can check the [docs](https://backstage.io/docs/features/software-templates/writing-custom-actions#registering-custom-actions) to see all options):
|
|
16
|
+
Then ensure that both the scaffolder and this module are added to your backend:
|
|
18
17
|
|
|
19
18
|
```typescript
|
|
20
|
-
// packages/backend/src/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
reader: env.reader,
|
|
26
|
-
}),
|
|
27
|
-
...createBuiltInActions({
|
|
28
|
-
...
|
|
29
|
-
})
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
return await createRouter({
|
|
33
|
-
containerRunner,
|
|
34
|
-
catalogClient,
|
|
35
|
-
actions,
|
|
36
|
-
logger: env.logger,
|
|
37
|
-
config: env.config,
|
|
38
|
-
database: env.database,
|
|
39
|
-
reader: env.reader,
|
|
40
|
-
});
|
|
19
|
+
// In packages/backend/src/index.ts
|
|
20
|
+
const backend = createBackend();
|
|
21
|
+
// ...
|
|
22
|
+
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
|
|
23
|
+
backend.add(import('@backstage/plugin-scaffolder-backend-module-cookiecutter'));
|
|
41
24
|
```
|
|
42
25
|
|
|
43
26
|
After that you can use the action in your template:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-cookiecutter",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.2",
|
|
4
4
|
"description": "A module for the scaffolder backend that lets you template projects using cookiecutter",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"test": "backstage-cli package test"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@backstage/backend-common": "^0.25.0-next.
|
|
44
|
-
"@backstage/backend-defaults": "^0.5.0-next.
|
|
45
|
-
"@backstage/backend-plugin-api": "^0.
|
|
43
|
+
"@backstage/backend-common": "^0.25.0-next.2",
|
|
44
|
+
"@backstage/backend-defaults": "^0.5.0-next.2",
|
|
45
|
+
"@backstage/backend-plugin-api": "^1.0.0-next.2",
|
|
46
46
|
"@backstage/config": "^1.2.0",
|
|
47
47
|
"@backstage/errors": "^1.2.4",
|
|
48
|
-
"@backstage/integration": "^1.
|
|
49
|
-
"@backstage/plugin-scaffolder-node": "^0.4.11-next.
|
|
48
|
+
"@backstage/integration": "^1.15.0-next.0",
|
|
49
|
+
"@backstage/plugin-scaffolder-node": "^0.4.11-next.2",
|
|
50
50
|
"@backstage/types": "^1.1.1",
|
|
51
51
|
"command-exists": "^1.2.9",
|
|
52
52
|
"fs-extra": "^11.2.0",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"yn": "^4.0.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@backstage/backend-test-utils": "^0.
|
|
59
|
-
"@backstage/cli": "^0.27.1-next.
|
|
60
|
-
"@backstage/plugin-scaffolder-node-test-utils": "^0.1.12-next.
|
|
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
|
"@types/command-exists": "^1.2.0",
|
|
62
62
|
"@types/fs-extra": "^11.0.0"
|
|
63
63
|
}
|