@alphahydrae/exec 0.2.4 → 1.0.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 (2) hide show
  1. package/README.md +20 -9
  2. package/package.json +9 -8
package/README.md CHANGED
@@ -20,6 +20,10 @@ This package was developed to be used in Node.js scripts that are frontends to
20
20
  execute other commands. For example, a script that would build and execute a
21
21
  complex SSH or Ansible command.
22
22
 
23
+ [![version](https://img.shields.io/npm/v/@alphahydrae/exec)](https://www.npmjs.com/package/@alphahydrae/exec)
24
+ [![build](https://github.com/AlphaHydrae/node-exec/actions/workflows/build.yml/badge.svg)](https://github.com/AlphaHydrae/node-exec/actions/workflows/build.yml)
25
+ [![MIT License](https://img.shields.io/static/v1?label=license&message=MIT&color=informational)](https://opensource.org/licenses/MIT)
26
+
23
27
  <!-- START doctoc generated TOC please keep comment here to allow auto update -->
24
28
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
25
29
 
@@ -37,14 +41,21 @@ npm i @alphahydrae/exec
37
41
 
38
42
  ## Support matrix
39
43
 
40
- | OS & Architecture | Node 18 | Node 20 | Node 22 |
41
- | ----------------- | ------- | ------- | ------- |
42
- | macOS x64 ||||
43
- | macOS arm64 ||||
44
- | Linux x64 gnu ||||
45
- | Linux x64 musl ||||
46
- | Linux arm64 gnu ||||
47
- | Linux arm64 musl ||||
44
+ | OS & Architecture | Node.js 18 | Node.js 20 | Node.js 22 |
45
+ | :---------------- | :--------: | :--------: | :--------: |
46
+ | macOS x64 ||||
47
+ | macOS arm64 ||||
48
+ | Linux x64 gnu ||||
49
+ | Linux x64 musl ||||
50
+ | Linux arm64 gnu ||||
51
+ | Linux arm64 musl ||||
52
+ | Linux arm gnu | ❌ | ❌ | ❌ |
53
+ | Android arm64 | ❌ | ❌ | ❌ |
54
+ | Android armv7 | ❌ | ❌ | ❌ |
55
+ | FreeBSD x64 | ❌ | ❌ | ❌ |
56
+ | Windows x64 | ❌ | ❌ | ❌ |
57
+ | Windows x32 | ❌ | ❌ | ❌ |
58
+ | Windows arm64 | ❌ | ❌ | ❌ |
48
59
 
49
60
  > The `exec` family of functions is part of the
50
61
  > [POSIX](https://en.wikipedia.org/wiki/POSIX) operating system API, so it will
@@ -62,4 +73,4 @@ following conversations:
62
73
  Also a big thank you to the following Rust projects for making it easy:
63
74
 
64
75
  - [NAPI-RS](https://napi.rs) (build pre-compiled Node.js addons in Rust)
65
- - [nix](https://docs.rs/nix) (Rust-friendly bindings to the various *nix system functions)
76
+ - [nix](https://docs.rs/nix) (Rust-friendly bindings to the various \*nix system functions)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alphahydrae/exec",
3
- "version": "0.2.4",
3
+ "version": "1.0.2",
4
4
  "description": "The execvp function for Node.js",
5
5
  "main": "exec.js",
6
6
  "repository": {
@@ -37,6 +37,7 @@
37
37
  "artifacts": "napi artifacts",
38
38
  "build": "napi build --platform --release",
39
39
  "build:debug": "napi build --platform",
40
+ "build:package": "node scripts/build-packages.mjs",
40
41
  "check": "npm run lint && npm run format",
41
42
  "check:write": "npm run lint && npm run format:write",
42
43
  "doctoc": "doctoc --github --notitle README.md && prettier --write README.md",
@@ -49,7 +50,7 @@
49
50
  "lint": "cargo clippy",
50
51
  "prepublishOnly": "napi prepublish -t npm",
51
52
  "test": "jest",
52
- "version": "napi version"
53
+ "version": "napi version && npm run build:package && prettier --write ./npm/*/package.json"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@napi-rs/cli": "^2.18.4",
@@ -66,11 +67,11 @@
66
67
  "node": "^18 || ^20 || ^22"
67
68
  },
68
69
  "optionalDependencies": {
69
- "@alphahydrae/exec-darwin-x64": "0.2.4",
70
- "@alphahydrae/exec-linux-x64-gnu": "0.2.4",
71
- "@alphahydrae/exec-linux-x64-musl": "0.2.4",
72
- "@alphahydrae/exec-darwin-arm64": "0.2.4",
73
- "@alphahydrae/exec-linux-arm64-gnu": "0.2.4",
74
- "@alphahydrae/exec-linux-arm64-musl": "0.2.4"
70
+ "@alphahydrae/exec-darwin-x64": "1.0.2",
71
+ "@alphahydrae/exec-linux-x64-gnu": "1.0.2",
72
+ "@alphahydrae/exec-linux-x64-musl": "1.0.2",
73
+ "@alphahydrae/exec-darwin-arm64": "1.0.2",
74
+ "@alphahydrae/exec-linux-arm64-gnu": "1.0.2",
75
+ "@alphahydrae/exec-linux-arm64-musl": "1.0.2"
75
76
  }
76
77
  }