Merge 'bindings/javascript: Generate native npm packages at publish' from Pekka Enberg

Use the `napi create-npm-dirs` command to create the native packages and
remove the manually created ones. Unlocks wasm publish.

Closes #2316
This commit is contained in:
Pekka Enberg
2025-07-29 10:12:56 +03:00
7 changed files with 2 additions and 75 deletions

View File

@@ -228,6 +228,8 @@ jobs:
node-version: 20
- name: Install dependencies
run: yarn install
- name: create npm dirs
run: yarn napi create-npm-dirs
- name: Download all artifacts
uses: actions/download-artifact@v4
with:

View File

@@ -1,3 +0,0 @@
# `limbo-darwin-universal`
This is the **universal-apple-darwin** binary for `limbo`

View File

@@ -1,19 +0,0 @@
{
"name": "@tursodatabase/turso-darwin-universal",
"version": "0.1.3-pre.7",
"repository": {
"type": "git",
"url": "https://github.com/tursodatabase/turso"
},
"os": [
"darwin"
],
"main": "turso.darwin-universal.node",
"files": [
"turso.darwin-universal.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}

View File

@@ -1,3 +0,0 @@
# `limbo-linux-x64-gnu`
This is the **x86_64-unknown-linux-gnu** binary for `limbo`

View File

@@ -1,25 +0,0 @@
{
"name": "@tursodatabase/turso-linux-x64-gnu",
"version": "0.1.3-pre.7",
"repository": {
"type": "git",
"url": "https://github.com/tursodatabase/turso"
},
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "turso.linux-x64-gnu.node",
"files": [
"turso.linux-x64-gnu.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
},
"libc": [
"glibc"
]
}

View File

@@ -1,3 +0,0 @@
# `turso-win32-x64-msvc`
This is the **x86_64-pc-windows-msvc** binary for `@tursodatabase/turso`

View File

@@ -1,22 +0,0 @@
{
"name": "@tursodatabase/turso-win32-x64-msvc",
"version": "0.1.3-pre.7",
"repository": {
"type": "git",
"url": "https://github.com/tursodatabase/turso"
},
"os": [
"win32"
],
"cpu": [
"x64"
],
"main": "turso.win32-x64-msvc.node",
"files": [
"turso.win32-x64-msvc.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}