-
Notifications
You must be signed in to change notification settings - Fork 390
fix: replace use of turbo with yarn #1213
Conversation
Turbo is being deprecated and can be replaced by yarn which is supported on StackBlitz.
2f4e45d to
7a15448
Compare
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| .replace(/\${title}/g, data.description); | ||
| } else if (fileName === '.stackblitzrc') { | ||
| fileContent = fileContent.replace(/\${startCommand}/, isTest ? 'turbo test' : 'turbo start'); | ||
| fileContent = fileContent.replace(/\${startCommand}/, isTest ? 'yarn test' : 'yarn start'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually think we wanted npm right? The lock file is already a NPM lock file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I converted the Stackblitz template to yarn since npm was timing out. See #1194
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah great! @d3lm what will be the Yarn support strategy with WebContainers? For angular.io we don't use Yarn, just turbo without a lock file apparently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@devversion How do you mean? For yarn we currently support yarn v1. Or maybe I am misunderstanding.
Turbo is being deprecated and can be replaced by yarn which is supported on StackBlitz.
Turbo is being deprecated and can be replaced by yarn which is supported on StackBlitz.
This PR replace the use of
turbowithyarnasturbois being deprecated and StackBlitz has support foryarnv1 out of the box.See related PR: angular/angular#50576