Skip to content

fix: bump version to 1.0.7 and resolve npm publish warnings#40

Merged
naheel0 merged 2 commits intomainfrom
copilot/fix-package-json-errors
Mar 3, 2026
Merged

fix: bump version to 1.0.7 and resolve npm publish warnings#40
naheel0 merged 2 commits intomainfrom
copilot/fix-package-json-errors

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

npm publish was failing because version 1.0.6 was already on the registry, and two package.json fields were being auto-corrected by npm at publish time (a warning-as-error pattern that should be fixed at source).

Changes

  • Version bump1.0.61.0.7 to unblock publishing
  • bin path"./bin/index.js""bin/index.js" (leading ./ was invalid per npm's bin validation)
  • repository.url"https://...""git+https://..." (npm expects the git+ scheme prefix)
  • package-lock.json — version synced to 1.0.7
-  "version": "1.0.6",
+  "version": "1.0.7",
   "bin": {
-    "errlens": "./bin/index.js"
+    "errlens": "bin/index.js"
   },
   "repository": {
-    "url": "https://github.com/BeyteFlow/errlens.git"
+    "url": "git+https://github.com/BeyteFlow/errlens.git"
   }

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Fix package.json errors for npm publish fix: bump version to 1.0.7 and resolve npm publish warnings Mar 3, 2026
@naheel0 naheel0 marked this pull request as ready for review March 3, 2026 16:13
@naheel0 naheel0 merged commit cddeb10 into main Mar 3, 2026
4 checks passed
@naheel0 naheel0 deleted the copilot/fix-package-json-errors branch March 3, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants