Skip to content

No CI, and the ESM build is broken (missing .js import suffixes) #1

Open

Description

@onetechgroupll

From the SDK review 2026-09-15.

Evidence:

  • This repo has no CI at all — no build, no typecheck on push.
  • Verified: no import under src/ carries a .js suffix, so the ESM output (module: ./dist/esm/index.js) does not resolve under Node ESM. The README admits it ("most consumers use CJS") — honest, but not a state for a published SDK.
  • dist/ is (correctly) not committed, so npm install github:... depends on the prepare hook plus network for the TS toolchain — with no CI, a broken build goes unnoticed.

Fix: either repair the ESM output (suffix rewrite in the build script) or drop the module field and declare CJS-only. Either way, add a minimal GitHub Actions workflow (npm run build for CJS+ESM + typecheck).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions