File tree 3 files changed +7
-6
lines changed
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
146
146
For CLI applications you might want to show ` npx ` instead of ` npm i ` for the preview command. This can be accomplished with the ` --bin ` flag:
147
147
148
148
``` sh
149
- npx pkg-pr-new publish --bin
149
+ npx pkg-pr-new publish --bin
150
150
```
151
151
152
152
With ` --bin ` :
153
+
153
154
``` sh
154
155
npx https://pkg.pr.new/pkg-pr-new@a832a55
155
156
```
156
157
157
158
Without ` --bin ` :
159
+
158
160
``` sh
159
161
npm i https://pkg.pr.new/pkg-pr-new@a832a55
160
162
```
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export default eventHandler(async (event) => {
207
207
workflowData ,
208
208
compact ,
209
209
packageManager ,
210
- bin
210
+ bin ,
211
211
) ,
212
212
} ,
213
213
conclusion : "success" ,
@@ -264,7 +264,7 @@ export default eventHandler(async (event) => {
264
264
checkRunUrl ,
265
265
packageManager ,
266
266
"ref" ,
267
- bin
267
+ bin ,
268
268
) ,
269
269
} ,
270
270
) ;
@@ -285,7 +285,7 @@ export default eventHandler(async (event) => {
285
285
checkRunUrl ,
286
286
packageManager ,
287
287
comment === "update" ? "ref" : "sha" ,
288
- bin
288
+ bin ,
289
289
) ,
290
290
} ,
291
291
) ;
Original file line number Diff line number Diff line change @@ -130,8 +130,7 @@ const main = defineCommand({
130
130
131
131
const isPeerDepsEnabled = ! ! args . peerDeps ;
132
132
const isOnlyTemplates = ! ! args [ "only-templates" ] ;
133
-
134
- const isBinaryApplication = ! ! args . binaryApplication ;
133
+ const isBinaryApplication = ! ! args . bin ;
135
134
const comment : Comment = args . comment as Comment ;
136
135
const selectedPackageManager = args . packageManager as
137
136
| "npm"
You can’t perform that action at this time.
0 commit comments