@sablier/devkit 1.11.0 → 1.12.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/just/base.just CHANGED
@@ -39,6 +39,14 @@ _clean +globs:
39
39
  @install *args:
40
40
  ni {{ args }}
41
41
 
42
+ # Install mdformat with plugins
43
+ [no-cd]
44
+ @install-mdformat:
45
+ uv tool install mdformat \
46
+ --with mdformat-frontmatter \
47
+ --with mdformat-gfm
48
+ alias im := install-mdformat
49
+
42
50
  # Build with TypeScript
43
51
  [no-cd]
44
52
  [arg("project", long, short="p", help="Path to tsconfig.json")]
@@ -101,6 +109,18 @@ alias kc := knip-check
101
109
  na knip --fix
102
110
  alias kw := knip-write
103
111
 
112
+ # Check Markdown formatting with mdformat
113
+ [group("checks"), no-cd]
114
+ @mdformat-check +paths=".":
115
+ mdformat --check {{ paths }}
116
+ alias mc := mdformat-check
117
+
118
+ # Format Markdown files with mdformat
119
+ [group("checks"), no-cd]
120
+ @mdformat-write +paths=".":
121
+ mdformat {{ paths }}
122
+ alias mw := mdformat-write
123
+
104
124
  # Check Prettier formatting
105
125
  [group("checks"), no-cd]
106
126
  @prettier-check +globs=GLOBS_PRETTIER:
package/just/evm.just CHANGED
@@ -54,6 +54,7 @@ clean-modules:
54
54
 
55
55
  # Run all code checks
56
56
  full-check:
57
+ just mdformat-check
57
58
  just solhint-check
58
59
  just fmt-check
59
60
  just prettier-check
@@ -61,6 +62,7 @@ alias fc := full-check
61
62
 
62
63
  # Run all code fixes
63
64
  full-write:
65
+ just mdformat-write
64
66
  just solhint-write
65
67
  just fmt-write
66
68
  just prettier-write
@@ -71,6 +73,16 @@ install *args:
71
73
  just base::install {{ args }}
72
74
  alias i := install
73
75
 
76
+ # Check Markdown formatting with mdformat
77
+ @mdformat-check +paths=".":
78
+ just base::mdformat-check {{ paths }}
79
+ alias mc := mdformat-check
80
+
81
+ # Format Markdown files with mdformat
82
+ @mdformat-write +paths=".":
83
+ just base::mdformat-write {{ paths }}
84
+ alias mw := mdformat-write
85
+
74
86
  # Check Prettier formatting
75
87
  @prettier-check globs=GLOBS_PRETTIER:
76
88
  just base::prettier-check "{{ globs }}"
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Configuration files and reusable scripts for Sablier repositories",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "version": "1.11.0",
6
+ "version": "1.12.0",
7
7
  "author": {
8
8
  "name": "Sablier Labs Ltd",
9
9
  "url": "https://sablier.com"