mapbox / mapbox/node-pre-gyp

How to build for all available platforms?

Open
#684 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.2k
Forks
271
Avg merge
23h 40m
Merged PRs (30d)
2

Description

Hello, there is package like sqlite3 and after npm i it creates node-sqlite.node file
for host platform
but how to force node-pre-gyp to compile sqlites .node files for all available platforms and place a lot of node files inside on binding's folder, not only host platform node file?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the node-pre-gyp build and install workflow and how npm installs the sqlite3 native node-sqlite.node binding. Determine whether the requested behavior is supported and which platforms need to be considered. Done means a documented or implemented way to produce and package bindings for all required platforms, rather than only the host platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.