Skip to content

Commit 8bab8f0

Browse files
authored
build: switch from dts-cli to vite (#235)
1 parent 938abf9 commit 8bab8f0

38 files changed

Lines changed: 4746 additions & 11132 deletions

.all-contributorsrc

Lines changed: 0 additions & 163 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
with:
1818
version: 10
1919

20-
- name: Use Node 20
20+
- name: Use Node 24
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: "20"
23+
node-version: "24"
2424

2525
node-checks:
2626
needs: [node-setup]
@@ -30,10 +30,12 @@ jobs:
3030
matrix:
3131
check: ["format:check", "lint", "test", "build"]
3232
include:
33+
- check: format:check
34+
command: pnpm format:check
3335
- check: lint
3436
command: pnpm lint
3537
- check: test
36-
command: pnpm test --ci --coverage --maxWorkers=2
38+
command: pnpm test:coverage
3739
- check: build
3840
command: pnpm build
3941
steps:
@@ -47,10 +49,10 @@ jobs:
4749
with:
4850
version: 10
4951

50-
- name: Use Node 20
52+
- name: Use Node 24
5153
uses: actions/setup-node@v4
5254
with:
53-
node-version: "20"
55+
node-version: "24"
5456

5557
- name: Install dependencies
5658
run: pnpm install --frozen-lockfile --prefer-offline

.github/workflows/size.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

CLAUDE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,11 @@ pnpm test -- -t "name of test or test file"
7070
## Code Conventions
7171

7272
1. All API functions follow a similar pattern:
73-
7473
- They accept an authorization object as their first parameter
7574
- Additional parameters follow
7675
- Each function is well-typed with appropriate request/response interfaces
7776

7877
2. Testing:
79-
8078
- Mock responses are used to test API endpoints
8179
- Each function has tests for successful responses and error handling
8280

README.md

Lines changed: 4 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828

2929
 Modular by design, and supports tree-shaking.
3030
 Aligns with the [community API documentation](https://andshrew.github.io/PlayStation-Trophies/#/).
31-
 Supports Node environments (14 and above).
32-
 Supports browsers.
33-
 Ships with TypeScript support and types.
34-
&nbsp;Small, <5Kb.
31+
&nbsp;Supports Node environments (20 and above).
32+
&nbsp;Supports browsers.
33+
&nbsp;Ships with TypeScript support and types.
34+
&nbsp;Zero production dependencies.
3535

3636
<hr />
3737

@@ -154,39 +154,3 @@ Click the function names to open their complete docs on the docs site.
154154
## Disclaimer
155155

156156
This project is not intended to be used for spam or abuse. Please use this project to elevate the PlayStation Network experience, not damage it.
157-
158-
## Contributors
159-
160-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
161-
<!-- prettier-ignore-start -->
162-
<!-- markdownlint-disable -->
163-
<table>
164-
<tbody>
165-
<tr>
166-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/wescopeland"><img src="https://avatars.githubusercontent.com/u/3984985?v=4?s=100" width="100px;" alt="Wes Copeland"/><br /><sub><b>Wes Copeland</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=wescopeland" title="Code">💻</a> <a href="#example-wescopeland" title="Examples">💡</a> <a href="https://github.com/achievements-app/psn-api/commits?author=wescopeland" title="Documentation">📖</a></td>
167-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/xelnia"><img src="https://avatars.githubusercontent.com/u/14896738?v=4?s=100" width="100px;" alt="xelnia"/><br /><sub><b>xelnia</b></sub></a><br /><a href="#ideas-xelnia" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-xelnia" title="User Testing">📓</a></td>
168-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/andshrew"><img src="https://avatars.githubusercontent.com/u/7409326?v=4?s=100" width="100px;" alt="andshrew"/><br /><sub><b>andshrew</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=andshrew" title="Documentation">📖</a></td>
169-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/purplem1lk"><img src="https://avatars.githubusercontent.com/u/49956513?v=4?s=100" width="100px;" alt="Susan Ma"/><br /><sub><b>Susan Ma</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=purplem1lk" title="Documentation">📖</a></td>
170-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/travisrroy"><img src="https://avatars.githubusercontent.com/u/24424190?v=4?s=100" width="100px;" alt="Travis Roy"/><br /><sub><b>Travis Roy</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=travisrroy" title="Code">💻</a> <a href="#example-travisrroy" title="Examples">💡</a> <a href="https://github.com/achievements-app/psn-api/commits?author=travisrroy" title="Documentation">📖</a></td>
171-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Azimiao"><img src="https://avatars.githubusercontent.com/u/11534726?v=4?s=100" width="100px;" alt="Yetu"/><br /><sub><b>Yetu</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=Azimiao" title="Code">💻</a></td>
172-
<td align="center" valign="top" width="14.28%"><a href="https://jojo.fandom.com/wiki/Yoshikage_Kira"><img src="https://avatars.githubusercontent.com/u/65515165?v=4?s=100" width="100px;" alt="Yoshikage Kira"/><br /><sub><b>Yoshikage Kira</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=isFakeAccount" title="Documentation">📖</a></td>
173-
</tr>
174-
<tr>
175-
<td align="center" valign="top" width="14.28%"><a href="https://evanshortiss.com"><img src="https://avatars.githubusercontent.com/u/1303687?v=4?s=100" width="100px;" alt="Evan Shortiss"/><br /><sub><b>Evan Shortiss</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=evanshortiss" title="Code">💻</a> <a href="https://github.com/achievements-app/psn-api/commits?author=evanshortiss" title="Documentation">📖</a></td>
176-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JenCrawford"><img src="https://avatars.githubusercontent.com/u/12951917?v=4?s=100" width="100px;" alt="crawfordj"/><br /><sub><b>crawfordj</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=JenCrawford" title="Code">💻</a> <a href="https://github.com/achievements-app/psn-api/commits?author=JenCrawford" title="Documentation">📖</a></td>
177-
<td align="center" valign="top" width="14.28%"><a href="https://hartaithan.github.io/"><img src="https://avatars.githubusercontent.com/u/62736094?v=4?s=100" width="100px;" alt="Hartaithan."/><br /><sub><b>Hartaithan.</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=Hartaithan" title="Code">💻</a></td>
178-
<td align="center" valign="top" width="14.28%"><a href="https://lamarcke.github.io"><img src="https://avatars.githubusercontent.com/u/23425058?v=4?s=100" width="100px;" alt="Cássio Lamarck"/><br /><sub><b>Cássio Lamarck</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=Lamarcke" title="Code">💻</a> <a href="https://github.com/achievements-app/psn-api/commits?author=Lamarcke" title="Documentation">📖</a></td>
179-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Dev-R"><img src="https://avatars.githubusercontent.com/u/83784102?v=4?s=100" width="100px;" alt="R"/><br /><sub><b>R</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=Dev-R" title="Code">💻</a> <a href="https://github.com/achievements-app/psn-api/commits?author=Dev-R" title="Documentation">📖</a></td>
180-
<td align="center" valign="top" width="14.28%"><a href="https://www.july.icu/"><img src="https://avatars.githubusercontent.com/u/26817261?v=4?s=100" width="100px;" alt="July"/><br /><sub><b>July</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=JxJuly" title="Code">💻</a> <a href="https://github.com/achievements-app/psn-api/commits?author=JxJuly" title="Documentation">📖</a></td>
181-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/silmarillenschnaps"><img src="https://avatars.githubusercontent.com/u/200592732?v=4?s=100" width="100px;" alt="silmarillenschnaps"/><br /><sub><b>silmarillenschnaps</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=silmarillenschnaps" title="Documentation">📖</a></td>
182-
</tr>
183-
<tr>
184-
<td align="center" valign="top" width="14.28%"><a href="http://instagram.com/bartektricks"><img src="https://avatars.githubusercontent.com/u/22157966?v=4?s=100" width="100px;" alt="Bartek"/><br /><sub><b>Bartek</b></sub></a><br /><a href="https://github.com/achievements-app/psn-api/commits?author=bartektricks" title="Code">💻</a> <a href="https://github.com/achievements-app/psn-api/commits?author=bartektricks" title="Documentation">📖</a></td>
185-
</tr>
186-
</tbody>
187-
</table>
188-
189-
<!-- markdownlint-restore -->
190-
<!-- prettier-ignore-end -->
191-
192-
<!-- ALL-CONTRIBUTORS-LIST:END -->

commitlint.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

jest.config.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)