Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying tasks that just have dependencies. #27328

Closed
lishaduck opened this issue Dec 11, 2024 · 1 comment
Closed

Allow specifying tasks that just have dependencies. #27328

lishaduck opened this issue Dec 11, 2024 · 1 comment

Comments

@lishaduck
Copy link

lishaduck commented Dec 11, 2024

Deno v2.1 adds task dependencies 🎉
I've been missing them from Turborepo for so long, but no more!

Currently, however, the following configuration gives an error:

{
  "tasks": {
    "check": {
      "dependencies": ["format", "typecheck"]
    },
    "format": "biome format",
    "typecheck": "deno check **/*.ts **/*.tsx"
  },
}

I instead need a dummy "command": "sleep 0" line, which then shows up in the Deno task output. It'd be nice to relax this constraint.

@marvinhagemeister
Copy link
Contributor

Duplicate of #27165

@marvinhagemeister marvinhagemeister marked this as a duplicate of #27165 Dec 11, 2024
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

No branches or pull requests

2 participants