proschi 0.7.0 → 0.9.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 +4 -2
- package/dist/cli.cjs +8063 -1697
- package/dist/render.cjs +128 -128
- package/dist/server.cjs +700 -656
- package/grammar/proschi.tmLanguage.json +1 -1
- package/package.json +3 -2
- package/schema/proschi-diagram.schema.json +46 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# proschi
|
|
2
2
|
|
|
3
3
|
Command-line checker and language server for
|
|
4
|
-
[Proschi](https://
|
|
4
|
+
[Proschi](https://proschi.app/), a small text language for
|
|
5
5
|
microservice architectures and the request flows that run through them.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
@@ -13,6 +13,7 @@ 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 import mermaid arch.mmd # Mermaid flowchart/sequence diagram to Proschi (also: import openapi spec.yaml)
|
|
16
17
|
proschi problem check # validate practice problem folders (see docs/PRACTICE.md)
|
|
17
18
|
proschi problem new seat-map # scaffold a practice problem
|
|
18
19
|
proschi-language-server --stdio # for any editor with an LSP client
|
|
@@ -37,7 +38,8 @@ node hovers. The model and its default numbers:
|
|
|
37
38
|
|
|
38
39
|
`problem check [--format text|github|json] [dir]` validates the practice
|
|
39
40
|
problems, one folder each (front matter, given, starter, reference solution
|
|
40
|
-
and the `wrong/` designs that must fail
|
|
41
|
+
and the `wrong/` designs that must fail, each naming the mistake it makes,
|
|
42
|
+
its lesson section and review cards), with the same rules as the practice
|
|
41
43
|
page's test suite; `problem new <id> [--dir <dir>]` scaffolds one. Inside the
|
|
42
44
|
repository both default to `frontend/src/practice/problems`. The format and
|
|
43
45
|
the rules: [docs/PRACTICE.md](https://github.com/gvart/proschi/blob/main/docs/PRACTICE.md).
|