Skip to content

Commit

Permalink
[releng] Ensure that the turporepo start task is marked as persistent
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Bégaudeau <[email protected]>
  • Loading branch information
sbegaudeau committed Jan 2, 2025
1 parent 455ede3 commit 33a651a
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
=== Dependency update

- [releng] Upgrade `turbo` to version 2.3.3 (from 1.13.3 before).
The `start` task used in our turbo configuration is now marked as `persistent` and as a result we have separated the `start` script from `sirius-web` used to run the frontend in dev from from the `start` script from other packages used to build them in development mode by remaning the later to `build-dev`.


=== Bug fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/frontend/sirius-components-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/deck/frontend/sirius-components-deck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/sirius-web/frontend/sirius-web-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"scripts": {
"start": "vite build --mode 'development' && tsc",
"build-dev": "vite build --mode 'development' && tsc",
"build": "vite build && tsc",
"format": "prettier --write \"src/**/*.{js,ts,tsx,css}\"",
"format-lint": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
Expand Down
6 changes: 5 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
"publish:local": {
"dependsOn": ["build"]
},
"build-dev": {
"dependsOn": ["format-lint", "^build-dev"]
},
"start": {
"dependsOn": ["format-lint", "^start"]
"dependsOn": ["format-lint", "^build-dev"],
"persistent": true
}
}
}

0 comments on commit 33a651a

Please sign in to comment.