From de9e340b0bdc568cde7de5798fb07761333c40c3 Mon Sep 17 00:00:00 2001 From: Andrew Patton Date: Sat, 20 Jan 2024 10:52:23 -0800 Subject: [PATCH] Add separate test npm run scripts to packages allows for the tests to be run separately and for the published version of the individual packages to broadcast their test coverage --- packages/appsync-fetch/package.json | 3 +++ packages/aws-signature-v4/package.json | 3 +++ packages/css-value-input/package.json | 3 +++ packages/css-values/package.json | 3 +++ packages/date-picker/package.json | 3 +++ packages/dropdown/package.json | 3 +++ packages/matchmaking/package.json | 3 +++ packages/post/package.json | 3 +++ packages/textual/package.json | 3 +++ packages/uniquify/package.json | 3 +++ packages/use-keyboard-events/package.json | 3 +++ 11 files changed, 33 insertions(+) diff --git a/packages/appsync-fetch/package.json b/packages/appsync-fetch/package.json index d623d413..d628f53c 100644 --- a/packages/appsync-fetch/package.json +++ b/packages/appsync-fetch/package.json @@ -23,6 +23,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/aws-signature-v4/package.json b/packages/aws-signature-v4/package.json index 687f1afb..e0366d43 100644 --- a/packages/aws-signature-v4/package.json +++ b/packages/aws-signature-v4/package.json @@ -23,6 +23,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/css-value-input/package.json b/packages/css-value-input/package.json index 36f67f50..3e45d4bc 100644 --- a/packages/css-value-input/package.json +++ b/packages/css-value-input/package.json @@ -24,6 +24,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/css-values/package.json b/packages/css-values/package.json index 1532cc12..6d3b7f31 100644 --- a/packages/css-values/package.json +++ b/packages/css-values/package.json @@ -22,6 +22,9 @@ "isomorphic", "universal" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/date-picker/package.json b/packages/date-picker/package.json index 59615e8b..e93c92dd 100644 --- a/packages/date-picker/package.json +++ b/packages/date-picker/package.json @@ -27,6 +27,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/dropdown/package.json b/packages/dropdown/package.json index 5943be3d..6fe7868d 100644 --- a/packages/dropdown/package.json +++ b/packages/dropdown/package.json @@ -27,6 +27,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/matchmaking/package.json b/packages/matchmaking/package.json index 2619f8e8..006c91ec 100644 --- a/packages/matchmaking/package.json +++ b/packages/matchmaking/package.json @@ -26,6 +26,9 @@ "isomorphic", "universal" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/post/package.json b/packages/post/package.json index a148d833..d4fb66d0 100644 --- a/packages/post/package.json +++ b/packages/post/package.json @@ -21,6 +21,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/textual/package.json b/packages/textual/package.json index 8c5f164a..9a77a447 100644 --- a/packages/textual/package.json +++ b/packages/textual/package.json @@ -24,6 +24,9 @@ "isomorphic", "universal" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/uniquify/package.json b/packages/uniquify/package.json index 5a408624..64522ccd 100644 --- a/packages/uniquify/package.json +++ b/packages/uniquify/package.json @@ -28,6 +28,9 @@ "isomorphic", "universal" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", diff --git a/packages/use-keyboard-events/package.json b/packages/use-keyboard-events/package.json index 052d7004..f2c490b5 100644 --- a/packages/use-keyboard-events/package.json +++ b/packages/use-keyboard-events/package.json @@ -22,6 +22,9 @@ "ts", "flow" ], + "scripts": { + "test": "vitest" + }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git",