File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,14 +294,14 @@ describe("init", () => {
294294
295295 expect ( keys ) . toEqual ( [
296296 "$schema" ,
297- "changelog" ,
298297 "baseBranch" ,
299- "commit" ,
300298 "access" ,
299+ "format" ,
300+ "changelog" ,
301+ "commit" ,
301302 "ignore" ,
302303 "fixed" ,
303304 "linked" ,
304- "format" ,
305305 "updateInternalDependencies" ,
306306 ] ) ;
307307 } ) ;
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ async function getInteractiveConfig() {
4141 false ,
4242 ) ;
4343
44- config . access = ( await cli . askList (
44+ config . access = await cli . askList < AccessType > (
4545 "Should packages be published publicly or privately by default?" ,
4646 [
4747 { label : "Private" , value : "restricted" } ,
4848 { label : "Public" , value : "public" } ,
4949 ] ,
50- ) ) as AccessType ;
50+ ) ;
5151
5252 const baseBranchInput = await cli . askQuestion (
5353 "Which base branch should be used?" ,
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export type WrittenConfig = {
101101 commit ?: boolean | readonly [ string , null | Record < string , unknown > ] | string ;
102102 fixed ?: Fixed ;
103103 linked ?: Linked ;
104- access ?: AccessType ;
104+ access ?: AccessType | "private" ;
105105 baseBranch ?: string ;
106106 changedFilePatterns ?: readonly string [ ] ;
107107 format ?: "auto" | "prettier" | "oxfmt" | "deno" | "dprint" | false ;
You can’t perform that action at this time.
0 commit comments