Skip to content

Commit c4f17b7

Browse files
authored
chore: update yarn v4.17.1 and update publish-preview workflow (#34)
## Explanation <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> Update yarn to v4.17.1 (required to publish a build). Update publish-preview to rename preview packages. ## References * Related to [WPN-1328](https://consensyssoftware.atlassian.net/browse/WPN-1328) <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md) - [ ] I've introduced [breaking changes](https://github.com/MetaMask/core/tree/main/docs/processes/breaking-changes.md) in this PR and have prepared draft pull requests for clients and consumer packages to resolve them
1 parent ca58336 commit c4f17b7

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/publish-preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '@metamaskbot publish-preview') }}
1414
uses: MetaMask/github-tools/.github/workflows/publish-preview.yml@v1
1515
with:
16+
rename-after-install-and-build: true
1617
environment: default-branch
1718
docs-url: 'https://github.com/MetaMask/core/blob/main/docs/processes/preview-builds.md'
1819
secrets:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"engines": {
102102
"node": ">=20"
103103
},
104-
"packageManager": "yarn@4.14.1",
104+
"packageManager": "yarn@4.17.1",
105105
"lavamoat": {
106106
"allowScripts": {
107107
"@lavamoat/preinstall-always-fail": false,

yarn.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ module.exports = defineConfig({
285285
if (isChildWorkspace) {
286286
workspace.unset('packageManager');
287287
} else {
288-
expectWorkspaceField(workspace, 'packageManager', 'yarn@4.14.1');
288+
expectWorkspaceField(workspace, 'packageManager', 'yarn@4.17.1');
289289
}
290290

291291
// All packages must specify a minimum Node.js version of 20.

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Manual changes might be lost - proceed with caution!
33

44
__metadata:
5-
version: 9
5+
version: 10
66
cacheKey: 10
77

88
"@adraffy/ens-normalize@npm:1.10.1":
@@ -11354,28 +11354,28 @@ __metadata:
1135411354

1135511355
"resolve@patch:resolve@npm%3A1.22.8#optional!builtin<compat/resolve>":
1135611356
version: 1.22.8
11357-
resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin<compat/resolve>::version=1.22.8&hash=c3c19d"
11357+
resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin<compat/resolve>::version=1.22.8&hash=9bd1a5"
1135811358
dependencies:
1135911359
is-core-module: "npm:^2.13.0"
1136011360
path-parse: "npm:^1.0.7"
1136111361
supports-preserve-symlinks-flag: "npm:^1.0.0"
1136211362
bin:
1136311363
resolve: bin/resolve
11364-
checksum: 10/f345cd37f56a2c0275e3fe062517c650bb673815d885e7507566df589375d165bbbf4bdb6aa95600a9bc55f4744b81f452b5a63f95b9f10a72787dba3c90890a
11364+
checksum: 10/b14c82cbce48701a1e963c60f196b91a289186e8b596334e09c881df8069cefcfb0ac9ce85ea768742b361a58005494bf2428a95dc5056d2ba441aa993731b1f
1136511365
languageName: node
1136611366
linkType: hard
1136711367

1136811368
"resolve@patch:resolve@npm%3A^1.20.0#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.3#optional!builtin<compat/resolve>, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin<compat/resolve>":
1136911369
version: 1.22.12
11370-
resolution: "resolve@patch:resolve@npm%3A1.22.12#optional!builtin<compat/resolve>::version=1.22.12&hash=c3c19d"
11370+
resolution: "resolve@patch:resolve@npm%3A1.22.12#optional!builtin<compat/resolve>::version=1.22.12&hash=9bd1a5"
1137111371
dependencies:
1137211372
es-errors: "npm:^1.3.0"
1137311373
is-core-module: "npm:^2.16.1"
1137411374
path-parse: "npm:^1.0.7"
1137511375
supports-preserve-symlinks-flag: "npm:^1.0.0"
1137611376
bin:
1137711377
resolve: bin/resolve
11378-
checksum: 10/f80ad2c2b6820331cbe079198a184ffce322cfeca140065118066276bc08b03d5fa2c1ce652aeb584ec74050d1f656f46f034cc0dd9300452c5ab7866907f8c0
11378+
checksum: 10/7c0ee8a1bd6126d7adde06b8cbba7578f6b791560200cd235b696106b9803038fcf680f0273b350a4e9476de1a5194a9a77827cb08e10d80bea38f4d63b1d254
1137911379
languageName: node
1138011380
linkType: hard
1138111381

0 commit comments

Comments
 (0)