You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ARI-2162] CLI → Ship a bundled TypeScript build under MIT - #37
The package ships its raw src folder rather than a build, and nothing checks what gets published
The CLI is JavaScript while team-plain/sdk is TypeScript
Changes
Add the MIT licence, matching team-plain/sdk
Rewrite the CLI and its tests in TypeScript, with a typecheck step in CI
Bundle with tsdown into a single ESM file with no sourcemaps, and publish only dist
Check the bundle in CI the way the sdk does: a size limit, publint --strict, and installing the packed CLI on Node.js 22.12.0, 22 and 24
Run the tests against the built CLI rather than the source, so they cover what ships
Hold @types/node at the major that matches engines.node
Why
With trusted publishing the build is signed, so the published output should be a deliberate, checked artefact
No change to commands, flags or output, so this releases as a patch
Note
Low Risk
Packaging and toolchain changes only; commands and API usage are unchanged, with CI validating the published bundle on multiple Node versions.
Overview
The CLI is now TypeScript and publishes a single bundled ESM artefact (dist/index.mjs) via tsdown, instead of shipping raw src. The package adds an MIT licence, points bin and files at dist, and release/test scripts build before pack or publish.
CI gains typecheck, build, size-limit (5 kB on the bundle), and publint --strict. Tests run TypeScript with node --experimental-strip-types, exercise the built CLI (including global install of the packed tarball on Node 22.12, 22, and 24). Dependabot ignores semver-major @types/node updates so types stay aligned with engines.node.
Runtime behaviour for index-url / index-sitemap is unchanged aside from stricter typing and safer unknown-error handling in createKnowledgeSource.
Reviewed by Cursor Bugbot for commit eeac3cb. Bugbot is set up for automated code reviews on this repo. Configure here.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/typescript@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-aix-ppc64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-aix-ppc64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-darwin-arm64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-darwin-arm64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-darwin-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-darwin-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-freebsd-arm64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-freebsd-arm64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-freebsd-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-freebsd-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-arm under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-arm@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-arm64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-arm64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-loong64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-loong64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-mips64el under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-mips64el@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-ppc64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-ppc64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-riscv64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-riscv64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-s390x under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-s390x@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-linux-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-linux-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-netbsd-arm64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-netbsd-arm64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-netbsd-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-netbsd-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-openbsd-arm64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-openbsd-arm64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-openbsd-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-openbsd-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-sunos-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-sunos-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-win32-arm64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-win32-arm64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm @typescript/typescript-win32-x64 under MIT-Khronos-old
License: MIT-Khronos-old - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
License: CC-BY-4.0 - The applicable license policy does not permit this license (5) (package/NOTICE.txt)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/@typescript/typescript-win32-x64@7.0.2. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves ARI-2162
Problem
srcfolder rather than a build, and nothing checks what gets publishedteam-plain/sdkis TypeScriptChanges
team-plain/sdktypecheckstep in CIdistpublint --strict, and installing the packed CLI on Node.js 22.12.0, 22 and 24@types/nodeat the major that matchesengines.nodeWhy
Note
Low Risk
Packaging and toolchain changes only; commands and API usage are unchanged, with CI validating the published bundle on multiple Node versions.
Overview
The CLI is now TypeScript and publishes a single bundled ESM artefact (
dist/index.mjs) via tsdown, instead of shipping rawsrc. The package adds an MIT licence, pointsbinandfilesatdist, and release/test scripts build before pack or publish.CI gains
typecheck,build, size-limit (5 kB on the bundle), and publint --strict. Tests run TypeScript withnode --experimental-strip-types, exercise the built CLI (including global install of the packed tarball on Node 22.12, 22, and 24). Dependabot ignores semver-major@types/nodeupdates so types stay aligned withengines.node.Runtime behaviour for
index-url/index-sitemapis unchanged aside from stricter typing and safer unknown-error handling increateKnowledgeSource.Reviewed by Cursor Bugbot for commit eeac3cb. Bugbot is set up for automated code reviews on this repo. Configure here.