From c6dddf813ce9e241b907fad33adfa1dca775f6e5 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 1 Feb 2024 11:25:58 +0000 Subject: [PATCH] Switch prepublishOnly to prepack to catch errors earlier (#12202) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fd8db54e16..293e4fbef3 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "UserFriendlyError" ], "scripts": { - "prepublishOnly": "yarn build", + "prepack": "yarn build", "i18n": "matrix-gen-i18n && yarn i18n:sort && yarn i18n:lint", "i18n:sort": "jq --sort-keys '.' src/i18n/strings/en_EN.json > src/i18n/strings/en_EN.json.tmp && mv src/i18n/strings/en_EN.json.tmp src/i18n/strings/en_EN.json", "i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null",