File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -146,15 +146,17 @@ npm i https://pkg.pr.new/tinylibs/tinybench/tinybench@a832a55
146146For CLI applications you might want to show ` npx ` instead of ` npm i ` for the preview command. This can be accomplished with the ` --bin ` flag:
147147
148148``` sh
149- npx pkg-pr-new publish --bin
149+ npx pkg-pr-new publish --bin
150150```
151151
152152With ` --bin ` :
153+
153154``` sh
154155npx https://pkg.pr.new/pkg-pr-new@a832a55
155156```
156157
157158Without ` --bin ` :
159+
158160``` sh
159161npm i https://pkg.pr.new/pkg-pr-new@a832a55
160162```
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export default eventHandler(async (event) => {
207207 workflowData ,
208208 compact ,
209209 packageManager ,
210- bin
210+ bin ,
211211 ) ,
212212 } ,
213213 conclusion : "success" ,
@@ -264,7 +264,7 @@ export default eventHandler(async (event) => {
264264 checkRunUrl ,
265265 packageManager ,
266266 "ref" ,
267- bin
267+ bin ,
268268 ) ,
269269 } ,
270270 ) ;
@@ -285,7 +285,7 @@ export default eventHandler(async (event) => {
285285 checkRunUrl ,
286286 packageManager ,
287287 comment === "update" ? "ref" : "sha" ,
288- bin
288+ bin ,
289289 ) ,
290290 } ,
291291 ) ;
Original file line number Diff line number Diff line change @@ -130,8 +130,7 @@ const main = defineCommand({
130130
131131 const isPeerDepsEnabled = ! ! args . peerDeps ;
132132 const isOnlyTemplates = ! ! args [ "only-templates" ] ;
133-
134- const isBinaryApplication = ! ! args . binaryApplication ;
133+ const isBinaryApplication = ! ! args . bin ;
135134 const comment : Comment = args . comment as Comment ;
136135 const selectedPackageManager = args . packageManager as
137136 | "npm"
You can’t perform that action at this time.
0 commit comments