From 450c1d3a093f631077a1ccfcb5d3f64f19b7f1b8 Mon Sep 17 00:00:00 2001
From: Simon Boudrias <admin@simonboudrias.com>
Date: Fri, 17 May 2024 15:42:22 -0400
Subject: [PATCH] Chore: Add   x invalid task configuration

Error:   x You have 13 persistent tasks but `turbo` is configured for concurrency of
  | 10. Set --concurrency to at least 14 command to test locally
---
 packages/checkbox/package.json | 1 +
 packages/confirm/package.json  | 1 +
 packages/core/package.json     | 1 +
 packages/editor/package.json   | 1 +
 packages/expand/package.json   | 1 +
 packages/figures/package.json  | 1 +
 packages/input/package.json    | 1 +
 packages/password/package.json | 1 +
 packages/prompts/package.json  | 1 +
 packages/rawlist/package.json  | 1 +
 packages/select/package.json   | 1 +
 packages/testing/package.json  | 1 +
 packages/type/package.json     | 1 +
 tools/setup-packages.mjs       | 1 +
 turbo.json                     | 4 ++++
 15 files changed, 18 insertions(+)

diff --git a/packages/checkbox/package.json b/packages/checkbox/package.json
index 74d93b999..cc6c1509e 100644
--- a/packages/checkbox/package.json
+++ b/packages/checkbox/package.json
@@ -70,6 +70,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/confirm/package.json b/packages/confirm/package.json
index 2b3a5acf1..8839e4f76 100644
--- a/packages/confirm/package.json
+++ b/packages/confirm/package.json
@@ -64,6 +64,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/core/package.json b/packages/core/package.json
index 07b86257e..2f3c1fdc3 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -78,6 +78,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/editor/package.json b/packages/editor/package.json
index 16df94280..1eef6977e 100644
--- a/packages/editor/package.json
+++ b/packages/editor/package.json
@@ -65,6 +65,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/expand/package.json b/packages/expand/package.json
index 333d56b06..04c8426fd 100644
--- a/packages/expand/package.json
+++ b/packages/expand/package.json
@@ -65,6 +65,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/figures/package.json b/packages/figures/package.json
index 6756e4c13..53d442bc8 100644
--- a/packages/figures/package.json
+++ b/packages/figures/package.json
@@ -58,6 +58,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "engines": {
diff --git a/packages/input/package.json b/packages/input/package.json
index 0d8e4053a..0f2d46a5c 100644
--- a/packages/input/package.json
+++ b/packages/input/package.json
@@ -64,6 +64,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/password/package.json b/packages/password/package.json
index ca053ebe0..68fc66797 100644
--- a/packages/password/package.json
+++ b/packages/password/package.json
@@ -68,6 +68,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/prompts/package.json b/packages/prompts/package.json
index 8f64763c9..cfa079d68 100644
--- a/packages/prompts/package.json
+++ b/packages/prompts/package.json
@@ -58,6 +58,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "engines": {
diff --git a/packages/rawlist/package.json b/packages/rawlist/package.json
index 19d348feb..4243a88dc 100644
--- a/packages/rawlist/package.json
+++ b/packages/rawlist/package.json
@@ -65,6 +65,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/select/package.json b/packages/select/package.json
index 1bdf9978b..0de90f106 100644
--- a/packages/select/package.json
+++ b/packages/select/package.json
@@ -67,6 +67,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "publishConfig": {
diff --git a/packages/testing/package.json b/packages/testing/package.json
index 7347b76ff..ab7846d85 100644
--- a/packages/testing/package.json
+++ b/packages/testing/package.json
@@ -71,6 +71,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "exports": {
diff --git a/packages/type/package.json b/packages/type/package.json
index ebcbfff6f..b504b59cb 100644
--- a/packages/type/package.json
+++ b/packages/type/package.json
@@ -58,6 +58,7 @@
     "tsc": "yarn run tsc:esm && yarn run tsc:cjs",
     "tsc:esm": "rm -rf dist/esm && tsc -p ./tsconfig.json",
     "tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs",
+    "dev": "tsc -p ./tsconfig.json --watch",
     "attw": "attw --pack"
   },
   "engines": {
diff --git a/tools/setup-packages.mjs b/tools/setup-packages.mjs
index 15df912bd..f7e6561fd 100644
--- a/tools/setup-packages.mjs
+++ b/tools/setup-packages.mjs
@@ -78,6 +78,7 @@ paths.forEach(async (pkgPath) => {
       'tsc:esm': 'rm -rf dist/esm && tsc -p ./tsconfig.json',
       'tsc:cjs':
         'rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs',
+      dev: 'tsc -p ./tsconfig.json --watch',
       attw: 'attw --pack',
     };
 
diff --git a/turbo.json b/turbo.json
index 92ea95950..4e7f8c489 100644
--- a/turbo.json
+++ b/turbo.json
@@ -8,6 +8,10 @@
     "attw": {
       "dependsOn": ["tsc"],
       "outputs": []
+    },
+    "dev": {
+      "cache": false,
+      "persistent": true
     }
   }
 }