@naturalcycles/dev-lib 20.57.0 → 20.57.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/dist/config.d.ts CHANGED
@@ -30,7 +30,7 @@ export interface DevLibReleaseConfig {
30
30
  prereleaseBranches?: string[];
31
31
  /**
32
32
  * Post a ":tada: This PR is included in <release>" comment on each released PR.
33
- * Defaults to true.
33
+ * Defaults to false.
34
34
  */
35
35
  successComments?: boolean;
36
36
  }
@@ -37,8 +37,7 @@ export async function releaseCommand() {
37
37
  const dryRun = argv['dry-run'];
38
38
  const { release: cfg = {} } = await readDevLibConfigIfPresent();
39
39
  const stableBranches = cfg.branches || ['main', 'master'];
40
- const prereleaseBranches = cfg.prereleaseBranches || ['beta-*'];
41
- const successComments = cfg.successComments !== false;
40
+ const { prereleaseBranches = ['beta-*'], successComments = false } = cfg;
42
41
  const repo = getRepoInfo();
43
42
  const branch = getCurrentBranch();
44
43
  const channel = resolveChannel(branch, stableBranches, prereleaseBranches);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.57.0",
4
+ "version": "20.57.1",
5
5
  "dependencies": {
6
6
  "prompts": "^2",
7
7
  "@naturalcycles/js-lib": "^15",