rust-just 1.38.0 → 1.40.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +7 -5
  3. package/package.json +20 -17
package/CHANGELOG.md CHANGED
@@ -1,6 +1,75 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ [1.40.0](https://github.com/casey/just/releases/tag/1.40.0) - 2025-03-09
5
+ ------------------------------------------------------------------------
6
+
7
+ ### Added
8
+ - Allow the target of aliases to be recipes in submodules ([#2632](https://github.com/casey/just/pull/2632) by [corvusrabus](https://github.com/corvusrabus))
9
+ - Make `--list-submodules` require `--list` ([#2622](https://github.com/casey/just/pull/2622) by [casey](https://github.com/casey))
10
+
11
+ ### Fixed
12
+ - Star parameters may follow default parameters ([#2660](https://github.com/casey/just/pull/2660) by [casey](https://github.com/casey))
13
+
14
+ ### Misc
15
+ - Remove `test!` macro from readme ([#2648](https://github.com/casey/just/pull/2648) by [casey](https://github.com/casey))
16
+ - Sort enum variant, struct member, and trait members alphabetically ([#2646](https://github.com/casey/just/pull/2646) by [casey](https://github.com/casey))
17
+ - Add Zed extension to readme ([#2640](https://github.com/casey/just/pull/2640) by [sectore](https://github.com/sectore))
18
+ - Refactor error checking in choose function ([#2643](https://github.com/casey/just/pull/2643) by [casey](https://github.com/casey))
19
+ - Use `Test` struct instead of `test!` macro ([#2642](https://github.com/casey/just/pull/2642) by [casey](https://github.com/casey))
20
+ - Include unicode codepoint in unknown start of token error ([#2637](https://github.com/casey/just/pull/2637) by [CramBL](https://github.com/CramBL))
21
+ - Ignore broken pipe error from chooser ([#2639](https://github.com/casey/just/pull/2639) by [casey](https://github.com/casey))
22
+ - Guarantee that `Namepath`s are non-empty ([#2638](https://github.com/casey/just/pull/2638) by [casey](https://github.com/casey))
23
+ - Remove unnecessary binding modifiers ([#2636](https://github.com/casey/just/pull/2636) by [casey](https://github.com/casey))
24
+ - Document Vim and Neovim built-in syntax highlighting ([#2619](https://github.com/casey/just/pull/2619) by [laniakea64](https://github.com/laniakea64))
25
+ - Remove rust:just Repology badge ([#2614](https://github.com/casey/just/pull/2614) by [laniakea64](https://github.com/laniakea64))
26
+ - Clarify --list argument ([#2609](https://github.com/casey/just/pull/2609) by [casey](https://github.com/casey))
27
+ - Expand Windows path documentation ([#2602](https://github.com/casey/just/pull/2602) by [casey](https://github.com/casey))
28
+ - Fix readme typos ([#2596](https://github.com/casey/just/pull/2596) by [CramBL](https://github.com/CramBL))
29
+
30
+ [1.39.0](https://github.com/casey/just/releases/tag/1.39.0) - 2025-01-22
31
+ ------------------------------------------------------------------------
32
+
33
+ ### Added
34
+ - Add `which()` and `require()` for finding executables ([#2440](https://github.com/casey/just/pull/2440) by [0xzhzh](https://github.com/0xzhzh))
35
+ - Add `no-exit-message` Setting and `[exit-message]` attribute ([#2568](https://github.com/casey/just/pull/2568) by [ArchieAtkinson](https://github.com/ArchieAtkinson))
36
+ - Configure alias style in `--list` with `--alias-style` ([#2342](https://github.com/casey/just/pull/2342) by [marcaddeo](https://github.com/marcaddeo))
37
+ - Add regex mismatch conditional operator ([#2490](https://github.com/casey/just/pull/2490) by [laniakea64](https://github.com/laniakea64))
38
+ - Add `read_to_string(path)` function ([#2507](https://github.com/casey/just/pull/2507) by [begoon](https://github.com/begoon))
39
+
40
+ ### Changed
41
+ - Rename `read_to_string()` to `read()` ([#2518](https://github.com/casey/just/pull/2518) by [casey](https://github.com/casey))
42
+
43
+ ### Fixed
44
+ - Keep `[private]` attribute when formatting assignments ([#2592](https://github.com/casey/just/pull/2592) by [casey](https://github.com/casey))
45
+ - Format `if … else if …` without superfluous braces ([#2573](https://github.com/casey/just/pull/2573) by [casey](https://github.com/casey))
46
+ - Fix error when lexing `!` at end-of-file ([#2520](https://github.com/casey/just/pull/2520) by [casey](https://github.com/casey))
47
+ - Handle recipes in submodules in fish completion script ([#2514](https://github.com/casey/just/pull/2514) by [senekor](https://github.com/senekor))
48
+
49
+ ### Misc
50
+ - Add tests for `require()` ([#2594](https://github.com/casey/just/pull/2594) by [casey](https://github.com/casey))
51
+ - Evaluate concatenations and joins from left to right ([#2593](https://github.com/casey/just/pull/2593) by [casey](https://github.com/casey))
52
+ - Disable links to empty chapters in book ([#2589](https://github.com/casey/just/pull/2589) by [casey](https://github.com/casey))
53
+ - Link to CI workflow in readme ([#2586](https://github.com/casey/just/pull/2586) by [bravesasha](https://github.com/bravesasha))
54
+ - Clarify that `trim_*_match` functions take subtrings ([#2574](https://github.com/casey/just/pull/2574) by [xavdid](https://github.com/xavdid))
55
+ - 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))
56
+ - Check attributes in parser instead of analyzer ([#2560](https://github.com/casey/just/pull/2560) by [casey](https://github.com/casey))
57
+ - Ignore I/O errors when writing changelog to stdout ([#2558](https://github.com/casey/just/pull/2558) by [casey](https://github.com/casey))
58
+ - Add `quiet` setting and fix typos in readme ([#2549](https://github.com/casey/just/pull/2549) by [unennhexium](https://github.com/unennhexium))
59
+ - Update readme to use `env()` instead of `env_var*()` ([#2546](https://github.com/casey/just/pull/2546) by [laniakea64](https://github.com/laniakea64))
60
+ - Document using `||` to provide default for empty environment variable ([#2545](https://github.com/casey/just/pull/2545) by [casey](https://github.com/casey))
61
+ - Refactor `Line` predicates ([#2543](https://github.com/casey/just/pull/2543) by [casey](https://github.com/casey))
62
+ - Fix typos in README.md ([#2542](https://github.com/casey/just/pull/2542) by [laniakea64](https://github.com/laniakea64))
63
+ - Add full example getting XDG user directory to readme ([#2536](https://github.com/casey/just/pull/2536) by [laniakea64](https://github.com/laniakea64))
64
+ - Document weird behavior of duplicate definitions in imports ([#2541](https://github.com/casey/just/pull/2541) by [casey](https://github.com/casey))
65
+ - Update readme to reflect actual behavior of user directory functions ([#2535](https://github.com/casey/just/pull/2535) by [casey](https://github.com/casey))
66
+ - 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))
67
+ - Document running python recipes with `uv` ([#2526](https://github.com/casey/just/pull/2526) by [casey](https://github.com/casey))
68
+ - Sort functions alphabetically ([#2525](https://github.com/casey/just/pull/2525) by [casey](https://github.com/casey))
69
+ - Fix truncated bang operator error message ([#2522](https://github.com/casey/just/pull/2522) by [casey](https://github.com/casey))
70
+ - Include source path in dump JSON ([#2466](https://github.com/casey/just/pull/2466) by [psibi](https://github.com/psibi))
71
+ - Add attribute set ([#2419](https://github.com/casey/just/pull/2419) by [neunenak](https://github.com/neunenak))
72
+
4
73
  [1.38.0](https://github.com/casey/just/releases/tag/1.38.0) - 2024-12-10
5
74
  ------------------------------------------------------------------------
6
75
 
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
@@ -48,21 +48,23 @@ It will run the most recent version of `rust-just`.
48
48
  and then run with:
49
49
 
50
50
  ```
51
- ~/$ rust-just [OPTIONS] [ARGUMENTS]...
51
+ ~/$ just [OPTIONS] [ARGUMENTS]...
52
52
  ```
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
  ```
59
61
 
60
- > **Note:** To pass Execa options to `rust-just`, use the `--execaoptions <OPTIONS>` flag, where `OPTIONS` is in JSON format.
62
+ > **Note:** To pass Execa options to `just`, use the `--execaoptions <OPTIONS>` flag, where `OPTIONS` is in JSON format.
61
63
  >
62
64
  > For example:
63
65
  >
64
66
  > ```
65
- > ~/$ rust-just --execaoptions '{"stdio": "inherit", "reject": false}' [OPTIONS] [ARGUMENTS]...
67
+ > ~/$ just --execaoptions '{"stdio": "inherit", "reject": false}' [OPTIONS] [ARGUMENTS]...
66
68
  > ```
67
69
  >
68
70
  > For a complete list of available Execa options, refer to the [Execa API documentation](https://github.com/sindresorhus/execa/blob/main/docs/api.md#options-1).
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "rust-just",
3
- "version": "1.38.0",
3
+ "version": "1.40.0",
4
4
  "description": "🤖 Just a command runner",
5
- "bin": "lib/index.mjs",
5
+ "bin": {
6
+ "just": "lib/index.mjs",
7
+ "rust-just": "lib/index.mjs"
8
+ },
6
9
  "exports": {
7
10
  ".": {
8
11
  "import": "./lib/index.mjs"
@@ -37,25 +40,25 @@
37
40
  },
38
41
  "homepage": "https://github.com/gnpaone/rust-just/tree/master/npm#readme",
39
42
  "dependencies": {
40
- "execa": "^9.4.1",
43
+ "execa": "^9.5.2",
41
44
  "yargs": "^17.7.2"
42
45
  },
43
46
  "devDependencies": {
44
- "@types/node": "^20.11.22",
45
- "@typescript-eslint/eslint-plugin": "^7.1.0",
46
- "@typescript-eslint/parser": "^7.1.0",
47
- "eslint": "^8.57.0",
48
- "tsup": "^8.0.2",
49
- "typescript": "^5.3.3"
47
+ "@types/node": "^22.10.10",
48
+ "@typescript-eslint/eslint-plugin": "^8.21.0",
49
+ "@typescript-eslint/parser": "^8.21.0",
50
+ "eslint": "^9.18.0",
51
+ "tsup": "^8.3.5",
52
+ "typescript": "^5.7.3"
50
53
  },
51
54
  "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"
55
+ "rust-just-darwin-arm64": "1.40.0",
56
+ "rust-just-darwin-x64": "1.40.0",
57
+ "rust-just-linux-arm": "1.40.0",
58
+ "rust-just-linux-arm64": "1.40.0",
59
+ "rust-just-linux-x64": "1.40.0",
60
+ "rust-just-windows-arm64": "1.40.0",
61
+ "rust-just-windows-x64": "1.40.0"
59
62
  },
60
63
  "eslintConfig": {
61
64
  "extends": [
@@ -71,7 +74,7 @@
71
74
  ],
72
75
  "root": true
73
76
  },
74
- "packageManager": "yarn@4.5.0",
77
+ "packageManager": "yarn@4.6.0",
75
78
  "publishConfig": {
76
79
  "access": "public"
77
80
  },