proschi 0.3.0 → 0.5.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/README.md +9 -0
- package/dist/cli.cjs +1507 -245
- package/dist/render.cjs +176 -176
- package/dist/server.cjs +787 -191
- package/grammar/proschi.tmLanguage.json +15 -3
- package/package.json +1 -1
- package/schema/proschi-diagram.schema.json +203 -1
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ proschi fmt docs/ # format files in place (--check: only repor
|
|
|
13
13
|
proschi render checkout.proschi --out diagrams # SVG diagrams (also --format md|html|hld-md|hld-html)
|
|
14
14
|
proschi test docs/ # run requirements and tests (exit 1 on a failure)
|
|
15
15
|
proschi analyze shortener.proschi # load, latency, availability and cost per node
|
|
16
|
+
proschi problem check # validate practice problem folders (see docs/PRACTICE.md)
|
|
17
|
+
proschi problem new seat-map # scaffold a practice problem
|
|
16
18
|
proschi-language-server --stdio # for any editor with an LSP client
|
|
17
19
|
```
|
|
18
20
|
|
|
@@ -33,6 +35,13 @@ server reports failing requirements and tests as warnings and adds load to
|
|
|
33
35
|
node hovers. The model and its default numbers:
|
|
34
36
|
[Simulation and tests](https://github.com/gvart/proschi/blob/main/docs/EDITORS.md#simulation-and-tests).
|
|
35
37
|
|
|
38
|
+
`problem check [--format text|github|json] [dir]` validates the practice
|
|
39
|
+
problems, one folder each (front matter, given, starter, reference solution
|
|
40
|
+
and the `wrong/` designs that must fail), with the same rules as the practice
|
|
41
|
+
page's test suite; `problem new <id> [--dir <dir>]` scaffolds one. Inside the
|
|
42
|
+
repository both default to `frontend/src/practice/problems`. The format and
|
|
43
|
+
the rules: [docs/PRACTICE.md](https://github.com/gvart/proschi/blob/main/docs/PRACTICE.md).
|
|
44
|
+
|
|
36
45
|
## Rendering
|
|
37
46
|
|
|
38
47
|
```
|