Skip to content

Commit add048e

Browse files
committed
fix(pi-jujutsu): extension entry points to dist, not src
pi.extensions pointed to src/index.ts which is not included in the published npm package (files: ["dist", "README.md"]). Users installing via npm:pi-jujutsu got a silent load failure. Changed to dist/index.js to match all other packages in the monorepo.
1 parent d2d6983 commit add048e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/fix-extension-entry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"pi-jujutsu": patch
3+
---
4+
5+
Fix extension not loading when installed from npm: pi.extensions entry pointed to src/index.ts which is not included in the published package. Changed to dist/index.js.

packages/jujutsu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"pi": {
3535
"extensions": [
36-
"src/index.ts"
36+
"dist/index.js"
3737
]
3838
},
3939
"peerDependencies": {

0 commit comments

Comments
 (0)