From c78e4d6dfebdb58d7c29109f1621e4ec835467f9 Mon Sep 17 00:00:00 2001 From: fraxken Date: Thu, 1 Aug 2024 20:46:59 +0200 Subject: [PATCH 1/2] fix(package): use tsx --test with glob --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 525af47..d73cfde 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "rimraf ./dist && tsc", "prepublishOnly": "npm run build", - "test": "node --no-warnings --loader tsx --test test/fetch.spec.ts", + "test": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", "coverage": "c8 -r html npm test", "lint": "eslint src/*.ts" }, @@ -45,6 +45,7 @@ "@types/http-link-header": "^1.0.7", "@types/node": "^20.14.11", "c8": "^10.1.2", + "glob": "^11.0.0", "rimraf": "^6.0.1", "tsx": "^4.16.2", "typescript": "^5.5.3" From 67366152881d38d81931535242b6e6841f05b123 Mon Sep 17 00:00:00 2001 From: fraxken Date: Thu, 1 Aug 2024 20:47:28 +0200 Subject: [PATCH 2/2] fix(dependabot): move configuration at the right location --- .github/{workflows => }/dependabot.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{workflows => }/dependabot.yml (100%) diff --git a/.github/workflows/dependabot.yml b/.github/dependabot.yml similarity index 100% rename from .github/workflows/dependabot.yml rename to .github/dependabot.yml