Skip to content

Commit

Permalink
refactor: migrate to prebuildify
Browse files Browse the repository at this point in the history
  • Loading branch information
markandrus committed Oct 12, 2024
1 parent 94c517f commit afe82ad
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1,462 deletions.
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"prepare:types": "pnpm -s dlx tsx scripts/inferFieldMetadata.ts && pnpm -s dlx tsx scripts/generateTypes.ts && pnpm -s format",
"prepare:tests": "pnpm -s dlx tsx scripts/generateTests.ts",
"prepublishOnly": "pnpm -s build",
"install": "[ ! -d .git ] && prebuild-install --runtime napi || true",
"ci:prebuild": "prebuild --runtime napi --target 8 --strip --verbose",
"ci:prebuild": "prebuildify --runtime napi --target 16.0.0 --strip --verbose",
"format": "biome format --write package.json src/lib/*.ts test/*.ts scripts/*.ts",
"test": "pnpm -s dlx vitest@2.0.5"
},
Expand All @@ -47,24 +46,24 @@
"plpgsql"
],
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^8.1.0",
"prebuild-install": "^7.1.2"
"node-gyp-build": "^4.8.2"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@radashi-org/biome-config": "^1.0.2",
"@types/bindings": "^1.5.5",
"@types/node": "^22.7.5",
"node-addon-api": "^8.1.0",
"node-gyp": "^10.0.1",
"prebuild": "^13.0.1",
"prebuildify": "^6.0.1",
"prettier": "^3.3.3",
"tinyrun": "^1.0.1",
"tsup": "^8.3.0",
"typescript": "^5.5.4",
"watchlist": "npm:@aleclarson/watchlist@^0.3.3"
},
"files": [
"dist"
"dist",
"prebuilds"
],
"engines": {
"node": ">=16"
Expand Down
Loading

0 comments on commit afe82ad

Please sign in to comment.