@changesets/apply-release-plan
Advanced tools
Comparing version 6.1.4 to 7.0.0
# @changesets/apply-release-plan | ||
## 7.0.0 | ||
### Major Changes | ||
- [#1185](https://github.com/changesets/changesets/pull/1185) [`a971652`](https://github.com/changesets/changesets/commit/a971652ec1403aab3fb89eb2f1640bd5012b895a) Thanks [@Andarist](https://github.com/Andarist)! - `package.json#exports` have been added to limit what (and how) code might be imported from the package. | ||
### Minor Changes | ||
- [#1236](https://github.com/changesets/changesets/pull/1236) [`dfd4cca`](https://github.com/changesets/changesets/commit/dfd4cca84118df913feedfeac37a4939566ae447) Thanks [@camertron](https://github.com/camertron)! - Avoid using short commit IDs | ||
### Patch Changes | ||
- Updated dependencies [[`a971652`](https://github.com/changesets/changesets/commit/a971652ec1403aab3fb89eb2f1640bd5012b895a)]: | ||
- @changesets/get-version-range-type@0.4.0 | ||
- @changesets/config@3.0.0 | ||
- @changesets/types@6.0.0 | ||
- @changesets/git@3.0.0 | ||
## 6.1.4 | ||
@@ -4,0 +22,0 @@ |
import { ReleasePlan, Config } from "@changesets/types"; | ||
import { Packages } from "@manypkg/get-packages"; | ||
export default function applyReleasePlan(releasePlan: ReleasePlan, packages: Packages, config?: Config, snapshot?: string | boolean): Promise<string[]>; |
{ | ||
"name": "@changesets/apply-release-plan", | ||
"version": "6.1.4", | ||
"version": "7.0.0", | ||
"description": "Takes a release plan and applies it to packages", | ||
"main": "dist/apply-release-plan.cjs.js", | ||
"module": "dist/apply-release-plan.esm.js", | ||
"main": "dist/changesets-apply-release-plan.cjs.js", | ||
"module": "dist/changesets-apply-release-plan.esm.js", | ||
"exports": { | ||
".": { | ||
"types": { | ||
"import": "./dist/changesets-apply-release-plan.cjs.mjs", | ||
"default": "./dist/changesets-apply-release-plan.cjs.js" | ||
}, | ||
"module": "./dist/changesets-apply-release-plan.esm.js", | ||
"import": "./dist/changesets-apply-release-plan.cjs.mjs", | ||
"default": "./dist/changesets-apply-release-plan.cjs.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"license": "MIT", | ||
@@ -11,6 +23,6 @@ "repository": "https://github.com/changesets/changesets/tree/main/packages/apply-release-plan", | ||
"@babel/runtime": "^7.20.1", | ||
"@changesets/config": "^2.3.1", | ||
"@changesets/get-version-range-type": "^0.3.2", | ||
"@changesets/git": "^2.0.0", | ||
"@changesets/types": "^5.2.1", | ||
"@changesets/config": "^3.0.0", | ||
"@changesets/get-version-range-type": "^0.4.0", | ||
"@changesets/git": "^3.0.0", | ||
"@changesets/types": "^6.0.0", | ||
"@manypkg/get-packages": "^1.1.3", | ||
@@ -17,0 +29,0 @@ "detect-indent": "^6.0.0", |
@@ -41,3 +41,3 @@ import { | ||
const paths = changesetIds.map((id) => `.changeset/${id}.md`); | ||
const commits = await git.getCommitsThatAddFiles(paths, { cwd, short: true }); | ||
const commits = await git.getCommitsThatAddFiles(paths, { cwd }); | ||
@@ -57,3 +57,2 @@ if (commits.every(stringDefined)) { | ||
cwd, | ||
short: true, | ||
}); | ||
@@ -60,0 +59,0 @@ |
@@ -15,3 +15,3 @@ /* eslint-disable import/no-extraneous-dependencies */ | ||
[`.changeset/${changeset.id}.md`], | ||
{ cwd, short: true } | ||
{ cwd } | ||
); | ||
@@ -18,0 +18,0 @@ |
@@ -1,12 +0,4 @@ | ||
/* | ||
BAD CODE ALERT! | ||
You should never reach out of one package and into another in a multi-package repository. | ||
(doing so is a leading cause of 'works on my machine' but then failure when the packages are published) | ||
We are doing it here to avoide adding a circular dependency and as this is only used in testing. | ||
This is wicked, and please don't copy us. | ||
*/ | ||
export { default } from "../../../cli/changelog"; | ||
// We are doing it here to avoide adding a circular dependency and as this is only used in testing. | ||
// This is wicked, and please don't copy us. | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
export { default } from "@changesets/cli/changelog"; |
@@ -1,12 +0,4 @@ | ||
/* | ||
BAD CODE ALERT! | ||
You should never reach out of one package and into another in a multi-package repository. | ||
(doing so is a leading cause of 'works on my machine' but then failure when the packages are published) | ||
We are doing it here to avoide adding a circular dependency and as this is only used in testing. | ||
This is wicked, and please don't copy us. | ||
*/ | ||
export { default } from "../../../cli/commit"; | ||
// We are doing it here to avoide adding a circular dependency and as this is only used in testing. | ||
// This is wicked, and please don't copy us. | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
export { default } from "@changesets/cli/commit"; |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
24
7
176723
4331
+ Added@changesets/config@3.0.3(transitive)
+ Added@changesets/errors@0.2.0(transitive)
+ Added@changesets/get-dependents-graph@2.1.2(transitive)
+ Added@changesets/get-version-range-type@0.4.0(transitive)
+ Added@changesets/git@3.0.1(transitive)
+ Added@changesets/logger@0.1.1(transitive)
+ Added@changesets/types@6.0.0(transitive)
+ Addedpicocolors@1.1.0(transitive)
- Removed@changesets/config@2.3.1(transitive)
- Removed@changesets/errors@0.1.4(transitive)
- Removed@changesets/get-dependents-graph@1.3.6(transitive)
- Removed@changesets/get-version-range-type@0.3.2(transitive)
- Removed@changesets/git@2.0.0(transitive)
- Removed@changesets/logger@0.0.5(transitive)
- Removed@changesets/types@5.2.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedsupports-color@5.5.0(transitive)
Updated@changesets/config@^3.0.0
Updated@changesets/git@^3.0.0
Updated@changesets/types@^6.0.0