Socket
Socket
Sign inDemoInstall

@lingui/cli

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/cli - npm Package Versions

1
15

2.6.0

Diff

Changelog

Source

2.6.0 (2018-08-31)

New Features

Bug Fixes

  • Update peer-dependency on babel-core (#286).
  • Output multiple origins on separate line in PO format (#290).
  • Keep headers in PO format (#294). Thanks to Daniel K..
  • lingui extract - set default BABEL_ENV (required by react-app preset) (#300).
  • Fix @lingui/loader compatibility with Webpack 4 (#297).
  • Fix I18n render prop component to not unmount children component between renders (#302).

<a name="2.5.0"></a>

tricoder
published 2.5.0 •

Changelog

Source

2.5.0 (2018-08-24)

New Features

Bug Fixes

  • Handle message compile errors in development (#283)

<a name="2.4.2"></a>

tricoder
published 2.4.2 •

Changelog

Source

2.4.2 (2018-08-19)

Bug Fixes

  • lingui init - add missing command (#270)

<a name="2.4.1"></a>

tricoder
published 2.4.1 •

Changelog

Source

2.4.1 (2018-08-10)

Bug Fixes

  • lingui extract - fix path separator on Windows (#262)
  • lingui extract - fix extracting from typescript files (#260)

<a name="2.4.0"></a>

tricoder
published 2.4.0 •

Changelog

Source

2.4.0 (2018-08-09)

Better support for custom file formats and initial support for Create React App.

New Features

  • New message catalog format: Gettext PO file (#256)
  • New lingui init command which detects project type and install all required packages (#253)
  • Allow customize messages for missing translations (#255)
  • lingui extract detects create-react-app projects and extracts messages using rect-app babel preset

Bug Fixes

  • lingui add-locale accepts any valid BCP-47 locale (#182)
  • Flow types are correctly exported for all packages (#250)

<a name="2.3.0"></a>

tricoder
published 2.3.0 •

Changelog

Source

2.3.0 (2018-07-23)

Long-awaited backlog grooming.

New Features

  • Add support for locales (aka cultures) (#170). Thanks to Cristi Ingineru.
  • Allow React elements to be used as message variables (#183)
  • Support both Babel 6.x and 7.x (#171, #232, #238)
  • withI18n hoists statics of wrapped component (#166)
  • Date and i18n.date accepts date as a string (#155)
  • lingui extract shows progress (#180)
  • lingui extract throws an error when encountering different defaults for the same message (#200)
  • lingui compile shows useful error when message has syntax errors (#191)

Bug Fixes

  • Fix internal catalog names to avoid collisions. Internal catalogs are named <original_filename>.json, eg: App.js.json (#244)

Docs

<a name="2.2.0"></a>

tricoder
published 2.2.0-11 •

tricoder
published 2.2.0-9 •

tricoder
published 2.2.0-23 •

tricoder
published 2.2.0-22 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc