mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Paul Gschwendtner
parent
79f1be5e70
commit
296bc993ea
@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user