Skip to content

Commit 39c62fe

Browse files
committed
fix(docs-infra): replace use of turbo on StackBlitz with npm
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.
1 parent cb31dbc commit 39c62fe

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

aio/tools/stackblitz-builder/builder.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,8 @@ export class StackblitzBuilder {
139139

140140
_addStackblitzrc(postData) {
141141
postData['project[files][.stackblitzrc]'] = JSON.stringify({
142-
installDependencies: true,
143-
startCommand: 'turbo start',
144-
env: {
145-
ENABLE_CJS_IMPORTS: true
146-
}
142+
installDependencies: false,
143+
startCommand: 'npm install --legacy-peer-deps && npm start'
147144
});
148145
}
149146

0 commit comments

Comments
 (0)