@naturalcycles/dev-lib 20.28.0 → 20.30.0

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.
@@ -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,
@@ -47,8 +47,8 @@
47
47
  "noUnusedLocals": false, // doesn't support _prefixed vars
48
48
  "noUnusedParameters": true,
49
49
 
50
- // Enabled should be faster, but will catch less errors
51
- // "skipLibCheck": true,
50
+ // Enabled for speedup
51
+ "skipLibCheck": true,
52
52
 
53
53
  // Other
54
54
  "jsx": "preserve",
@@ -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.28.0",
4
+ "version": "20.30.0",
5
5
  "dependencies": {
6
6
  "@biomejs/biome": "^2",
7
7
  "prompts": "^2",
@@ -48,7 +48,8 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^25",
51
- "@types/prompts": "^2"
51
+ "@types/prompts": "^2",
52
+ "@typescript/native-preview": "^7.0.0-0"
52
53
  },
53
54
  "exports": {
54
55
  "./cfg/": "./cfg/",