Commit 1f6728c
committed
fix(scripts): repair clean.mts imports + drop dead minify validator
clean.mts crashed on first import (ERR_PACKAGE_PATH_NOT_EXPORTED): it
pulled safeDelete from @socketsecurity/lib/fs (no such export),
getDefaultLogger from @socketsecurity/lib/logger, and REPO_ROOT from a
non-existent ./paths.mts. Repoint at the canonical -stable subpaths
(@socketsecurity/lib-stable/fs/safe, .../logger/default) and
./fleet/paths.mts so `pnpm run clean` runs again.
Delete scripts/validate-esbuild-minify.mts: an orphan from the
esbuild->rolldown bundler migration. It imported a non-existent
.config/esbuild.config.mts, and its catch block set exitCode=1 while
main() overwrote it to 0 — so it always reported "passed" and could
never catch a real minify regression. Not wired into any package.json
script or CI gate; the rolldown validator supersedes it.1 parent ed7dd2b commit 1f6728c
2 files changed
Lines changed: 4 additions & 107 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
This file was deleted.
0 commit comments