@prb/devkit 1.0.0 → 1.0.2
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/README.md +6 -0
- package/just/base.just +6 -11
- package/just/csv.just +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,6 +148,12 @@ Reusable composite actions for GitHub CI workflows.
|
|
|
148
148
|
Dependency caching stores only the package-manager cache, not `node_modules`. Set `save-cache: true` in at most one
|
|
149
149
|
parallel job to publish a refreshed cache.
|
|
150
150
|
|
|
151
|
+
## 🍴 Fork
|
|
152
|
+
|
|
153
|
+
This repository is a fork of [`sablier-labs/devkit`](https://github.com/sablier-labs/devkit), reset to `v1.0.0` under
|
|
154
|
+
the `@prb/devkit` name. For the change history prior to this fork, see the
|
|
155
|
+
[upstream `CHANGELOG.md`](https://github.com/sablier-labs/devkit/blob/main/CHANGELOG.md).
|
|
156
|
+
|
|
151
157
|
## 🤝 Contributing
|
|
152
158
|
|
|
153
159
|
Contributions are welcome! Please feel free to submit a Pull Request.
|
package/just/base.just
CHANGED
|
@@ -42,7 +42,7 @@ _clean +globs:
|
|
|
42
42
|
|
|
43
43
|
# Build with TypeScript
|
|
44
44
|
[no-cd]
|
|
45
|
-
[arg("project", long, short
|
|
45
|
+
[arg("project", long, short, help="Path to tsconfig.json")]
|
|
46
46
|
@tsc-build project="tsconfig.json":
|
|
47
47
|
na tsc -p {{ project }}
|
|
48
48
|
alias tb := tsc-build
|
|
@@ -132,15 +132,10 @@ alias pc := prettier-check
|
|
|
132
132
|
{{ globs }}
|
|
133
133
|
alias pw := prettier-write
|
|
134
134
|
|
|
135
|
-
# Type check with TypeScript (
|
|
136
|
-
[group("checks"), no-cd
|
|
137
|
-
[arg("
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
cmd="{{ compiler }}"
|
|
141
|
-
if [[ "$cmd" == "tsgo" ]] && [[ ! -x "node_modules/.bin/tsgo" ]]; then
|
|
142
|
-
cmd="tsc"
|
|
143
|
-
fi
|
|
144
|
-
na "$cmd" --noEmit --project {{ project }}
|
|
135
|
+
# Type check with TypeScript (tsc — TypeScript 7's native compiler)
|
|
136
|
+
[group("checks"), no-cd]
|
|
137
|
+
[arg("project", long, short, help="Path to tsconfig.json")]
|
|
138
|
+
type-check project="tsconfig.json":
|
|
139
|
+
na tsc --noEmit --project {{ project }}
|
|
145
140
|
alias tc := type-check
|
|
146
141
|
alias tsc-check := type-check
|
package/just/csv.just
CHANGED
|
@@ -6,8 +6,8 @@ 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
|
|
10
|
-
[arg("schema", long, short
|
|
9
|
+
[arg("glob", long, short, help="Glob pattern for CSV/TSV files")]
|
|
10
|
+
[arg("schema", long, short, help="JSON schema file for validation")]
|
|
11
11
|
[arg("ignore", long, short="x", help="Space-separated ignore patterns")]
|
|
12
12
|
_csv-check glob="data/*/*.{csv,tsv}" schema="" ignore="*.invalid *.valid *validation-errors.*":
|
|
13
13
|
import fnmatch
|