cbor-extract 0.3.2 → 1.0.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.
@@ -1,7 +1,7 @@
1
1
  name: Prebuild
2
2
  on: [push]
3
3
  jobs:
4
- build-macos:
4
+ build-test-macos:
5
5
  if: startsWith(github.ref, 'refs/tags/')
6
6
  runs-on: macos-11
7
7
  steps:
@@ -11,6 +11,7 @@ jobs:
11
11
  with:
12
12
  node-version: 12
13
13
  - run: npm install
14
+ - run: npm test
14
15
  - run: npm run prebuild
15
16
  if: startsWith(github.ref, 'refs/tags/')
16
17
  - run: npm run prebuild-arm64
@@ -22,7 +23,7 @@ jobs:
22
23
  if: startsWith(github.ref, 'refs/tags/')
23
24
  with:
24
25
  files: prebuild-darwin.tar
25
- build-linux:
26
+ build-centos-7:
26
27
  if: startsWith(github.ref, 'refs/tags/')
27
28
  runs-on: ubuntu-18.04
28
29
  container: quay.io/pypa/manylinux2014_x86_64
@@ -35,11 +36,29 @@ jobs:
35
36
  node-version: 12
36
37
  - run: npm install
37
38
  - run: npm run prebuild
39
+ - run: npm test
38
40
  - run: tar --create --verbose --file=prebuild-linux.tar -C prebuilds .
39
41
  - name: Prebuild
42
+ if: startsWith(github.ref, 'refs/tags/')
40
43
  uses: softprops/action-gh-release@v1
41
44
  with:
42
45
  files: prebuild-linux.tar
46
+ build-alpine:
47
+ if: startsWith(github.ref, 'refs/tags/')
48
+ runs-on: ubuntu-18.04
49
+ container: node:12-alpine
50
+ steps:
51
+ - run: apk add python3 py3-pip build-base
52
+ - uses: actions/checkout@v2
53
+ - run: npm install
54
+ - run: npm run prebuild-musl
55
+ - run: npm test
56
+ - run: tar --create --verbose --file=prebuild-alpine.tar -C prebuilds .
57
+ - name: Prebuild
58
+ if: startsWith(github.ref, 'refs/tags/')
59
+ uses: softprops/action-gh-release@v1
60
+ with:
61
+ files: prebuild-alpine.tar
43
62
  build-linux-arm64:
44
63
  if: startsWith(github.ref, 'refs/tags/')
45
64
  runs-on: ubuntu-18.04
@@ -56,12 +75,13 @@ jobs:
56
75
  node-version: 12
57
76
  - run: npm install
58
77
  - run: npm run prebuild-arm64
78
+ if: startsWith(github.ref, 'refs/tags/')
59
79
  env:
60
80
  CC: aarch64-linux-gnu-gcc
61
81
  CXX: aarch64-linux-gnu-g++
62
82
  - run: tar --create --verbose --file=prebuild-linux-arm64.tar -C prebuilds .
63
83
  - name: Prebuild
84
+ if: startsWith(github.ref, 'refs/tags/')
64
85
  uses: softprops/action-gh-release@v1
65
86
  with:
66
87
  files: prebuild-linux-arm64.tar
67
-
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cbor-extract",
3
3
  "author": "Kris Zyp",
4
- "version": "0.3.2",
4
+ "version": "1.0.0",
5
5
  "description": "Node addon for string extraction for cbor-x",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -11,10 +11,10 @@
11
11
  "scripts": {
12
12
  "install": "node-gyp-build",
13
13
  "recompile": "node-gyp build",
14
- "prebuild-arm64": "prebuildify --arch=arm64 --target 17.0.1 && prebuildify --arch=arm64 --target 16.9.0 && prebuildify --arch=arm64 --target 14.17.6",
15
- "prebuild": "prebuildify --target 17.0.1 && prebuildify --target 16.9.0 && prebuildify --target 14.17.6 && prebuildify --target 12.18.0",
16
- "before-publish": "prebuildify-ci download && prebuildify --target 17.0.1 && prebuildify --target 16.9.0 && prebuildify --target 14.17.6 && prebuildify --target 12.18.0 && prebuildify --target electron@13.1.4",
17
- "test-prebuild": "prebuildify --target 16.9.0",
14
+ "before-publish": "prebuildify-ci download && prebuildify --target 17.2.0 && prebuildify --target 16.13.0 && prebuildify --target 15.5.0 && prebuildify --target 14.17.6 && prebuildify --target 12.22.7 && prebuildify --target electron@15.2.0",
15
+ "prebuild": "prebuildify --target 17.2.0 && prebuildify --target 16.13.0 && prebuildify --target 15.5.0 && prebuildify --target 14.17.6 && prebuildify --target 12.22.7 && prebuildify --target electron@15.2.0",
16
+ "prebuild-musl": "prebuildify --target 17.2.0 --libc musl --tag-libc && prebuildify --target 16.13.0 --libc musl --tag-libc && prebuildify --target 14.17.6 --libc musl --tag-libc && prebuildify --target 12.22.7 --libc musl --tag-libc",
17
+ "prebuild-arm64": "prebuildify --arch=arm64 --target 17.2.0 --libc musl && prebuildify --arch=arm64 --target 16.13.0 && prebuildify --arch=arm64 --target 14.17.6 && prebuildify --arch=arm64 --target electron@15.2.0",
18
18
  "test": ""
19
19
  },
20
20
  "main": "./index.js",
@@ -24,7 +24,7 @@
24
24
  "node-gyp-build": "^4.2.3"
25
25
  },
26
26
  "devDependencies": {
27
- "prebuildify": "kriszyp/prebuildify#b78c5a9",
27
+ "prebuildify": "^5.0.0",
28
28
  "prebuildify-ci": "^1.0.5"
29
29
  }
30
30
  }
index 0a4c9b9..bb4ff20 100644
Binary file
Binary file
Binary file
Binary file