Skip to content

Research node-swift as a replacement for the shell-out npm path #10

Description

@leogdion

Moved from brightdigit/brightdigit.com#51, which was a bare link with no body.

https://github.com/kabiroberai/node-swift

Why it lands here

node-swift provides Swift↔Node interop (write Node native modules in Swift / call into Node from Swift). NPMPublishPlugin is the package that actually talks to npm, so any evaluation belongs against this codebase rather than the site repo.

What to actually evaluate

  • Whether NPMPublishPlugin's current npm invocation is a shell-out (it depends on ShellOut directly) and whether node-swift could replace that with in-process interop
  • Platform cost: node-swift requires a Node toolchain at build/run time — check what that does to the Linux/Windows/Android/wasm legs. brightdigit.com#78 (now closed) recorded ShellOut as one of the two blockers keeping this plugin off the cross-platform matrix, so this is the relevant tradeoff.
  • Whether the benefit justifies the dependency at all, versus keeping the shell-out

Status

Unscheduled research spike, not committed work.

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