@vocab/react
Advanced tools
Comparing version 1.1.5 to 1.1.6
import type { TranslationFile, LanguageName, ParsedFormatFnByKey, ParsedFormatFn } from '@vocab/core'; | ||
import { ReactNode } from 'react'; | ||
import { type ReactNode } from 'react'; | ||
type Locale = string; | ||
@@ -4,0 +4,0 @@ interface TranslationsValue { |
{ | ||
"name": "@vocab/react", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"main": "dist/vocab-react.cjs.js", | ||
@@ -15,3 +15,3 @@ "module": "dist/vocab-react.esm.js", | ||
"dependencies": { | ||
"@vocab/core": "^1.3.0", | ||
"@vocab/core": "^1.3.1", | ||
"intl-messageformat": "^10.0.0" | ||
@@ -18,0 +18,0 @@ }, |
@@ -23,6 +23,7 @@ # Vocab | ||
Vocab is a monorepo with different packages you can install depending on your usage, the below list will get you started using the cli, React and webpack integrations. | ||
Vocab is a monorepo with different packages you can install depending on your usage, the below list will get you started using the CLI and React integration. | ||
```bash | ||
$ npm i --save @vocab/cli @vocab/react @vocab/webpack | ||
$ npm i --save-dev @vocab/cli | ||
$ npm i --save @vocab/core @vocab/react | ||
``` | ||
@@ -120,2 +121,6 @@ | ||
```bash | ||
$ npm i --save-dev @vocab/webpack | ||
``` | ||
**webpack.config.js** | ||
@@ -211,3 +216,3 @@ | ||
{ | ||
name: 'generatedLangauge', | ||
name: 'generatedLanguage', | ||
extends: 'en', | ||
@@ -302,2 +307,6 @@ generator: { | ||
```bash | ||
$ npm i --save-dev @vocab/pseudo-localize | ||
``` | ||
```ts | ||
@@ -304,0 +313,0 @@ import { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27628
519
Updated@vocab/core@^1.3.1