@hahahhh/sshx 0.0.1-rc.2 → 0.0.1-rc.3

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/bin/sshx.js +0 -1
  2. package/package.json +2 -2
package/bin/sshx.js CHANGED
@@ -16,7 +16,6 @@ import { fileURLToPath } from "node:url";
16
16
  const platformByNode = new Map([
17
17
  ["darwin", "darwin"],
18
18
  ["linux", "linux"],
19
- ["win32", "windows"],
20
19
  ]);
21
20
 
22
21
  const archByNode = new Map([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hahahhh/sshx",
3
- "version": "0.0.1-rc.2",
3
+ "version": "0.0.1-rc.3",
4
4
  "type": "module",
5
5
  "description": "Transparent SSH enhancement wrapper for OpenSSH",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "scripts": {
23
23
  "build": "node scripts/build-native.js",
24
- "build:go": "go build -trimpath -o sshx ./cmd/sshx",
24
+ "build:go": "go build -trimpath -ldflags \"-X github.com/xiaot623/sshx/internal/version.Version=${npm_package_version}\" -o sshx ./cmd/sshx",
25
25
  "check": "go vet ./...",
26
26
  "test": "go test ./...",
27
27
  "pre_release": "npm version prerelease --preid=rc -m \"chore: pre-release v%s\" && git push origin HEAD --follow-tags",