diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 38642fc98..be748dfc8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -45,7 +45,7 @@ jobs: PROXY_PASSWORD: ${{ secrets.PROXY_PASSWORD }} PROXY_HOST: ${{ secrets.PROXY_HOST }} - name: Test - run: pnpm --filter "${{ matrix.package }}" run test + run: pnpm run test --scope "${{ matrix.package }}" env: PROXY_USERNAME: ${{ secrets.PROXY_USERNAME }} PROXY_PASSWORD: ${{ secrets.PROXY_PASSWORD }} diff --git a/package.json b/package.json index c0210eda0..0f9dfaad2 100644 --- a/package.json +++ b/package.json @@ -154,6 +154,7 @@ "@ksmithut/prettier-standard": "latest", "@lerna-lite/cli": "latest", "@lerna-lite/publish": "latest", + "@lerna-lite/run": "latest", "browser-sync": "latest", "c8": "latest", "concurrently": "latest", @@ -188,7 +189,7 @@ "lint": "standard-markdown README.md && standard", "pretest": "npm run lint", "release": "lerna publish --yes --sort --conventional-commits -m \"chore(release): %s\" --create-release github", - "test": "c8 pnpm -r run test", + "test": "c8 lerna run test", "update": "pnpm --recursive --parallel exec ncu -u", "update:check": "pnpm --recursive --parallel exec ncu -errorLevel 2" }, diff --git a/packages/metascraper-amazon/package.json b/packages/metascraper-amazon/package.json index d87288177..8224c1501 100644 --- a/packages/metascraper-amazon/package.json +++ b/packages/metascraper-amazon/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-audio/package.json b/packages/metascraper-audio/package.json index 225f60581..91d87f297 100644 --- a/packages/metascraper-audio/package.json +++ b/packages/metascraper-audio/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "lodash": "~4.17.21", "p-reflect": "~2.1.0" }, diff --git a/packages/metascraper-author/package.json b/packages/metascraper-author/package.json index 2608c1f45..933a00066 100644 --- a/packages/metascraper-author/package.json +++ b/packages/metascraper-author/package.json @@ -22,7 +22,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "engines": { "node": ">= 16" diff --git a/packages/metascraper-clearbit/package.json b/packages/metascraper-clearbit/package.json index 2e0de53e6..92eb19257 100644 --- a/packages/metascraper-clearbit/package.json +++ b/packages/metascraper-clearbit/package.json @@ -26,7 +26,7 @@ ], "dependencies": { "@keyvhq/memoize": "~2.1.5", - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "async-memoize-one": "~1.1.8", "got": "~11.8.6", "lodash": "~4.17.21" diff --git a/packages/metascraper-date/package.json b/packages/metascraper-date/package.json index 0129cdfd2..d0307cf32 100644 --- a/packages/metascraper-date/package.json +++ b/packages/metascraper-date/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "engines": { "node": ">= 16" diff --git a/packages/metascraper-description/package.json b/packages/metascraper-description/package.json index 19575e405..4e696abd4 100644 --- a/packages/metascraper-description/package.json +++ b/packages/metascraper-description/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-feed/package.json b/packages/metascraper-feed/package.json index a477a0042..5761ec0ab 100644 --- a/packages/metascraper-feed/package.json +++ b/packages/metascraper-feed/package.json @@ -25,7 +25,7 @@ "rss" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-iframe/package.json b/packages/metascraper-iframe/package.json index 51f355c1c..7e36c274e 100644 --- a/packages/metascraper-iframe/package.json +++ b/packages/metascraper-iframe/package.json @@ -25,7 +25,7 @@ "oembed" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "got": "~11.8.6", "lodash": "~4.17.21", "oembed-spec": "~1.3.30", diff --git a/packages/metascraper-image/package.json b/packages/metascraper-image/package.json index ee01c4692..29d8ea85e 100644 --- a/packages/metascraper-image/package.json +++ b/packages/metascraper-image/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "engines": { "node": ">= 16" diff --git a/packages/metascraper-instagram/package.json b/packages/metascraper-instagram/package.json index 449966c14..ef195374c 100644 --- a/packages/metascraper-instagram/package.json +++ b/packages/metascraper-instagram/package.json @@ -24,7 +24,7 @@ ], "dependencies": { "franc": "~5.0.0", - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-lang/package.json b/packages/metascraper-lang/package.json index b16e42788..9aed4c00b 100644 --- a/packages/metascraper-lang/package.json +++ b/packages/metascraper-lang/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-logo-favicon/package.json b/packages/metascraper-logo-favicon/package.json index 5c41b181b..0c8deaf2b 100644 --- a/packages/metascraper-logo-favicon/package.json +++ b/packages/metascraper-logo-favicon/package.json @@ -25,7 +25,7 @@ ], "dependencies": { "@keyvhq/memoize": "~2.1.5", - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "lodash": "~4.17.21", "reachable-url": "~1.8.1" }, diff --git a/packages/metascraper-logo/package.json b/packages/metascraper-logo/package.json index 860bb519a..88a07b05f 100644 --- a/packages/metascraper-logo/package.json +++ b/packages/metascraper-logo/package.json @@ -23,7 +23,7 @@ "metascraper" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "lodash": "~4.17.21" }, "engines": { diff --git a/packages/metascraper-manifest/package.json b/packages/metascraper-manifest/package.json index af99afc45..ed44e546f 100644 --- a/packages/metascraper-manifest/package.json +++ b/packages/metascraper-manifest/package.json @@ -25,7 +25,7 @@ ], "dependencies": { "@keyvhq/memoize": "~2.1.5", - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "async-memoize-one": "~1.1.8", "data-uri-to-buffer": "~5.0.1", "got": "~11.8.6", diff --git a/packages/metascraper-media-provider/package.json b/packages/metascraper-media-provider/package.json index 5d2ac5372..ab91eeef9 100644 --- a/packages/metascraper-media-provider/package.json +++ b/packages/metascraper-media-provider/package.json @@ -24,7 +24,7 @@ "youtube-dl" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "async-memoize-one": "~1.1.8", "got": "~11.8.6", "debug-logfmt": "~1.2.3", diff --git a/packages/metascraper-publisher/package.json b/packages/metascraper-publisher/package.json index e58aa68db..9aab98231 100644 --- a/packages/metascraper-publisher/package.json +++ b/packages/metascraper-publisher/package.json @@ -23,7 +23,7 @@ "publisher" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-readability/package.json b/packages/metascraper-readability/package.json index 1c384dbdd..87fe9f004 100644 --- a/packages/metascraper-readability/package.json +++ b/packages/metascraper-readability/package.json @@ -23,7 +23,7 @@ "url" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "@mozilla/readability": "~0.5.0", "jsdom": "~25.0.1" }, diff --git a/packages/metascraper-soundcloud/package.json b/packages/metascraper-soundcloud/package.json index 967212dda..b49ba1e70 100644 --- a/packages/metascraper-soundcloud/package.json +++ b/packages/metascraper-soundcloud/package.json @@ -24,7 +24,7 @@ "soundcloud" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-spotify/package.json b/packages/metascraper-spotify/package.json index 358865c6f..99b930c59 100644 --- a/packages/metascraper-spotify/package.json +++ b/packages/metascraper-spotify/package.json @@ -25,7 +25,7 @@ ], "dependencies": { "@keyvhq/memoize": "~2.1.5", - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "async-memoize-one": "~1.1.8", "got": "~11.8.6", "spotify-url-info": "~3.2.18" diff --git a/packages/metascraper-telegram/package.json b/packages/metascraper-telegram/package.json index f50dd9fe3..bb0f1decf 100644 --- a/packages/metascraper-telegram/package.json +++ b/packages/metascraper-telegram/package.json @@ -24,7 +24,7 @@ ], "dependencies": { "@keyvhq/memoize": "~2.1.5", - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "css-urls": "~2.0.44", "got": "~11.8.6", "p-reflect": "~2.1.0" diff --git a/packages/metascraper-title/package.json b/packages/metascraper-title/package.json index 6046e2190..b5c99ea29 100644 --- a/packages/metascraper-title/package.json +++ b/packages/metascraper-title/package.json @@ -22,7 +22,7 @@ "title" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "engines": { "node": ">= 16" diff --git a/packages/metascraper-uol/package.json b/packages/metascraper-uol/package.json index 11717e8c0..1c3a24d9c 100644 --- a/packages/metascraper-uol/package.json +++ b/packages/metascraper-uol/package.json @@ -25,7 +25,7 @@ "uol" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5", diff --git a/packages/metascraper-url/package.json b/packages/metascraper-url/package.json index ecd3cfe01..6103a9300 100644 --- a/packages/metascraper-url/package.json +++ b/packages/metascraper-url/package.json @@ -22,7 +22,7 @@ "url" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "engines": { "node": ">= 16" diff --git a/packages/metascraper-video/package.json b/packages/metascraper-video/package.json index 71c625ee5..712de903c 100644 --- a/packages/metascraper-video/package.json +++ b/packages/metascraper-video/package.json @@ -23,7 +23,7 @@ "video" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "lodash": "~4.17.21", "p-reflect": "~2.1.0" }, diff --git a/packages/metascraper-x/package.json b/packages/metascraper-x/package.json index c5ba29e03..213fac761 100644 --- a/packages/metascraper-x/package.json +++ b/packages/metascraper-x/package.json @@ -24,7 +24,7 @@ "spotify" ], "dependencies": { - "@metascraper/helpers": "^5.45.25" + "@metascraper/helpers": "workspace:*" }, "devDependencies": { "ava": "5" diff --git a/packages/metascraper-youtube/package.json b/packages/metascraper-youtube/package.json index 269ab179b..f0b503332 100644 --- a/packages/metascraper-youtube/package.json +++ b/packages/metascraper-youtube/package.json @@ -24,7 +24,7 @@ "youtube" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "p-locate": "~5.0.0", "get-video-id": "3", "reachable-url": "~1.8.1" diff --git a/packages/metascraper/package.json b/packages/metascraper/package.json index 20da4c08e..10dc7fce0 100644 --- a/packages/metascraper/package.json +++ b/packages/metascraper/package.json @@ -58,7 +58,7 @@ "website" ], "dependencies": { - "@metascraper/helpers": "^5.45.25", + "@metascraper/helpers": "workspace:*", "cheerio": "~1.0.0", "lodash": "~4.17.21", "whoops": "~4.1.7"