backport 8.9.6 → 8.9.8
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/backportRun.d.ts +7 -5
- package/dist/backportRun.js +6 -6
- package/dist/backportRun.js.map +1 -1
- package/dist/entrypoint.api.d.ts +0 -1
- package/dist/entrypoint.api.js +3 -3
- package/dist/entrypoint.api.js.map +1 -1
- package/dist/entrypoint.cli.js +2 -1
- package/dist/entrypoint.cli.js.map +1 -1
- package/dist/lib/BackportError.d.ts +1 -1
- package/dist/lib/author.d.ts +1 -1
- package/dist/lib/cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.test.js +5 -4
- package/dist/lib/cherrypickAndCreateTargetPullRequest/cherrypickAndCreateTargetPullRequest.test.js.map +1 -1
- package/dist/lib/child-process-promisified.d.ts +2 -2
- package/dist/lib/git.d.ts +1 -1
- package/dist/lib/github/v3/getGithubV3ErrorMessage.d.ts +1 -1
- package/dist/lib/github/v4/apiRequestV4.d.ts +2 -2
- package/dist/lib/github/v4/fetchCommits/fetchCommitBySha.private.test.js +1 -1
- package/dist/lib/github/v4/fetchCommits/fetchCommitBySha.private.test.js.map +1 -1
- package/dist/lib/github/v4/getOptionsFromGithub/getOptionsFromGithub.d.ts +1 -1
- package/dist/lib/logger.d.ts +1 -1
- package/dist/lib/ora.d.ts +2 -1
- package/dist/lib/ora.js +4 -5
- package/dist/lib/ora.js.map +1 -1
- package/dist/lib/setupRepo.test.js +10 -13
- package/dist/lib/setupRepo.test.js.map +1 -1
- package/dist/lib/sourceCommit/getPullRequestStates.d.ts +4 -4
- package/dist/lib/sourceCommit/parseSourceCommit.d.ts +2 -2
- package/dist/options/ConfigOptions.d.ts +4 -4
- package/dist/options/cliArgs.d.ts +22 -22
- package/dist/options/config/config.d.ts +1 -1
- package/dist/options/config/readConfigFile.d.ts +26 -26
- package/dist/options/options.d.ts +20 -20
- package/dist/runSequentially.d.ts +4 -4
- package/dist/test/e2e/cli/runBackportViaCli.d.ts +1 -1
- package/dist/test/setupFiles/automatic-mocks.js +0 -2
- package/dist/test/setupFiles/automatic-mocks.js.map +1 -1
- package/dist/utils/excludeUndefined.d.ts +1 -1
- package/dist/utils/packageVersion.d.ts +1 -1
- package/dist/utils/packageVersion.js +1 -1
- package/package.json +26 -26
- package/yarn.lock +1834 -1979
- package/dist/test/mocks.d.ts +0 -10
- package/dist/test/mocks.js +0 -24
- package/dist/test/mocks.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigFileOptions } from './ConfigOptions';
|
|
2
|
-
export
|
|
2
|
+
export type OptionsFromCliArgs = ReturnType<typeof getOptionsFromCliArgs>;
|
|
3
3
|
export declare function getOptionsFromCliArgs(processArgs: readonly string[]): {
|
|
4
4
|
cwd?: string | undefined;
|
|
5
5
|
fork?: boolean | undefined;
|
|
@@ -7,52 +7,52 @@ export declare function getOptionsFromCliArgs(processArgs: readonly string[]): {
|
|
|
7
7
|
interactive?: boolean | undefined;
|
|
8
8
|
accessToken?: string | undefined;
|
|
9
9
|
logFilePath?: string | undefined;
|
|
10
|
+
assignees?: string[] | undefined;
|
|
10
11
|
author?: string | null | undefined;
|
|
11
12
|
autoAssign?: boolean | undefined;
|
|
12
|
-
assignees?: string[] | undefined;
|
|
13
13
|
autoMerge?: boolean | undefined;
|
|
14
14
|
autoMergeMethod?: string | undefined;
|
|
15
15
|
cherrypickRef?: boolean | undefined;
|
|
16
|
-
|
|
17
|
-
globalConfigFile?: string | undefined;
|
|
18
|
-
dateSince?: string | undefined;
|
|
19
|
-
dateUntil?: string | undefined;
|
|
16
|
+
commitPaths?: string[] | undefined;
|
|
20
17
|
details?: boolean | undefined;
|
|
21
18
|
dryRun?: boolean | undefined;
|
|
22
19
|
editor?: string | undefined;
|
|
23
|
-
|
|
20
|
+
gitAuthorEmail?: string | undefined;
|
|
21
|
+
gitAuthorName?: string | undefined;
|
|
24
22
|
gitHostname?: string | undefined;
|
|
25
23
|
githubApiBaseUrlV3?: string | undefined;
|
|
26
24
|
githubApiBaseUrlV4?: string | undefined;
|
|
27
|
-
gitAuthorName?: string | undefined;
|
|
28
|
-
gitAuthorEmail?: string | undefined;
|
|
29
25
|
ls?: boolean | undefined;
|
|
30
|
-
mainline?: number | undefined;
|
|
31
|
-
signoff?: boolean | undefined;
|
|
32
26
|
maxNumber?: number | undefined;
|
|
33
27
|
multipleBranches?: boolean | undefined;
|
|
34
28
|
multipleCommits?: boolean | undefined;
|
|
35
29
|
noVerify?: boolean | undefined;
|
|
36
|
-
repoForkOwner?: string | undefined;
|
|
37
|
-
onlyMissing?: boolean | undefined;
|
|
38
30
|
prDescription?: string | undefined;
|
|
39
|
-
prTitle?: string | undefined;
|
|
40
31
|
prFilter?: string | undefined;
|
|
32
|
+
projectConfigFile?: string | undefined;
|
|
33
|
+
prTitle?: string | undefined;
|
|
34
|
+
publishStatusCommentOnAbort?: boolean | undefined;
|
|
35
|
+
publishStatusCommentOnFailure?: boolean | undefined;
|
|
36
|
+
publishStatusCommentOnSuccess?: boolean | undefined;
|
|
41
37
|
pullNumber?: number | undefined;
|
|
42
|
-
|
|
43
|
-
resetAuthor?: boolean | undefined;
|
|
44
|
-
repoOwner?: string | undefined;
|
|
38
|
+
repoForkOwner?: string | undefined;
|
|
45
39
|
repoName?: string | undefined;
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
repoOwner?: string | undefined;
|
|
41
|
+
resetAuthor?: boolean | undefined;
|
|
48
42
|
reviewers?: string[] | undefined;
|
|
43
|
+
sha?: string | undefined;
|
|
44
|
+
signoff?: boolean | undefined;
|
|
45
|
+
skipRemoteConfig?: boolean | undefined;
|
|
46
|
+
sourceBranch?: string | undefined;
|
|
49
47
|
sourcePRLabels?: string[] | undefined;
|
|
50
48
|
targetBranchChoices?: string[] | undefined;
|
|
51
49
|
targetBranches?: string[] | undefined;
|
|
52
50
|
targetPRLabels?: string[] | undefined;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
globalConfigFile?: string | undefined;
|
|
52
|
+
dateSince?: string | undefined;
|
|
53
|
+
dateUntil?: string | undefined;
|
|
54
|
+
mainline?: number | undefined;
|
|
55
|
+
onlyMissing?: boolean | undefined;
|
|
56
56
|
telemetry?: boolean | undefined;
|
|
57
57
|
};
|
|
58
58
|
export declare function getRuntimeArguments(processArgs: string[], optionsFromModule?: ConfigFileOptions): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigFileOptions } from '../ConfigOptions';
|
|
2
2
|
import { OptionsFromCliArgs } from '../cliArgs';
|
|
3
|
-
export
|
|
3
|
+
export type OptionsFromConfigFiles = Awaited<ReturnType<typeof getOptionsFromConfigFiles>>;
|
|
4
4
|
export declare function getOptionsFromConfigFiles({ optionsFromCliArgs, optionsFromModule, }: {
|
|
5
5
|
optionsFromCliArgs: OptionsFromCliArgs;
|
|
6
6
|
optionsFromModule: ConfigFileOptions;
|
|
@@ -8,56 +8,56 @@ export declare function withConfigMigrations({ upstream, labels, branches, ...co
|
|
|
8
8
|
interactive?: boolean | undefined;
|
|
9
9
|
accessToken?: string | undefined;
|
|
10
10
|
logFilePath?: string | undefined;
|
|
11
|
+
assignees?: string[] | undefined;
|
|
11
12
|
author?: string | null | undefined;
|
|
12
13
|
autoAssign?: boolean | undefined;
|
|
13
|
-
|
|
14
|
+
autoFixConflicts?: (({ files, directory, logger, targetBranch, }: {
|
|
15
|
+
files: string[];
|
|
16
|
+
directory: string;
|
|
17
|
+
logger: import("winston").Logger;
|
|
18
|
+
targetBranch: string;
|
|
19
|
+
}) => boolean | Promise<boolean>) | undefined;
|
|
14
20
|
autoMerge?: boolean | undefined;
|
|
15
21
|
autoMergeMethod?: string | undefined;
|
|
22
|
+
backportBinary?: string | undefined;
|
|
16
23
|
cherrypickRef?: boolean | undefined;
|
|
17
|
-
|
|
24
|
+
commitPaths?: string[] | undefined;
|
|
18
25
|
details?: boolean | undefined;
|
|
19
26
|
dryRun?: boolean | undefined;
|
|
20
27
|
editor?: string | undefined;
|
|
21
|
-
|
|
28
|
+
gitAuthorEmail?: string | undefined;
|
|
29
|
+
gitAuthorName?: string | undefined;
|
|
22
30
|
gitHostname?: string | undefined;
|
|
31
|
+
githubActionRunId?: number | undefined;
|
|
23
32
|
githubApiBaseUrlV3?: string | undefined;
|
|
24
33
|
githubApiBaseUrlV4?: string | undefined;
|
|
25
|
-
gitAuthorName?: string | undefined;
|
|
26
|
-
gitAuthorEmail?: string | undefined;
|
|
27
34
|
ls?: boolean | undefined;
|
|
28
|
-
signoff?: boolean | undefined;
|
|
29
35
|
maxNumber?: number | undefined;
|
|
30
36
|
multipleBranches?: boolean | undefined;
|
|
31
37
|
multipleCommits?: boolean | undefined;
|
|
32
38
|
noVerify?: boolean | undefined;
|
|
33
|
-
repoForkOwner?: string | undefined;
|
|
34
39
|
prDescription?: string | undefined;
|
|
35
|
-
prTitle?: string | undefined;
|
|
36
40
|
prFilter?: string | undefined;
|
|
41
|
+
projectConfigFile?: string | undefined;
|
|
42
|
+
prTitle?: string | undefined;
|
|
43
|
+
publishStatusCommentOnAbort?: boolean | undefined;
|
|
44
|
+
publishStatusCommentOnFailure?: boolean | undefined;
|
|
45
|
+
publishStatusCommentOnSuccess?: boolean | undefined;
|
|
37
46
|
pullNumber?: number | number[] | undefined;
|
|
38
|
-
|
|
39
|
-
resetAuthor?: boolean | undefined;
|
|
40
|
-
repoOwner?: string | undefined;
|
|
47
|
+
repoForkOwner?: string | undefined;
|
|
41
48
|
repoName?: string | undefined;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
v?: boolean | undefined;
|
|
45
|
-
commitPaths?: string[] | undefined;
|
|
49
|
+
repoOwner?: string | undefined;
|
|
50
|
+
resetAuthor?: boolean | undefined;
|
|
46
51
|
reviewers?: string[] | undefined;
|
|
52
|
+
sha?: string | string[] | undefined;
|
|
53
|
+
signoff?: boolean | undefined;
|
|
54
|
+
skipRemoteConfig?: boolean | undefined;
|
|
55
|
+
sourceBranch?: string | undefined;
|
|
47
56
|
sourcePRLabels?: string[] | undefined;
|
|
48
57
|
targetBranchChoices?: import("../ConfigOptions").TargetBranchChoiceOrString[] | undefined;
|
|
49
58
|
targetBranches?: string[] | undefined;
|
|
50
59
|
targetPRLabels?: string[] | undefined;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
publishStatusCommentOnAbort?: boolean | undefined;
|
|
54
|
-
autoFixConflicts?: (({ files, directory, logger, targetBranch, }: {
|
|
55
|
-
files: string[];
|
|
56
|
-
directory: string;
|
|
57
|
-
logger: import("winston").Logger;
|
|
58
|
-
targetBranch: string;
|
|
59
|
-
}) => boolean | Promise<boolean>) | undefined;
|
|
60
|
-
backportBinary?: string | undefined;
|
|
61
|
-
githubActionRunId?: number | undefined;
|
|
60
|
+
version?: boolean | undefined;
|
|
61
|
+
v?: boolean | undefined;
|
|
62
62
|
branchLabelMapping?: Record<string, string> | undefined;
|
|
63
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigFileOptions, TargetBranchChoiceOrString } from './ConfigOptions';
|
|
2
2
|
import { OptionsFromCliArgs } from './cliArgs';
|
|
3
|
-
export
|
|
3
|
+
export type ValidConfigOptions = Readonly<Awaited<ReturnType<typeof getOptions>>>;
|
|
4
4
|
export declare const defaultConfigOptions: {
|
|
5
5
|
assignees: string[];
|
|
6
6
|
autoAssign: boolean;
|
|
@@ -44,50 +44,50 @@ export declare function getOptions({ optionsFromCliArgs, optionsFromModule, }: {
|
|
|
44
44
|
dir?: string | undefined;
|
|
45
45
|
interactive: boolean;
|
|
46
46
|
logFilePath?: string | undefined;
|
|
47
|
+
assignees: string[];
|
|
47
48
|
author: string | null;
|
|
48
49
|
autoAssign: boolean;
|
|
49
|
-
assignees: string[];
|
|
50
50
|
autoMerge: boolean;
|
|
51
51
|
autoMergeMethod: string;
|
|
52
52
|
cherrypickRef: boolean;
|
|
53
|
-
|
|
54
|
-
globalConfigFile?: string | undefined;
|
|
55
|
-
dateSince: string | null;
|
|
56
|
-
dateUntil: string | null;
|
|
53
|
+
commitPaths: string[];
|
|
57
54
|
details: boolean;
|
|
58
55
|
dryRun?: boolean | undefined;
|
|
59
56
|
editor?: string | undefined;
|
|
60
|
-
|
|
57
|
+
gitAuthorEmail?: string | undefined;
|
|
58
|
+
gitAuthorName?: string | undefined;
|
|
61
59
|
gitHostname: string;
|
|
62
60
|
githubApiBaseUrlV3?: string | undefined;
|
|
63
61
|
githubApiBaseUrlV4?: string | undefined;
|
|
64
|
-
gitAuthorName?: string | undefined;
|
|
65
|
-
gitAuthorEmail?: string | undefined;
|
|
66
62
|
ls?: boolean | undefined;
|
|
67
|
-
mainline?: number | undefined;
|
|
68
|
-
signoff: boolean;
|
|
69
63
|
maxNumber: number;
|
|
70
64
|
multipleBranches: boolean;
|
|
71
65
|
multipleCommits: boolean;
|
|
72
66
|
noVerify: boolean;
|
|
73
|
-
repoForkOwner: string;
|
|
74
|
-
onlyMissing?: boolean | undefined;
|
|
75
67
|
prDescription?: string | undefined;
|
|
76
|
-
prTitle?: string | undefined;
|
|
77
68
|
prFilter?: string | undefined;
|
|
69
|
+
projectConfigFile?: string | undefined;
|
|
70
|
+
prTitle?: string | undefined;
|
|
71
|
+
publishStatusCommentOnAbort: boolean;
|
|
72
|
+
publishStatusCommentOnFailure: boolean;
|
|
73
|
+
publishStatusCommentOnSuccess: boolean;
|
|
78
74
|
pullNumber?: number | number[] | undefined;
|
|
79
|
-
|
|
75
|
+
repoForkOwner: string;
|
|
80
76
|
resetAuthor: boolean;
|
|
81
|
-
sourceBranch: string;
|
|
82
|
-
commitPaths: string[];
|
|
83
77
|
reviewers: string[];
|
|
78
|
+
sha?: string | string[] | undefined;
|
|
79
|
+
signoff: boolean;
|
|
80
|
+
skipRemoteConfig?: boolean | undefined;
|
|
81
|
+
sourceBranch: string;
|
|
84
82
|
sourcePRLabels: string[];
|
|
85
83
|
targetBranchChoices: TargetBranchChoiceOrString[];
|
|
86
84
|
targetBranches: string[];
|
|
87
85
|
targetPRLabels: string[];
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
globalConfigFile?: string | undefined;
|
|
87
|
+
dateSince: string | null;
|
|
88
|
+
dateUntil: string | null;
|
|
89
|
+
mainline?: number | undefined;
|
|
90
|
+
onlyMissing?: boolean | undefined;
|
|
91
91
|
telemetry: boolean;
|
|
92
92
|
autoFixConflicts?: (({ files, directory, logger, targetBranch, }: {
|
|
93
93
|
files: string[];
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { BackportError } from './lib/BackportError';
|
|
2
2
|
import { Commit } from './lib/sourceCommit/parseSourceCommit';
|
|
3
3
|
import { ValidConfigOptions } from './options/options';
|
|
4
|
-
export
|
|
4
|
+
export type SuccessResult = {
|
|
5
5
|
status: 'success';
|
|
6
6
|
didUpdate: boolean;
|
|
7
7
|
targetBranch: string;
|
|
8
8
|
pullRequestUrl: string;
|
|
9
9
|
pullRequestNumber: number;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type HandledErrorResult = {
|
|
12
12
|
status: 'handled-error';
|
|
13
13
|
targetBranch: string;
|
|
14
14
|
error: BackportError;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type UnhandledErrorResult = {
|
|
17
17
|
status: 'unhandled-error';
|
|
18
18
|
targetBranch: string;
|
|
19
19
|
error: Error;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type Result = SuccessResult | HandledErrorResult | UnhandledErrorResult;
|
|
22
22
|
export declare function runSequentially({ options, commits, targetBranches, }: {
|
|
23
23
|
options: ValidConfigOptions;
|
|
24
24
|
commits: Commit[];
|
|
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
const packageVersionModule = __importStar(require("../../utils/packageVersion"));
|
|
31
|
-
const mocks_1 = require("../mocks");
|
|
32
31
|
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
33
32
|
jest.mock('find-up', () => {
|
|
34
33
|
return jest.fn(async () => '/path/to/project/config');
|
|
@@ -46,7 +45,6 @@ jest.mock('make-dir', () => {
|
|
|
46
45
|
jest.mock('del', () => {
|
|
47
46
|
return jest.fn(async (path) => `Attempted to delete ${path}`);
|
|
48
47
|
});
|
|
49
|
-
(0, mocks_1.mockOra)();
|
|
50
48
|
jest.mock('../../lib/logger', () => {
|
|
51
49
|
const spy = jest.fn();
|
|
52
50
|
const logger = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automatic-mocks.js","sourceRoot":"","sources":["../../../src/test/setupFiles/automatic-mocks.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iFAAmE;
|
|
1
|
+
{"version":3,"file":"automatic-mocks.js","sourceRoot":"","sources":["../../../src/test/setupFiles/automatic-mocks.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iFAAmE;AAEnE,yDAAyD;AAEzD,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;IACxB,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,yBAAyB,CAAC,CAAC;AACxD,CAAC,CAAC,CAAC;AAEH,mBAAmB;AACnB,4CAA4C;AAC5C,oBAAoB,CAAC,wBAAwB;IAC3C,oBAAoB,CAAC,eAAe,CAAC;AACvC,mBAAmB;AACnB,4CAA4C;AAC5C,oBAAoB,CAAC,eAAe,GAAG,cAAc,CAAC;AAEtD,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;IACzB,OAAO,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AACtD,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;IACpB,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,uBAAuB,IAAI,EAAE,CAAC,CAAC;AAChE,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,GAAG,EAAE;IACjC,MAAM,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IACtB,MAAM,MAAM,GAAG;QACb,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,CAAC,GAAW,EAAE,IAAa,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,GAAG,EAAE,EAAE,IAAI,CAAC;QAChE,OAAO,EAAE,CAAC,GAAW,EAAE,IAAa,EAAE,EAAE,CAAC,GAAG,CAAC,aAAa,GAAG,EAAE,EAAE,IAAI,CAAC;QACtE,IAAI,EAAE,CAAC,GAAW,EAAE,IAAa,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,GAAG,EAAE,EAAE,IAAI,CAAC;QAChE,KAAK,EAAE,CAAC,GAAW,EAAE,IAAa,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,GAAG,EAAE,EAAE,IAAI,CAAC;QAClE,KAAK,EAAE,CAAC,GAAW,EAAE,IAAa,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,GAAG,EAAE,EAAE,IAAI,CAAC;KACnE,CAAC;IACF,OAAO;QACL,UAAU,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;QACjC,iBAAiB,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC;QAChD,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE;QACrB,cAAc,EAAE,IAAI,CAAC,EAAE,EAAE;QACzB,MAAM;KACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Assign } from 'utility-types';
|
|
2
|
-
|
|
2
|
+
type ExcludeUndefined<T extends Record<string, any>> = Assign<T, Partial<Pick<T, {
|
|
3
3
|
[key in keyof T]-?: undefined extends T[key] ? key : never;
|
|
4
4
|
}[keyof T]>>>;
|
|
5
5
|
export declare function excludeUndefined<T extends Record<string, any>>(obj: T): ExcludeUndefined<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "8.9.
|
|
1
|
+
export declare const PACKAGE_VERSION = "8.9.8";
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"branches",
|
|
15
15
|
"branching"
|
|
16
16
|
],
|
|
17
|
-
"version": "8.9.
|
|
17
|
+
"version": "8.9.8",
|
|
18
18
|
"main": "./dist/entrypoint.api.js",
|
|
19
19
|
"types": "dist/entrypoint.api.d.ts",
|
|
20
20
|
"bin": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"postinstall": "test -f ./dist/scripts/runPostinstall.js && node ./dist/scripts/runPostinstall.js || echo 'Dist folder missing'",
|
|
26
26
|
"version": "echo \"Bumping version\" && yarn extractPackageVersion && git add src/utils/packageVersion.ts && yarn tsc",
|
|
27
27
|
"prepare": "husky install",
|
|
28
|
-
"prepublishOnly": "rm -rf ./dist/ && yarn lint && yarn tsc",
|
|
28
|
+
"prepublishOnly": "rm -rf ./dist/ && yarn && yarn lint && yarn tsc",
|
|
29
29
|
"extractPackageVersion": "node -p \"'export const PACKAGE_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" | prettier --parser typescript > src/utils/packageVersion.ts",
|
|
30
30
|
"lint-and-test": "yarn tsc && yarn lint && yarn test-all",
|
|
31
31
|
"lint": "echo \"Running lint\" && eslint './**/*.{ts,js}'",
|
|
@@ -63,16 +63,16 @@
|
|
|
63
63
|
"node": ">=16.0.0"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@octokit/rest": "^19.0.
|
|
67
|
-
"axios": "^1.
|
|
66
|
+
"@octokit/rest": "^19.0.7",
|
|
67
|
+
"axios": "^1.3.4",
|
|
68
68
|
"dedent": "^0.7.0",
|
|
69
69
|
"del": "^6.1.1",
|
|
70
70
|
"dotenv": "^16.0.3",
|
|
71
|
-
"elastic-apm-node": "
|
|
71
|
+
"elastic-apm-node": "3.46.0",
|
|
72
72
|
"find-up": "^5.0.0",
|
|
73
73
|
"graphql": "^16.6.0",
|
|
74
74
|
"graphql-tag": "^2.12.6",
|
|
75
|
-
"inquirer": "^8.2.
|
|
75
|
+
"inquirer": "^8.2.5",
|
|
76
76
|
"lodash": "^4.17.21",
|
|
77
77
|
"make-dir": "^3.1.0",
|
|
78
78
|
"ora": "^5.4.1",
|
|
@@ -81,36 +81,36 @@
|
|
|
81
81
|
"terminal-link": "^2.1.1",
|
|
82
82
|
"utility-types": "^3.10.0",
|
|
83
83
|
"winston": "^3.8.2",
|
|
84
|
-
"yargs": "^17.
|
|
84
|
+
"yargs": "^17.7.1",
|
|
85
85
|
"yargs-parser": "^21.1.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@types/core-js": "^2.5.5",
|
|
89
89
|
"@types/dedent": "^0.7.0",
|
|
90
|
-
"@types/inquirer": "^
|
|
91
|
-
"@types/jest": "^29.
|
|
92
|
-
"@types/lodash": "^4.14.
|
|
93
|
-
"@types/node": "^18.
|
|
90
|
+
"@types/inquirer": "^8.2.6",
|
|
91
|
+
"@types/jest": "^29.5.0",
|
|
92
|
+
"@types/lodash": "^4.14.191",
|
|
93
|
+
"@types/node": "^18.15.5",
|
|
94
94
|
"@types/safe-json-stringify": "^1.1.2",
|
|
95
|
-
"@types/yargs": "^17.0.
|
|
95
|
+
"@types/yargs": "^17.0.23",
|
|
96
96
|
"@types/yargs-parser": "^21.0.0",
|
|
97
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
98
|
-
"@typescript-eslint/parser": "^5.
|
|
99
|
-
"eslint": "^8.
|
|
100
|
-
"eslint-config-prettier": "^8.
|
|
101
|
-
"eslint-plugin-import": "^2.
|
|
102
|
-
"eslint-plugin-jest": "^27.
|
|
97
|
+
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
98
|
+
"@typescript-eslint/parser": "^5.56.0",
|
|
99
|
+
"eslint": "^8.36.0",
|
|
100
|
+
"eslint-config-prettier": "^8.8.0",
|
|
101
|
+
"eslint-plugin-import": "^2.27.5",
|
|
102
|
+
"eslint-plugin-jest": "^27.2.1",
|
|
103
103
|
"eslint-plugin-prettier": "^4.2.1",
|
|
104
|
-
"graphql-config": "^4.
|
|
105
|
-
"husky": "^8.0.
|
|
106
|
-
"jest": "^29.
|
|
104
|
+
"graphql-config": "^4.5.0",
|
|
105
|
+
"husky": "^8.0.3",
|
|
106
|
+
"jest": "^29.5.0",
|
|
107
107
|
"jest-snapshot-serializer-ansi": "^1.0.0",
|
|
108
|
-
"lint-staged": "^13.0
|
|
109
|
-
"nock": "^13.
|
|
110
|
-
"prettier": "^2.
|
|
108
|
+
"lint-staged": "^13.2.0",
|
|
109
|
+
"nock": "^13.3.0",
|
|
110
|
+
"prettier": "^2.8.6",
|
|
111
111
|
"strip-ansi": "^6.0.1",
|
|
112
|
-
"ts-jest": "^29.0.
|
|
112
|
+
"ts-jest": "^29.0.5",
|
|
113
113
|
"ts-node": "^10.9.1",
|
|
114
|
-
"typescript": "^
|
|
114
|
+
"typescript": "^5.0.2"
|
|
115
115
|
}
|
|
116
116
|
}
|