@sablier/devkit 1.9.1 → 1.10.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/biome/base.jsonc CHANGED
@@ -57,7 +57,14 @@
57
57
  "noNamespaceImport": "off" // namespaces are cool
58
58
  },
59
59
  "style": {
60
+ "noEnum": "off", // enums are useful in some cases e.g. UI states
60
61
  "noNamespace": "off", // namespaces are cool
62
+ "useConsistentTypeDefinitions": {
63
+ "level": "warn",
64
+ "options": {
65
+ "style": "type"
66
+ }
67
+ },
61
68
  "useDefaultSwitchClause": "off", // already handled by TypeScript
62
69
  "useFilenamingConvention": {
63
70
  "level": "error",
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.9.1",
6
+ "version": "1.10.0",
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.7",
16
- "prettier": "^3.6.2",
17
- "vitest": "^3.2.0"
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"