@naturalcycles/dev-lib 20.4.2 → 20.5.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 -1
- package/cfg/vitest.config.js +0 -2
- package/package.json +2 -2
package/cfg/eslint-rules.js
CHANGED
|
@@ -340,7 +340,7 @@ export default {
|
|
|
340
340
|
'unicorn/prefer-module': 0,
|
|
341
341
|
'unicorn/no-null': 0,
|
|
342
342
|
'unicorn/filename-case': 0,
|
|
343
|
-
'unicorn/prefer-node-protocol':
|
|
343
|
+
'unicorn/prefer-node-protocol': 0, // oxlint
|
|
344
344
|
'unicorn/prefer-set-has': 0,
|
|
345
345
|
'unicorn/explicit-length-check': 0,
|
|
346
346
|
'unicorn/no-array-for-each': 0,
|
package/cfg/vitest.config.js
CHANGED
|
@@ -14,7 +14,6 @@ const isCI = !!process.env['CI']
|
|
|
14
14
|
const coverageEnabled = isCI && testType === 'unit'
|
|
15
15
|
const junitReporterEnabled = isCI && testType !== 'manual'
|
|
16
16
|
const maxWorkers = getMaxWorkers()
|
|
17
|
-
const minWorkers = maxWorkers
|
|
18
17
|
// threads are tested to be ~10% faster than forks in CI (and no change locally)
|
|
19
18
|
// UPD: it was not statistically significant, so, reverting back to forks which is more stable
|
|
20
19
|
// UPD2: in a different experiment, threads show ~10% faster locally, consistently
|
|
@@ -69,7 +68,6 @@ export function defineVitestConfig(config) {
|
|
|
69
68
|
*/
|
|
70
69
|
export const sharedConfig = {
|
|
71
70
|
pool,
|
|
72
|
-
minWorkers,
|
|
73
71
|
maxWorkers,
|
|
74
72
|
isolate: false,
|
|
75
73
|
watch: false,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "20.
|
|
4
|
+
"version": "20.5.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@biomejs/biome": "^2",
|
|
7
7
|
"@commitlint/cli": "^20",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@naturalcycles/js-lib": "^15",
|
|
12
12
|
"@naturalcycles/nodejs-lib": "^15",
|
|
13
13
|
"@stylistic/eslint-plugin": "^5",
|
|
14
|
-
"@vitest/coverage-v8": "^
|
|
14
|
+
"@vitest/coverage-v8": "^4",
|
|
15
15
|
"@vitest/eslint-plugin": "^1",
|
|
16
16
|
"eslint": "^9",
|
|
17
17
|
"eslint-plugin-import-x": "^4",
|