@tsdotnet/queue 1.2.9 → 1.2.11

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.
Files changed (2) hide show
  1. package/package.json +8 -6
  2. package/vitest.config.ts +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsdotnet/queue",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "description": "A simple and fast FIFO collection for enqueuing and dequeuing items.",
5
5
  "author": "electricessence",
6
6
  "license": "MIT",
@@ -26,9 +26,10 @@
26
26
  "build:types": "cpy \"src/**/*.d.ts\" dist/types --parents && tsc -p tsconfig.types.json",
27
27
  "build:esm": "rollup -c rollup.config.js",
28
28
  "build:cjs": "tsc -p tsconfig.cjs.json",
29
- "build": "pnpm clean && pnpm build:types && pnpm build:esm && pnpm build:cjs",
29
+ "build": "pnpm clean && pnpm build:types && pnpm build:esm && pnpm build:cjs && pnpm typecheck:tests",
30
30
  "test": "vitest run",
31
31
  "typecheck": "tsc --noEmit",
32
+ "typecheck:tests": "tsc -p tests/tsconfig.json --noEmit",
32
33
  "lint": "eslint src/**/*.ts",
33
34
  "docs": "rimraf docs && typedoc --options typedoc.json --readme none",
34
35
  "bump": "pnpm run precommit && pnpm version patch",
@@ -46,20 +47,21 @@
46
47
  },
47
48
  "homepage": "https://github.com/tsdotnet/queue#readme",
48
49
  "devDependencies": {
49
- "@eslint/js": "^9.33.0",
50
+ "@eslint/js": "^9.34.0",
50
51
  "@rollup/plugin-typescript": "^12.1.4",
51
52
  "@types/node": "^24.3.0",
53
+ "@vitest/coverage-v8": "^3.2.4",
52
54
  "cpy-cli": "^6.0.0",
53
- "eslint": "^9.33.0",
55
+ "eslint": "^9.34.0",
54
56
  "rimraf": "^6.0.1",
55
- "rollup": "^4.46.3",
57
+ "rollup": "^4.48.0",
56
58
  "typedoc": "^0.28.10",
57
59
  "typescript": "^5.9.2",
58
60
  "typescript-eslint": "^8.40.0",
59
61
  "vitest": "^3.2.4"
60
62
  },
61
63
  "dependencies": {
62
- "@tsdotnet/collection-base": "^2.1.3",
64
+ "@tsdotnet/collection-base": "^2.1.4",
63
65
  "@tsdotnet/exceptions": "^1.2.4",
64
66
  "tslib": "^2.8.1"
65
67
  },
@@ -0,0 +1,22 @@
1
+ import { defineConfig } from 'vitest/config';
2
+
3
+ export default defineConfig({
4
+ test: {
5
+ globals: true,
6
+ environment: 'node',
7
+ coverage: {
8
+ enabled: true,
9
+ reporter: ['text'],
10
+ include: ['src/**/*.ts'],
11
+ exclude: ['src/**/*.d.ts'],
12
+ thresholds: {
13
+ global: {
14
+ branches: 80,
15
+ functions: 80,
16
+ lines: 80,
17
+ statements: 80
18
+ }
19
+ }
20
+ },
21
+ },
22
+ });