depvitals 0.0.0-stage → 0.0.1
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/LICENSE +21 -0
- package/README.md +29 -2
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +25 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/runCli.d.ts +26 -0
- package/dist/cli/runCli.d.ts.map +1 -0
- package/dist/cli/runCli.js +111 -0
- package/dist/cli/runCli.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/package.json +66 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Matias Ricardi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DepVitals
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> A simple, lightweight dependency health checker for Node.js projects.
|
|
4
|
+
|
|
5
|
+
DepVitals is currently under development.
|
|
6
|
+
|
|
7
|
+
It is inspired by [depcheck](https://github.com/depcheck/depcheck) and aims to provide a modern,
|
|
8
|
+
focused alternative for checking project dependencies, without becoming a large all-in-one analysis
|
|
9
|
+
tool.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
The `v0.0.1` CLI supports:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx depvitals
|
|
17
|
+
npx depvitals --help
|
|
18
|
+
npx depvitals --version
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Current status
|
|
22
|
+
|
|
23
|
+
DepVitals is in early development.
|
|
24
|
+
|
|
25
|
+
- `v0.0.1` establishes the package and CLI foundation only.
|
|
26
|
+
- Dependency scanning is not implemented yet and begins in `v0.1.0`.
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync } from 'node:fs';
|
|
3
|
+
import { runCli } from './runCli.js';
|
|
4
|
+
/**
|
|
5
|
+
* Thin executable adapter for the `v0.0.1` CLI bootstrap.
|
|
6
|
+
*
|
|
7
|
+
* Its only responsibilities are:
|
|
8
|
+
* 1. resolve the package version from the single source of truth (`package.json`);
|
|
9
|
+
* 2. delegate argument handling to the pure `runCli` function;
|
|
10
|
+
* 3. render the result to stdout/stderr;
|
|
11
|
+
* 4. assign `process.exitCode` (never call `process.exit()`).
|
|
12
|
+
*
|
|
13
|
+
* The relative path works both from the TypeScript source (`src/cli/index.ts`) and from the built
|
|
14
|
+
* output (`dist/cli/index.js`), because both resolve to the repository root `package.json`.
|
|
15
|
+
*/
|
|
16
|
+
const version = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf8'));
|
|
17
|
+
const result = runCli(process.argv.slice(2), version.version);
|
|
18
|
+
if (result.stdout.length > 0) {
|
|
19
|
+
process.stdout.write(result.stdout);
|
|
20
|
+
}
|
|
21
|
+
if (result.stderr.length > 0) {
|
|
22
|
+
process.stderr.write(result.stderr);
|
|
23
|
+
}
|
|
24
|
+
process.exitCode = result.exitCode;
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CACxB,YAAY,CAAC,IAAI,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAC9C,CAAC;AAEzB,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AAE9D,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;IAC7B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACtC,CAAC;AAED,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;IAC7B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACtC,CAAC;AAED,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deterministic, side-effect-free CLI behavior for the `v0.0.1` bootstrap.
|
|
3
|
+
*
|
|
4
|
+
* The function never touches `process`: it receives the raw arguments and the package version and
|
|
5
|
+
* returns a plain result object that the thin adapter renders. This keeps the argument handling
|
|
6
|
+
* fully testable without mutating global process state.
|
|
7
|
+
*
|
|
8
|
+
* Behavior is intentionally strict for `v0.0.1`:
|
|
9
|
+
* - no arguments -> early-development message (exit 0)
|
|
10
|
+
* - exactly `--help`/`-h` -> help output (exit 0)
|
|
11
|
+
* - exactly `--version`/`-v`-> version output (exit 0)
|
|
12
|
+
* - anything else -> error (exit 1)
|
|
13
|
+
*/
|
|
14
|
+
export type CliResult = {
|
|
15
|
+
exitCode: number;
|
|
16
|
+
stdout: string;
|
|
17
|
+
stderr: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Entry point for CLI argument handling.
|
|
21
|
+
*
|
|
22
|
+
* @param args - The raw arguments (already stripped of `node` and the script path).
|
|
23
|
+
* @param version - The package version read from `package.json`.
|
|
24
|
+
*/
|
|
25
|
+
export declare function runCli(args: readonly string[], version: string): CliResult;
|
|
26
|
+
//# sourceMappingURL=runCli.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runCli.d.ts","sourceRoot":"","sources":["../../src/cli/runCli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA2EF;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAoB1E"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deterministic, side-effect-free CLI behavior for the `v0.0.1` bootstrap.
|
|
3
|
+
*
|
|
4
|
+
* The function never touches `process`: it receives the raw arguments and the package version and
|
|
5
|
+
* returns a plain result object that the thin adapter renders. This keeps the argument handling
|
|
6
|
+
* fully testable without mutating global process state.
|
|
7
|
+
*
|
|
8
|
+
* Behavior is intentionally strict for `v0.0.1`:
|
|
9
|
+
* - no arguments -> early-development message (exit 0)
|
|
10
|
+
* - exactly `--help`/`-h` -> help output (exit 0)
|
|
11
|
+
* - exactly `--version`/`-v`-> version output (exit 0)
|
|
12
|
+
* - anything else -> error (exit 1)
|
|
13
|
+
*/
|
|
14
|
+
const EARLY_DEVELOPMENT_MESSAGE = [
|
|
15
|
+
'DepVitals',
|
|
16
|
+
'',
|
|
17
|
+
'A simple, lightweight dependency health checker for Node.js projects.',
|
|
18
|
+
'',
|
|
19
|
+
'Early development release.',
|
|
20
|
+
'Run `depvitals --help` for available commands.',
|
|
21
|
+
].join('\n');
|
|
22
|
+
const HELP_MESSAGE = [
|
|
23
|
+
'DepVitals',
|
|
24
|
+
'',
|
|
25
|
+
'A simple, lightweight dependency health checker for Node.js projects.',
|
|
26
|
+
'',
|
|
27
|
+
'Usage:',
|
|
28
|
+
' depvitals [options]',
|
|
29
|
+
'',
|
|
30
|
+
'Options:',
|
|
31
|
+
' -h, --help Show help',
|
|
32
|
+
' -v, --version Show version',
|
|
33
|
+
].join('\n');
|
|
34
|
+
const PRODUCT_NAME = 'depvitals';
|
|
35
|
+
/**
|
|
36
|
+
* Render the early-development message shown when no argument is provided.
|
|
37
|
+
*/
|
|
38
|
+
function renderEarlyDevelopment() {
|
|
39
|
+
return {
|
|
40
|
+
exitCode: 0,
|
|
41
|
+
stdout: `${EARLY_DEVELOPMENT_MESSAGE}\n`,
|
|
42
|
+
stderr: '',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Render the help output.
|
|
47
|
+
*/
|
|
48
|
+
function renderHelp() {
|
|
49
|
+
return {
|
|
50
|
+
exitCode: 0,
|
|
51
|
+
stdout: `${HELP_MESSAGE}\n`,
|
|
52
|
+
stderr: '',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Render the package version. The version is passed in so the source of truth stays in
|
|
57
|
+
* `package.json` and is never duplicated as a hard-coded constant.
|
|
58
|
+
*/
|
|
59
|
+
function renderVersion(version) {
|
|
60
|
+
return {
|
|
61
|
+
exitCode: 0,
|
|
62
|
+
stdout: `${version}\n`,
|
|
63
|
+
stderr: '',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Build the error result for an unsupported argument or combination.
|
|
68
|
+
*/
|
|
69
|
+
function renderUnknownOption(option) {
|
|
70
|
+
const stderr = [
|
|
71
|
+
`Unknown option: ${option}`,
|
|
72
|
+
`Run '${PRODUCT_NAME} --help' for available commands.`,
|
|
73
|
+
].join('\n');
|
|
74
|
+
return {
|
|
75
|
+
exitCode: 1,
|
|
76
|
+
stdout: '',
|
|
77
|
+
stderr: `${stderr}\n`,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Entry point for CLI argument handling.
|
|
82
|
+
*
|
|
83
|
+
* @param args - The raw arguments (already stripped of `node` and the script path).
|
|
84
|
+
* @param version - The package version read from `package.json`.
|
|
85
|
+
*/
|
|
86
|
+
export function runCli(args, version) {
|
|
87
|
+
if (args.length === 0) {
|
|
88
|
+
return renderEarlyDevelopment();
|
|
89
|
+
}
|
|
90
|
+
if (args.length === 1) {
|
|
91
|
+
switch (args[0]) {
|
|
92
|
+
case '--help':
|
|
93
|
+
case '-h':
|
|
94
|
+
return renderHelp();
|
|
95
|
+
case '--version':
|
|
96
|
+
case '-v':
|
|
97
|
+
return renderVersion(version);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
// Exactly one argument was expected for a flag; anything else (extra tokens, combinations,
|
|
101
|
+
// positional paths, unknown flags) is unsupported for `v0.0.1`.
|
|
102
|
+
const firstUnknown = args.find((argument) => !isKnownFlag(argument));
|
|
103
|
+
return renderUnknownOption(firstUnknown ?? args.join(' '));
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Whether a single argument is one of the flags supported by `v0.0.1`.
|
|
107
|
+
*/
|
|
108
|
+
function isKnownFlag(argument) {
|
|
109
|
+
return (argument === '--help' || argument === '-h' || argument === '--version' || argument === '-v');
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=runCli.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runCli.js","sourceRoot":"","sources":["../../src/cli/runCli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAQH,MAAM,yBAAyB,GAAG;IAChC,WAAW;IACX,EAAE;IACF,uEAAuE;IACvE,EAAE;IACF,4BAA4B;IAC5B,gDAAgD;CACjD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,MAAM,YAAY,GAAG;IACnB,WAAW;IACX,EAAE;IACF,uEAAuE;IACvE,EAAE;IACF,QAAQ;IACR,uBAAuB;IACvB,EAAE;IACF,UAAU;IACV,4BAA4B;IAC5B,+BAA+B;CAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,MAAM,YAAY,GAAG,WAAW,CAAC;AAEjC;;GAEG;AACH,SAAS,sBAAsB;IAC7B,OAAO;QACL,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE,GAAG,yBAAyB,IAAI;QACxC,MAAM,EAAE,EAAE;KACX,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,UAAU;IACjB,OAAO;QACL,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE,GAAG,YAAY,IAAI;QAC3B,MAAM,EAAE,EAAE;KACX,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,aAAa,CAAC,OAAe;IACpC,OAAO;QACL,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE,GAAG,OAAO,IAAI;QACtB,MAAM,EAAE,EAAE;KACX,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,mBAAmB,CAAC,MAAc;IACzC,MAAM,MAAM,GAAG;QACb,mBAAmB,MAAM,EAAE;QAC3B,QAAQ,YAAY,kCAAkC;KACvD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,OAAO;QACL,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,GAAG,MAAM,IAAI;KACtB,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,IAAuB,EAAE,OAAe;IAC7D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,sBAAsB,EAAE,CAAC;IAClC,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,QAAQ,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YAChB,KAAK,QAAQ,CAAC;YACd,KAAK,IAAI;gBACP,OAAO,UAAU,EAAE,CAAC;YACtB,KAAK,WAAW,CAAC;YACjB,KAAK,IAAI;gBACP,OAAO,aAAa,CAAC,OAAO,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAED,2FAA2F;IAC3F,gEAAgE;IAChE,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrE,OAAO,mBAAmB,CAAC,YAAY,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7D,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAC,QAAgB;IACnC,OAAO,CACL,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,WAAW,IAAI,QAAQ,KAAK,IAAI,CAC5F,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal bootstrap module.
|
|
3
|
+
*
|
|
4
|
+
* DepVitals is CLI-first and deliberately exposes no programmatic entry point yet: `main`,
|
|
5
|
+
* `types` and `exports` are absent from `package.json`. The public API is defined by the roadmap
|
|
6
|
+
* release that introduces it, together with the packaging fields that expose it.
|
|
7
|
+
*/
|
|
8
|
+
export declare const packageName = "depvitals";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,cAAc,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal bootstrap module.
|
|
3
|
+
*
|
|
4
|
+
* DepVitals is CLI-first and deliberately exposes no programmatic entry point yet: `main`,
|
|
5
|
+
* `types` and `exports` are absent from `package.json`. The public API is defined by the roadmap
|
|
6
|
+
* release that introduces it, together with the packaging fields that expose it.
|
|
7
|
+
*/
|
|
8
|
+
export const packageName = 'depvitals';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depvitals",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "A simple, lightweight dependency health checker for Node.js projects.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nodejs",
|
|
7
|
+
"typescript",
|
|
8
|
+
"dependencies",
|
|
9
|
+
"dependency-analysis",
|
|
10
|
+
"dependency-checker",
|
|
11
|
+
"dependency-health",
|
|
12
|
+
"depcheck",
|
|
13
|
+
"cli"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=22.13.0"
|
|
19
|
+
},
|
|
20
|
+
"packageManager": "pnpm@11.28.3",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/MatiasRicardi/depvitals.git"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/MatiasRicardi/depvitals/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/MatiasRicardi/depvitals#readme",
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md"
|
|
32
|
+
],
|
|
33
|
+
"bin": {
|
|
34
|
+
"depvitals": "./dist/cli/index.js"
|
|
35
|
+
},
|
|
36
|
+
"sideEffects": false,
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"clean": "node -e \"fs.rmSync('dist',{ recursive: true, force: true })\"",
|
|
42
|
+
"build": "tsc -p tsconfig.build.json",
|
|
43
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
44
|
+
"lint": "eslint . --max-warnings 0",
|
|
45
|
+
"lint:fix": "eslint . --fix",
|
|
46
|
+
"format": "prettier --write .",
|
|
47
|
+
"format:check": "prettier --check .",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"test:watch": "vitest",
|
|
50
|
+
"test:coverage": "vitest run --coverage",
|
|
51
|
+
"verify:package": "node scripts/verify-package.mjs",
|
|
52
|
+
"check": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test",
|
|
53
|
+
"prepack": "pnpm run clean && pnpm run build",
|
|
54
|
+
"prepublishOnly": "pnpm run check"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@eslint/js": "10.0.1",
|
|
58
|
+
"@types/node": "22.20.5",
|
|
59
|
+
"@vitest/coverage-v8": "5.0.3",
|
|
60
|
+
"eslint": "10.12.0",
|
|
61
|
+
"eslint-config-prettier": "10.1.8",
|
|
62
|
+
"globals": "17.13.0",
|
|
63
|
+
"prettier": "3.9.9",
|
|
64
|
+
"typescript": "5.9.3",
|
|
65
|
+
"typescript-eslint": "8.71.0",
|
|
66
|
+
"vitest": "5.0.3"
|
|
67
|
+
}
|
|
68
|
+
}
|