Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: new update options
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 7, 2018
1 parent 63b92a2 commit 9451c87
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions src/pjson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export namespace PJSON {
export interface Plugin extends PJSON {
name: string
version: string
channel?: string
oclif: PJSON['oclif'] & {
schema?: number
title?: string
Expand All @@ -18,11 +19,24 @@ export namespace PJSON {
commands?: string
plugins?: string[]
devPlugins?: string[]
autoupdate?: 'github' | 's3'
targets?: string[]
s3Host?: string
s3Bucket?: string
s3Prefix?: string
update?: {
autoupdate?: boolean | {
rollout?: number
debounce?: number
}
node?: {
version?: string
targets?: string[]
}
s3?: {
bucket?: string
prefix?: string
host?: string
xz?: boolean
gz?: boolean
}
// github?: {}
}
topics?: {
[k: string]: {
description?: string
Expand Down

0 comments on commit 9451c87

Please sign in to comment.