@sablier/devkit 1.9.2 → 1.10.1
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/base.jsonc +3 -1
- package/just/base.just +3 -0
- package/just/csv.just +3 -0
- package/package.json +4 -4
package/biome/base.jsonc
CHANGED
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"recommended": true,
|
|
42
42
|
"complexity": {
|
|
43
43
|
"noImplicitCoercions": "error", // forbid `!!foo`, allow `Boolean(foo)`
|
|
44
|
-
"noVoid": "off" // void is useful in some cases e.g. `useEffect` callbacks
|
|
44
|
+
"noVoid": "off", // void is useful in some cases e.g. `useEffect` callbacks
|
|
45
|
+
"useSimplifiedLogicExpression": "off" // the rule is cool but it gets agents stuck
|
|
45
46
|
},
|
|
46
47
|
"correctness": {
|
|
47
48
|
"noUnusedImports": "off", // allow unused imports during development
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"noNamespaceImport": "off" // namespaces are cool
|
|
58
59
|
},
|
|
59
60
|
"style": {
|
|
61
|
+
"noEnum": "off", // enums are useful in some cases e.g. UI states
|
|
60
62
|
"noNamespace": "off", // namespaces are cool
|
|
61
63
|
"useConsistentTypeDefinitions": {
|
|
62
64
|
"level": "warn",
|
package/just/base.just
CHANGED
|
@@ -39,6 +39,7 @@ install *args:
|
|
|
39
39
|
|
|
40
40
|
# Build with TypeScript
|
|
41
41
|
[no-cd]
|
|
42
|
+
[arg("project", long, short="p", help="Path to tsconfig.json")]
|
|
42
43
|
tsc-build project="tsconfig.json":
|
|
43
44
|
na tsc -p {{ project }}
|
|
44
45
|
alias tb := tsc-build
|
|
@@ -122,6 +123,8 @@ alias pw := prettier-write
|
|
|
122
123
|
|
|
123
124
|
# Type check with TypeScript (tsgo default, falls back to tsc if unavailable)
|
|
124
125
|
[group("checks"), no-cd, script("bash")]
|
|
126
|
+
[arg("compiler", long, short="c", help="TypeScript compiler (tsgo or tsc)")]
|
|
127
|
+
[arg("project", long, short="p", help="Path to tsconfig.json")]
|
|
125
128
|
type-check compiler="tsgo" project="tsconfig.json":
|
|
126
129
|
cmd="{{ compiler }}"
|
|
127
130
|
if [[ "$cmd" == "tsgo" ]] && [[ ! -x "node_modules/.bin/tsgo" ]]; then
|
package/just/csv.just
CHANGED
|
@@ -6,6 +6,9 @@ import "./settings.just"
|
|
|
6
6
|
|
|
7
7
|
# Check CSV/TSV files using qsv: https://github.com/dathere/qsv
|
|
8
8
|
[group("checks"), script("python3")]
|
|
9
|
+
[arg("glob", long, short="g", help="Glob pattern for CSV/TSV files")]
|
|
10
|
+
[arg("schema", long, short="s", help="JSON schema file for validation")]
|
|
11
|
+
[arg("ignore", long, short="x", help="Space-separated ignore patterns")]
|
|
9
12
|
_csv-check glob="data/*/*.{csv,tsv}" schema="" ignore="*.invalid *.valid *validation-errors.*":
|
|
10
13
|
import fnmatch
|
|
11
14
|
import glob as globmod
|
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.
|
|
6
|
+
"version": "1.10.1",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Sablier Labs Ltd",
|
|
9
9
|
"url": "https://sablier.com"
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"url": "https://github.com/sablier-labs/devkit/issues"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@biomejs/biome": "^2.3.
|
|
16
|
-
"prettier": "^3.
|
|
17
|
-
"vitest": "^3.2.
|
|
15
|
+
"@biomejs/biome": "^2.3.10",
|
|
16
|
+
"prettier": "^3.7.4",
|
|
17
|
+
"vitest": "^3.2.4"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"vitest": ">=2.0.0"
|