Skip to content

Commit 86cfbd6

Browse files
authoredJun 6, 2023
fix: replace use of turbo with yarn (#1213)
Turbo is being deprecated and can be replaced by yarn which is supported on StackBlitz.
1 parent f9c59da commit 86cfbd6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
 

‎material.angular.io/src/app/shared/stack-blitz/stack-blitz-writer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export class StackBlitzWriter {
203203
.replace(/material-docs-example/g, data.selectorName)
204204
.replace(/\${title}/g, data.description);
205205
} else if (fileName === '.stackblitzrc') {
206-
fileContent = fileContent.replace(/\${startCommand}/, isTest ? 'turbo test' : 'turbo start');
206+
fileContent = fileContent.replace(/\${startCommand}/, isTest ? 'yarn test' : 'yarn start');
207207
} else if (fileName === 'src/main.ts') {
208208
const mainComponentName = data.componentNames[0];
209209

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"installDependencies": true,
3-
"startCommand": "${startCommand}",
4-
"env": {
5-
"ENABLE_CJS_IMPORTS": true
6-
}
3+
"startCommand": "${startCommand}"
74
}

0 commit comments

Comments
 (0)
Please sign in to comment.