Skip to content

Commit 5170a5e

Browse files
committed
fix: bump up formatjs_cli to 0.1.4
1 parent ec3777e commit 5170a5e

File tree

9 files changed

+30
-31
lines changed

9 files changed

+30
-31
lines changed

MODULE.bazel

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

4545
# FormatJS CLI toolchain
4646
formatjs_cli = use_extension("//formatjs_cli:extensions.bzl", "formatjs_cli")
47-
formatjs_cli.toolchain(version = "0.1.2") # NOTE: 0.1.3 is prepared but not yet released
47+
formatjs_cli.toolchain(version = "0.1.4")
4848
use_repo(
4949
formatjs_cli,
5050
"formatjs_cli_toolchains",

MODULE.bazel.lock

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

examples/aggregate/MODULE.bazel.lock

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

examples/custom_version/MODULE.bazel.lock

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

examples/simple/MODULE.bazel.lock

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

examples/simple/compile_messages.fixture.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
{
22
"app.button": [
33
{
4-
"location": null,
54
"type": 0,
65
"value": "Click me!"
76
}
87
],
98
"app.description": [
109
{
11-
"location": null,
1210
"type": 0,
1311
"value": "This is an example of internationalized React app using FormatJS and Bazel."
1412
}
1513
],
1614
"app.title": [
1715
{
18-
"location": null,
1916
"type": 0,
2017
"value": "Welcome to FormatJS"
2118
}

formatjs_cli/repositories.bzl

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
"""Repository rules for FormatJS CLI toolchains."""
22

3-
DEFAULT_VERSION = "0.1.2"
3+
DEFAULT_VERSION = "0.1.4"
44

55
FORMATJS_CLI_VERSIONS = {
6-
# NOTE: 0.1.3 infrastructure is prepared but not yet released
7-
# To use 0.1.3 when available, download the binaries and update the SHA256 checksums below
6+
"0.1.4": {
7+
"darwin-arm64": {
8+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v0.1.4/formatjs_cli-darwin-arm64",
9+
"sha256": "dfa300380ab8a482a0103dda5995f5ea595987cac848dd9255a33092e93e14ee",
10+
},
11+
"linux-x64": {
12+
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v0.1.4/formatjs_cli-linux-x64",
13+
"sha256": "9db56fd9e4118cd5e4408ea9d75cd93cc2d3152b6814ab238ea5fbfc6ba6742f",
14+
},
15+
},
816
"0.1.3": {
917
"darwin-arm64": {
1018
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v0.1.3/formatjs_cli-darwin-arm64",
11-
"sha256": "0000000000000000000000000000000000000000000000000000000000000000", # TODO: Update when released
19+
"sha256": "ea99b1444ae9b331d51dad2806f7c870d352a6d9e71de7176da6b3b6c973873c",
1220
},
1321
"linux-x64": {
1422
"url": "https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v0.1.3/formatjs_cli-linux-x64",
15-
"sha256": "0000000000000000000000000000000000000000000000000000000000000000", # TODO: Update when released
23+
"sha256": "4ee7d9d06c933ef16292ca6d4af32de820756e47dd00f28cc821184cb94cd9be",
1624
},
1725
},
1826
"0.1.2": {

tests/arguments/fixtures/compiled_ast.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
22
"test.message": [
33
{
4-
"location": null,
54
"type": 0,
65
"value": "This is a test message"
76
}
87
],
98
"test.whitespace": [
109
{
11-
"location": null,
1210
"type": 0,
1311
"value": "This has multiple spaces"
1412
}

tests/arguments/fixtures/compiled_multiple.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
{
22
"merge.first": [
33
{
4-
"location": null,
54
"type": 0,
65
"value": "First message from merge test"
76
}
87
],
98
"merge.second": [
109
{
11-
"location": null,
1210
"type": 0,
1311
"value": "Second message from merge test"
1412
}
1513
],
1614
"test.message": [
1715
{
18-
"location": null,
1916
"type": 0,
2017
"value": "This is a test message"
2118
}
2219
],
2320
"test.whitespace": [
2421
{
25-
"location": null,
2622
"type": 0,
2723
"value": "This has multiple spaces"
2824
}

0 commit comments

Comments
 (0)