@naturalcycles/dev-lib 20.56.0 → 20.57.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/vitest.config.js +1 -0
- package/dist/check.util.d.ts +1 -0
- package/dist/check.util.js +1 -1
- package/package.json +1 -1
package/cfg/vitest.config.js
CHANGED
|
@@ -81,6 +81,7 @@ export function getSharedConfig(cwd) {
|
|
|
81
81
|
setupFiles: getSetupFiles(testType, cwd),
|
|
82
82
|
logHeapUsage: true,
|
|
83
83
|
testTimeout: 60_000,
|
|
84
|
+
hookTimeout: 60_000,
|
|
84
85
|
slowTestThreshold: isCI ? 500 : 300, // higher threshold in CI
|
|
85
86
|
sequence: {
|
|
86
87
|
sequencer: VitestAlphabeticSequencer,
|
package/dist/check.util.d.ts
CHANGED
|
@@ -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 {
|
package/dist/check.util.js
CHANGED
|
@@ -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 =
|
|
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 = {};
|