@tsdotnet/queue 1.2.12 → 1.2.14
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/package.json +6 -6
- package/eslint.config.mjs +0 -23
- package/rollup.config.js +0 -37
- package/vitest.config.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsdotnet/queue",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
4
4
|
"description": "A simple and fast FIFO collection for enqueuing and dequeuing items.",
|
|
5
5
|
"author": "electricessence",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"cpy-cli": "^6.0.0",
|
|
55
55
|
"eslint": "^9.34.0",
|
|
56
56
|
"rimraf": "^6.0.1",
|
|
57
|
-
"rollup": "^4.48.
|
|
58
|
-
"typedoc": "^0.28.
|
|
57
|
+
"rollup": "^4.48.1",
|
|
58
|
+
"typedoc": "^0.28.11",
|
|
59
59
|
"typescript": "^5.9.2",
|
|
60
|
-
"typescript-eslint": "^8.
|
|
60
|
+
"typescript-eslint": "^8.41.0",
|
|
61
61
|
"vitest": "^3.2.4"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@tsdotnet/collection-base": "^2.1.
|
|
65
|
-
"@tsdotnet/exceptions": "^1.2.
|
|
64
|
+
"@tsdotnet/collection-base": "^2.1.6",
|
|
65
|
+
"@tsdotnet/exceptions": "^1.2.5",
|
|
66
66
|
"tslib": "^2.8.1"
|
|
67
67
|
},
|
|
68
68
|
"pnpm": {
|
package/eslint.config.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import eslint from '@eslint/js';
|
|
2
|
-
import tseslint from 'typescript-eslint';
|
|
3
|
-
|
|
4
|
-
export default tseslint.config(
|
|
5
|
-
eslint.configs.recommended,
|
|
6
|
-
...tseslint.configs.recommended,
|
|
7
|
-
{
|
|
8
|
-
rules: {
|
|
9
|
-
"semi": ["warn", "always"],
|
|
10
|
-
"indent": ["warn", "tab", { "SwitchCase": 1 }],
|
|
11
|
-
"@typescript-eslint/no-explicit-any": "off"
|
|
12
|
-
},
|
|
13
|
-
files: ['src/**/*.ts'],
|
|
14
|
-
languageOptions: {
|
|
15
|
-
ecmaVersion: 2022,
|
|
16
|
-
sourceType: 'module',
|
|
17
|
-
globals: {
|
|
18
|
-
console: 'readonly',
|
|
19
|
-
process: 'readonly'
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
);
|
package/rollup.config.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'rollup';
|
|
2
|
-
import typescript from '@rollup/plugin-typescript';
|
|
3
|
-
import { readFileSync } from 'node:fs';
|
|
4
|
-
|
|
5
|
-
const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url)));
|
|
6
|
-
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
input: 'src/index.ts', // Just use the main entry point
|
|
9
|
-
output: {
|
|
10
|
-
dir: 'dist/esm',
|
|
11
|
-
format: 'es',
|
|
12
|
-
preserveModules: true, // This will automatically include all imported files!
|
|
13
|
-
preserveModulesRoot: 'src',
|
|
14
|
-
entryFileNames: '[name].js',
|
|
15
|
-
sourcemap: true
|
|
16
|
-
},
|
|
17
|
-
external: [
|
|
18
|
-
// Node core modules
|
|
19
|
-
/^node:/,
|
|
20
|
-
// All dependencies and peer dependencies
|
|
21
|
-
...Object.keys(pkg.dependencies || {}),
|
|
22
|
-
...Object.keys(pkg.peerDependencies || {})
|
|
23
|
-
],
|
|
24
|
-
plugins: [
|
|
25
|
-
typescript({
|
|
26
|
-
tsconfig: './tsconfig.esm.json',
|
|
27
|
-
declaration: false, // Keep your existing types build
|
|
28
|
-
declarationMap: false,
|
|
29
|
-
sourceMap: true,
|
|
30
|
-
removeComments: true // Explicitly remove source comments
|
|
31
|
-
})
|
|
32
|
-
]
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
package/vitest.config.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
});
|