Skip to content

Commit d53bca4

Browse files
authored
feat: add FormatJS CLI versions through 1.1.20 (#84)
## What - add FormatJS CLI 1.1.13 through 1.1.20 for all published platforms - make 1.1.20 the default toolchain - refresh the Bazel module lockfile and version docs ## Why Keep the built-in CLI toolchains in sync with upstream FormatJS releases. ## Validation - `bazel test //...` - `buildifier -mode=check MODULE.bazel formatjs_cli/repositories.bzl formatjs_cli/extensions.bzl` - upstream `checksums.txt` manifests for 1.1.13 through 1.1.20
1 parent 0c8c7b5 commit d53bca4

4 files changed

Lines changed: 153 additions & 9 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bazel_dep(name = "rules_shell", version = "0.3.0", dev_dependency = True)
4545

4646
# FormatJS CLI toolchain
4747
formatjs_cli = use_extension("//formatjs_cli:extensions.bzl", "formatjs_cli")
48-
formatjs_cli.toolchain(version = "1.1.12")
48+
formatjs_cli.toolchain(version = "1.1.20")
4949
use_repo(
5050
formatjs_cli,
5151
"formatjs_cli_toolchains",

MODULE.bazel.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formatjs_cli/extensions.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ formatjs_cli = module_extension(
295295
296296
## Version History
297297
298-
- **1.1.12**: Latest built-in version
298+
- **1.1.20**: Latest built-in version
299299
- **1.1.7**: Added Windows x86_64 support
300300
- **1.1.5**: Added Linux ARM64 support
301301
- **0.1.2**: Added native key sorting

formatjs_cli/repositories.bzl

Lines changed: 145 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,152 @@
11
"""Repository rules for FormatJS CLI toolchains."""
22

3-
DEFAULT_VERSION = "1.1.12"
3+
DEFAULT_VERSION = "1.1.20"
44

55
FORMATJS_CLI_VERSIONS = {
6+
"1.1.20": {
7+
"darwin-arm64": {
8+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.20/formatjs_cli-darwin-arm64",
9+
"sha256": "630795031ef1fdc2b1573df67af35fc9057b1d50e48b02270d70310e56739b66",
10+
},
11+
"linux-x64": {
12+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.20/formatjs_cli-linux-x64",
13+
"sha256": "1a3a62c6e888a8d29e65c3a6aab9cda9fa28a12a2212d3be74f3d1685edbed46",
14+
},
15+
"linux-aarch64": {
16+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.20/formatjs_cli-linux-arm64",
17+
"sha256": "d228096623f065a72e32705ca529502dba0beccba155d175c61f1983be50b73a",
18+
},
19+
"windows-x86_64": {
20+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.20/formatjs_cli-win32-x64.exe",
21+
"sha256": "5027cebae7e72281fb9ba80241cf3208761707ebd884889747c57761891dd786",
22+
},
23+
},
24+
"1.1.19": {
25+
"darwin-arm64": {
26+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.19/formatjs_cli-darwin-arm64",
27+
"sha256": "e223299ec063a7cc06acc08f50a9a2ebe16d59167e329422f07ff7625dedf7bd",
28+
},
29+
"linux-x64": {
30+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.19/formatjs_cli-linux-x64",
31+
"sha256": "e2a40bdba6f62277029a93731edaddb9941e37f8f986829104fb54622236e92d",
32+
},
33+
"linux-aarch64": {
34+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.19/formatjs_cli-linux-arm64",
35+
"sha256": "d81fefc67184a7850e7b9af522b47d993edd67c66347eaba8b24e8e1cef57316",
36+
},
37+
"windows-x86_64": {
38+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.19/formatjs_cli-win32-x64.exe",
39+
"sha256": "4e9563c55d67efcc2ea9aa09a0038b41bc4cf59f19cc247730e84b4754d103f4",
40+
},
41+
},
42+
"1.1.18": {
43+
"darwin-arm64": {
44+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.18/formatjs_cli-darwin-arm64",
45+
"sha256": "0139a480cc4e147d673aa8a058a0de0c82847302cf3533b25b474aad9a4d0843",
46+
},
47+
"linux-x64": {
48+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.18/formatjs_cli-linux-x64",
49+
"sha256": "4cc64f1f3ad05f7f3e04aeac1c431df8034b133d484a573598e279a949a555ce",
50+
},
51+
"linux-aarch64": {
52+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.18/formatjs_cli-linux-arm64",
53+
"sha256": "d4f5afd4d4c491617349796530f45fc623d6330991c6f40af8fdd45f9066b301",
54+
},
55+
"windows-x86_64": {
56+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.18/formatjs_cli-win32-x64.exe",
57+
"sha256": "57c8fa2482cbf4b4bfc818e98261d53d13621adea760dd9b09df9c69e6aea342",
58+
},
59+
},
60+
"1.1.17": {
61+
"darwin-arm64": {
62+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.17/formatjs_cli-darwin-arm64",
63+
"sha256": "0ec257ebf636f3d3ac60610c6de4cc0763a57a855ab665ff0a26ddc29caf8c3f",
64+
},
65+
"linux-x64": {
66+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.17/formatjs_cli-linux-x64",
67+
"sha256": "13d698841b42d012c794d815b96791d348c2abd1805da140c8bb99329c880d45",
68+
},
69+
"linux-aarch64": {
70+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.17/formatjs_cli-linux-arm64",
71+
"sha256": "b4e38b34056211fb43aa697f3fdb493f584f461122358c895b98e15d9e343f4e",
72+
},
73+
"windows-x86_64": {
74+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.17/formatjs_cli-win32-x64.exe",
75+
"sha256": "6631e6c3bff4435eb3b6b85755f820aa3676c245993f687f6ae7a63b5d69dcd3",
76+
},
77+
},
78+
"1.1.16": {
79+
"darwin-arm64": {
80+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-darwin-arm64",
81+
"sha256": "f5647fe2ecf8b30373762c70feda968a26bf2c531fb8ac99a87aaad2949085b3",
82+
},
83+
"linux-x64": {
84+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-linux-x64",
85+
"sha256": "e56403ca267cf6fc39c90a34646bfdedde642d58851514c941eba076b4a599af",
86+
},
87+
"linux-aarch64": {
88+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-linux-arm64",
89+
"sha256": "47ec081b591bef006c81ca737bde4de6bac7c2a59147719099c1f0775e689eb6",
90+
},
91+
"windows-x86_64": {
92+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-win32-x64.exe",
93+
"sha256": "c097b9ed5567b9ee7e81a52ee9e3244ad434c4fa4b738d807f047dc0547a2624",
94+
},
95+
},
96+
"1.1.15": {
97+
"darwin-arm64": {
98+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.15/formatjs_cli-darwin-arm64",
99+
"sha256": "0d52dc01a54b4ed5271980139c006f07e13dfcc0e2ee48597e782a18aa587d4d",
100+
},
101+
"linux-x64": {
102+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.15/formatjs_cli-linux-x64",
103+
"sha256": "f99543132353a8caaff4a678508f5c8b8266d48c9098c345b9bd463cb07fea96",
104+
},
105+
"linux-aarch64": {
106+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.15/formatjs_cli-linux-arm64",
107+
"sha256": "ba8bd612bf5d35cf7b438c281f4d5a111fff6baf65188290113ba5aab5383dac",
108+
},
109+
"windows-x86_64": {
110+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.15/formatjs_cli-win32-x64.exe",
111+
"sha256": "905b5c199148a133b6ce4231f62667c44023552fc7087bd745f7d252201ea209",
112+
},
113+
},
114+
"1.1.14": {
115+
"darwin-arm64": {
116+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.14/formatjs_cli-darwin-arm64",
117+
"sha256": "05b933ef572fe4d9671e164be20136fc17092cd884580699ba039b7f2926b1c4",
118+
},
119+
"linux-x64": {
120+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.14/formatjs_cli-linux-x64",
121+
"sha256": "6e9016a3ed6d94bab91c800c0ccbc97348903adf7203f95e97a6769a8cb0ed93",
122+
},
123+
"linux-aarch64": {
124+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.14/formatjs_cli-linux-arm64",
125+
"sha256": "74c0fb550301e0d1b67452f462f00714ee4fba2669b1b5060b5afbee5bca9c36",
126+
},
127+
"windows-x86_64": {
128+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.14/formatjs_cli-win32-x64.exe",
129+
"sha256": "2f988ed8f44ff591af886d67adf500720230d2938fe4534f873132c0cae5fd46",
130+
},
131+
},
132+
"1.1.13": {
133+
"darwin-arm64": {
134+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.13/formatjs_cli-darwin-arm64",
135+
"sha256": "5519e874649690aa937515a30b92f6d75792a2078d93fd2ed8207ca1830d380d",
136+
},
137+
"linux-x64": {
138+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.13/formatjs_cli-linux-x64",
139+
"sha256": "84e6ab565de63fae5c8ffabcbe9c6138e735840e87dbfcc0a629820b38d78b19",
140+
},
141+
"linux-aarch64": {
142+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.13/formatjs_cli-linux-arm64",
143+
"sha256": "3ed63881cd39e23b74f0c197018e84f89d5fdb69e750a2d1d0e2e92fd18f5c4d",
144+
},
145+
"windows-x86_64": {
146+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.13/formatjs_cli-win32-x64.exe",
147+
"sha256": "0ca2de9a97bcbfbc734352edbda0bb08e946728bdb546bd00a54befa5ace6ac3",
148+
},
149+
},
6150
"1.1.12": {
7151
"darwin-arm64": {
8152
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.12/formatjs_cli-darwin-arm64",

0 commit comments

Comments
 (0)