@backstage/plugin-scaffolder-backend-module-cookiecutter 0.2.0 → 0.2.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,18 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-cookiecutter
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix for the previous release with missing type declarations.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.10.9
10
+ - @backstage/config@0.1.15
11
+ - @backstage/errors@0.2.2
12
+ - @backstage/integration@0.7.4
13
+ - @backstage/types@0.1.3
14
+ - @backstage/plugin-scaffolder-backend@0.16.1
15
+
3
16
  ## 0.2.0
4
17
 
5
18
  ### Minor Changes
@@ -0,0 +1,29 @@
1
+ /// <reference types="node" />
2
+ import * as _backstage_plugin_scaffolder_backend from '@backstage/plugin-scaffolder-backend';
3
+ import { UrlReader, ContainerRunner } from '@backstage/backend-common';
4
+ import { JsonObject } from '@backstage/types';
5
+ import { ScmIntegrations } from '@backstage/integration';
6
+
7
+ /**
8
+ * Creates a `fetch:cookiecutter` Scaffolder action.
9
+ *
10
+ * @remarks
11
+ *
12
+ * See {@link https://cookiecutter.readthedocs.io/} and {@link https://backstage.io/docs/features/software-templates/writing-custom-actions}.
13
+ * @param options - Templating configuration.
14
+ * @public
15
+ */
16
+ declare function createFetchCookiecutterAction(options: {
17
+ reader: UrlReader;
18
+ integrations: ScmIntegrations;
19
+ containerRunner: ContainerRunner;
20
+ }): _backstage_plugin_scaffolder_backend.TemplateAction<{
21
+ url: string;
22
+ targetPath?: string | undefined;
23
+ values: JsonObject;
24
+ copyWithoutRender?: string[] | undefined;
25
+ extensions?: string[] | undefined;
26
+ imageName?: string | undefined;
27
+ }>;
28
+
29
+ export { createFetchCookiecutterAction };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-cookiecutter",
3
3
  "description": "A module for the scaffolder backend that lets you template projects using cookiecutter",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -23,12 +23,12 @@
23
23
  "clean": "backstage-cli package clean"
24
24
  },
25
25
  "dependencies": {
26
- "@backstage/backend-common": "^0.10.8",
27
- "@backstage/config": "^0.1.14",
28
- "@backstage/errors": "^0.2.1",
29
- "@backstage/integration": "^0.7.3",
30
- "@backstage/plugin-scaffolder-backend": "^0.16.0",
31
- "@backstage/types": "^0.1.2",
26
+ "@backstage/backend-common": "^0.10.9",
27
+ "@backstage/config": "^0.1.15",
28
+ "@backstage/errors": "^0.2.2",
29
+ "@backstage/integration": "^0.7.4",
30
+ "@backstage/plugin-scaffolder-backend": "^0.16.1",
31
+ "@backstage/types": "^0.1.3",
32
32
  "command-exists": "^1.2.9",
33
33
  "fs-extra": "10.0.0",
34
34
  "winston": "^3.2.1",
@@ -46,5 +46,5 @@
46
46
  "files": [
47
47
  "dist"
48
48
  ],
49
- "gitHead": "4805c3d13ce9bfc369e53c271b1b95e722b3b4dc"
49
+ "gitHead": "e244b348c473700e7d5e5fbcef38bd9f9fd1d0ba"
50
50
  }