deploy-vir 3.3.0 → 3.4.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/dist/config.d.ts +6 -1
- package/dist/git.js +1 -0
- package/package.json +1 -1
- package/src/config.ts +6 -1
- package/src/git.ts +1 -0
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MaybePromise, type PartialWithUndefined } from '@augment-vir/common';
|
|
2
|
-
import { type DeployResult } from './git.js';
|
|
2
|
+
import { type Commit, type DeployResult } from './git.js';
|
|
3
3
|
/**
|
|
4
4
|
* The full deploy-vir config object.
|
|
5
5
|
*
|
|
@@ -35,6 +35,11 @@ export type PostAcceptHookParams = {
|
|
|
35
35
|
toBranch: string;
|
|
36
36
|
remoteName: string;
|
|
37
37
|
deployResult: Readonly<DeployResult>;
|
|
38
|
+
/**
|
|
39
|
+
* All commits included in this deploy (the commits being pushed from `fromBranch` to
|
|
40
|
+
* `toBranch`).
|
|
41
|
+
*/
|
|
42
|
+
newCommits: ReadonlyArray<Readonly<Commit>>;
|
|
38
43
|
};
|
|
39
44
|
/**
|
|
40
45
|
* Optional values that a {@link DeployVirHooks.postAccept} hook can return to augment the resulting
|
package/dist/git.js
CHANGED
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {type MaybePromise, type PartialWithUndefined} from '@augment-vir/common';
|
|
2
|
-
import {type DeployResult} from './git.js';
|
|
2
|
+
import {type Commit, type DeployResult} from './git.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The full deploy-vir config object.
|
|
@@ -42,6 +42,11 @@ export type PostAcceptHookParams = {
|
|
|
42
42
|
toBranch: string;
|
|
43
43
|
remoteName: string;
|
|
44
44
|
deployResult: Readonly<DeployResult>;
|
|
45
|
+
/**
|
|
46
|
+
* All commits included in this deploy (the commits being pushed from `fromBranch` to
|
|
47
|
+
* `toBranch`).
|
|
48
|
+
*/
|
|
49
|
+
newCommits: ReadonlyArray<Readonly<Commit>>;
|
|
45
50
|
};
|
|
46
51
|
|
|
47
52
|
/**
|