@naturalcycles/dev-lib 20.56.1 → 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.
@@ -1,6 +1,7 @@
1
1
  import type { SemVerString } from '@naturalcycles/js-lib/types';
2
2
  /**
3
3
  * Every boolean defaults to true, so, by default - everything is being run.
4
+ * Exception: typecheck is off, since it's covered by oxlint typechecking.
4
5
  * Pass false to skip it.
5
6
  */
6
7
  export interface CheckOptions {
@@ -23,7 +23,7 @@ const { CI } = process.env;
23
23
  * If full=false - the "slow" linters are skipped.
24
24
  */
25
25
  export async function runCheck(opt = {}) {
26
- const { fastLinters = true, eslint = true, stylelint = true, oxfmt = true, ktlint = true, typecheck = true, test = true, } = opt;
26
+ const { fastLinters = true, eslint = true, stylelint = true, oxfmt = true, ktlint = true, typecheck = false, test = true, } = opt;
27
27
  const started = Date.now();
28
28
  let s;
29
29
  const timings = {};
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.56.1",
4
+ "version": "20.57.1",
5
5
  "dependencies": {
6
6
  "prompts": "^2",
7
7
  "@naturalcycles/js-lib": "^15",