mirror of
https://github.com/zadam/trilium.git
synced 2026-09-14 11:06:04 +05:00
The scripts project is referenced from the root solution, so `pnpm typecheck` was building it on every run — over an empty program. `include` resolves against the directory holding the tsconfig, but its globs were written as if they were relative to the repository root, so `scripts/*.ts` looked for scripts/scripts/*.ts and matched nothing. Nothing under scripts/ has been typechecked for as long as the file has looked like this. Widened to the whole tree, .mts included, which also covers translation/ and repo-migration/. That found one bug: on anything other than NixOS, `isNixOS() && getNixLdLibraryPath()` is `false` rather than `undefined`, and Node stringifies it instead of dropping it — so `pnpm desktop:start` launched Electron with LD_LIBRARY_PATH=false. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| icon-packs | ||
| icons | ||
| repo-migration | ||
| translation | ||
| analyze-perf.ts | ||
| build-portable-better-sqlite3.sh | ||
| build-utils.ts | ||
| check-version-consistency.ts | ||
| electron-run-prod.mts | ||
| electron-start.mts | ||
| filter-tsc-output.mts | ||
| release-notes-body.mts | ||
| release-notes-body.spec.ts | ||
| tsconfig.json | ||
| update-build-info.ts | ||
| update-contributors.ts | ||
| update-flake-electron.spec.ts | ||
| update-flake-electron.ts | ||
| update-nightly-version.ts | ||
| update-version.ts | ||
| utils.mts | ||
| vitest.config.ts | ||
| wipe-node-modules.mts | ||