Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for new node.js version #67

Merged
merged 4 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/six-avocados-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@untidy/thetvdb": minor
---

feat: support new node version 22.x
6 changes: 6 additions & 0 deletions .changeset/three-laws-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@untidy/thetvdb': patch
---

fix: update links from readme to new site.
fix: remove links in jsdocs.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

env:
PNPM_VERSION: 8.15.6
PNPM_VERSION: 9.0.6

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

env:
PNPM_VERSION: 8.15.6
PNPM_VERSION: 9.0.6

jobs:
lint:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18.19.0", "20.11.0"]
node-version: ["18.19.0", "20.11.0", "22.0.0"]
steps:
- name: Checkout repo
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

env:
PNPM_VERSION: 8.15.6
PNPM_VERSION: 9.0.6

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8.15.6
version: 9.0.6
- name: Setup Node
uses: actions/[email protected]
with:
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/coverage-v8": "^1.5.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-untidy": "workspace:^",
"msw": "^2.2.13",
"msw": "^2.2.14",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.13",
"tsx": "^4.7.2",
"prettier-plugin-tailwindcss": "^0.5.14",
"tsx": "^4.8.0",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.5.3"
},
"engines": {
"node": "^18.17.0 || ^20.0.0",
"pnpm": "^8"
"node": "^18.17.0 || ^20.0.0 || ^22.0.0",
"pnpm": "^9"
},
"pnpm": {
"overrides": {
"esbuild": "0.20.2"
}
},
"packageManager": "pnpm@8.15.6+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f"
"packageManager": "pnpm@9.0.6+sha256.0624e30eff866cdeb363b15061bdb7fd9425b17bc1bb42c22f5f4efdea21f6b3"
}
8 changes: 4 additions & 4 deletions packages/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ provides a simple and intuitive interface for querying multiple API endpoints.
## ✨ Features

- Access multiple endpoints of the TheTVDB API
[(check supported endpoints)](https://untidy-thetvdb.netlify.app/guides/supported-endpoints)
[(check supported endpoints)](https://falsepopsky.github.io/thetvdb/guides/supported-endpoints/)
- Built with TypeScript for full typing support
- Uses the native `fetch` module from Node.js for making HTTP requests
- ESM only
Expand Down Expand Up @@ -59,9 +59,9 @@ console.log(data);

## 📄 Docs

- [API](https://untidy-thetvdb.netlify.app/api)
- [Supported endpoints](https://untidy-thetvdb.netlify.app/guides/supported-endpoints)
- [Examples](https://untidy-thetvdb.netlify.app/guides/examples)
- [API](https://falsepopsky.github.io/thetvdb/api/)
- [Supported endpoints](https://falsepopsky.github.io/thetvdb/guides/supported-endpoints/)
- [Examples](https://falsepopsky.github.io/thetvdb/guides/examples/)

## 📜 License

Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"typescript": "^5.4.5"
},
"engines": {
"node": "^18.17.0 || ^20.0.0"
"node": "^18.17.0 || ^20.0.0 || ^22.0.0"
},
"repository": {
"type": "git",
Expand Down
Loading