@graphcommerce/lingui-next 2.0.0 β†’ 2.1.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/config.js +13 -1
  3. package/package.json +9 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
+ Thanks [@paales](https://github.com/paales)! - made packages public
9
+
10
+ ## 2.1.0
11
+
12
+ ### Minor Changes
13
+
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 πŸ‡³πŸ‡±
18
+
19
+ ### Patch Changes
20
+
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.
26
+
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.
34
+
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.
37
+
38
+ ## 2.0.1
39
+
40
+ ### Patch Changes
41
+
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
45
+
3
46
  ## 2.0.0
4
47
 
5
48
  ### Major Changes
package/config.js CHANGED
@@ -20,7 +20,19 @@ function linguiNextConfig(config) {
20
20
  exclude: ['**/node_modules/!(@graphcommerce)/**'],
21
21
  },
22
22
  ],
23
- extractors: [require.resolve('@lingui/cli/api/extractors/typescript')],
23
+ extractBabelOptions: {
24
+ presets: [
25
+ [
26
+ 'next/babel',
27
+ {
28
+ 'preset-react': {
29
+ runtime: 'automatic',
30
+ importSource: '@emotion/react',
31
+ },
32
+ },
33
+ ],
34
+ ],
35
+ },
24
36
  sourceLocale: 'en',
25
37
  ...otherConfig,
26
38
  }
package/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "@graphcommerce/lingui-next",
3
- "version": "2.0.0",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "2.1.1",
4
6
  "sideEffects": false,
5
7
  "scripts": {
6
8
  "dev": "tsc -W"
@@ -15,13 +17,14 @@
15
17
  "dependencies": {
16
18
  "@lingui/core": "^3.13.2",
17
19
  "@lingui/macro": "^3.13.2",
18
- "@lingui/react": "^3.13.2"
20
+ "@lingui/react": "^3.13.2",
21
+ "babel-plugin-macros": "^3.1.0"
19
22
  },
20
23
  "devDependencies": {
21
- "@graphcommerce/eslint-config-pwa": "^4.0.0",
22
- "@graphcommerce/prettier-config-pwa": "^4.0.0",
23
- "@graphcommerce/typescript-config-pwa": "^4.0.0",
24
- "@playwright/test": "^1.18.1"
24
+ "@graphcommerce/eslint-config-pwa": "^4.0.3",
25
+ "@graphcommerce/prettier-config-pwa": "^4.0.2",
26
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
27
+ "@playwright/test": "^1.19.1"
25
28
  },
26
29
  "peerDependencies": {
27
30
  "next": "^12.0.10",