pi-lsp-adapter 0.1.1 → 0.1.2

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 +7 -4
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -442,17 +442,20 @@ Run `/reload` in Pi after editing the extension.
442
442
 
443
443
  ## Release
444
444
 
445
- Publishing is tag-driven, but do not create release tags by hand. Use the release helper so `package.json` and `package-lock.json` are bumped before the matching semver tag is created. The GitHub Actions publish workflow is intentionally read-only: it verifies the tag against both version files and fails instead of patching tagged source during publish.
445
+ Publishing is CI-driven. Do not create release tags by hand. To cut a release, make a normal commit that bumps `package.json` and `package-lock.json`; after that commit lands on `main` and CI passes, `.github/workflows/publish.yml` creates the matching semver tag and publishes to npm.
446
446
 
447
447
  npm publishing uses Trusted Publishing for `.github/workflows/publish.yml`, so no npm token secret is required. The npm package must have a Trusted Publisher configured for `nikmmd/pi-lsp-adapter` and workflow filename `publish.yml`.
448
448
 
449
449
  ```bash
450
- npm run release -- 0.1.2 --push
450
+ npm version 0.1.2 --no-git-tag-version
451
+ git add package.json package-lock.json
452
+ git commit -m "chore: release v0.1.2"
453
+ git push origin main
451
454
  ```
452
455
 
453
- Omit `--push` to create the release commit and tag locally, then push with the command printed by the helper.
456
+ Non-release pushes to `main` also trigger the publish workflow, but it exits without publishing when the current `package.json` version already exists on npm.
454
457
 
455
- Stable tags such as `v0.1.0` publish with the npm `latest` dist-tag. Prerelease tags such as `v0.2.0-beta.1` publish with the npm `next` dist-tag.
458
+ Stable versions such as `0.1.2` publish with the npm `latest` dist-tag. Prerelease versions such as `0.2.0-beta.1` publish with the npm `next` dist-tag.
456
459
 
457
460
  ## Troubleshooting
458
461
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-lsp-adapter",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Pi extension that gives coding agents Language Server Protocol tools for diagnostics, hover, definitions, references, and symbol search",
5
5
  "author": "Nikmmd",
6
6
  "license": "MIT",
@@ -38,8 +38,7 @@
38
38
  "test:watch": "vitest",
39
39
  "typecheck": "tsc --noEmit",
40
40
  "format": "prettier --write .",
41
- "format:check": "prettier --check .",
42
- "release": "bash scripts/release.sh"
41
+ "format:check": "prettier --check ."
43
42
  },
44
43
  "pi": {
45
44
  "extensions": [