@sablier/devkit 1.3.4 → 1.4.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.
@@ -26,12 +26,6 @@
26
26
  }
27
27
  }
28
28
  },
29
- "css": {
30
- "parser": {
31
- "cssModules": true,
32
- "tailwindDirectives": true
33
- }
34
- },
35
29
  "files": {
36
30
  "maxSize": 5242880 // 5MB
37
31
  },
@@ -39,7 +33,7 @@
39
33
  "enabled": true,
40
34
  "formatWithErrors": true,
41
35
  "indentStyle": "space",
42
- "lineWidth": 120
36
+ "lineWidth": 100
43
37
  },
44
38
  "linter": {
45
39
  "enabled": true,
package/biome/ui.jsonc ADDED
@@ -0,0 +1,32 @@
1
+ // Sablier Devkit UI configuration for Biome v2
2
+ //
3
+ // Extends the base configuration with UI-specific rules for accessibility,
4
+ // Tailwind CSS class sorting, and CSS modules support.
5
+ {
6
+ "$schema": "https://biomejs.dev/schemas/latest/schema.json",
7
+ "extends": ["./base.jsonc"],
8
+ "css": {
9
+ "parser": {
10
+ "cssModules": true,
11
+ "tailwindDirectives": true
12
+ }
13
+ },
14
+ "linter": {
15
+ "rules": {
16
+ "a11y": {
17
+ "noSvgWithoutTitle": "off",
18
+ "useKeyWithClickEvents": "off"
19
+ },
20
+ "nursery": {
21
+ "useSortedClasses": {
22
+ "fix": "safe",
23
+ "level": "warn",
24
+ "options": {
25
+ "attributes": ["classList"],
26
+ "functions": ["clsx", "cva", "cn", "tv", "tw", "tw.*"]
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
package/just/base.just CHANGED
@@ -129,9 +129,9 @@ alias tc := tsc-check
129
129
 
130
130
  # Private recipe to run a check with formatted output
131
131
  [no-cd]
132
- @_run-with-status recipe:
132
+ @_run-with-status recipe *args:
133
133
  echo ""
134
134
  echo '{{ CYAN }}→ Running {{ recipe }}...{{ NORMAL }}'
135
- just {{ recipe }}
135
+ just {{ recipe }} {{ args }}
136
136
  echo '{{ GREEN }}✓ {{ recipe }} completed{{ NORMAL }}'
137
137
  alias rws := _run-with-status
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.3.4",
6
+ "version": "1.4.0",
7
7
  "author": {
8
8
  "name": "Sablier Labs Ltd",
9
9
  "url": "https://sablier.com"
@@ -12,11 +12,12 @@
12
12
  "url": "https://github.com/sablier-labs/devkit/issues"
13
13
  },
14
14
  "devDependencies": {
15
- "@biomejs/biome": "^2.3.1",
15
+ "@biomejs/biome": "^2.3.7",
16
16
  "prettier": "^3.6.2"
17
17
  },
18
18
  "exports": {
19
- "./biome": "./biome.jsonc",
19
+ "./biome": "./biome/base.jsonc",
20
+ "./biome/ui": "./biome/ui.jsonc",
20
21
  "./prettier": "./.prettierrc.json",
21
22
  "./tsconfig/base": "./tsconfig/base.json",
22
23
  "./tsconfig/build": "./tsconfig/build.json",
@@ -26,7 +27,7 @@
26
27
  "node": ">=20"
27
28
  },
28
29
  "files": [
29
- "biome.jsonc",
30
+ "biome/",
30
31
  ".prettierrc.json",
31
32
  "just/",
32
33
  "tsconfig/"