diff --git a/.changeset/light-friends-warn.md b/.changeset/light-friends-warn.md new file mode 100644 index 000000000..667ae1c91 --- /dev/null +++ b/.changeset/light-friends-warn.md @@ -0,0 +1,5 @@ +--- +"@changesets/types": major +--- + +Remove `"private"` type support for `WrittenConfig.access`. Only `"public"` and `"restricted"` are valid values. This change was also already made in [#2015](https://github.com/changesets/changesets/pull/2015) in the runtime. diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 1f4952e98..37c6eb3be 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -101,7 +101,7 @@ export type WrittenConfig = { commit?: boolean | readonly [string, null | Record] | string; fixed?: Fixed; linked?: Linked; - access?: AccessType | "private"; + access?: AccessType; baseBranch?: string; changedFilePatterns?: readonly string[]; format?: "auto" | "prettier" | "oxfmt" | "deno" | "dprint" | false;