Skip to content

Commit 0db4e97

Browse files
authored
Merge pull request #51 from Wyatt-Stanke/main
feat(specs): ✨ add turborepo workflows
2 parents 4c57afc + 27943c0 commit 0db4e97

4 files changed

Lines changed: 46 additions & 0 deletions

File tree

specs/turborepo/create-graph.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Create a Turborepo dependency graph.
2+
command: npx turbo run {{pipelines}} --graph
3+
tags:
4+
- turborepo
5+
arguments:
6+
- name: pipelines
7+
description: The pipelines to run.
8+
default_value: start
9+
author: ifthisthenthat
10+
author_url: "https://github.com/Wyatt-Stanke"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Create a new Turborepo
2+
command: npx -y create-turbo@latest {{directory}} --use-{{package_manager}}
3+
tags:
4+
- turborepo
5+
arguments:
6+
- name: package_manager
7+
description: The package manager to use for the Turborepo.
8+
default_value: npm
9+
- name: directory
10+
description: The directory to use for the Turborepo.
11+
default_value: ./
12+
author: ifthisthenthat
13+
author_url: "https://github.com/Wyatt-Stanke"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Run a Turborepo pipeline with a package filter
2+
command: npx turbo run {{pipelines}} --filter={{filter}}
3+
tags:
4+
- turborepo
5+
arguments:
6+
- name: pipelines
7+
description: The pipelines to run.
8+
default_value: start
9+
- name: filter
10+
description: The package filter to use.
11+
default_value: "*"
12+
author: ifthisthenthat
13+
author_url: "https://github.com/Wyatt-Stanke"

specs/turborepo/run-pipeline.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Run a Turborepo pipeline
2+
command: npx turbo run {{pipelines}}
3+
tags:
4+
- turborepo
5+
arguments:
6+
- name: pipelines
7+
description: The pipelines to run.
8+
default_value: start
9+
author: ifthisthenthat
10+
author_url: "https://github.com/Wyatt-Stanke"

0 commit comments

Comments
 (0)