@empiricalrun/test-gen 0.70.0 → 0.70.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/upgrade-packages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAuBvD,eAAO,MAAM,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/upgrade-packages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAuBvD,eAAO,MAAM,mBAAmB,EAAE,IAmIjC,CAAC"}
|
|
@@ -60,15 +60,16 @@ This tool handles the entire workflow: editing the package.json file, running "n
|
|
|
60
60
|
isError: false,
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
+
const updateMessage = `upgrade ${changes.length} package${changes.length === 1 ? "" : "s"}`;
|
|
63
64
|
await (0, git_1.commitFilesAndPushBranch)({
|
|
64
|
-
commitMessage: `[upgrade-packages]
|
|
65
|
+
commitMessage: `[upgrade-packages] ${updateMessage} [skip ci]`,
|
|
65
66
|
branchName,
|
|
66
67
|
files: ["package.json", "package-lock.json"],
|
|
67
68
|
repoPath,
|
|
68
69
|
});
|
|
69
70
|
await new Promise((resolve) => setTimeout(resolve, 5_000));
|
|
70
71
|
const prBody = `Upgraded the following packages:\n\n${changes.map((c) => `- \`${c.name}\` → ${c.version ? c.version : "latest"}`).join("\n")}`;
|
|
71
|
-
const prTitle = `chore:
|
|
72
|
+
const prTitle = `chore: ${updateMessage}`;
|
|
72
73
|
let shouldMerge = false;
|
|
73
74
|
let prNumber = null;
|
|
74
75
|
let merged = false;
|