@rpcbase/client 0.142.0 → 0.145.0

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 (2) hide show
  1. package/i18next.js +2 -2
  2. package/package.json +11 -2
package/i18next.js CHANGED
@@ -6,12 +6,12 @@ import resourcesToBackend from "i18next-resources-to-backend"
6
6
 
7
7
  import getLocaleFromCode from "@rpcbase/std/get_locale_from_code"
8
8
 
9
- import {RB_DEFAULT_LOCALE, RB_SUPPORTED_LOCALES} from "env"
9
+ import {RB_DEFAULT_LOCALE, RB_LOCALES} from "env"
10
10
 
11
11
  const LOCALE_KEY = "rb.i18n_locale"
12
12
 
13
13
  const DEFAULT_LOCALE = RB_DEFAULT_LOCALE || "en"
14
- const SUPPORTED_LOCALES = !!RB_SUPPORTED_LOCALES ? RB_SUPPORTED_LOCALES.split(",").map((l) => l.trim()) : ["en"]
14
+ const SUPPORTED_LOCALES = !!RB_LOCALES ? RB_LOCALES.split(",").map((l) => l.trim()) : ["en"]
15
15
 
16
16
  // https://github.com/i18next/i18next-browser-languageDetector
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.142.0",
3
+ "version": "0.145.0",
4
4
  "scripts": {
5
5
  "test": "../../node_modules/.bin/wireit"
6
6
  },
@@ -46,7 +46,16 @@
46
46
  ]
47
47
  },
48
48
  "apply-version": {
49
- "command": "node ../../scripts/prflow/apply-prerelease-versions.js $BRANCH_NAME"
49
+ "command": "node ../../scripts/prflow/apply-prerelease-versions.js $BRANCH_NAME",
50
+ "files": [
51
+ "package.json"
52
+ ],
53
+ "output": [],
54
+ "env": {
55
+ "BRANCH_NAME": {
56
+ "external": true
57
+ }
58
+ }
50
59
  },
51
60
  "release": {
52
61
  "command": "npm publish --tag $NPM_RELEASE_CHANNEL | tee publish-output.txt",