-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb4080a
commit 035d77f
Showing
3 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,10 +41,10 @@ | |
"test:ci": "pnpm nx run-many --target=test:ci" | ||
}, | ||
"dependencies": { | ||
"@changesets/cli": "^2.26.2" | ||
"@changesets/cli": "2.26.2" | ||
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "^0.4.8", | ||
"@changesets/changelog-github": "0.4.8", | ||
"@commitlint/cli": "^17.6.7", | ||
"@commitlint/config-conventional": "^17.6.7", | ||
"@ianvs/prettier-plugin-sort-imports": "^4.1.0", | ||
|
@@ -95,7 +95,8 @@ | |
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"@ceramicnetwork/[email protected]": "patches/@[email protected]", | ||
"@metamask/[email protected]": "patches/@[email protected]" | ||
"@metamask/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected]": "patches/@[email protected]" | ||
}, | ||
"allowNonAppliedPatches": true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/index.ts b/src/index.ts | ||
index c2808fcd430346759975a40e951d49142f4896b9..17398ae30bf292791d2aa9f36b2efce545a58b1a 100644 | ||
--- a/src/index.ts | ||
+++ b/src/index.ts | ||
@@ -215,14 +215,18 @@ function assembleReleasePlan( | ||
// Detailed explanation at https://github.com/changesets/changesets/pull/382#discussion_r434434182 | ||
if (preInfo.preVersions.get(pkg.packageJson.name) !== 0) { | ||
const existingRelease = releases.get(pkg.packageJson.name); | ||
- if (!existingRelease) { | ||
- releases.set(pkg.packageJson.name, { | ||
- name: pkg.packageJson.name, | ||
- type: "patch", | ||
- oldVersion: pkg.packageJson.version, | ||
- changesets: [], | ||
- }); | ||
- } else if ( | ||
+ // [martines3000]:We don't want this behaviour in our workflows | ||
+ // https://github.com/martines3000/changesets | ||
+ // if (!existingRelease) { | ||
+ // releases.set(pkg.packageJson.name, { | ||
+ // name: pkg.packageJson.name, | ||
+ // type: "patch", | ||
+ // oldVersion: pkg.packageJson.version, | ||
+ // changesets: [], | ||
+ // }); | ||
+ // } | ||
+ if ( | ||
+ existingRelease && | ||
existingRelease.type === "none" && | ||
!refinedConfig.ignore.includes(pkg.packageJson.name) | ||
) { |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.