Socket
Socket
Sign inDemoInstall

@lingui/conf

Package Overview
Dependencies
46
Maintainers
2
Versions
142
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lingui/conf

Get lingui configuration from package.json


Version published
Weekly downloads
158K
increased by12.78%
Maintainers
2
Install size
7.69 MB
Created
Weekly downloads
 

Changelog

Source

4.6.0 (2023-12-01)

Bug Fixes

  • cli: import type as type (#1802) (960aadb)
  • cli: sorting issue when different locales are used on host machines (#1808) (4b8b2a7)
  • experimental-extractor: fix ERR_IMPORT_ASSERTION_TYPE_MISSING issue (#1775) (efcd405)

Features

  • format-json: ability to set indentation (#1807) (6ee7e63)
  • message-utils: make generateMessageId to be working in browser (#1776) (f879ddb)

Reverts

  • Revert "docs: add the ESLint plugin announcement (#1759)" (#1774) (e7a36d1), closes #1759 #1774

Readme

Source

License Version Downloads

@lingui/conf

Get lingui configuration from package.json

⚠️ Internal package: You probably don't need this.

@lingui/conf is part of LinguiJS. See the documentation for all information, tutorials and examples.

Package finds nearest package.json starting from current directory, reads lingui configuration, provides defaults for all options and <rootDir> with current working directory.

Usage

const getConfig = require("@lingui/conf")

const config = getConfig()
// When package.json is located in '/app/package.json'
// config.rootDir === '/app'
// config.localeDir === '/app/locale'

See the reference documentation of lingui-cli for all options.

License

This package is licensed under MIT license.

Keywords

FAQs

Last updated on 01 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc