From d7299014d1569b2f8c4e190eb82b6a4c57b412f4 Mon Sep 17 00:00:00 2001 From: Julien Fabre Date: Mon, 7 Nov 2022 22:19:54 +0100 Subject: [PATCH] Fix[GH-1656]: format i18n windows (#3932) Co-authored-by: Paul Esch-Laurent Fix https://github.com/mattermost/focalboard/issues/1656 Closes https://github.com/mattermost/focalboard/issues/4017 --- webapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/package.json b/webapp/package.json index 258433932..0c58ffbc9 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -12,7 +12,7 @@ "check": "eslint --ext .tsx,.ts . --quiet --cache && stylelint **/*.scss", "fix": "eslint --ext .tsx,.ts . --quiet --fix --cache && stylelint --fix **/*.scss", "fix:scss": "prettier --write './src/**/*.scss'", - "i18n-extract": "formatjs extract '../mattermost-plugin/webapp/src/**/*.{ts,tsx}' 'src/**/*.{ts,tsx}' --ignore '**/*.d.ts' '../**/*.d.ts' --out-file i18n/tmp.json && formatjs compile i18n/tmp.json --out-file i18n/en.json && rm i18n/tmp.json", + "i18n-extract": "formatjs extract \"../mattermost-plugin/webapp/src/**/*.{ts,tsx}\" \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" \"../**/*.d.ts\" --out-file i18n/tmp.json && formatjs compile i18n/tmp.json --out-file i18n/en.json && npx rimraf i18n/tmp.json", "runserver-test": "cd cypress && \"../../bin/focalboard-server\"", "cypress:ci": "start-server-and-test runserver-test http://localhost:8088 cypress:run", "cypress:debug": "start-server-and-test runserver-test http://localhost:8088 cypress:open",