@changesets/config
Advanced tools
Comparing version 1.2.0 to 1.3.0
# @changesets/config | ||
## 1.3.0 | ||
### Minor Changes | ||
- [`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567) [#393](https://github.com/atlassian/changesets/pull/393) Thanks [@Andarist](https://github.com/Andarist)! - Added `updateInternalDependencies` and `ignore` options to the JSON schema. | ||
### Patch Changes | ||
- [`377f5c3`](https://github.com/atlassian/changesets/commit/377f5c385ad9db4ff8458f159e2d452c39828567) [#393](https://github.com/atlassian/changesets/pull/393) Thanks [@Andarist](https://github.com/Andarist)! - Removed experimental flags from `defaultWrittenConfig`. They were added there by mistake. | ||
## 1.2.0 | ||
@@ -4,0 +14,0 @@ |
@@ -15,3 +15,3 @@ 'use strict'; | ||
name: "@changesets/config", | ||
version: "1.2.0", | ||
version: "1.3.0", | ||
description: "Utilities for reading and parsing Changeset's config", | ||
@@ -48,7 +48,3 @@ main: "dist/config.cjs.js", | ||
updateInternalDependencies: "patch", | ||
ignore: [], | ||
___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
onlyUpdatePeerDependentsWhenOutOfRange: false, | ||
useCalculatedVersionForSnapshots: false | ||
} | ||
ignore: [] | ||
}; | ||
@@ -191,4 +187,4 @@ | ||
___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
onlyUpdatePeerDependentsWhenOutOfRange: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange === undefined ? defaultWrittenConfig.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange, | ||
useCalculatedVersionForSnapshots: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots === undefined ? defaultWrittenConfig.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots | ||
onlyUpdatePeerDependentsWhenOutOfRange: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange === undefined ? false : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange, | ||
useCalculatedVersionForSnapshots: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots === undefined ? false : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots | ||
} | ||
@@ -195,0 +191,0 @@ }; |
@@ -13,3 +13,3 @@ "use strict"; | ||
name: "@changesets/config", | ||
version: "1.2.0", | ||
version: "1.3.0", | ||
description: "Utilities for reading and parsing Changeset's config", | ||
@@ -43,7 +43,3 @@ main: "dist/config.cjs.js", | ||
updateInternalDependencies: "patch", | ||
ignore: [], | ||
___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
onlyUpdatePeerDependentsWhenOutOfRange: !1, | ||
useCalculatedVersionForSnapshots: !1 | ||
} | ||
ignore: [] | ||
}; | ||
@@ -99,4 +95,4 @@ | ||
___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
onlyUpdatePeerDependentsWhenOutOfRange: void 0 === json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH || void 0 === json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange ? defaultWrittenConfig.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange, | ||
useCalculatedVersionForSnapshots: void 0 === json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH || void 0 === json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots ? defaultWrittenConfig.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots | ||
onlyUpdatePeerDependentsWhenOutOfRange: void 0 !== json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH && void 0 !== json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange && json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange, | ||
useCalculatedVersionForSnapshots: void 0 !== json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH && void 0 !== json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots && json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots | ||
} | ||
@@ -103,0 +99,0 @@ }; |
@@ -9,3 +9,3 @@ import { readJSON } from 'fs-extra'; | ||
name: "@changesets/config", | ||
version: "1.2.0", | ||
version: "1.3.0", | ||
description: "Utilities for reading and parsing Changeset's config", | ||
@@ -42,7 +42,3 @@ main: "dist/config.cjs.js", | ||
updateInternalDependencies: "patch", | ||
ignore: [], | ||
___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
onlyUpdatePeerDependentsWhenOutOfRange: false, | ||
useCalculatedVersionForSnapshots: false | ||
} | ||
ignore: [] | ||
}; | ||
@@ -185,4 +181,4 @@ | ||
___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
onlyUpdatePeerDependentsWhenOutOfRange: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange === undefined ? defaultWrittenConfig.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange, | ||
useCalculatedVersionForSnapshots: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots === undefined ? defaultWrittenConfig.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots | ||
onlyUpdatePeerDependentsWhenOutOfRange: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange === undefined ? false : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange, | ||
useCalculatedVersionForSnapshots: json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH === undefined || json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots === undefined ? false : json.___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots | ||
} | ||
@@ -189,0 +185,0 @@ }; |
@@ -12,6 +12,2 @@ import { Packages } from "@manypkg/get-packages"; | ||
readonly ignore: readonly string[]; | ||
readonly ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: { | ||
readonly onlyUpdatePeerDependentsWhenOutOfRange: false; | ||
readonly useCalculatedVersionForSnapshots: false; | ||
}; | ||
}; | ||
@@ -18,0 +14,0 @@ export declare let read: (cwd: string, packages: Packages) => Promise<Config>; |
{ | ||
"name": "@changesets/config", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Utilities for reading and parsing Changeset's config", | ||
@@ -5,0 +5,0 @@ "main": "dist/config.cjs.js", |
@@ -43,3 +43,3 @@ { | ||
"type": "boolean", | ||
"description": "Determines whether Changesets should commit the results of the add and version command", | ||
"description": "Determines whether Changesets should commit the results of the add and version command.", | ||
"default": false | ||
@@ -50,3 +50,3 @@ }, | ||
"type": "string", | ||
"description": "Determines whether Changesets should publish packages to the registry publicly or to a restricted scope", | ||
"description": "Determines whether Changesets should publish packages to the registry publicly or to a restricted scope.", | ||
"default": "restricted" | ||
@@ -57,5 +57,19 @@ }, | ||
"default": "master", | ||
"description": "Determines the branch that Changesets uses when finding what packages have changed" | ||
"description": "Determines the branch that Changesets uses when finding what packages have changed." | ||
}, | ||
"ignore": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Packages that should not be released.", | ||
"default": [] | ||
}, | ||
"updateInternalDependencies": { | ||
"enum": ["patch", "minor"], | ||
"type": "string", | ||
"description": "The minimum bump type to trigger automatic update of internal dependencies that are part of the same release.", | ||
"default": "patch" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38772
550