@goodfoot/git-mesh 1.0.60 → 1.0.64

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/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.60"
3
+ .TH git-mesh 1 "git-mesh 1.0.64"
4
4
  .ie \n(.g .ds Aq \(aq
5
5
  .el .ds Aq '
6
6
  .SH NAME
@@ -140,7 +140,7 @@ Print this message or the help of the given subcommand(s)
140
140
  .ie \n(.g .ds Aq \(aq
141
141
  .el .ds Aq '
142
142
  .SH VERSION
143
- v1.0.60
143
+ v1.0.64
144
144
  .SH EXAMPLES
145
145
  Anchor a new mesh alongside a code change:
146
146
  .PP
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@goodfoot/git-mesh",
3
- "version": "1.0.60",
3
+ "version": "1.0.64",
4
4
  "bin": "bin/git-mesh",
5
5
  "man": [
6
6
  "man/git-mesh.1"
7
7
  ],
8
8
  "scripts": {
9
9
  "postinstall": "node scripts/postinstall.js",
10
- "build:man": "env CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/build\" cargo run --quiet --bin gen-manpage -- man/git-mesh.1",
11
- "build": "yarn build:man && env CARGO_BUILD_JOBS=1 CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/build\" cargo build --release",
10
+ "prebuild": "bash scripts/cleanup-stale-target.sh",
11
+ "build:man": "bash scripts/cleanup-stale-target.sh && env CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/build\" cargo run --quiet --bin gen-manpage -- man/git-mesh.1",
12
+ "build": "yarn build:man && env CARGO_BUILD_JOBS=1 CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/build\" cargo build --release",
12
13
  "build:local": "bash scripts/build-local.sh",
13
- "build:clean": "rm -rf \"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}\" && yarn build:man && env CARGO_BUILD_JOBS=1 CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/build\" cargo build --release",
14
- "test": "env CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/test\" cargo nextest run --build-jobs 1",
15
- "lint": "env CARGO_BUILD_JOBS=1 RUSTFLAGS=\"-W unused -W dead-code\" CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/lint\" cargo clippy --quiet -- -D warnings",
16
- "typecheck": "env CARGO_BUILD_JOBS=1 RUSTFLAGS=\"-W unused -W dead-code\" CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/typecheck\" cargo check --quiet --locked",
17
- "udeps": "env CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-$HOME/.cache/git-mesh/cargo-target}/udeps\" cargo +nightly udeps"
14
+ "build:clean": "bash scripts/cleanup-stale-target.sh && rm -rf \"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}\" && yarn build:man && env CARGO_BUILD_JOBS=1 CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/build\" cargo build --release",
15
+ "test": "bash scripts/cleanup-stale-target.sh && env CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/test\" cargo nextest run --build-jobs 1",
16
+ "lint": "bash scripts/cleanup-stale-target.sh && env CARGO_BUILD_JOBS=1 RUSTFLAGS=\"-W unused -W dead-code\" CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/lint\" cargo clippy --quiet -- -D warnings",
17
+ "typecheck": "bash scripts/cleanup-stale-target.sh && env CARGO_BUILD_JOBS=1 RUSTFLAGS=\"-W unused -W dead-code\" CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/typecheck\" cargo check --quiet --locked",
18
+ "udeps": "bash scripts/cleanup-stale-target.sh && env CARGO_TARGET_DIR=\"${GIT_MESH_CARGO_TARGET_ROOT:-./target-cache}/udeps\" cargo +nightly udeps"
18
19
  },
19
20
  "files": [
20
21
  "bin/",
@@ -22,11 +23,11 @@
22
23
  "scripts/postinstall.js"
23
24
  ],
24
25
  "optionalDependencies": {
25
- "@goodfoot/git-mesh-darwin-arm64": "1.0.60",
26
- "@goodfoot/git-mesh-darwin-x64": "1.0.60",
27
- "@goodfoot/git-mesh-linux-arm64": "1.0.60",
28
- "@goodfoot/git-mesh-linux-x64": "1.0.60",
29
- "@goodfoot/git-mesh-win32-x64": "1.0.60"
26
+ "@goodfoot/git-mesh-darwin-arm64": "1.0.64",
27
+ "@goodfoot/git-mesh-darwin-x64": "1.0.64",
28
+ "@goodfoot/git-mesh-linux-arm64": "1.0.64",
29
+ "@goodfoot/git-mesh-linux-x64": "1.0.64",
30
+ "@goodfoot/git-mesh-win32-x64": "1.0.64"
30
31
  },
31
32
  "repository": {
32
33
  "type": "git",
@@ -31,7 +31,7 @@ function buildFromSource(destBinary, binaryName) {
31
31
 
32
32
  console.log(`@goodfoot/git-mesh: Prebuilt binary missing; building from source via cargo...`);
33
33
 
34
- const targetDir = path.join(__dirname, '..', 'target', 'build');
34
+ const targetDir = path.join(__dirname, '..', 'target-cache', 'build');
35
35
  const result = spawnSync('cargo', ['build', '--release', '--manifest-path', cargoToml], {
36
36
  stdio: 'inherit',
37
37
  env: { ...process.env, CARGO_BUILD_JOBS: '1', CARGO_TARGET_DIR: targetDir }