rust-just 1.50.0 → 1.51.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.
- package/CHANGELOG.md +32 -0
- package/lib/index.mjs +3 -2
- package/package.json +12 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
[1.51.0](https://github.com/casey/just/releases/tag/1.50.0) - 2026-05-09
|
|
5
|
+
------------------------------------------------------------------------
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Add `no-cd` setting ([#2981](https://github.com/casey/just/pull/2981) by [hans-d](https://github.com/hans-d))
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Allow `[env]` attribute to take expressions ([#3329](https://github.com/casey/just/pull/3329) by [casey](https://github.com/casey))
|
|
12
|
+
- Allow using expressions with `[working-directory]` ([#3326](https://github.com/casey/just/pull/3326) by [casey](https://github.com/casey))
|
|
13
|
+
- Read justfile from standard input with `--justfile -` ([#3325](https://github.com/casey/just/pull/3325) by [casey](https://github.com/casey))
|
|
14
|
+
- Make `parent_directory()` of bare filename return `.` ([#3313](https://github.com/casey/just/pull/3313) by [casey](https://github.com/casey))
|
|
15
|
+
- Make `[env]` override module-level exports ([#3312](https://github.com/casey/just/pull/3312) by [casey](https://github.com/casey))
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fail on deep recursion instead of overflowing stack ([#3319](https://github.com/casey/just/pull/3319) by [casey](https://github.com/casey))
|
|
19
|
+
- Invoke chooser selections separately ([#3311](https://github.com/casey/just/pull/3311) by [casey](https://github.com/casey))
|
|
20
|
+
- Don't evaluate unused assertions ([#3310](https://github.com/casey/just/pull/3310) by [casey](https://github.com/casey))
|
|
21
|
+
- Respect lazy setting in submodules ([#3308](https://github.com/casey/just/pull/3308) by [casey](https://github.com/casey))
|
|
22
|
+
- Fix overrides not being visible in user-defined functions ([#3307](https://github.com/casey/just/pull/3307) by [casey](https://github.com/casey))
|
|
23
|
+
- Don't panic on invalid datetime format string ([#3304](https://github.com/casey/just/pull/3304) by [casey](https://github.com/casey))
|
|
24
|
+
|
|
25
|
+
### Misc
|
|
26
|
+
- Use `cargo-limit` commands in justfile ([#3331](https://github.com/casey/just/pull/3331) by [casey](https://github.com/casey))
|
|
27
|
+
- Simplify code more ([#3330](https://github.com/casey/just/pull/3330) by [casey](https://github.com/casey))
|
|
28
|
+
- Update install-dev-deps recipe with compatible mdbook ([#3328](https://github.com/casey/just/pull/3328) by [casey](https://github.com/casey))
|
|
29
|
+
- Simplify code ([#3327](https://github.com/casey/just/pull/3327) by [casey](https://github.com/casey))
|
|
30
|
+
- Link to duplicate recipe issue in readme ([#3321](https://github.com/casey/just/pull/3321) by [casey](https://github.com/casey))
|
|
31
|
+
- Remove periods from error messages ([#3316](https://github.com/casey/just/pull/3316) by [casey](https://github.com/casey))
|
|
32
|
+
- Avoid multi-sentence error messagess ([#3315](https://github.com/casey/just/pull/3315) by [casey](https://github.com/casey))
|
|
33
|
+
- Make error messages lowercase ([#3314](https://github.com/casey/just/pull/3314) by [casey](https://github.com/casey))
|
|
34
|
+
- Actually bump version to 1.50.0 ([#3303](https://github.com/casey/just/pull/3303) by [casey](https://github.com/casey))
|
|
35
|
+
|
|
4
36
|
[1.50.0](https://github.com/casey/just/releases/tag/1.50.0) - 2026-04-19
|
|
5
37
|
------------------------------------------------------------------------
|
|
6
38
|
|
package/lib/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { execa } from 'execa';
|
|
3
3
|
import { fileURLToPath } from 'url';
|
|
4
|
-
import { platform, arch } from 'os';
|
|
4
|
+
import { platform, arch, machine } from 'os';
|
|
5
5
|
import yargs from 'yargs/yargs';
|
|
6
6
|
import { hideBin } from 'yargs/helpers';
|
|
7
7
|
|
|
@@ -18,7 +18,8 @@ async function getExePath() {
|
|
|
18
18
|
}
|
|
19
19
|
if (arch$1 === "arm") {
|
|
20
20
|
const armVersion = process.config?.variables?.arm_version;
|
|
21
|
-
|
|
21
|
+
const machine$1 = typeof machine === "function" ? machine() : "";
|
|
22
|
+
if (armVersion === "7" || armVersion === 7 || machine$1.includes("armv7")) {
|
|
22
23
|
arch$1 = "armv7";
|
|
23
24
|
}
|
|
24
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-just",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "🤖 Just a command runner",
|
|
5
5
|
"bin": {
|
|
6
6
|
"just": "lib/index.mjs",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^25.0.3",
|
|
48
|
+
"@types/yargs": "^17.0.35",
|
|
48
49
|
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
|
49
50
|
"@typescript-eslint/parser": "^8.21.0",
|
|
50
51
|
"eslint": "^10.0.0",
|
|
@@ -52,16 +53,16 @@
|
|
|
52
53
|
"typescript": "^6.0.2"
|
|
53
54
|
},
|
|
54
55
|
"optionalDependencies": {
|
|
55
|
-
"rust-just-darwin-arm64": "1.
|
|
56
|
-
"rust-just-darwin-x64": "1.
|
|
57
|
-
"rust-just-linux-arm": "1.
|
|
58
|
-
"rust-just-linux-arm64": "1.
|
|
59
|
-
"rust-just-linux-armv7": "1.
|
|
60
|
-
"rust-just-linux-loong64": "1.
|
|
61
|
-
"rust-just-linux-riscv64": "1.
|
|
62
|
-
"rust-just-linux-x64": "1.
|
|
63
|
-
"rust-just-windows-arm64": "1.
|
|
64
|
-
"rust-just-windows-x64": "1.
|
|
56
|
+
"rust-just-darwin-arm64": "1.51.0",
|
|
57
|
+
"rust-just-darwin-x64": "1.51.0",
|
|
58
|
+
"rust-just-linux-arm": "1.51.0",
|
|
59
|
+
"rust-just-linux-arm64": "1.51.0",
|
|
60
|
+
"rust-just-linux-armv7": "1.51.0",
|
|
61
|
+
"rust-just-linux-loong64": "1.51.0",
|
|
62
|
+
"rust-just-linux-riscv64": "1.51.0",
|
|
63
|
+
"rust-just-linux-x64": "1.51.0",
|
|
64
|
+
"rust-just-windows-arm64": "1.51.0",
|
|
65
|
+
"rust-just-windows-x64": "1.51.0"
|
|
65
66
|
},
|
|
66
67
|
"eslintConfig": {
|
|
67
68
|
"extends": [
|