Skip to content

Commit b676794

Browse files
committed
Wire update-translations as uncached turbo task to fix .po regeneration
1 parent 8c92890 commit b676794

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

application/account/WebApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"build": "npm run update-translations && npm run swagger && rsbuild build",
6+
"build": "npm run swagger && rsbuild build",
77
"check": "oxfmt --check && oxlint",
88
"dev": "rsbuild dev",
99
"dev:setup": "npm run update-translations && npm run swagger",

application/back-office/WebApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"build": "npm run update-translations && npm run swagger && rsbuild build",
6+
"build": "npm run swagger && rsbuild build",
77
"check": "oxfmt --check && oxlint",
88
"dev": "rsbuild dev",
99
"dev:setup": "npm run update-translations && npm run swagger",

application/main/WebApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"build": "npm run update-translations && npm run swagger && rsbuild build",
6+
"build": "npm run swagger && rsbuild build",
77
"check": "oxfmt --check && oxlint",
88
"dev": "rsbuild dev",
99
"dev:setup": "npm run update-translations && npm run swagger",

application/turbo.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"build": {
66
"inputs": ["$TURBO_DEFAULT$", "shared/lib/api/*.Api.json"],
77
"outputs": ["dist/**", "tests/test-results/**"],
8-
"dependsOn": ["^build"]
8+
"dependsOn": ["^build", "update-translations"]
9+
},
10+
"update-translations": {
11+
"cache": false
912
},
1013
"check": {
1114
"dependsOn": ["^check"],

0 commit comments

Comments
 (0)