@vistta/cli 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +38 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -27,6 +27,40 @@ npm install @vistta/cli
27
27
  - `vistta bundle <filename> [outdir]`
28
28
  Bundle an entry file and its dependencies.
29
29
 
30
+ - `vistta check [patterns] [--fix]`
31
+ Runs the enabled formatting, lint, and type checks. Read-only by default;
32
+ `--fix` applies formatting and lint fixes. Any failed stage, including lint
33
+ warnings, produces a nonzero exit status. Patterns limit formatting and lint;
34
+ type checking still covers the whole configured project.
35
+
36
+ - `vistta lint [patterns] [--fix]`
37
+ Runs project-local ESLint against the configured files or supplied patterns.
38
+ `--fix` applies available fixes. Errors and warnings produce a nonzero exit
39
+ status.
40
+
41
+ - `vistta fmt [patterns] [--check|--write]`
42
+ Checks formatting with project-local Prettier without changing files by
43
+ default. `--check` makes that mode explicit; `--write` formats files in place.
44
+ `--fix` is also accepted as a write alias. Check and write modes cannot be
45
+ combined.
46
+
47
+ - `vistta types`
48
+ Checks the complete TypeScript or JavaScript project using its configuration.
49
+ Never emits files and does not accept file patterns.
50
+
51
+ - `vistta config [--sources]`
52
+ Prints the merged project configuration, including built-in tool defaults.
53
+ `--sources` also shows the selected config file and the origin of each setting.
54
+
55
+ - `vistta task <name> [-- args]`
56
+ Runs a configured task, package script, or registered command with its task
57
+ dependencies. Stops on the first failure and forwards arguments after `--`
58
+ only to the requested task's executable command or script.
59
+
60
+ - `vistta run <name> [-- args]`
61
+ Alias for `vistta task` in the base CLI. Frameworks can override it:
62
+ `@vistta/js` uses `run` to launch applications, so use `vistta task` there.
63
+
30
64
  - `vistta project name`
31
65
  Outputs the current project name from `package.json`.
32
66
 
@@ -68,8 +102,10 @@ vistta project update react --compatible
68
102
  vistta project update react --dry-run
69
103
  ```
70
104
 
71
- - `vistta test [pattern]`
72
- Run tests matching the specified pattern.
105
+ - `vistta test [...patterns] [--filter=pattern] [--only]`
106
+ Runs matching test files with the base CLI's Node runner. `--filter` selects
107
+ test names using a case-insensitive regular expression; `--only` selects tests
108
+ or suites marked as exclusive. Frameworks can provide a different test runner.
73
109
 
74
110
  For browser-based test harnesses, import `TestRunner` from `@vistta/cli/test-runner` to avoid bundling Node-only CLI modules.
75
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vistta/cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {