Files
pezkuwi-api/packages
Satoshi Qazi Muhammed 44a7ea4baf typegen: make the metadata docs CLI work from CommonJS and without docs/
- metadataMd located @pezkuwi/api-derive with import.meta.resolve at
  module load. import.meta is a syntax error in the CJS output, so
  require('@pezkuwi/typegen/metadataMd') failed. The directory now comes
  from api-derive's packageInfo, which the build fills for each format
  (package root for ESM, cjs/ for CommonJS), and is looked up only when
  the derive docs are written.
- writeFile creates the output directory; the CLI used to die with an
  unhandled ENOENT unless docs/<chain> and docs/derives already existed.
- the endpoint examples in the CLI help pointed at
  wss://dicle-rpc.pezkuwi.io, which does not exist; they show
  wss://rpc.pezkuwichain.io.

From the installed packages, the ESM bin and require(...).main() now
write the same eight files, identical to what the ESM bin wrote before.
2026-10-08 04:09:59 +04:00
..
2026-10-08 03:23:10 +04:00
2026-10-08 03:23:10 +04:00
2026-10-08 03:23:10 +04:00