Skip to content

Commit

Permalink
build: publish
Browse files Browse the repository at this point in the history
 - babel-plugin-react-intl@7.9.1
 - @formatjs/cli@2.0.0
 - react-intl@5.4.2
 - @formatjs/ts-transformer@2.5.0
  • Loading branch information
longlho committed Jul 25, 2020
1 parent 5ff9821 commit 3dfffe7
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 7 deletions.
11 changes: 11 additions & 0 deletions packages/babel-plugin-react-intl/CHANGELOG.md
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [7.9.1](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.9.0...babel-plugin-react-intl@7.9.1) (2020-07-25)


### Bug Fixes

* **babel-plugin-react-intl:** tweak overrideIdFn signature in options ([4fd8163](https://github.com/formatjs/formatjs/commit/4fd81632722bea7dcad54588dca5d711e8e9cb64))





# [7.9.0](https://github.com/formatjs/formatjs/compare/babel-plugin-react-intl@7.8.3...babel-plugin-react-intl@7.9.0) (2020-07-24)


Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-react-intl/package.json
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-react-intl",
"version": "7.9.0",
"version": "7.9.1",
"description": "Extracts string messages for translation from modules that use React Intl.",
"repository": {
"type": "git",
Expand All @@ -14,7 +14,7 @@
"@babel/core": "^7.9.0",
"@babel/helper-plugin-utils": "^7.8.3",
"@babel/types": "^7.9.5",
"@formatjs/ts-transformer": "^2.4.2",
"@formatjs/ts-transformer": "^2.5.0",
"@types/babel__core": "^7.1.7",
"@types/fs-extra": "^9.0.1",
"@types/schema-utils": "^2.4.0",
Expand Down
36 changes: 36 additions & 0 deletions packages/cli/CHANGELOG.md
Expand Up @@ -3,6 +3,42 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/formatjs/formatjs/compare/@formatjs/cli@1.11.0...@formatjs/cli@2.0.0) (2020-07-25)


### Features

* **@formatjs/cli:** add `compile` command ([0ecf8b1](https://github.com/formatjs/formatjs/commit/0ecf8b12f875b224f292c3a40e05d8f4e6521024))
* **@formatjs/cli:** modify output JSON schema ([457d30b](https://github.com/formatjs/formatjs/commit/457d30b509c13a1fc6ea3c55e92c381676bcc281))
* **@formatjs/cli:** revamp underlying extraction ([0b0c810](https://github.com/formatjs/formatjs/commit/0b0c8108573ba4a0f74fdac1abe78c9f36f0e3db))


### BREAKING CHANGES

* **@formatjs/cli:** The old output JSON messages used to be a
`MessageDescriptor[]`. This format isn't friendly to translation vendors
so we've changed it to `Record<string, Omit<MessageDescriptor, 'id'>>`.
For example:
```json
{
"fjk13": {
"defaultMessage": "a message",
"description": "a description",
"start": 0,
"end": 20
}
}
```
* **@formatjs/cli:** Remove `--messages-dir` option. This was primarily used
to eagerly write out output in the babel plugin since we don't know when
the execution will be done. This is not the case with the CLI.
`--out-file` should be used instead.
* **@formatjs/cli:** Remove `--module-source-name` option. This is not used.





# [1.11.0](https://github.com/formatjs/formatjs/compare/@formatjs/cli@1.10.7...@formatjs/cli@1.11.0) (2020-07-24)


Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@formatjs/cli",
"version": "1.11.0",
"version": "2.0.0",
"description": "A CLI for formatjs.",
"keywords": [
"intl",
Expand Down Expand Up @@ -31,11 +31,11 @@
"url": "git+ssh://git@github.com/formatjs/formatjs.git"
},
"dependencies": {
"@formatjs/ts-transformer": "^2.4.2",
"@formatjs/ts-transformer": "^2.5.0",
"@types/lodash": "^4.14.150",
"@types/loud-rejection": "^2.0.0",
"@types/node": "14",
"babel-plugin-react-intl": "^7.9.0",
"babel-plugin-react-intl": "^7.9.1",
"chalk": "^4.0.0",
"commander": "5.1.0",
"fs-extra": "^9.0.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/react-intl/CHANGELOG.md
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [5.4.2](https://github.com/formatjs/formatjs/compare/react-intl@5.4.1...react-intl@5.4.2) (2020-07-25)


### Bug Fixes

* **react-intl:** hot path literal AST message rendering ([1d726de](https://github.com/formatjs/formatjs/commit/1d726de0deb87bf9c09e5d089adb3efbddb7a856))





## [5.4.1](https://github.com/formatjs/formatjs/compare/react-intl@5.4.0...react-intl@5.4.1) (2020-07-24)

**Note:** Version bump only for package react-intl
Expand Down
2 changes: 1 addition & 1 deletion packages/react-intl/package.json
@@ -1,6 +1,6 @@
{
"name": "react-intl",
"version": "5.4.1",
"version": "5.4.2",
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
"keywords": [
"intl",
Expand Down
16 changes: 16 additions & 0 deletions packages/ts-transformer/CHANGELOG.md
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.5.0](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.4.2...@formatjs/ts-transformer@2.5.0) (2020-07-25)


### Bug Fixes

* **@formatjs/ts-transformer:** fix `{} as const` case ([d010b50](https://github.com/formatjs/formatjs/commit/d010b502616e1b0d1bb3ca9501a74bc14f984d3d))


### Features

* **@formatjs/ts-transformer:** add support for pragma ([5096238](https://github.com/formatjs/formatjs/commit/50962386779d1751cfc481b22a4454f30ae4c7e0))





## [2.4.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@2.4.1...@formatjs/ts-transformer@2.4.2) (2020-07-24)


Expand Down
2 changes: 1 addition & 1 deletion packages/ts-transformer/package.json
@@ -1,6 +1,6 @@
{
"name": "@formatjs/ts-transformer",
"version": "2.4.2",
"version": "2.5.0",
"description": "TS Compiler transformer for formatjs",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 3dfffe7

Please sign in to comment.