stan-language-server 0.3.2 → 0.4.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 +14 -4
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -107,10 +107,20 @@ Assuming you are using [stan-ts-mode](https://github.com/WardBrian/stan-ts-mode)
|
|
|
107
107
|
and add the following to your `init.el`:
|
|
108
108
|
|
|
109
109
|
```elisp
|
|
110
|
-
; elgot is built in to emacs 29+, but
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
; elgot is built in to emacs 29+, but some features work better if you use the
|
|
111
|
+
;; latest version from GNU ELPA
|
|
112
|
+
(require 'package)
|
|
113
|
+
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/") t)
|
|
114
|
+
(package-initialize)
|
|
115
|
+
|
|
116
|
+
(use-package eglot
|
|
117
|
+
:ensure t
|
|
118
|
+
:demand t
|
|
119
|
+
:pin gnu
|
|
120
|
+
:hook (stan-ts-mode . eglot-ensure)
|
|
121
|
+
:config
|
|
122
|
+
(add-to-list 'eglot-server-programs '(stan-ts-mode .
|
|
123
|
+
("PATH/TO/stan-language-server" "--stdio"))))
|
|
114
124
|
```
|
|
115
125
|
|
|
116
126
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stan-language-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Language Server Protocol implementation for the Stan probabilistic programming language",
|
|
5
5
|
"main": "dist/server/index.js",
|
|
6
6
|
"module": "src/server/index.ts",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "bun build src/server/index.ts --outdir dist/server --packages external --target browser --format esm && tsc --emitDeclarationOnly --outDir dist",
|
|
50
50
|
"build:binary": "bun build src/server/cli.ts --drop=console --compile --outfile bin/stan-language-server",
|
|
51
|
+
"build:bin-package": "bun run scripts/build-bin-package.ts",
|
|
51
52
|
"prepublishOnly": "bun run build",
|
|
52
53
|
"version:set": "bun run scripts/set-version.ts",
|
|
53
54
|
"publish:npm": "npm publish --access public --provenance",
|
|
@@ -67,10 +68,10 @@
|
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@types/bun": "latest",
|
|
70
|
-
"@types/node": "25.0
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
72
|
-
"@typescript-eslint/parser": "8.
|
|
73
|
-
"eslint": "
|
|
71
|
+
"@types/node": "25.5.0",
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "8.57.1",
|
|
73
|
+
"@typescript-eslint/parser": "8.57.1",
|
|
74
|
+
"eslint": "10.0.3",
|
|
74
75
|
"typescript": "5.9.3"
|
|
75
76
|
},
|
|
76
77
|
"dependencies": {
|