Skip to content

Commit 62faba5

Browse files
committed
pkg
1 parent e53a18d commit 62faba5

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ test
55
package.json
66
build
77
docker
8+
libpg_query/**/*.a
9+
libpg_query/**/*.h
810

911
*.log
1012
npm-debug.log*

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ Primarily used for the node.js parser and deparser [pgsql-parser](https://github
1010
- `npx node-pre-gyp rebuild package`
1111
- With appropriate AWS credentials configured, `npx node-pre-gyp publish`
1212

13+
Or you can run the scripts
14+
15+
```
16+
npm run binary:build
17+
npm run binary:publish
18+
```
19+
1320
## Installation
1421

1522
```sh

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"configure": "node-pre-gyp configure",
1313
"install": "node-pre-gyp install --fallback-to-build",
1414
"rebuild": "node-pre-gyp configure rebuild",
15-
"test": "mocha --timeout 5000"
15+
"test": "mocha --timeout 5000",
16+
"binary:build": "node-pre-gyp rebuild package",
17+
"binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish"
1618
},
1719
"author": "Dan Lynch <[email protected]> (http://github.com/pyramation)",
1820
"license": "LICENSE IN LICENSE",

0 commit comments

Comments
 (0)