@acalcutt/maplibre-gl-native-test 6.2.0-pre.0 → 6.2.0-pre.2

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.
Files changed (1) hide show
  1. package/package.json +14 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acalcutt/maplibre-gl-native-test",
3
- "version": "6.2.0-pre.0",
3
+ "version": "6.2.0-pre.2",
4
4
  "description": "Renders map tiles with MapLibre Native",
5
5
  "keywords": [
6
6
  "maplibre",
@@ -17,14 +17,13 @@
17
17
  "types": "index.d.ts",
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git+https://github.com/WifiDB/maplibre-native.git"
20
+ "url": "git+https://github.com/maplibre/maplibre-native.git"
21
21
  },
22
22
  "license": "BSD-2-Clause",
23
23
  "dependencies": {
24
- "@mapbox/node-pre-gyp": "2.0.0",
25
- "@acalcutt/node-pre-gyp-github": "2.0.1",
26
24
  "minimatch": "^9.0.4",
27
- "npm-run-all": "^4.1.5"
25
+ "npm-run-all": "^4.1.5",
26
+ "prebuild-install": "^7.1.3"
28
27
  },
29
28
  "devDependencies": {
30
29
  "@aws-sdk/client-device-farm": "^3.556.0",
@@ -46,6 +45,7 @@
46
45
  "mapbox-gl-styles": "2.0.2",
47
46
  "pixelmatch": "^5.3.0",
48
47
  "pngjs": "^7.0.0",
48
+ "prebuild": "^13.0.1",
49
49
  "pretty-bytes": "^6.1.1",
50
50
  "semver": "^7.6.0",
51
51
  "shuffle-seed": "1.1.6",
@@ -58,19 +58,19 @@
58
58
  "node": ">=18"
59
59
  },
60
60
  "scripts": {
61
- "install": "node-pre-gyp install --fallback-to-build=false",
61
+ "install": "prebuild-install --force || echo 'pre-compiled binary not found, please build from source'",
62
+ "prebuild": "prebuild --all --no-embed-source",
62
63
  "test": "tape test/js/**/*.test.js",
63
64
  "test-memory": "node --expose-gc test/memory.test.js",
64
65
  "test-expressions": "node -r esm test/expression.test.js",
65
66
  "test-render": "node -r esm test/render.test.js",
66
67
  "test-query": "node -r esm test/query.test.js"
67
68
  },
68
- "gypfile": true,
69
- "binary": {
70
- "module_name": "mbgl",
71
- "module_path": "./lib/{node_abi}",
72
- "host": "https://github.com/WifiDB/maplibre-native/releases/download/",
73
- "remote_path": "node-v{version}",
74
- "package_name": "{node_abi}-{platform}-{arch}-{configuration}.tar.gz"
69
+ "prebuild": {
70
+ "targets": [
71
+ "18.0.0",
72
+ "20.0.0",
73
+ "22.0.0"
74
+ ]
75
75
  }
76
- }
76
+ }