fix(docs-infra): replace use of turbo on StackBlitz with npm (#50576)

Turbo is being deprecated and can be replaced by npm with some tweaks. In particular, the installation step needs `--legacy-peer-deps` to mimic turbo's behaviour.

PR Close #50576
This commit is contained in:
Nemikolh
2023-06-05 14:02:16 +01:00
committed by Paul Gschwendtner
parent 79f1be5e70
commit 296bc993ea
+2 -5
View File
@@ -149,11 +149,8 @@ export class StackblitzBuilder {
_addStackblitzrc(postData) {
postData['project[files][.stackblitzrc]'] = JSON.stringify({
installDependencies: true,
startCommand: 'turbo start',
env: {
ENABLE_CJS_IMPORTS: true
}
installDependencies: false,
startCommand: 'npm install --legacy-peer-deps && npm start'
});
}