@naturalcycles/dev-lib 20.65.1 → 20.65.3

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.
@@ -37,24 +37,6 @@ export function defineVitestMonorepoConfig(config: Partial<ViteUserConfig>): Vit
37
37
  */
38
38
  export function getSharedConfig(cwd?: string): InlineConfig
39
39
 
40
- /**
41
- * @deprecated Use defineVitestMonorepoConfig for the monorepo root config instead. It sets
42
- * `reporters` together with all the other root-only options.
43
- */
44
- export function getRootReporters(): InlineConfig['reporters']
45
-
46
- /**
47
- * @deprecated Use defineVitestMonorepoConfig for the monorepo root config instead. It sets
48
- * `outputFile` together with all the other root-only options.
49
- */
50
- export function getRootOutputFile(): InlineConfig['outputFile']
51
-
52
- /**
53
- * @deprecated Use defineVitestMonorepoConfig for the monorepo root config instead. It sets
54
- * `coverage` together with all the other root-only options.
55
- */
56
- export function getRootCoverage(): InlineConfig['coverage']
57
-
58
40
  export const CollectReporter: any
59
41
 
60
42
  export class SummaryReporter {}
@@ -12,7 +12,7 @@ const testType = getTestType(runsInIDE)
12
12
  const silent = getSilent(runsInIDE)
13
13
  const { include, exclude } = getIncludeAndExclude(testType)
14
14
  const isCI = !!process.env.CI
15
- const coverageEnabled = isCI && testType === 'unit'
15
+ const coverageEnabled = false // disabled by default
16
16
  const junitReporterEnabled = isCI && testType !== 'manual'
17
17
  const maxWorkers = getMaxWorkers()
18
18
  // threads are tested to be ~10% faster than forks in CI (and no change locally)
@@ -165,30 +165,6 @@ function getRootConfig() {
165
165
  }
166
166
  }
167
167
 
168
- /**
169
- * @deprecated Use defineVitestMonorepoConfig for the monorepo root config instead. It sets
170
- * `reporters` together with all the other root-only options (see getRootConfig).
171
- */
172
- export function getRootReporters() {
173
- return getReporters(junitReporterEnabled, testType)
174
- }
175
-
176
- /**
177
- * @deprecated Use defineVitestMonorepoConfig for the monorepo root config instead. It sets
178
- * `outputFile` together with all the other root-only options (see getRootConfig).
179
- */
180
- export function getRootOutputFile() {
181
- return getOutputFile()
182
- }
183
-
184
- /**
185
- * @deprecated Use defineVitestMonorepoConfig for the monorepo root config instead. It sets
186
- * `coverage` together with all the other root-only options (see getRootConfig).
187
- */
188
- export function getRootCoverage() {
189
- return getCoverageConfig()
190
- }
191
-
192
168
  /**
193
169
  * The reporters, shared by the per-package (getSharedConfig) and the monorepo root
194
170
  * (defineVitestMonorepoConfig) configs.
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.65.1",
4
+ "version": "20.65.3",
5
5
  "dependencies": {
6
6
  "prompts": "^2",
7
7
  "@naturalcycles/js-lib": "^15",
8
8
  "@naturalcycles/nodejs-lib": "^15",
9
- "@vitest/coverage-v8": "^5",
10
9
  "eslint-plugin-oxlint": "^1",
11
10
  "globals": "^17",
12
11
  "lint-staged": "^17",