duckdb 1.0.1-dev15.0 → 1.0.1-dev19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,7 +115,7 @@ jobs:
115
115
  osx-electron-arm64:
116
116
  name: Electron OSX
117
117
  runs-on: macos-14
118
- needs: set-up-npm
118
+ needs: [set-up-npm, set-up-electron-versions]
119
119
  strategy:
120
120
  matrix:
121
121
  version: ${{ fromJSON(needs.set-up-electron-versions.outputs.matrix) }}
@@ -161,7 +161,7 @@ jobs:
161
161
  osx-electron-x64:
162
162
  name: Electron OSX
163
163
  runs-on: macos-13
164
- needs: set-up-npm
164
+ needs: [set-up-npm, set-up-electron-versions]
165
165
  strategy:
166
166
  matrix:
167
167
  version: ${{ fromJSON(needs.set-up-electron-versions.outputs.matrix) }}
@@ -205,16 +205,15 @@ jobs:
205
205
  ELECTRON_VERSION: ${{ matrix.version.electron }}
206
206
 
207
207
  win-electron:
208
- name: node.js Windows
208
+ name: Electron Windows
209
209
  runs-on: windows-latest
210
- needs: set-up-npm
210
+ needs: [set-up-npm, set-up-electron-versions]
211
211
  continue-on-error: ${{ !startsWith(matrix.version.node, '18') && !startsWith(matrix.version.node, '20') && !startsWith(matrix.version.node, '21') }}
212
212
  env:
213
213
  npm_config_msvs_version: 2019
214
214
 
215
215
  strategy:
216
216
  matrix:
217
- target_arch: [ arm64 ]
218
217
  version: ${{ fromJSON(needs.set-up-electron-versions.outputs.matrix) }}
219
218
 
220
219
  steps:
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "1.0.1-dev15.0",
5
+ "version": "1.0.1-dev19.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
@@ -11,9 +11,11 @@ make clean
11
11
  if [ -n "$ELECTRON_VERSION" ] ; then
12
12
  # Electron's version.
13
13
  export npm_config_target="$ELECTRON_VERSION"
14
- # The architecture of your machine
15
- export npm_config_arch="$TARGET_ARCH"
16
- export npm_config_target_arch="$TARGET_ARCH"
14
+ if [ -n "$TARGET_ARCH" ] ; then
15
+ # The architecture of your machine
16
+ export npm_config_arch="$TARGET_ARCH"
17
+ export npm_config_target_arch="$TARGET_ARCH"
18
+ fi
17
19
  # Download headers for Electron.
18
20
  export npm_config_disturl=https://electronjs.org/headers
19
21
  # Tell node-pre-gyp that we are building for Electron.