@backstage/plugin-scaffolder-node 0.4.4-next.1 → 0.4.4-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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @backstage/plugin-scaffolder-node
2
2
 
3
+ ## 0.4.4-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e4b50ab: Scaffolder workspace serialization
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.22.0-next.2
10
+ - @backstage/integration@1.11.0-next.0
11
+
3
12
  ## 0.4.4-next.1
4
13
 
5
14
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-node",
3
- "version": "0.4.4-next.1",
3
+ "version": "0.4.4-next.2",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/index.d.ts CHANGED
@@ -109,6 +109,14 @@ interface TaskContext {
109
109
  status: 'failed';
110
110
  reason: string;
111
111
  }): Promise<void>;
112
+ serializeWorkspace?(options: {
113
+ path: string;
114
+ }): Promise<void>;
115
+ cleanWorkspace?(): Promise<void>;
116
+ rehydrateWorkspace?(options: {
117
+ taskId: string;
118
+ targetPath: string;
119
+ }): Promise<void>;
112
120
  getWorkspaceName(): Promise<string>;
113
121
  getInitiatorCredentials(): Promise<BackstageCredentials>;
114
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-node",
3
- "version": "0.4.4-next.1",
3
+ "version": "0.4.4-next.2",
4
4
  "description": "The plugin-scaffolder-node module for @backstage/plugin-scaffolder-backend",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -44,11 +44,11 @@
44
44
  "test": "backstage-cli package test"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/backend-common": "^0.22.0-next.1",
47
+ "@backstage/backend-common": "^0.22.0-next.2",
48
48
  "@backstage/backend-plugin-api": "^0.6.18-next.1",
49
49
  "@backstage/catalog-model": "^1.5.0-next.0",
50
50
  "@backstage/errors": "^1.2.4",
51
- "@backstage/integration": "^1.10.0",
51
+ "@backstage/integration": "^1.11.0-next.0",
52
52
  "@backstage/plugin-scaffolder-common": "^1.5.2-next.1",
53
53
  "@backstage/types": "^1.1.1",
54
54
  "fs-extra": "^11.2.0",
@@ -60,8 +60,8 @@
60
60
  "zod-to-json-schema": "^3.20.4"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/backend-test-utils": "^0.3.8-next.1",
64
- "@backstage/cli": "^0.26.5-next.0",
63
+ "@backstage/backend-test-utils": "^0.3.8-next.2",
64
+ "@backstage/cli": "^0.26.5-next.1",
65
65
  "@backstage/config": "^1.2.0"
66
66
  }
67
67
  }