turbo.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "$schema": "https://turbo.build/schema.json",
  3. "ui": "tui",
  4. "tasks": {
  5. "@tailwindcss/oxide#build": {
  6. "dependsOn": ["^build"],
  7. "outputs": ["./index.d.ts", "./index.js", "./*.node"],
  8. "inputs": [
  9. "./src/**/*",
  10. "./build.rs",
  11. "./package.json",
  12. "./Cargo.toml",
  13. "../core/src/**/*",
  14. "../core/Cargo.toml",
  15. "../Cargo.toml",
  16. "../package.json"
  17. ]
  18. },
  19. "@tailwindcss/oxide#dev": {
  20. "dependsOn": ["^dev"],
  21. "outputs": ["./index.d.ts", "./index.js", "./*.node"],
  22. "inputs": [
  23. "./src/**/*",
  24. "./build.rs",
  25. "./package.json",
  26. "./Cargo.toml",
  27. "../core/src/**/*",
  28. "../core/Cargo.toml",
  29. "../Cargo.toml",
  30. "../package.json"
  31. ],
  32. "cache": false,
  33. "persistent": true
  34. },
  35. "build": {
  36. "dependsOn": ["^build"],
  37. "outputs": ["dist/**"]
  38. },
  39. "lint": {},
  40. "dev": {
  41. "cache": false,
  42. "persistent": true
  43. }
  44. },
  45. // If rustup is installed outside of the default ~/.rustup directory, we need
  46. // to pass the path through to the individual rust tasks.
  47. "globalPassThroughEnv": ["RUSTUP_HOME"]
  48. }