rust-just 1.38.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,49 @@
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
+
4
47
  [1.38.0](https://github.com/casey/just/releases/tag/1.38.0) - 2024-12-10
5
48
  ------------------------------------------------------------------------
6
49
 
package/README.md CHANGED
@@ -29,7 +29,7 @@ inspired by `make`
29
29
 
30
30
  ### Run instantly without installation
31
31
 
32
- The recommended way to run `rust-just` without installing it on your system 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]...
@@ -39,7 +39,7 @@ 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
@@ -53,6 +53,8 @@ and then run with:
53
53
 
54
54
  ### Installation as local dependency
55
55
 
56
+ `rust-just` could also be installed as a local dependency:
57
+
56
58
  ```
57
59
  ~/$ npm install rust-just
58
60
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-just",
3
- "version": "1.38.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.38.0",
53
- "rust-just-darwin-x64": "1.38.0",
54
- "rust-just-linux-arm": "1.38.0",
55
- "rust-just-linux-arm64": "1.38.0",
56
- "rust-just-linux-x64": "1.38.0",
57
- "rust-just-windows-arm64": "1.38.0",
58
- "rust-just-windows-x64": "1.38.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": [