@naturalcycles/dev-lib 19.14.2 → 19.16.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.
- package/cfg/eslint-rules.js +1 -0
- package/dist/bin/out.d.ts +2 -0
- package/dist/bin/out.js +14 -0
- package/package.json +4 -2
package/cfg/eslint-rules.js
CHANGED
|
@@ -408,6 +408,7 @@ export default {
|
|
|
408
408
|
'unicorn/expiring-todo-comments': 1, // warning, instead of error
|
|
409
409
|
'@typescript-eslint/return-await': [2, 'always'],
|
|
410
410
|
'@typescript-eslint/require-await': 0,
|
|
411
|
+
'unicorn/no-array-reverse': 0, // too early
|
|
411
412
|
'@typescript-eslint/no-misused-promises': 0,
|
|
412
413
|
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
413
414
|
'@typescript-eslint/no-unsafe-member-access': 0,
|
package/dist/bin/out.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawnSync } from 'node:child_process';
|
|
3
|
+
try {
|
|
4
|
+
spawnSync('pnpm', ['outdated'], {
|
|
5
|
+
encoding: 'utf8',
|
|
6
|
+
stdio: 'inherit',
|
|
7
|
+
shell: false,
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
catch {
|
|
11
|
+
// suppress the error, since `pnpm outdated`
|
|
12
|
+
// returns non-zero exit code if any outdated deps are found,
|
|
13
|
+
// but in fact it's perfectly fine and not an error exit
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.16.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@biomejs/biome": "^2",
|
|
7
7
|
"@commitlint/cli": "^19",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"eslint-plugin-import-x": "^4",
|
|
18
18
|
"eslint-plugin-jsdoc": "^51",
|
|
19
19
|
"eslint-plugin-simple-import-sort": "^12",
|
|
20
|
-
"eslint-plugin-unicorn": "^
|
|
20
|
+
"eslint-plugin-unicorn": "^60",
|
|
21
21
|
"eslint-plugin-vue": "^10",
|
|
22
22
|
"globals": "^16",
|
|
23
23
|
"lint-staged": "^16",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"main": "dist/index.js",
|
|
73
73
|
"types": "dist/index.d.ts",
|
|
74
74
|
"bin": {
|
|
75
|
+
"out": "dist/bin/out.js",
|
|
75
76
|
"dev-lib": "dist/bin/dev-lib.js"
|
|
76
77
|
},
|
|
77
78
|
"engines": {
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"typecheck": "tsx ./src/bin/dev-lib.ts typecheck",
|
|
98
99
|
"clean": "tsx ./src/bin/dev-lib.ts clean",
|
|
99
100
|
"build": "tsx ./src/bin/dev-lib.ts build",
|
|
101
|
+
"out": "tsx ./src/bin/out.ts",
|
|
100
102
|
"test": "tsx ./src/bin/dev-lib.ts test",
|
|
101
103
|
"test-leaks": "tsx ./src/bin/dev-lib.ts test-leaks",
|
|
102
104
|
"test-integration": "tsx ./src/bin/dev-lib.ts test-integration",
|