Skip to content

Commit 107bc14

Browse files
committed
fix: restore npx installs for published package
Remove the pnpm-only preinstall guard so the published package works with npx and npm exec again.
1 parent 89d12c5 commit 107bc14

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575

7676
## [Unreleased]
7777

78+
### Bug Fixes
79+
80+
- restore `npx` / `npm exec` installs by removing the published pnpm-only `preinstall` guard
81+
7882
### Added
7983

8084
- **Definition-first ranking**: Exact-name searches now show the file that _defines_ a symbol before files that use it. For example, searching `parseConfig` shows the function definition first, then callers.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
},
104104
"license": "MIT",
105105
"scripts": {
106-
"preinstall": "npx only-allow pnpm",
107106
"sync:grammars": "node scripts/sync-grammars.mjs",
108107
"prebuild": "pnpm run sync:grammars",
109108
"build": "tsc",

0 commit comments

Comments
 (0)