You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| -c --check-remote-version | Detects whether the remote version of the npm package is the same as the package version to be published locally, and if it is, skip the release |
95
95
96
96
### Custom Handle
97
97
@@ -120,7 +120,11 @@ release({ task })
120
120
#### Types
121
121
122
122
```ts
123
-
function publish(preRelease:boolean|undefined):Promise<void>
123
+
interfacePublishCommandOptions {
124
+
preRelease?:boolean
125
+
checkRemoteVersion?:boolean
126
+
}
127
+
function publish({ preRelease, checkRemoteVersion }:PublishCommandOptions):Promise<void>
0 commit comments