@graphcommerce/lingui-next 2.1.0 β†’ 2.1.3

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,88 +1,83 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ ## 2.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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.
14
+
15
+ * [#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
16
+
17
+ ## 2.1.1
18
+
19
+ ### Patch Changes
20
+
21
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
22
+
3
23
  ## 2.1.0
4
24
 
5
25
  ### Minor Changes
6
26
 
7
- - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274)
8
- [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275)
9
- Thanks [@paales](https://github.com/paales)! - Fixed extraction of translations and updated
10
- various translations for english πŸ‡ΊπŸ‡ΈπŸ‡¬πŸ‡§ and dutch πŸ‡³πŸ‡±
27
+ - [#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 πŸ‡³πŸ‡±
11
28
 
12
29
  ### Patch Changes
13
30
 
14
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
15
- [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
16
- Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
17
- `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
18
- duplicate packages in the node_modules folders.
31
+ - [#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.
19
32
 
20
- * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
21
- [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
22
- Thanks [@paales](https://github.com/paales)! - Upgraded to
23
- [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
24
- implementing
25
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
26
- soon.
33
+ * [#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.
27
34
 
28
- This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
29
- frontend to be able to revalidate pages manually.
35
+ 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.
30
36
 
31
37
  ## 2.0.1
32
38
 
33
39
  ### Patch Changes
34
40
 
35
- - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
36
- Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
37
- so that the packages link to back to the website and repository
41
+ - [`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
38
42
 
39
43
  ## 2.0.0
40
44
 
41
45
  ### Major Changes
42
46
 
43
- - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
44
- [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
45
- Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
47
+ - [#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
46
48
 
47
- All notable changes to this project will be documented in this file. See
48
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
49
+ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
49
50
 
50
51
  ## [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)
51
52
 
52
53
  ### Bug Fixes
53
54
 
54
- - pages would be blank because the locale couldn't properly be loaded
55
- ([5fe9ecd](https://github.com/ho-nl/m2-pwa/commit/5fe9ecd204c3f9efddcf95d54464b1b931ef682e))
55
+ - pages would be blank because the locale couldn't properly be loaded ([5fe9ecd](https://github.com/ho-nl/m2-pwa/commit/5fe9ecd204c3f9efddcf95d54464b1b931ef682e))
56
56
 
57
57
  # [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)
58
58
 
59
59
  ### Features
60
60
 
61
- - **framer-next-pages:** reduce rerenders when navigating to a new page
62
- ([5cf3301](https://github.com/ho-nl/m2-pwa/commit/5cf330130bb3527057da015e3c4a6fa295d7262e))
61
+ - **framer-next-pages:** reduce rerenders when navigating to a new page ([5cf3301](https://github.com/ho-nl/m2-pwa/commit/5cf330130bb3527057da015e3c4a6fa295d7262e))
63
62
 
64
63
  ## [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)
65
64
 
66
65
  ### Bug Fixes
67
66
 
68
- - make sure we're not throwing a generic 'No locales specified' when there is a generic error
69
- ([fd3dd23](https://github.com/ho-nl/m2-pwa/commit/fd3dd233fb293f6afc08636316a34d2a2db4bbc3))
67
+ - 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))
70
68
 
71
69
  # [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)
72
70
 
73
71
  ### Bug Fixes
74
72
 
75
- - error in cli about missing plurals
76
- ([fedde70](https://github.com/ho-nl/m2-pwa/commit/fedde70012b0b5694114a0f5c3ab0f7d5c8cd276))
73
+ - error in cli about missing plurals ([fedde70](https://github.com/ho-nl/m2-pwa/commit/fedde70012b0b5694114a0f5c3ab0f7d5c8cd276))
77
74
 
78
75
  ### Features
79
76
 
80
- - added tons of translations
81
- ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
77
+ - added tons of translations ([9bb0ac7](https://github.com/ho-nl/m2-pwa/commit/9bb0ac709b58df6ea6141e92e4923a5ca9ae2963))
82
78
 
83
79
  # 1.1.0 (2021-11-11)
84
80
 
85
81
  ### Features
86
82
 
87
- - lingui configuration and integration greatly simplified and fixed ssr
88
- ([d8ec22a](https://github.com/ho-nl/m2-pwa/commit/d8ec22a80295af854a4cf6f357c4fb137c5b550d))
83
+ - 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.0",
5
+ "version": "2.1.3",
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.2",
25
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
26
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
27
- "@playwright/test": "^1.19.1"
23
+ "@graphcommerce/eslint-config-pwa": "^4.0.5",
24
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
25
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
26
+ "@playwright/test": "^1.19.2",
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
  }