@sablier/devkit 1.3.2 → 1.3.4

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/biome.jsonc CHANGED
@@ -1,4 +1,20 @@
1
1
  // Sablier Devkit configuration for Biome v2: https://next.biomejs.dev
2
+ //
3
+ // This is a shared base configuration meant to be extended in consuming projects.
4
+ //
5
+ // IMPORTANT: Consumers must add their own `files.includes` patterns to specify
6
+ // which files to lint and format. For example:
7
+ //
8
+ // {
9
+ // "extends": ["@sablier/devkit/biome"],
10
+ // "files": {
11
+ // "includes": ["**/*.{css,js,jsx,json,ts,tsx}", "!node_modules"]
12
+ // }
13
+ // }
14
+ //
15
+ // You may also add override blocks with custom `includes` patterns for
16
+ // granular rule customization. See ~/sablier/frontend/ui/biome.jsonc for a
17
+ // complete example.
2
18
  {
3
19
  "$schema": "https://biomejs.dev/schemas/latest/schema.json",
4
20
  "assist": {
@@ -12,6 +28,7 @@
12
28
  },
13
29
  "css": {
14
30
  "parser": {
31
+ "cssModules": true,
15
32
  "tailwindDirectives": true
16
33
  }
17
34
  },
package/just/base.just CHANGED
@@ -52,14 +52,14 @@ alias tb := tsc-build
52
52
  [group("checks")]
53
53
  [no-cd]
54
54
  @biome-check +globs=".":
55
- na biome check "{{ globs }}"
55
+ na biome check {{ globs }}
56
56
  alias bc := biome-check
57
57
 
58
58
  # Lint code with Biome
59
59
  [group("checks")]
60
60
  [no-cd]
61
61
  @biome-lint +globs=".":
62
- na biome lint "{{ globs }}"
62
+ na biome lint {{ globs }}
63
63
  alias bl := biome-lint
64
64
 
65
65
  # Fix code with Biome
@@ -67,8 +67,8 @@ alias bl := biome-lint
67
67
  [group("checks")]
68
68
  [no-cd]
69
69
  @biome-write +globs=".":
70
- na biome check --write "{{ globs }}"
71
- na biome lint --unsafe --write --only correctness/noUnusedImports "{{ globs }}"
70
+ na biome check --write {{ globs }}
71
+ na biome lint --unsafe --write --only correctness/noUnusedImports {{ globs }}
72
72
  alias bw := biome-write
73
73
 
74
74
  # Run all code checks
@@ -110,21 +110,21 @@ alias kw := knip-write
110
110
  [group("checks")]
111
111
  [no-cd]
112
112
  @prettier-check +globs=GLOBS_PRETTIER:
113
- na prettier --check --cache --no-error-on-unmatched-pattern "{{ globs }}"
113
+ na prettier --check --cache --no-error-on-unmatched-pattern {{ globs }}
114
114
  alias pc := prettier-check
115
115
 
116
116
  # Format using Prettier
117
117
  [group("checks")]
118
118
  [no-cd]
119
119
  @prettier-write +globs=GLOBS_PRETTIER:
120
- na prettier --write --cache --no-error-on-unmatched-pattern "{{ globs }}"
120
+ na prettier --write --cache --no-error-on-unmatched-pattern {{ globs }}
121
121
  alias pw := prettier-write
122
122
 
123
123
  # Type check with TypeScript
124
124
  [group("checks")]
125
125
  [no-cd]
126
126
  @tsc-check project="tsconfig.json":
127
- na tsc --noEmit --project "{{ project }}"
127
+ na tsc --noEmit --project {{ project }}
128
128
  alias tc := tsc-check
129
129
 
130
130
  # Private recipe to run a check with formatted output
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.2",
6
+ "version": "1.3.4",
7
7
  "author": {
8
8
  "name": "Sablier Labs Ltd",
9
9
  "url": "https://sablier.com"