@naturalcycles/dev-lib 20.29.0 → 20.30.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.
@@ -31,7 +31,7 @@ const oxlintConfigPath = ['.oxlintrc.json'].find(fs.existsSync)
31
31
  let oxfmtCmd = undefined
32
32
 
33
33
  if (oxfmtConfigPath) {
34
- oxfmtCmd = 'oxfmt'
34
+ oxfmtCmd = 'oxfmt --no-error-on-unmatched-pattern'
35
35
  }
36
36
 
37
37
  let eslintCmd = undefined
@@ -199,6 +199,7 @@
199
199
  "unicorn/prefer-includes": 2,
200
200
  "unicorn/prefer-response-static-json": 2,
201
201
  "import/no-named-default": 2,
202
+ "import/consistent-type-specifier-style": 2,
202
203
  "unicorn/no-new-array": 0, // it's actually ok
203
204
  "unicorn/catch-error-name": [
204
205
  2,
@@ -1,4 +1,4 @@
1
- import { type SemVerString } from '@naturalcycles/js-lib/types';
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
4
  * Pass false to skip it.
@@ -8,7 +8,7 @@ import { _since } from '@naturalcycles/js-lib/datetime/time.util.js';
8
8
  import { _assert } from '@naturalcycles/js-lib/error/assert.js';
9
9
  import { _filterFalsyValues } from '@naturalcycles/js-lib/object/object.util.js';
10
10
  import { semver2 } from '@naturalcycles/js-lib/semver';
11
- import { _stringMapEntries, } from '@naturalcycles/js-lib/types';
11
+ import { _stringMapEntries } from '@naturalcycles/js-lib/types';
12
12
  import { dimGrey, white } from '@naturalcycles/nodejs-lib/colors';
13
13
  import { exec2 } from '@naturalcycles/nodejs-lib/exec2';
14
14
  import { fs2 } from '@naturalcycles/nodejs-lib/fs2';
@@ -1,4 +1,4 @@
1
- import { type DevLibCommitlintConfig } from './config.js';
1
+ import type { DevLibCommitlintConfig } from './config.js';
2
2
  /**
3
3
  * Validates the commit message,
4
4
  * which is read from a file, passed as process.argv.at(-1)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.29.0",
4
+ "version": "20.30.1",
5
5
  "dependencies": {
6
6
  "@biomejs/biome": "^2",
7
7
  "prompts": "^2",