@multiplatform.one/config 7.90.5 → 7.90.6
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/README.md +2 -2
- package/design-lint.mjs +0 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -169,8 +169,8 @@ MPO app gets them (LC-192):
|
|
|
169
169
|
`placeholder`, `t()` keys and `defaultValue`, and every value in a string
|
|
170
170
|
catalog under `i18n/`, `locales/` or `localizations/`, JSON included) is
|
|
171
171
|
sentence case (`copy-title-case`), never hedges a plural with "(s)"
|
|
172
|
-
(`copy-plural`)
|
|
173
|
-
|
|
172
|
+
(`copy-plural`) and carries no em dash except the lone placeholder "—"
|
|
173
|
+
(`copy-em-dash`, all LC-202).
|
|
174
174
|
- `user-words` (LC-203) rejects implementation words in UI copy. The house list
|
|
175
175
|
is `houseBannedWords`; a baseline's `bannedWords` replaces it for that app,
|
|
176
176
|
and its `properNames` lists the names `copy-title-case` leaves alone.
|
package/design-lint.mjs
CHANGED
|
@@ -170,7 +170,6 @@ const surfacePaint =
|
|
|
170
170
|
export const harvestRules = [
|
|
171
171
|
"api-vocabulary",
|
|
172
172
|
"art-tint",
|
|
173
|
-
"copy-ampersand",
|
|
174
173
|
"copy-em-dash",
|
|
175
174
|
"copy-plural",
|
|
176
175
|
"copy-title-case",
|
|
@@ -332,8 +331,6 @@ export function copyFindings(text, { error = false, bannedWords, properNames } =
|
|
|
332
331
|
"copy-plural",
|
|
333
332
|
`${quoted} hedges a plural; count through t()'s plural form (LC-202).`,
|
|
334
333
|
]);
|
|
335
|
-
if (/(?:^|\s)&(?:\s|$)/.test(value))
|
|
336
|
-
found.push(["copy-ampersand", `${quoted} uses "&"; write "and" (LC-202).`]);
|
|
337
334
|
if (titleCase(value, properNames ?? houseProperNames))
|
|
338
335
|
found.push(["copy-title-case", `${quoted} is Title Case; UI copy is sentence case (LC-202).`]);
|
|
339
336
|
const word = value.match(bannedPattern(bannedWords ?? houseBannedWords) ?? /$^/)?.[0];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/config",
|
|
3
|
-
"version": "7.90.
|
|
3
|
+
"version": "7.90.6",
|
|
4
4
|
"description": "Shared build and test configuration presets for multiplatform.one",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@babel/parser": "^7.29.9",
|
|
119
119
|
"@babel/plugin-transform-block-scoping": "^7.29.7",
|
|
120
120
|
"@babel/traverse": "^7.29.10",
|
|
121
|
-
"@multiplatform.one/utils": "^7.90.
|
|
121
|
+
"@multiplatform.one/utils": "^7.90.6",
|
|
122
122
|
"@tamagui/vite-plugin": "2.7.6",
|
|
123
123
|
"@vitejs/plugin-react": "^6.1.2",
|
|
124
124
|
"dotenv": "^17.4.2",
|