tsc-after 0.0.1 β 0.1.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/LICENSE.md +20 -0
- package/README.md +67 -0
- package/bin/tsc-after +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +191 -0
- package/dist/package.js +5 -0
- package/package.json +94 -10
- package/index.js +0 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
'Software'), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
17
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
18
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
19
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
20
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<h1 align="center">tsc-after</h1>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
Your <code>dist</code>, as <code>tsc</code> should've left it.
|
|
5
|
+
<code>tsconfig</code>-aware. Just run <code>tsc && tsc-after</code>.
|
|
6
|
+
π§Ή
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<!-- prettier-ignore-start -->
|
|
11
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
12
|
+
<a href="#contributors" target="_blank"><img alt="πͺ All Contributors: 1" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-1-21bb42.svg" /></a>
|
|
13
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
14
|
+
<!-- prettier-ignore-end -->
|
|
15
|
+
<a href="https://github.com/michal-kocarek/tsc-after/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank"><img alt="π€ Code of Conduct: Kept" src="https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42" /></a>
|
|
16
|
+
<a href="https://codecov.io/gh/michal-kocarek/tsc-after" target="_blank"><img alt="π§ͺ Coverage" src="https://img.shields.io/codecov/c/github/michal-kocarek/tsc-after?label=%F0%9F%A7%AA%20coverage" /></a>
|
|
17
|
+
<a href="https://github.com/michal-kocarek/tsc-after/blob/main/LICENSE.md" target="_blank"><img alt="π License: MIT" src="https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg" /></a>
|
|
18
|
+
<a href="http://npmjs.com/package/tsc-after" target="_blank"><img alt="π¦ npm version" src="https://img.shields.io/npm/v/tsc-after?color=21bb42&label=%F0%9F%93%A6%20npm" /></a>
|
|
19
|
+
<img alt="πͺ TypeScript: Strict" src="https://img.shields.io/badge/%F0%9F%92%AA_typescript-strict-21bb42.svg" />
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
> [!WARNING]
|
|
25
|
+
> The CLI is an unreleased prototype.
|
|
26
|
+
> Do not rely on it for builds yet.
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
tsc && tsc-after
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Cleaning is enabled by default.
|
|
33
|
+
An opt-in `--copy` capability for copying additional artifacts into `outDir` (usually `dist`) is planned, but not implemented yet.
|
|
34
|
+
See [`PRODUCT.md`](./PRODUCT.md#capabilities) for future work and open design questions.
|
|
35
|
+
|
|
36
|
+
The planned cleaner treats `outDir` as dedicated to TypeScript.
|
|
37
|
+
It may remove any regular file there that TypeScript would not emit from the current project, including copied assets.
|
|
38
|
+
Until `--copy` is available, if your build copies assets into `dist`, run cleanup before the copy step (for example, `tsc && tsc-after && cp assets/* dist/assets/`) or use a separate directory.
|
|
39
|
+
An `--exclude` option may be added later.
|
|
40
|
+
|
|
41
|
+
See [`PRODUCT.md`](./PRODUCT.md) for the planned CLI and feature set, and [`MARKET_RESEARCH.md`](./MARKET_RESEARCH.md) for the research behind it.
|
|
42
|
+
|
|
43
|
+
## Development
|
|
44
|
+
|
|
45
|
+
See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md), then [`.github/DEVELOPMENT.md`](./.github/DEVELOPMENT.md).
|
|
46
|
+
For publishing, see [`RELEASING.md`](./RELEASING.md).
|
|
47
|
+
Thanks! π§Ή
|
|
48
|
+
|
|
49
|
+
## Contributors
|
|
50
|
+
|
|
51
|
+
<!-- spellchecker: disable -->
|
|
52
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
53
|
+
<!-- prettier-ignore-start -->
|
|
54
|
+
<!-- markdownlint-disable -->
|
|
55
|
+
<table>
|
|
56
|
+
<tbody>
|
|
57
|
+
<tr>
|
|
58
|
+
<td align="center"><a href="https://github.com/michal-kocarek"><img src="https://avatars.githubusercontent.com/u/762095?v=4?s=100" width="100px;" alt="Michal KoΔΓ‘rek"/><br /><sub><b>Michal KoΔΓ‘rek</b></sub></a><br /><a href="https://github.com/michal-kocarek/tsc-after/commits?author=michal-kocarek" title="Code">π»</a> <a href="#content-michal-kocarek" title="Content">π</a> <a href="https://github.com/michal-kocarek/tsc-after/commits?author=michal-kocarek" title="Documentation">π</a> <a href="#ideas-michal-kocarek" title="Ideas, Planning, & Feedback">π€</a> <a href="#infra-michal-kocarek" title="Infrastructure (Hosting, Build-Tools, etc)">π</a> <a href="#maintenance-michal-kocarek" title="Maintenance">π§</a> <a href="#projectManagement-michal-kocarek" title="Project Management">π</a> <a href="#tool-michal-kocarek" title="Tools">π§</a></td>
|
|
59
|
+
</tr>
|
|
60
|
+
</tbody>
|
|
61
|
+
</table>
|
|
62
|
+
|
|
63
|
+
<!-- markdownlint-restore -->
|
|
64
|
+
<!-- prettier-ignore-end -->
|
|
65
|
+
|
|
66
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
67
|
+
<!-- spellchecker: enable -->
|
package/bin/tsc-after
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { name, version } from "./package.js";
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { parseArgs, styleText } from "node:util";
|
|
5
|
+
import ts from "typescript";
|
|
6
|
+
//#region src/index.ts
|
|
7
|
+
const argsConfig = { options: {
|
|
8
|
+
project: {
|
|
9
|
+
default: "tsconfig.json",
|
|
10
|
+
helpDescription: "Path to configuration file for this project, or to a folder with a 'tsconfig.json'.",
|
|
11
|
+
helpPlaceholder: "<path>",
|
|
12
|
+
short: "p",
|
|
13
|
+
type: "string"
|
|
14
|
+
},
|
|
15
|
+
dryRun: {
|
|
16
|
+
default: false,
|
|
17
|
+
helpDescription: "Do not delete any files.",
|
|
18
|
+
type: "boolean"
|
|
19
|
+
},
|
|
20
|
+
verbose: {
|
|
21
|
+
default: false,
|
|
22
|
+
helpDescription: "Print verbose output.",
|
|
23
|
+
type: "boolean"
|
|
24
|
+
},
|
|
25
|
+
version: {
|
|
26
|
+
default: false,
|
|
27
|
+
helpDescription: "Print version.",
|
|
28
|
+
type: "boolean"
|
|
29
|
+
},
|
|
30
|
+
help: {
|
|
31
|
+
default: false,
|
|
32
|
+
helpDescription: "Print this message.",
|
|
33
|
+
short: "h",
|
|
34
|
+
type: "boolean"
|
|
35
|
+
}
|
|
36
|
+
} };
|
|
37
|
+
const BIN_NAME = name;
|
|
38
|
+
function isNodeErrorOf(error, errorClass, code) {
|
|
39
|
+
if (!(error instanceof errorClass)) return false;
|
|
40
|
+
return !(code !== void 0 && "code" in error && error.code !== code);
|
|
41
|
+
}
|
|
42
|
+
function main() {
|
|
43
|
+
let args;
|
|
44
|
+
try {
|
|
45
|
+
args = parseArgs(argsConfig);
|
|
46
|
+
} catch (error) {
|
|
47
|
+
if (isNodeErrorOf(error, TypeError, "ERR_PARSE_ARGS_UNKNOWN_OPTION")) {
|
|
48
|
+
printError(`${error.message}.`);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
throw error;
|
|
52
|
+
}
|
|
53
|
+
if (args.values.help) {
|
|
54
|
+
const heading = (text) => styleText(["bold"], text), option = (name, description) => ` ${styleText("blueBright", name.padEnd(23))}${description}`;
|
|
55
|
+
print([
|
|
56
|
+
`${styleText("bold", BIN_NAME)} - Your dist, as tsc should've left it.`,
|
|
57
|
+
"",
|
|
58
|
+
"A tsconfig-aware companion to tsc. Removes stale build output by default.",
|
|
59
|
+
"",
|
|
60
|
+
heading("USAGE"),
|
|
61
|
+
` tsc && ${BIN_NAME} [options]`,
|
|
62
|
+
"",
|
|
63
|
+
heading("OPTIONS"),
|
|
64
|
+
...Object.entries(argsConfig.options).map(([name, opts]) => {
|
|
65
|
+
const keyParts = [`--${name}`];
|
|
66
|
+
if ("short" in opts) keyParts.push(`, -${opts.short}`);
|
|
67
|
+
switch (opts.type) {
|
|
68
|
+
case "boolean": break;
|
|
69
|
+
case "string": keyParts.push(` ${opts.helpPlaceholder}`);
|
|
70
|
+
}
|
|
71
|
+
return option(keyParts.join(""), opts.helpDescription);
|
|
72
|
+
})
|
|
73
|
+
].join("\n"));
|
|
74
|
+
process.exit(0);
|
|
75
|
+
}
|
|
76
|
+
if (args.values.version) {
|
|
77
|
+
print(`${BIN_NAME}/${version} ${process.platform}-${process.arch} node-${process.versions.node} typescript-${ts.version}`);
|
|
78
|
+
process.exit(0);
|
|
79
|
+
}
|
|
80
|
+
const cwd = process.cwd(), tsconfigAbsolutePath = path.resolve(cwd, args.values.project), tsconfigRelativePath = path.relative(cwd, tsconfigAbsolutePath);
|
|
81
|
+
if (tsconfigRelativePath === "" || tsconfigRelativePath === ".." || tsconfigRelativePath.startsWith(`..${path.sep}`) || path.isAbsolute(tsconfigRelativePath)) throw new Error(`Refusing to traverse outside current working directory to read tsconfig!`);
|
|
82
|
+
print(`Using tsconfig: ${tsconfigRelativePath}`);
|
|
83
|
+
const tsconfig = ts.getParsedCommandLineOfConfigFile(args.values.project, void 0, {
|
|
84
|
+
...ts.sys,
|
|
85
|
+
onUnRecoverableConfigFileDiagnostic: (diagnostic) => {
|
|
86
|
+
printError(JSON.stringify(diagnostic));
|
|
87
|
+
throw new Error("Unrecoverable config file diagnostic");
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
if (tsconfig?.options.outDir === void 0) throw new Error("outDir is required");
|
|
91
|
+
const outDirRelativePath = path.relative(path.dirname(tsconfigAbsolutePath), tsconfig.options.outDir);
|
|
92
|
+
if (outDirRelativePath === "" || outDirRelativePath === ".." || outDirRelativePath.startsWith(`..${path.sep}`) || path.isAbsolute(outDirRelativePath)) throw new Error(`Refusing to traverse outside safe paths containing tsconfig to process outDir!`);
|
|
93
|
+
if (tsconfig.options.incremental === true) throw new Error("Incremental mode is not supported");
|
|
94
|
+
if (tsconfig.options.tsBuildInfoFile !== void 0) throw new Error("tsBuildInfoFile is not supported");
|
|
95
|
+
if (tsconfig.options.composite === true) throw new Error("Composite mode is not supported");
|
|
96
|
+
if (tsconfig.options.project !== void 0) throw new Error("Project mode is not supported");
|
|
97
|
+
if (tsconfig.options.declarationDir !== void 0) throw new Error("declarationDir is not supported");
|
|
98
|
+
if (tsconfig.watchOptions) throw new Error("Watch mode is not supported");
|
|
99
|
+
print(JSON.stringify(tsconfig));
|
|
100
|
+
const expectedOutDirPaths = /* @__PURE__ */ new Set();
|
|
101
|
+
for (const file of tsconfig.fileNames) {
|
|
102
|
+
const output = ts.getOutputFileNames(tsconfig, file, !ts.sys.useCaseSensitiveFileNames), stat = fs.statSync(file);
|
|
103
|
+
print(file, " => ", JSON.stringify(output), JSON.stringify(stat));
|
|
104
|
+
output.forEach((fiePath) => expectedOutDirPaths.add(fiePath));
|
|
105
|
+
}
|
|
106
|
+
print(JSON.stringify(expectedOutDirPaths));
|
|
107
|
+
function readDir(dirPath) {
|
|
108
|
+
const verdicts = [], stat = fs.lstatSync(dirPath);
|
|
109
|
+
if (!stat.isDirectory()) throw new Error(`Not a directory ${dirPath}!`);
|
|
110
|
+
let dirIsEmpty = true;
|
|
111
|
+
for (const child of fs.readdirSync(dirPath)) {
|
|
112
|
+
const fullPath = path.join(dirPath, child), fullPathStat = fs.lstatSync(fullPath);
|
|
113
|
+
if (fullPathStat.dev !== stat.dev) {
|
|
114
|
+
if (args.values.verbose) verdicts.push({
|
|
115
|
+
path: fullPath,
|
|
116
|
+
reason: "different device",
|
|
117
|
+
type: "skipped"
|
|
118
|
+
});
|
|
119
|
+
dirIsEmpty = false;
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
if (fullPathStat.isFile()) {
|
|
123
|
+
if (expectedOutDirPaths.has(fullPath)) {
|
|
124
|
+
if (args.values.verbose) verdicts.push({
|
|
125
|
+
path: fullPath,
|
|
126
|
+
reason: "expected output file",
|
|
127
|
+
type: "skipped"
|
|
128
|
+
});
|
|
129
|
+
dirIsEmpty = false;
|
|
130
|
+
continue;
|
|
131
|
+
}
|
|
132
|
+
verdicts.push({
|
|
133
|
+
path: fullPath,
|
|
134
|
+
type: "removeFile"
|
|
135
|
+
});
|
|
136
|
+
continue;
|
|
137
|
+
}
|
|
138
|
+
if (fullPathStat.isDirectory()) {
|
|
139
|
+
const result = readDir(fullPath);
|
|
140
|
+
verdicts.push(...result.verdicts);
|
|
141
|
+
if (!result.dirIsEmpty) dirIsEmpty = false;
|
|
142
|
+
continue;
|
|
143
|
+
}
|
|
144
|
+
dirIsEmpty = false;
|
|
145
|
+
}
|
|
146
|
+
if (dirIsEmpty) verdicts.push({
|
|
147
|
+
path: dirPath,
|
|
148
|
+
type: "removeDir"
|
|
149
|
+
});
|
|
150
|
+
else verdicts.push({
|
|
151
|
+
path: dirPath,
|
|
152
|
+
reason: "directory not empty",
|
|
153
|
+
type: "skipped"
|
|
154
|
+
});
|
|
155
|
+
return {
|
|
156
|
+
dirIsEmpty,
|
|
157
|
+
verdicts
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
const result = readDir(tsconfig.options.outDir);
|
|
161
|
+
if (args.values.verbose) for (const verdict of result.verdicts) switch (verdict.type) {
|
|
162
|
+
case "removeDir":
|
|
163
|
+
print(`Remove empty directory: ${verdict.path}`);
|
|
164
|
+
break;
|
|
165
|
+
case "removeFile":
|
|
166
|
+
print(`Remove file: ${verdict.path}`);
|
|
167
|
+
break;
|
|
168
|
+
case "skipped": print(`Skipped (${verdict.reason}): ${verdict.path}`);
|
|
169
|
+
}
|
|
170
|
+
let removedDirs = 0, removedFiles = 0;
|
|
171
|
+
if (!args.values.dryRun) for (const verdict of result.verdicts) switch (verdict.type) {
|
|
172
|
+
case "removeDir":
|
|
173
|
+
fs.rmdirSync(verdict.path);
|
|
174
|
+
removedDirs++;
|
|
175
|
+
break;
|
|
176
|
+
case "removeFile":
|
|
177
|
+
fs.rmSync(verdict.path, { recursive: false });
|
|
178
|
+
removedFiles++;
|
|
179
|
+
}
|
|
180
|
+
if (args.values.dryRun || removedDirs > 0 || removedFiles > 0) print(`${BIN_NAME}: ${args.values.dryRun ? "Would remove" : "Removed"} ${removedFiles.toFixed()} files${removedDirs > 0 ? ` and ${removedDirs.toFixed()} empty directories` : ""} from ${styleText("italic", outDirRelativePath)}`);
|
|
181
|
+
}
|
|
182
|
+
function print(...messages) {
|
|
183
|
+
console.log(messages.join(" "));
|
|
184
|
+
}
|
|
185
|
+
function printError(...messages) {
|
|
186
|
+
console.error(styleText("red", `error: ${messages.join(" ")}`));
|
|
187
|
+
process.exitCode = 1;
|
|
188
|
+
}
|
|
189
|
+
main();
|
|
190
|
+
//#endregion
|
|
191
|
+
export {};
|
package/dist/package.js
ADDED
package/package.json
CHANGED
|
@@ -1,12 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "tsc-after",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Remove stale build output that tsc leaves behind when you delete or rename source files. Tsconfig-aware: just run tsc && tsc-after. π§Ή",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"build",
|
|
7
|
+
"clean",
|
|
8
|
+
"dist",
|
|
9
|
+
"orphan",
|
|
10
|
+
"outDir",
|
|
11
|
+
"stale",
|
|
12
|
+
"tsc",
|
|
13
|
+
"typescript",
|
|
14
|
+
"watch"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/michal-kocarek/tsc-after.git"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "michal-kocarek"
|
|
23
|
+
},
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"type": "module",
|
|
26
|
+
"exports": null,
|
|
27
|
+
"bin": {
|
|
28
|
+
"tsc-after": "bin/tsc-after"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist/"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsdown",
|
|
35
|
+
"format": "prettier --write .",
|
|
36
|
+
"lint": "eslint . --max-warnings 0",
|
|
37
|
+
"lint:knip": "KNIP_DISABLE_RAW_TRANSFER=1 knip",
|
|
38
|
+
"lint:spelling": "cspell --quiet --color .",
|
|
39
|
+
"prepare": "husky",
|
|
40
|
+
"release": "release-it",
|
|
41
|
+
"test": "vitest",
|
|
42
|
+
"test:e2e": "vitest --project e2e",
|
|
43
|
+
"test:unit": "vitest --project unit"
|
|
44
|
+
},
|
|
45
|
+
"lint-staged": {
|
|
46
|
+
"*": "prettier --ignore-unknown --write"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@arethetypeswrong/core": "0.18.5",
|
|
50
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
|
|
51
|
+
"@eslint/js": "10.0.1",
|
|
52
|
+
"@eslint/markdown": "8.0.3",
|
|
53
|
+
"@release-it/conventional-changelog": "12.0.2",
|
|
54
|
+
"@tsconfig/node-lts": "24.0.1",
|
|
55
|
+
"@tsconfig/node-ts": "23.6.4",
|
|
56
|
+
"@tsconfig/strictest": "2.0.8",
|
|
57
|
+
"@types/node": "26.6.2",
|
|
58
|
+
"@vitest/coverage-v8": "5.0.5",
|
|
59
|
+
"@vitest/eslint-plugin": "1.6.27",
|
|
60
|
+
"console-fail-test": "0.9.0",
|
|
61
|
+
"conventional-changelog-conventionalcommits": "10.4.1",
|
|
62
|
+
"cspell": "10.3.4",
|
|
63
|
+
"eslint": "10.11.0",
|
|
64
|
+
"eslint-import-resolver-typescript": "4.4.5",
|
|
65
|
+
"eslint-plugin-import-x": "4.17.1",
|
|
66
|
+
"eslint-plugin-jsdoc": "64.5.4",
|
|
67
|
+
"eslint-plugin-jsonc": "3.4.2",
|
|
68
|
+
"eslint-plugin-n": "18.3.0",
|
|
69
|
+
"eslint-plugin-package-json": "1.10.0",
|
|
70
|
+
"eslint-plugin-perfectionist": "5.12.1",
|
|
71
|
+
"eslint-plugin-regexp": "3.3.1",
|
|
72
|
+
"eslint-plugin-yml": "3.8.1",
|
|
73
|
+
"execa": "10.0.1",
|
|
74
|
+
"husky": "9.1.7",
|
|
75
|
+
"knip": "6.38.0",
|
|
76
|
+
"lint-staged": "17.5.1",
|
|
77
|
+
"prettier": "3.9.9",
|
|
78
|
+
"prettier-plugin-curly": "0.4.1",
|
|
79
|
+
"prettier-plugin-packagejson": "3.0.2",
|
|
80
|
+
"prettier-plugin-sentences-per-line": "0.2.5",
|
|
81
|
+
"prettier-plugin-sh": "0.20.2",
|
|
82
|
+
"publint": "0.3.24",
|
|
83
|
+
"release-it": "21.1.0",
|
|
84
|
+
"tsdown": "0.23.0",
|
|
85
|
+
"typescript": "6.0.3",
|
|
86
|
+
"typescript-eslint": "8.70.1",
|
|
87
|
+
"vitest": "5.0.5"
|
|
88
|
+
},
|
|
89
|
+
"peerDependencies": {
|
|
90
|
+
"typescript": ">=6.0.0"
|
|
91
|
+
},
|
|
92
|
+
"packageManager": "pnpm@12.14.0",
|
|
93
|
+
"engines": {
|
|
94
|
+
"node": ">=24.0.0"
|
|
95
|
+
}
|
|
12
96
|
}
|
package/index.js
DELETED
|
File without changes
|