Skip to content

feat(specs): ✨ add turborepo workflows#51

Merged
alokedesai merged 3 commits intowarpdotdev:mainfrom
Wyatt-Stanke:main
Apr 18, 2022
Merged

feat(specs): ✨ add turborepo workflows#51
alokedesai merged 3 commits intowarpdotdev:mainfrom
Wyatt-Stanke:main

Conversation

@Wyatt-Stanke
Copy link
Copy Markdown
Contributor

Hello! I have added 4 Turborepo workflows. I know that is not a lot, but Turborepo is a minimal tool.

Hello! I have added 4 Turborepo workflows. I know that is not a lot, but Turborepo is a minimal tool.
@elviskahoro
Copy link
Copy Markdown

@Wyatt-Stanke thanks for doing this! Are you in our Discord, if so what's your username so I can add the contributor role?

Copy link
Copy Markdown
Member

@alokedesai alokedesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks great, thank you so much for contributing! Just had a small comment on naming here to avoid naming confusion with the word "workflows"

- turborepo
arguments:
- name: workflows
description: The workflows to run.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could we refer to the argument that's passed to npx turbo run as tasks instead of workflows (in the workflow itself and in the documentation). That's how turborepo references this argument, and I think that will avoid the name confusion with Warp workflows

image

Copy link
Copy Markdown
Contributor Author

@Wyatt-Stanke Wyatt-Stanke Apr 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With turbo run, you run a pipeline which in turn runs tasks.
Looks like I accidentally mixed up Warp's workflows with Turborepo's pipelines.
Extra info:
Pipelines | Turborepo
CLI Reference | Turborepo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pointers! I was reading https://turborepo.org/docs/features/pipelines#defining-a-pipeline which says

Each key in the pipeline object is the name of a task that can be executed by turbo run

which made me think it was really the task that turberepo runs (that is defined in a pipeline). I'm by no means an expert on this command though, so happy to leave as pipelines if you believe that is more correct!

@Wyatt-Stanke
Copy link
Copy Markdown
Contributor Author

@Wyatt-Stanke thanks for doing this! Are you in our Discord, if so what's your username so I can add the contributor role?

Hello! My discord tag is ifthisthenthat#0001

@Wyatt-Stanke Wyatt-Stanke requested a review from alokedesai April 18, 2022 15:42
Copy link
Copy Markdown
Member

@alokedesai alokedesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for contributing! See my comment about pipelines to tasks, i'm by no means an expert here, so defer to you if you think pipelines is a better name

- turborepo
arguments:
- name: workflows
description: The workflows to run.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pointers! I was reading https://turborepo.org/docs/features/pipelines#defining-a-pipeline which says

Each key in the pipeline object is the name of a task that can be executed by turbo run

which made me think it was really the task that turberepo runs (that is defined in a pipeline). I'm by no means an expert on this command though, so happy to leave as pipelines if you believe that is more correct!

@Wyatt-Stanke
Copy link
Copy Markdown
Contributor Author

LGTM, thank you for contributing! See my comment about pipelines to tasks, i'm by no means an expert here, so defer to you if you think pipelines is a better name

Yeah, the documentation is a little confusing when it comes to what's what, but turbo run runs a pipeline.

@Wyatt-Stanke
Copy link
Copy Markdown
Contributor Author

LGTM

@alokedesai
Copy link
Copy Markdown
Member

LGTM

🚀

@alokedesai alokedesai merged commit 0db4e97 into warpdotdev:main Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants