Skip to content

Commit 7a33f5d

Browse files
Merge pull request ast-grep#28 from LoTwT/pnpm-deps
fix(template): allow all deps to run postinstall scripts
2 parents 87d977a + b765c87 commit 7a33f5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/create-lang/template/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,11 @@
3939
"publishConfig": {
4040
"access": "public",
4141
"registry": "https://registry.npmjs.org/"
42+
},
43+
"pnpm": {
44+
"onlyBuiltDependencies": [
45+
"$$PACKAGE_NAME$$",
46+
"tree-sitter-cli"
47+
]
4248
}
4349
}

0 commit comments

Comments
 (0)