Skip to content

refactor: pull node binaries into separate packages#88

Merged
wjones127 merged 16 commits into
mainfrom
wjones127/release-ci
Jun 1, 2023
Merged

refactor: pull node binaries into separate packages#88
wjones127 merged 16 commits into
mainfrom
wjones127/release-ci

Conversation

@wjones127

@wjones127 wjones127 commented May 18, 2023

Copy link
Copy Markdown
Contributor

Changes:

  • Refactors the Node module to load the shared library from a separate package. When a user does npm install vectordb, the correct optional dependency is automatically downloaded by npm.
  • Brings Rust and Node versions in alignment at 0.1.2.
  • Add scripts and instructions to build Linux and MacOS node artifacts locally.
  • Add instructions for publishing the npm module and crates.

@wjones127
wjones127 force-pushed the wjones127/release-ci branch 16 times, most recently from d85cb06 to 1d00a1d Compare May 25, 2023 06:03
@wjones127
wjones127 force-pushed the wjones127/release-ci branch from 6a5358d to f9db5fe Compare May 25, 2023 16:23
@wjones127
wjones127 force-pushed the wjones127/release-ci branch 3 times, most recently from 700d4d3 to 9990ad0 Compare May 25, 2023 17:59
@wjones127
wjones127 force-pushed the wjones127/release-ci branch 4 times, most recently from 09baa19 to 968b024 Compare May 25, 2023 23:58
@wjones127
wjones127 force-pushed the wjones127/release-ci branch from 968b024 to d236303 Compare May 26, 2023 23:31
@wjones127 wjones127 changed the title wip: see if we can build the lib in ci refactor: pull node binaries into separate packages May 26, 2023
@wjones127
wjones127 marked this pull request as ready for review May 27, 2023 00:00
@wjones127
wjones127 requested a review from gsilvestrin May 27, 2023 00:06
Comment thread ci/build_macos_artifacts.sh Outdated
Comment thread node/package.json
"author": "Lance Devs",
"license": "Apache-2.0",
"devDependencies": {
"@neon-rs/cli": "^0.0.74",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My concern here is mostly how experimental neon-rs is since it is not a project maintained by the neon project itself. Can we migrate away from it if needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I hope neon-bindings gets an official tool for this soon. neon-rs is written by one of the core maintainers of neon-bindings, so I'm hopeful it will become official eventually. If that doesn't happen, we will have to decide whether we want to fork neon-rs and maintain it ourselves, or switch to napi-rs which does provide these utilities.

@gsilvestrin gsilvestrin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor comments

@wjones127
wjones127 merged commit e50b642 into main Jun 1, 2023
@wjones127
wjones127 deleted the wjones127/release-ci branch June 1, 2023 16:17
gsilvestrin pushed a commit that referenced this pull request Jun 1, 2023
gsilvestrin added a commit that referenced this pull request Jun 1, 2023
jaichopra pushed a commit that referenced this pull request Jun 2, 2023
Changes:

* Refactors the Node module to load the shared library from a separate
package. When a user does `npm install vectordb`, the correct optional
dependency is automatically downloaded by npm.
* Brings Rust and Node versions in alignment at 0.1.2.
* Add scripts and instructions to build Linux and MacOS node artifacts
locally.
* Add instructions for publishing the npm module and crates.
jaichopra pushed a commit that referenced this pull request Jun 2, 2023
jaichopra pushed a commit that referenced this pull request Jun 2, 2023
Changes:

* Refactors the Node module to load the shared library from a separate
package. When a user does `npm install vectordb`, the correct optional
dependency is automatically downloaded by npm.
* Brings Rust and Node versions in alignment at 0.1.2.
* Add scripts and instructions to build Linux and MacOS node artifacts
locally.
* Add instructions for publishing the npm module and crates.
jaichopra pushed a commit that referenced this pull request Jun 2, 2023
jaichopra pushed a commit that referenced this pull request Jun 2, 2023
Changes:

* Refactors the Node module to load the shared library from a separate
package. When a user does `npm install vectordb`, the correct optional
dependency is automatically downloaded by npm.
* Brings Rust and Node versions in alignment at 0.1.2.
* Add scripts and instructions to build Linux and MacOS node artifacts
locally.
* Add instructions for publishing the npm module and crates.
jaichopra pushed a commit that referenced this pull request Jun 2, 2023
gsilvestrin pushed a commit that referenced this pull request Jun 15, 2023
Changes:

* Refactors the Node module to load the shared library from a separate
package. When a user does `npm install vectordb`, the correct optional
dependency is automatically downloaded by npm.
* Brings Rust and Node versions in alignment at 0.1.2.
* Add scripts and instructions to build Linux and MacOS node artifacts
locally.
* Add instructions for publishing the npm module and crates.
gsilvestrin pushed a commit that referenced this pull request Jun 15, 2023
Changes:

* Refactors the Node module to load the shared library from a separate
package. When a user does `npm install vectordb`, the correct optional
dependency is automatically downloaded by npm.
* Brings Rust and Node versions in alignment at 0.1.2.
* Add scripts and instructions to build Linux and MacOS node artifacts
locally.
* Add instructions for publishing the npm module and crates.
raghavdixit99 pushed a commit to raghavdixit99/lancedb that referenced this pull request Apr 5, 2024
Changes:

* Refactors the Node module to load the shared library from a separate
package. When a user does `npm install vectordb`, the correct optional
dependency is automatically downloaded by npm.
* Brings Rust and Node versions in alignment at 0.1.2.
* Add scripts and instructions to build Linux and MacOS node artifacts
locally.
* Add instructions for publishing the npm module and crates.
raghavdixit99 pushed a commit to raghavdixit99/lancedb that referenced this pull request Apr 5, 2024
alexkohler pushed a commit to alexkohler/lancedb that referenced this pull request Apr 20, 2024
This keeps the format a little simpler and gives us room to
figure out where to put it (along with index perhaps?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants