@graphcommerce/lingui-next 2.1.1 β†’ 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,95 +1,89 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1369](https://github.com/graphcommerce-org/graphcommerce/pull/1369) [`ae6449502`](https://github.com/graphcommerce-org/graphcommerce/commit/ae64495024a455bbe5188588604368c1542840c9) Thanks [@paales](https://github.com/paales)! - Upgraded dependencies
8
+
9
+ ## 2.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1337](https://github.com/graphcommerce-org/graphcommerce/pull/1337) [`4456db1bb`](https://github.com/graphcommerce-org/graphcommerce/commit/4456db1bb5c5c03870f1b7d55ddd6645dfaca3c6) Thanks [@paales](https://github.com/paales)! - Make sure the LinguiProviderProps are exported
14
+
15
+ ## 2.1.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
20
+
21
+ * [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
22
+
3
23
  ## 2.1.1
4
24
 
5
25
  ### Patch Changes
6
26
 
7
- - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
- Thanks [@paales](https://github.com/paales)! - made packages public
27
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
9
28
 
10
29
  ## 2.1.0
11
30
 
12
31
  ### Minor Changes
13
32
 
14
- - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274)
15
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275)
16
- Thanks [@paales](https://github.com/paales)! - Fixed extraction of translations and updated
17
- various translations for english πŸ‡ΊπŸ‡ΈπŸ‡¬πŸ‡§ and dutch πŸ‡³πŸ‡±
33
+ - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274) [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275) Thanks [@paales](https://github.com/paales)! - Fixed extraction of translations and updated various translations for english πŸ‡ΊπŸ‡ΈπŸ‡¬πŸ‡§ and dutch πŸ‡³πŸ‡±
18
34
 
19
35
  ### Patch Changes
20
36
 
21
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
22
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
23
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
24
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
25
- duplicate packages in the node_modules folders.
37
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
26
38
 
27
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
28
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
29
- Thanks [@paales](https://github.com/paales)! - Upgraded to
30
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
31
- implementing
32
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
33
- soon.
39
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
34
40
 
35
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
36
- frontend to be able to revalidate pages manually.
41
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
37
42
 
38
43
  ## 2.0.1
39
44
 
40
45
  ### Patch Changes
41
46
 
42
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
43
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
44
- so that the packages link to back to the website and repository
47
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514) Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files, so that the packages link to back to the website and repository
45
48
 
46
49
  ## 2.0.0
47
50
 
48
51
  ### Major Changes
49
52
 
50
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
51
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
52
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
53
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258) [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05) Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
53
54
 
54
- All notable changes to this project will be documented in this file. See
55
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
56
56
 
57
57
  ## [1.3.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/lingui-next@1.3.0...@graphcommerce/lingui-next@1.3.1) (2022-01-04)
58
58
 
59
59
  ### Bug Fixes
60
60
 
61
- - pages would be blank because the locale couldn't properly be loaded
62
- ([5fe9ecd](https://github.com/ho-nl/m2-pwa/commit/5fe9ecd204c3f9efddcf95d54464b1b931ef682e))
61
+ - pages would be blank because the locale couldn't properly be loaded ([5fe9ecd](https://github.com/ho-nl/m2-pwa/commit/5fe9ecd204c3f9efddcf95d54464b1b931ef682e))
63
62
 
64
63
  # [1.3.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/lingui-next@1.2.4...@graphcommerce/lingui-next@1.3.0) (2022-01-03)
65
64
 
66
65
  ### Features
67
66
 
68
- - **framer-next-pages:** reduce rerenders when navigating to a new page
69
- ([5cf3301](https://github.com/ho-nl/m2-pwa/commit/5cf330130bb3527057da015e3c4a6fa295d7262e))
67
+ - **framer-next-pages:** reduce rerenders when navigating to a new page ([5cf3301](https://github.com/ho-nl/m2-pwa/commit/5cf330130bb3527057da015e3c4a6fa295d7262e))
70
68
 
71
69
  ## [1.2.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/lingui-next@1.2.0...@graphcommerce/lingui-next@1.2.1) (2021-12-03)
72
70
 
73
71
  ### Bug Fixes
74
72
 
75
- - make sure we're not throwing a generic 'No locales specified' when there is a generic error
76
- ([fd3dd23](https://github.com/ho-nl/m2-pwa/commit/fd3dd233fb293f6afc08636316a34d2a2db4bbc3))
73
+ - make sure we're not throwing a generic 'No locales specified' when there is a generic error ([fd3dd23](https://github.com/ho-nl/m2-pwa/commit/fd3dd233fb293f6afc08636316a34d2a2db4bbc3))
77
74
 
78
75
  # [1.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/lingui-next@1.1.0...@graphcommerce/lingui-next@1.2.0) (2021-11-12)
79
76
 
80
77
  ### Bug Fixes
81
78
 
82
- - error in cli about missing plurals
83
- ([fedde70](https://github.com/ho-nl/m2-pwa/commit/fedde70012b0b5694114a0f5c3ab0f7d5c8cd276))
79
+ - error in cli about missing plurals ([fedde70](https://github.com/ho-nl/m2-pwa/commit/fedde70012b0b5694114a0f5c3ab0f7d5c8cd276))
84
80
 
85
81
  ### Features
86
82
 
87
- - added tons of translations
88
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
83
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
89
84
 
90
85
  # 1.1.0 (2021-11-11)
91
86
 
92
87
  ### Features
93
88
 
94
- - lingui configuration and integration greatly simplified and fixed ssr
95
- ([d8ec22a](https://github.com/ho-nl/m2-pwa/commit/d8ec22a80295af854a4cf6f357c4fb137c5b550d))
89
+ - lingui configuration and integration greatly simplified and fixed ssr ([d8ec22a](https://github.com/ho-nl/m2-pwa/commit/d8ec22a80295af854a4cf6f357c4fb137c5b550d))
@@ -4,7 +4,7 @@ import { nl, en, fr } from 'make-plural/plurals'
4
4
  import React, { useMemo } from 'react'
5
5
  import { MessageLoader, SyncMessageLoader } from '../types'
6
6
 
7
- type LinguiProviderProps = Omit<I18nProviderProps, 'i18n'> & {
7
+ export type LinguiProviderProps = Omit<I18nProviderProps, 'i18n'> & {
8
8
  children: React.ReactNode
9
9
  loader: MessageLoader
10
10
  ssrLoader: SyncMessageLoader
package/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { LinguiProvider } from './components/LinguiProvider'
1
+ export * from './components/LinguiProvider'
2
2
  export * from './utils/withLingui'
3
3
  export * from './types'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/lingui-next",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "2.1.1",
5
+ "version": "2.1.4",
6
6
  "sideEffects": false,
7
7
  "scripts": {
8
8
  "dev": "tsc -W"
@@ -16,19 +16,21 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@lingui/core": "^3.13.2",
19
- "@lingui/macro": "^3.13.2",
20
19
  "@lingui/react": "^3.13.2",
21
20
  "babel-plugin-macros": "^3.1.0"
22
21
  },
23
22
  "devDependencies": {
24
- "@graphcommerce/eslint-config-pwa": "^4.0.3",
25
- "@graphcommerce/prettier-config-pwa": "^4.0.2",
23
+ "@graphcommerce/eslint-config-pwa": "^4.1.3",
24
+ "@graphcommerce/prettier-config-pwa": "^4.0.5",
26
25
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
27
- "@playwright/test": "^1.19.1"
26
+ "@playwright/test": "^1.20.1",
27
+ "@lingui/conf": "^3.13.2"
28
28
  },
29
29
  "peerDependencies": {
30
+ "@lingui/macro": "^3.13.2",
30
31
  "next": "^12.0.10",
31
32
  "react": "^17.0.2",
32
- "react-dom": "^17.0.2"
33
+ "react-dom": "^17.0.2",
34
+ "make-plural": "^6.2.2"
33
35
  }
34
36
  }