@graphcommerce/lingui-next 2.2.1 → 4.30.0-canary.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.30.0-canary.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
8
+
9
+ ## 4.30.0-canary.0
10
+
11
+ ### Patch Changes
12
+
13
+ - [#1613](https://github.com/graphcommerce-org/graphcommerce/pull/1613) [`d95ec2ae6`](https://github.com/graphcommerce-org/graphcommerce/commit/d95ec2ae6d8da574995c2b110425c4445b30351b) Thanks [@paales](https://github.com/paales)! - Removed the usage of a separate env variables for the monorepo for lingui, creating command parity with non monorepo setups.
14
+
3
15
  ## 2.2.1
4
16
 
5
17
  ### Patch Changes
package/config.js CHANGED
@@ -1,3 +1,5 @@
1
+ const { isMonorepo } = require('@graphcommerce/next-config')
2
+
1
3
  /**
2
4
  * Augmenting the locale config to be compatible with GraphCommerce.
3
5
  *
@@ -11,7 +13,9 @@
11
13
  function linguiNextConfig(config) {
12
14
  const { locales, ...otherConfig } = config
13
15
  return {
14
- locales: config.locales.map((l) => l?.split('-')[0]),
16
+ locales: isMonorepo()
17
+ ? ['en', 'nl', 'fr', 'de', 'es', 'it']
18
+ : config.locales.map((l) => l?.split('-')[0]),
15
19
  formatOptions: { lineNumbers: false, origins: false },
16
20
  catalogs: [
17
21
  {
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.2.1",
5
+ "version": "4.30.0-canary.1",
6
6
  "sideEffects": false,
7
7
  "scripts": {
8
8
  "dev": "tsc -W"
@@ -15,12 +15,15 @@
15
15
  }
16
16
  },
17
17
  "devDependencies": {
18
- "@graphcommerce/eslint-config-pwa": "^4.1.10",
19
- "@graphcommerce/prettier-config-pwa": "^4.0.6",
20
- "@graphcommerce/typescript-config-pwa": "^4.0.3",
18
+ "@graphcommerce/eslint-config-pwa": "^4.1.11-canary.0",
19
+ "@graphcommerce/prettier-config-pwa": "^4.0.7-canary.0",
20
+ "@graphcommerce/typescript-config-pwa": "^4.0.5-canary.0",
21
21
  "@lingui/conf": "^3.14.0",
22
22
  "@playwright/test": "^1.21.1"
23
23
  },
24
+ "dependencies": {
25
+ "@graphcommerce/next-config": "4.30.0-canary.1"
26
+ },
24
27
  "peerDependencies": {
25
28
  "@lingui/core": "^3.13.2",
26
29
  "@lingui/react": "^3.13.2",