rust-just 1.37.0 → 1.39.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 CHANGED
@@ -1,6 +1,73 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ [1.39.0](https://github.com/casey/just/releases/tag/1.39.0) - 2025-01-22
5
+ ------------------------------------------------------------------------
6
+
7
+ ### Added
8
+ - Add `which()` and `require()` for finding executables ([#2440](https://github.com/casey/just/pull/2440) by [0xzhzh](https://github.com/0xzhzh))
9
+ - Add `no-exit-message` Setting and `[exit-message]` attribute ([#2568](https://github.com/casey/just/pull/2568) by [ArchieAtkinson](https://github.com/ArchieAtkinson))
10
+ - Configure alias style in `--list` with `--alias-style` ([#2342](https://github.com/casey/just/pull/2342) by [marcaddeo](https://github.com/marcaddeo))
11
+ - Add regex mismatch conditional operator ([#2490](https://github.com/casey/just/pull/2490) by [laniakea64](https://github.com/laniakea64))
12
+ - Add `read_to_string(path)` function ([#2507](https://github.com/casey/just/pull/2507) by [begoon](https://github.com/begoon))
13
+
14
+ ### Changed
15
+ - Rename `read_to_string()` to `read()` ([#2518](https://github.com/casey/just/pull/2518) by [casey](https://github.com/casey))
16
+
17
+ ### Fixed
18
+ - Keep `[private]` attribute when formatting assignments ([#2592](https://github.com/casey/just/pull/2592) by [casey](https://github.com/casey))
19
+ - Format `if … else if …` without superfluous braces ([#2573](https://github.com/casey/just/pull/2573) by [casey](https://github.com/casey))
20
+ - Fix error when lexing `!` at end-of-file ([#2520](https://github.com/casey/just/pull/2520) by [casey](https://github.com/casey))
21
+ - Handle recipes in submodules in fish completion script ([#2514](https://github.com/casey/just/pull/2514) by [senekor](https://github.com/senekor))
22
+
23
+ ### Misc
24
+ - Add tests for `require()` ([#2594](https://github.com/casey/just/pull/2594) by [casey](https://github.com/casey))
25
+ - Evaluate concatenations and joins from left to right ([#2593](https://github.com/casey/just/pull/2593) by [casey](https://github.com/casey))
26
+ - Disable links to empty chapters in book ([#2589](https://github.com/casey/just/pull/2589) by [casey](https://github.com/casey))
27
+ - Link to CI workflow in readme ([#2586](https://github.com/casey/just/pull/2586) by [bravesasha](https://github.com/bravesasha))
28
+ - Clarify that `trim_*_match` functions take subtrings ([#2574](https://github.com/casey/just/pull/2574) by [xavdid](https://github.com/xavdid))
29
+ - Update `softprops/action-gh-release` from 2.2.0 to 2.2.1 ([#2570](https://github.com/casey/just/pull/2570) by [app/dependabot](https://github.com/app/dependabot))
30
+ - Check attributes in parser instead of analyzer ([#2560](https://github.com/casey/just/pull/2560) by [casey](https://github.com/casey))
31
+ - Ignore I/O errors when writing changelog to stdout ([#2558](https://github.com/casey/just/pull/2558) by [casey](https://github.com/casey))
32
+ - Add `quiet` setting and fix typos in readme ([#2549](https://github.com/casey/just/pull/2549) by [unennhexium](https://github.com/unennhexium))
33
+ - Update readme to use `env()` instead of `env_var*()` ([#2546](https://github.com/casey/just/pull/2546) by [laniakea64](https://github.com/laniakea64))
34
+ - Document using `||` to provide default for empty environment variable ([#2545](https://github.com/casey/just/pull/2545) by [casey](https://github.com/casey))
35
+ - Refactor `Line` predicates ([#2543](https://github.com/casey/just/pull/2543) by [casey](https://github.com/casey))
36
+ - Fix typos in README.md ([#2542](https://github.com/casey/just/pull/2542) by [laniakea64](https://github.com/laniakea64))
37
+ - Add full example getting XDG user directory to readme ([#2536](https://github.com/casey/just/pull/2536) by [laniakea64](https://github.com/laniakea64))
38
+ - Document weird behavior of duplicate definitions in imports ([#2541](https://github.com/casey/just/pull/2541) by [casey](https://github.com/casey))
39
+ - Update readme to reflect actual behavior of user directory functions ([#2535](https://github.com/casey/just/pull/2535) by [casey](https://github.com/casey))
40
+ - Update softprops/action-gh-release to 2.2.0 ([#2530](https://github.com/casey/just/pull/2530) by [app/dependabot](https://github.com/app/dependabot))
41
+ - Document running python recipes with `uv` ([#2526](https://github.com/casey/just/pull/2526) by [casey](https://github.com/casey))
42
+ - Sort functions alphabetically ([#2525](https://github.com/casey/just/pull/2525) by [casey](https://github.com/casey))
43
+ - Fix truncated bang operator error message ([#2522](https://github.com/casey/just/pull/2522) by [casey](https://github.com/casey))
44
+ - Include source path in dump JSON ([#2466](https://github.com/casey/just/pull/2466) by [psibi](https://github.com/psibi))
45
+ - Add attribute set ([#2419](https://github.com/casey/just/pull/2419) by [neunenak](https://github.com/neunenak))
46
+
47
+ [1.38.0](https://github.com/casey/just/releases/tag/1.38.0) - 2024-12-10
48
+ ------------------------------------------------------------------------
49
+
50
+ ### Added
51
+ - Add `[openbsd]` recipe attribute ([#2497](https://github.com/casey/just/pull/2497) by [vtamara](https://github.com/vtamara))
52
+ - Add `[working-directory]` recipe attribute ([#2438](https://github.com/casey/just/pull/2438) by [bcheidemann](https://github.com/bcheidemann))
53
+ - Add `--allow-missing` to ignore missing recipe and submodule errors ([#2460](https://github.com/casey/just/pull/2460) by [R3ZV](https://github.com/R3ZV))
54
+
55
+ ### Changed
56
+ - Add snap package back to readme ([#2506](https://github.com/casey/just/pull/2506) by [casey](https://github.com/casey))
57
+ - Forbid duplicate non-repeatable attributes ([#2483](https://github.com/casey/just/pull/2483) by [casey](https://github.com/casey))
58
+
59
+ ### Misc
60
+ - Publish docs to GitHub pages on release only ([#2516](https://github.com/casey/just/pull/2516) by [casey](https://github.com/casey))
61
+ - Note lack of support for string interpolation ([#2515](https://github.com/casey/just/pull/2515) by [casey](https://github.com/casey))
62
+ - Embolden help text errors ([#2502](https://github.com/casey/just/pull/2502) by [casey](https://github.com/casey))
63
+ - Style help text ([#2501](https://github.com/casey/just/pull/2501) by [casey](https://github.com/casey))
64
+ - Add `--request` subcommand for testing ([#2498](https://github.com/casey/just/pull/2498) by [casey](https://github.com/casey))
65
+ - [bin/forbid] Improve error message if ripgrep is missing ([#2493](https://github.com/casey/just/pull/2493) by [casey](https://github.com/casey))
66
+ - Fix Rust 1.83 clippy warnings ([#2487](https://github.com/casey/just/pull/2487) by [casey](https://github.com/casey))
67
+ - Refactor JSON tests ([#2484](https://github.com/casey/just/pull/2484) by [casey](https://github.com/casey))
68
+ - Get `Config` from `ExecutionContext` instead of passing separately ([#2481](https://github.com/casey/just/pull/2481) by [casey](https://github.com/casey))
69
+ - Don't write justfiles unchanged by formatting ([#2479](https://github.com/casey/just/pull/2479) by [casey](https://github.com/casey))
70
+
4
71
  [1.37.0](https://github.com/casey/just/releases/tag/1.37.0) - 2024-11-20
5
72
  ------------------------------------------------------------------------
6
73
 
package/README.md CHANGED
@@ -29,17 +29,17 @@ inspired by `make`
29
29
 
30
30
  ### Run instantly without installation
31
31
 
32
- The recommended way to run `rust-just` is by using <a href="https://www.npmjs.com/package/npx">`npx`</a>:
32
+ You can use `rust-just` without installing it on your system using <a href="https://www.npmjs.com/package/npx">`npx`</a>:
33
33
 
34
34
  ```
35
35
  ~/$ npx rust-just@latest [OPTIONS] [ARGUMENTS]...
36
36
  ```
37
37
 
38
- It will run the most recent version of `rust-just` without installing it on your system.
38
+ It will run the most recent version of `rust-just`.
39
39
 
40
40
  ### Installation as global dependency
41
41
 
42
- `rust-just` could also be installed as a global dependency:
42
+ The recommended way to install `rust-just` is as a global dependency:
43
43
 
44
44
  ```
45
45
  ~/$ npm install -g rust-just
@@ -51,7 +51,9 @@ and then run with:
51
51
  ~/$ rust-just [OPTIONS] [ARGUMENTS]...
52
52
  ```
53
53
 
54
- ### Installation as local dependency (not-recommended)
54
+ ### Installation as local dependency
55
+
56
+ `rust-just` could also be installed as a local dependency:
55
57
 
56
58
  ```
57
59
  ~/$ npm install rust-just
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-just",
3
- "version": "1.37.0",
3
+ "version": "1.39.0",
4
4
  "description": "🤖 Just a command runner",
5
5
  "bin": "lib/index.mjs",
6
6
  "exports": {
@@ -49,13 +49,13 @@
49
49
  "typescript": "^5.3.3"
50
50
  },
51
51
  "optionalDependencies": {
52
- "rust-just-darwin-arm64": "1.37.0",
53
- "rust-just-darwin-x64": "1.37.0",
54
- "rust-just-linux-arm": "1.37.0",
55
- "rust-just-linux-arm64": "1.37.0",
56
- "rust-just-linux-x64": "1.37.0",
57
- "rust-just-windows-arm64": "1.37.0",
58
- "rust-just-windows-x64": "1.37.0"
52
+ "rust-just-darwin-arm64": "1.39.0",
53
+ "rust-just-darwin-x64": "1.39.0",
54
+ "rust-just-linux-arm": "1.39.0",
55
+ "rust-just-linux-arm64": "1.39.0",
56
+ "rust-just-linux-x64": "1.39.0",
57
+ "rust-just-windows-arm64": "1.39.0",
58
+ "rust-just-windows-x64": "1.39.0"
59
59
  },
60
60
  "eslintConfig": {
61
61
  "extends": [