bash_lsp 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -131,7 +131,7 @@ From the root directory of this project, run `code .` Then in VS Code
131
131
 
132
132
  ## Installation and Neovim setup
133
133
 
134
- The server can be installed as a standalone `shell-language-server` command and used by any LSP client (including Neovim). See [installation-and-nvim.md](installation-and-nvim.md) for packaging details, installing from GitHub, and Neovim configuration.
134
+ The server can be installed as a standalone `shell-language-server` command and used by any LSP client (including Neovim). See [docs/installation-and-nvim.md](docs/installation-and-nvim.md) for packaging details, installing from npm, and Neovim configuration.
135
135
 
136
136
  ## Publishing to the VS Code Marketplace
137
137
 
@@ -185,6 +185,10 @@ Or via the VS Code UI: Extensions sidebar → `...` → **Install from VSIX**.
185
185
 
186
186
  ### Shipping an update
187
187
 
188
+ This project ships through two channels — update whichever you publish to.
189
+
190
+ #### VS Code Marketplace (`vsce`)
191
+
188
192
  Bump the version and republish. You can let `vsce` handle the version bump:
189
193
 
190
194
  ```bash
@@ -195,7 +199,9 @@ vsce publish major # 0.1.0 → 1.0.0
195
199
 
196
200
  This updates `package.json` and publishes in one step. Existing users receive the update automatically within a few hours.
197
201
 
198
- > **Note:** keep `serverInfo.version` in `server/src/methods/initialize.ts` in sync with `package.json` when bumping versions manually.
202
+ #### npm CLI (`shell-language-server`)
203
+
204
+ Releases to npm are automated by `.github/workflows/release.yml`, which publishes whenever a `v*` tag is pushed. See [docs/versioning.md](docs/versioning.md) for the full versioning model and release flow.
199
205
 
200
206
  ## Information of interest
201
207
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Bash Language Server and Client",
4
4
  "author": "Juan Diaz",
5
5
  "license": "MIT",
6
- "version": "0.1.0",
6
+ "version": "0.1.1",
7
7
  "publisher": "juandiazan",
8
8
  "categories": [],
9
9
  "engines": {
@@ -45,4 +45,4 @@
45
45
  "prettier": "^3.8.3",
46
46
  "typescript": "^5.2.2"
47
47
  }
48
- }
48
+ }
@@ -38,8 +38,8 @@ exports.CompletionKeywords = {
38
38
  if: "if [[ ${1:condition} ]]; then\n \t$0\nfi",
39
39
  ifelse: "if [[ ${1:condition} ]]; then\n \t$0\nelse\n \t\nfi",
40
40
  while: "while [ ${1:condition} ]; do\n \t$0\ndone",
41
- for: "for $${1:elem} in $${2:list}; do\n \t$0\ndone",
42
- case: "case $${1:var} in\n" +
41
+ for: "for ${1:elem} in ${2:list}; do\n \t$0\ndone",
42
+ case: "case \\$${1:var} in\n" +
43
43
  "\t${2:value})\n" +
44
44
  "\t\t$0\n" +
45
45
  "\t\t;;\n" +
@@ -1 +1 @@
1
- {"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/interfaces/completion.ts"],"names":[],"mappings":";;;AAcA,IAAiB,gBAAgB,CAGhC;AAHD,WAAiB,gBAAgB;IAClB,0BAAS,GAAG,CAAC,CAAC;IACd,wBAAO,GAAG,CAAC,CAAC;AAC3B,CAAC,EAHgB,gBAAgB,gCAAhB,gBAAgB,QAGhC;AA4BD,IAAiB,kBAAkB,CA0BlC;AA1BD,WAAiB,kBAAkB;IACpB,uBAAI,GAAG,CAAC,CAAC;IACT,yBAAM,GAAG,CAAC,CAAC;IACX,2BAAQ,GAAG,CAAC,CAAC;IACb,8BAAW,GAAG,CAAC,CAAC;IAChB,wBAAK,GAAG,CAAC,CAAC;IACV,2BAAQ,GAAG,CAAC,CAAC;IACb,wBAAK,GAAG,CAAC,CAAC;IACV,4BAAS,GAAG,CAAC,CAAC;IACd,yBAAM,GAAG,CAAC,CAAC;IACX,2BAAQ,GAAG,EAAE,CAAC;IACd,uBAAI,GAAG,EAAE,CAAC;IACV,wBAAK,GAAG,EAAE,CAAC;IACX,uBAAI,GAAG,EAAE,CAAC;IACV,0BAAO,GAAG,EAAE,CAAC;IACb,0BAAO,GAAG,EAAE,CAAC;IACb,wBAAK,GAAG,EAAE,CAAC;IACX,uBAAI,GAAG,EAAE,CAA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