Skip to content

Commit

Permalink
ci: use workspace package
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 1, 2025
1 parent d7a9858 commit 62b98a1
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-amazon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-audio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25",
"@metascraper/helpers": "workspace:*",
"lodash": "~4.17.21",
"p-reflect": "~2.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-author/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"engines": {
"node": ">= 16"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-clearbit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"engines": {
"node": ">= 16"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-description/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rss"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-iframe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"engines": {
"node": ">= 16"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-instagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"dependencies": {
"franc": "~5.0.0",
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-lang/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-logo-favicon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-logo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"metascraper"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25",
"@metascraper/helpers": "workspace:*",
"lodash": "~4.17.21"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-manifest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-media-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-publisher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"publisher"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-readability/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25",
"@metascraper/helpers": "workspace:*",
"@mozilla/readability": "~0.5.0",
"jsdom": "~25.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-soundcloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"soundcloud"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-spotify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-telegram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-title/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"title"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"engines": {
"node": ">= 16"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-uol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"uol"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5",
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"url"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"engines": {
"node": ">= 16"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-video/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"video"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25",
"@metascraper/helpers": "workspace:*",
"lodash": "~4.17.21",
"p-reflect": "~2.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"spotify"
],
"dependencies": {
"@metascraper/helpers": "^5.45.25"
"@metascraper/helpers": "workspace:*"
},
"devDependencies": {
"ava": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-youtube/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 62b98a1

Please sign in to comment.