@goodfoot/git-mesh 1.0.72 → 1.0.77

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.
package/bin/git-mesh CHANGED
@@ -1,4 +1,5 @@
1
- #!/bin/sh
2
- # Replaced by postinstall with a symlink to the native binary.
3
- echo "@goodfoot/git-mesh: Installation incomplete. Run 'npm install @goodfoot/git-mesh' to finish setup." >&2
4
- exit 1
1
+ @goodfoot/git-mesh placeholder. This file is replaced by scripts/postinstall.js
2
+ with the native binary for your platform. Its first line intentionally has NO
3
+ "#!" shebang so npm/yarn/pnpm cmd-shim generates direct-exec .cmd/.ps1/sh
4
+ wrappers (no /bin/sh, no node) that run the native binary installed here.
5
+ If you are seeing this text executed, the postinstall step did not run.
package/man/git-mesh.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH git-mesh 1 "git-mesh 1.0.72"
3
+ .TH git-mesh 1 "git-mesh 1.0.77"
4
4
  .ie \n(.g .ds Aq \(aq
5
5
  .el .ds Aq '
6
6
  .SH NAME
@@ -141,7 +141,7 @@ Print this message or the help of the given subcommand(s)
141
141
  .ie \n(.g .ds Aq \(aq
142
142
  .el .ds Aq '
143
143
  .SH VERSION
144
- v1.0.72
144
+ v1.0.77
145
145
  .SH EXAMPLES
146
146
  Anchor a new mesh alongside a code change:
147
147
  .PP
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodfoot/git-mesh",
3
- "version": "1.0.72",
3
+ "version": "1.0.77",
4
4
  "bin": "bin/git-mesh",
5
5
  "man": [
6
6
  "man/git-mesh.1"
@@ -23,11 +23,11 @@
23
23
  "scripts/postinstall.js"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "@goodfoot/git-mesh-darwin-arm64": "1.0.72",
27
- "@goodfoot/git-mesh-darwin-x64": "1.0.72",
28
- "@goodfoot/git-mesh-linux-arm64": "1.0.72",
29
- "@goodfoot/git-mesh-linux-x64": "1.0.72",
30
- "@goodfoot/git-mesh-win32-x64": "1.0.72"
26
+ "@goodfoot/git-mesh-darwin-arm64": "1.0.77",
27
+ "@goodfoot/git-mesh-darwin-x64": "1.0.77",
28
+ "@goodfoot/git-mesh-linux-arm64": "1.0.77",
29
+ "@goodfoot/git-mesh-linux-x64": "1.0.77",
30
+ "@goodfoot/git-mesh-win32-x64": "1.0.77"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
@@ -99,6 +99,11 @@ function main() {
99
99
  buildFromSource(sourceBinary, sourceBinaryName);
100
100
  }
101
101
 
102
+ // Install the native binary at the single `bin` path npm wrapped. The
103
+ // committed placeholder has no shebang, so npm/yarn/pnpm generated
104
+ // direct-exec wrappers pointing here; replacing it in place makes them run
105
+ // the real binary. Extensionless on every platform — Windows CreateProcess
106
+ // executes a valid PE by explicit path regardless of extension.
102
107
  const binGitMesh = path.join(__dirname, '..', 'bin', 'git-mesh');
103
108
 
104
109
  try {