@stateward/language-server 1.0.0 → 1.0.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 +16 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -11,3 +11,19 @@ npm install --save-dev @stateward/language-server
11
11
  Start it with `npx stateward-language-server`. It talks over stdin and stdout and checks the
12
12
  project of the nearest `stateward.config.ts`. The VS Code extension uses the copy installed in your
13
13
  project, else its own.
14
+
15
+ ## What you see
16
+
17
+ - Findings as diagnostics, as you type, with the rule id and the change to make.
18
+ - Quick fixes, each tried on a copy of your code first: one that would not compile is not offered.
19
+ "Ignore this case here" writes a `// stateward-ignore` comment with the rule.
20
+ - Inlay hints after a function's signature with the errors it can throw (`throws NotFoundError`),
21
+ and after a `catch` variable with the errors its `try` can throw (with the errors pack).
22
+ - Places stateward could not check, as faint hints; baselined findings, faintly.
23
+
24
+ ## Docs
25
+
26
+ - [Every rule](https://github.com/khoing1111/ts-stateward/blob/main/docs/rules/README.md), with
27
+ what it finds and its severity.
28
+ - [The config file](https://github.com/khoing1111/ts-stateward/blob/main/docs/user/config.md).
29
+ - [The VS Code extension](https://github.com/khoing1111/ts-stateward/blob/main/packages/vscode/README.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stateward/language-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "The stateward language server: exclusive states and predictable code paths in any editor that speaks LSP, with findings, quick fixes and hints.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -41,12 +41,12 @@
41
41
  "dependencies": {
42
42
  "vscode-languageserver": "^11.0.0",
43
43
  "vscode-languageserver-textdocument": "^1.0.16",
44
- "@stateward/core": "1.0.0"
44
+ "@stateward/core": "1.0.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/react": "^19.3.0",
48
48
  "react": "^19.3.1",
49
49
  "vscode-jsonrpc": "10.0.0",
50
- "@stateward/plugin-react-context": "1.0.0"
50
+ "@stateward/plugin-react-context": "1.0.1"
51
51
  }
52
52
  }