Skip to content

Commit 21528e0

Browse files
alexeaglejbedard
authored andcommitted
chore: mirror external releases
1 parent 4747da7 commit 21528e0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

npm/private/test/pnpm_test.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ load("@bazel_skylib//lib:unittest.bzl", "asserts", "unittest")
44
load("//npm/private:pnpm.bzl", "pnpm")
55
load("//npm/private:pnpm_extension.bzl", "DEFAULT_PNPM_REPO_NAME", "resolve_pnpm_repositories")
66
load("//npm/private:pnpm_repository.bzl", "LATEST_PNPM_VERSION")
7+
load("//npm/private:versions.bzl", "PNPM_VERSIONS")
78

89
def _fake_pnpm_tag(version = None, name = DEFAULT_PNPM_REPO_NAME, integrity = None, pnpm_version_from = None, include_npm = False):
910
return struct(
@@ -106,7 +107,7 @@ def _latest(ctx):
106107
# - Accept a brittle test.
107108
return _resolve_test(
108109
ctx,
109-
repositories = {"pnpm": {"version": LATEST_PNPM_VERSION, "integrity": "sha512-SY4ftMylqgbB3PJhHm+vxQly/+cYmZjECekN50VmREKY/+Q+bNKs3Hdboap8xeCSqLcFTIEbqMV3D4RpPTPS3A==", "include_npm": False}},
110+
repositories = {"pnpm": {"version": LATEST_PNPM_VERSION, "integrity": PNPM_VERSIONS[LATEST_PNPM_VERSION], "include_npm": False}},
110111
modules = [
111112
_fake_mod(True, _fake_pnpm_tag(version = "latest")),
112113
],

npm/private/versions.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,7 @@ PNPM_VERSIONS = {
108108
"10.29.1": "sha512-SNriM2NaZFdoowKNGVRcrMFohjnusfNzTkLW1rlxr78iqhrJr1Khc9nDogwVhXz6QA8ZmU15ovYm/Mc/zNqbvA==",
109109
"10.29.2": "sha512-vvQ/p1nZH9LaSzGaWg0T73pFu5haPXNCBYRw+dIFGjuoZ05ilnJlRobvlEOtE6gtor657rPgIhyHuBVP/510uA==",
110110
"10.29.3": "sha512-SY4ftMylqgbB3PJhHm+vxQly/+cYmZjECekN50VmREKY/+Q+bNKs3Hdboap8xeCSqLcFTIEbqMV3D4RpPTPS3A==",
111+
"10.30.0": "sha512-K1dT3gFdSA7riPW1th4AUfBbQwGAioLsi4QMnSrfd0jrNSyD9cFZPKcD/xAXKVvD/dMRmruWhu/Ja5/LGCAJNw==",
112+
"10.30.1": "sha512-NZDlUNU4TKo5vVx8c59yJwI0svYFnhMBj5dcMTseuf78wJcUBIdl1Nnv6WE4LDEuYkVywEIHYr3F1ZQM35vnOg==",
113+
"10.30.2": "sha512-Ns3HB+e3lAqYjJwez4jQhPhRS1w/CF9TouJEwpIdOyVFvCDdTr4fwkX+7EY7spiuzqemPtH3aAuHfcY3nY0MtA==",
111114
}

0 commit comments

Comments
 (0)