Replies: 1 comment
|
To narrow the option list slightly, I checked the registry and Worth spelling out how this ships broken quietly, because it explains why 0.11.3 has it too. pnpm rewrites I'd treat your fourth option as a real contender alongside the first rather than a fallback. Publishing Either way, the pack-and-install-into-a-clean-project test you offered is the part I'd want most, since that's the thing that would have caught this before 0.11.3 went out. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
The public
@proj-airi/server-sdk@0.12.0-beta.1package cannot install in an external project.The package depends on
@proj-airi/better-ws@^0.12.0-beta.1. The public npm registry does not contain this dependency.The Server SDK README gives external installation commands. I want to confirm the intended distribution path.
Environment
Steps to reproduce
mkdir airi-server-sdk-repro cd airi-server-sdk-repro pnpm init pnpm add @proj-airi/server-sdk@0.12.0-beta.1 \ --registry=https://registry.npmjs.orgActual result
The same dependency problem also affects
@proj-airi/server-sdk@0.11.3.In the current AIRI source,
packages/better-ws/package.jsoncontains"private": true.Expected result
If the Server SDK supports external projects, the installation command succeeds with the public npm registry.
If the Server SDK is internal, its documentation identifies the supported external integration path.
Question
Is
@proj-airi/server-sdkintended for use outside the AIRI monorepo?Which solution matches the intended package design?
@proj-airi/better-ws.better-wsintoserver-sdk.server-sdkinternal and document another external integration path.Contribution
I am willing to prepare a focused PR after you confirm the preferred direction.
I can also add a release regression test. The test will pack the related packages and install the Server SDK in a clean project.
I did not vendor AIRI packages or use a local monorepo link. Those workarounds would make the external integration non-reproducible.
All reactions