diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index c8806953ae..7a5ee45aa3 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -16,6 +16,9 @@ === 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 @@ -78,7 +81,6 @@ This provider is in charge of getting the icon list of the representation. === Dependency update - === Bug fixes - https://github.com/eclipse-sirius/sirius-web/issues/4195[#4195] [sirius-web] Prevent objects disappearing when dropped on themselves (or a descendant) in the _Explorer_. diff --git a/package-lock.json b/package-lock.json index 1e17f26202..f49e14a6db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "./packages/*/frontend/*" ], "devDependencies": { - "turbo": "1.13.3" + "turbo": "2.3.3" }, "engines": { "node": "18.7.0", @@ -7253,26 +7253,26 @@ } }, "node_modules/turbo": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.13.3.tgz", - "integrity": "sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.3.3.tgz", + "integrity": "sha512-DUHWQAcC8BTiUZDRzAYGvpSpGLiaOQPfYXlCieQbwUvmml/LRGIe3raKdrOPOoiX0DYlzxs2nH6BoWJoZrj8hA==", "dev": true, "bin": { "turbo": "bin/turbo" }, "optionalDependencies": { - "turbo-darwin-64": "1.13.3", - "turbo-darwin-arm64": "1.13.3", - "turbo-linux-64": "1.13.3", - "turbo-linux-arm64": "1.13.3", - "turbo-windows-64": "1.13.3", - "turbo-windows-arm64": "1.13.3" + "turbo-darwin-64": "2.3.3", + "turbo-darwin-arm64": "2.3.3", + "turbo-linux-64": "2.3.3", + "turbo-linux-arm64": "2.3.3", + "turbo-windows-64": "2.3.3", + "turbo-windows-arm64": "2.3.3" } }, "node_modules/turbo-darwin-64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.13.3.tgz", - "integrity": "sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.3.3.tgz", + "integrity": "sha512-bxX82xe6du/3rPmm4aCC5RdEilIN99VUld4HkFQuw+mvFg6darNBuQxyWSHZTtc25XgYjQrjsV05888w1grpaA==", "cpu": [ "x64" ], @@ -7283,9 +7283,9 @@ ] }, "node_modules/turbo-darwin-arm64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.13.3.tgz", - "integrity": "sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.3.3.tgz", + "integrity": "sha512-DYbQwa3NsAuWkCUYVzfOUBbSUBVQzH5HWUFy2Kgi3fGjIWVZOFk86ss+xsWu//rlEAfYwEmopigsPYSmW4X15A==", "cpu": [ "arm64" ], @@ -7296,9 +7296,9 @@ ] }, "node_modules/turbo-linux-64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.13.3.tgz", - "integrity": "sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.3.3.tgz", + "integrity": "sha512-eHj9OIB0dFaP6BxB88jSuaCLsOQSYWBgmhy2ErCu6D2GG6xW3b6e2UWHl/1Ho9FsTg4uVgo4DB9wGsKa5erjUA==", "cpu": [ "x64" ], @@ -7309,9 +7309,9 @@ ] }, "node_modules/turbo-linux-arm64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.13.3.tgz", - "integrity": "sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.3.3.tgz", + "integrity": "sha512-NmDE/NjZoDj1UWBhMtOPmqFLEBKhzGS61KObfrDEbXvU3lekwHeoPvAMfcovzswzch+kN2DrtbNIlz+/rp8OCg==", "cpu": [ "arm64" ], @@ -7322,9 +7322,9 @@ ] }, "node_modules/turbo-windows-64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.13.3.tgz", - "integrity": "sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.3.3.tgz", + "integrity": "sha512-O2+BS4QqjK3dOERscXqv7N2GXNcqHr9hXumkMxDj/oGx9oCatIwnnwx34UmzodloSnJpgSqjl8iRWiY65SmYoQ==", "cpu": [ "x64" ], @@ -7335,9 +7335,9 @@ ] }, "node_modules/turbo-windows-arm64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.13.3.tgz", - "integrity": "sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.3.3.tgz", + "integrity": "sha512-dW4ZK1r6XLPNYLIKjC4o87HxYidtRRcBeo/hZ9Wng2XM/MqqYkAyzJXJGgRMsc0MMEN9z4+ZIfnSNBrA0b08ag==", "cpu": [ "arm64" ], @@ -14744,58 +14744,58 @@ } }, "turbo": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.13.3.tgz", - "integrity": "sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.3.3.tgz", + "integrity": "sha512-DUHWQAcC8BTiUZDRzAYGvpSpGLiaOQPfYXlCieQbwUvmml/LRGIe3raKdrOPOoiX0DYlzxs2nH6BoWJoZrj8hA==", "dev": true, "requires": { - "turbo-darwin-64": "1.13.3", - "turbo-darwin-arm64": "1.13.3", - "turbo-linux-64": "1.13.3", - "turbo-linux-arm64": "1.13.3", - "turbo-windows-64": "1.13.3", - "turbo-windows-arm64": "1.13.3" + "turbo-darwin-64": "2.3.3", + "turbo-darwin-arm64": "2.3.3", + "turbo-linux-64": "2.3.3", + "turbo-linux-arm64": "2.3.3", + "turbo-windows-64": "2.3.3", + "turbo-windows-arm64": "2.3.3" } }, "turbo-darwin-64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.13.3.tgz", - "integrity": "sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.3.3.tgz", + "integrity": "sha512-bxX82xe6du/3rPmm4aCC5RdEilIN99VUld4HkFQuw+mvFg6darNBuQxyWSHZTtc25XgYjQrjsV05888w1grpaA==", "dev": true, "optional": true }, "turbo-darwin-arm64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.13.3.tgz", - "integrity": "sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.3.3.tgz", + "integrity": "sha512-DYbQwa3NsAuWkCUYVzfOUBbSUBVQzH5HWUFy2Kgi3fGjIWVZOFk86ss+xsWu//rlEAfYwEmopigsPYSmW4X15A==", "dev": true, "optional": true }, "turbo-linux-64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.13.3.tgz", - "integrity": "sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.3.3.tgz", + "integrity": "sha512-eHj9OIB0dFaP6BxB88jSuaCLsOQSYWBgmhy2ErCu6D2GG6xW3b6e2UWHl/1Ho9FsTg4uVgo4DB9wGsKa5erjUA==", "dev": true, "optional": true }, "turbo-linux-arm64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.13.3.tgz", - "integrity": "sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.3.3.tgz", + "integrity": "sha512-NmDE/NjZoDj1UWBhMtOPmqFLEBKhzGS61KObfrDEbXvU3lekwHeoPvAMfcovzswzch+kN2DrtbNIlz+/rp8OCg==", "dev": true, "optional": true }, "turbo-windows-64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.13.3.tgz", - "integrity": "sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.3.3.tgz", + "integrity": "sha512-O2+BS4QqjK3dOERscXqv7N2GXNcqHr9hXumkMxDj/oGx9oCatIwnnwx34UmzodloSnJpgSqjl8iRWiY65SmYoQ==", "dev": true, "optional": true }, "turbo-windows-arm64": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.13.3.tgz", - "integrity": "sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.3.3.tgz", + "integrity": "sha512-dW4ZK1r6XLPNYLIKjC4o87HxYidtRRcBeo/hZ9Wng2XM/MqqYkAyzJXJGgRMsc0MMEN9z4+ZIfnSNBrA0b08ag==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index 5d9e63edab..92a3db2814 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "node": "18.7.0", "npm": "8.15.0" }, + "packageManager": "npm@8.15.0", "workspaces": [ "./packages/*/frontend/*" ], @@ -22,6 +23,6 @@ "start": "turbo run start" }, "devDependencies": { - "turbo": "1.13.3" + "turbo": "2.3.3" } } diff --git a/packages/charts/frontend/sirius-components-charts/package.json b/packages/charts/frontend/sirius-components-charts/package.json index da4e451d58..d9a74142a2 100644 --- a/packages/charts/frontend/sirius-components-charts/package.json +++ b/packages/charts/frontend/sirius-components-charts/package.json @@ -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}\"", diff --git a/packages/core/frontend/sirius-components-core/package.json b/packages/core/frontend/sirius-components-core/package.json index 778863728b..41bdc3a3e3 100644 --- a/packages/core/frontend/sirius-components-core/package.json +++ b/packages/core/frontend/sirius-components-core/package.json @@ -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}\"", diff --git a/packages/core/frontend/sirius-components-omnibox/package.json b/packages/core/frontend/sirius-components-omnibox/package.json index 697ae9a1d5..ea6ea92f74 100644 --- a/packages/core/frontend/sirius-components-omnibox/package.json +++ b/packages/core/frontend/sirius-components-omnibox/package.json @@ -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}\"", diff --git a/packages/deck/frontend/sirius-components-deck/package.json b/packages/deck/frontend/sirius-components-deck/package.json index e112d42e57..c21390c08e 100644 --- a/packages/deck/frontend/sirius-components-deck/package.json +++ b/packages/deck/frontend/sirius-components-deck/package.json @@ -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}\"", diff --git a/packages/diagrams/frontend/sirius-components-diagrams/package.json b/packages/diagrams/frontend/sirius-components-diagrams/package.json index 737c0471c7..eda542794d 100644 --- a/packages/diagrams/frontend/sirius-components-diagrams/package.json +++ b/packages/diagrams/frontend/sirius-components-diagrams/package.json @@ -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}\"", diff --git a/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json b/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json index e969703b79..eab3528c82 100644 --- a/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json +++ b/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json @@ -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}\"", diff --git a/packages/forms/frontend/sirius-components-forms/package.json b/packages/forms/frontend/sirius-components-forms/package.json index 7a2367ae23..50359fa3fd 100644 --- a/packages/forms/frontend/sirius-components-forms/package.json +++ b/packages/forms/frontend/sirius-components-forms/package.json @@ -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}\"", diff --git a/packages/forms/frontend/sirius-components-widget-reference/package.json b/packages/forms/frontend/sirius-components-widget-reference/package.json index 7959fc7dd7..baf5366d8f 100644 --- a/packages/forms/frontend/sirius-components-widget-reference/package.json +++ b/packages/forms/frontend/sirius-components-widget-reference/package.json @@ -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}\"", diff --git a/packages/gantt/frontend/sirius-components-gantt/package.json b/packages/gantt/frontend/sirius-components-gantt/package.json index a2a6a8662d..b8f81034b0 100644 --- a/packages/gantt/frontend/sirius-components-gantt/package.json +++ b/packages/gantt/frontend/sirius-components-gantt/package.json @@ -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}\"", diff --git a/packages/portals/frontend/sirius-components-portals/package.json b/packages/portals/frontend/sirius-components-portals/package.json index 13fe295d6e..0b3bdb3186 100644 --- a/packages/portals/frontend/sirius-components-portals/package.json +++ b/packages/portals/frontend/sirius-components-portals/package.json @@ -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}\"", diff --git a/packages/selection/frontend/sirius-components-selection/package.json b/packages/selection/frontend/sirius-components-selection/package.json index ee655ae711..66fbbe449c 100644 --- a/packages/selection/frontend/sirius-components-selection/package.json +++ b/packages/selection/frontend/sirius-components-selection/package.json @@ -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}\"", diff --git a/packages/sirius-web/frontend/sirius-web-application/package.json b/packages/sirius-web/frontend/sirius-web-application/package.json index fbf0d338ec..49e163504c 100644 --- a/packages/sirius-web/frontend/sirius-web-application/package.json +++ b/packages/sirius-web/frontend/sirius-web-application/package.json @@ -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}\"", diff --git a/packages/sirius-web/frontend/sirius-web-papaya/package.json b/packages/sirius-web/frontend/sirius-web-papaya/package.json index 08204ea091..99e537de75 100644 --- a/packages/sirius-web/frontend/sirius-web-papaya/package.json +++ b/packages/sirius-web/frontend/sirius-web-papaya/package.json @@ -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}\"", diff --git a/packages/sirius-web/frontend/sirius-web-table/package.json b/packages/sirius-web/frontend/sirius-web-table/package.json index 4c3c49e7f4..12256c071f 100644 --- a/packages/sirius-web/frontend/sirius-web-table/package.json +++ b/packages/sirius-web/frontend/sirius-web-table/package.json @@ -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}\"", diff --git a/packages/tables/frontend/sirius-components-tables/package.json b/packages/tables/frontend/sirius-components-tables/package.json index 302cdd5f99..4421888cd3 100644 --- a/packages/tables/frontend/sirius-components-tables/package.json +++ b/packages/tables/frontend/sirius-components-tables/package.json @@ -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}\"", diff --git a/packages/trees/frontend/sirius-components-trees/package.json b/packages/trees/frontend/sirius-components-trees/package.json index c47be31cbf..52c3300b48 100644 --- a/packages/trees/frontend/sirius-components-trees/package.json +++ b/packages/trees/frontend/sirius-components-trees/package.json @@ -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}\"", diff --git a/packages/validation/frontend/sirius-components-validation/package.json b/packages/validation/frontend/sirius-components-validation/package.json index 9a5b9fd36f..9a67bcd168 100644 --- a/packages/validation/frontend/sirius-components-validation/package.json +++ b/packages/validation/frontend/sirius-components-validation/package.json @@ -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}\"", diff --git a/turbo.json b/turbo.json index 5babbaf4f2..0536127868 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,6 @@ { "$schema": "https://turborepo.org/schema.json", - "pipeline": { + "tasks": { "format": { "outputs": [] }, @@ -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 } } }