Skip to content

Commit 5611811

Browse files
authored
Merge pull request #20 from MONEI/chore/migrate-to-vite-plus
chore: migrate toolchain to Vite+ and pnpm
2 parents 3b06bce + c28da68 commit 5611811

139 files changed

Lines changed: 7046 additions & 1746 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,24 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515

16-
- name: Enable Corepack
17-
run: corepack enable
18-
19-
- name: Install Node.js
20-
uses: actions/setup-node@v4
16+
- uses: voidzero-dev/setup-vp@v1
2117
with:
2218
node-version-file: .nvmrc
23-
cache: yarn
19+
cache: true
2420

2521
- name: Install dependencies
26-
run: yarn install --immutable
22+
run: vp install --frozen-lockfile
23+
24+
- name: Check (format, lint, types)
25+
run: vp check
2726

2827
- name: Run tests
29-
run: yarn test
28+
run: vp test
3029

3130
- name: Generate coverage report
32-
run: yarn test:coverage
31+
run: vp test run --coverage
3332

3433
- name: Report coverage
3534
uses: davelosert/vitest-coverage-report-action@v2

.gitignore

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ coverage
88
# OpenAPI
99
openapi.json
1010

11-
# Yarn
11+
# Yarn (legacy)
12+
yarn.lock
13+
.yarn/
1214
.pnp.*
13-
.yarn/*
14-
!.yarn/cache
15-
!.yarn/patches
16-
!.yarn/plugins
17-
!.yarn/releases
18-
!.yarn/sdks
19-
!.yarn/versions
15+
16+
# pnpm
17+
.pnpm-store/

.husky/commit-msg

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

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

.prettierrc

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

.vite-hooks/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm commitlint --edit $1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Run lint-staged to format Python files with Black
2-
yarn lint-staged
2+
vp staged
33

44
# Run tests to ensure everything works
5-
yarn test
5+
pnpm test

.yarnrc.yml

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

CHANGELOG.md

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,94 +2,94 @@
22

33
## <small>1.9.1 (2026-01-21)</small>
44

5-
* chore: update OpenAPI document version to 1.8.3 ([b1afcd2](https://github.com/MONEI/monei-node-sdk/commit/b1afcd2))
5+
- chore: update OpenAPI document version to 1.8.3 ([b1afcd2](https://github.com/MONEI/monei-node-sdk/commit/b1afcd2))
66

77
## 1.9.0 (2025-12-02)
88

9-
* chore: downgrade @release-it/conventional-changelog to version 10.0.1 and update related dependencie ([c46795f](https://github.com/MONEI/monei-node-sdk/commit/c46795f))
10-
* chore: update OpenAPI document version to 1.8.1 and add Node types to TypeScript configuration ([f05495e](https://github.com/MONEI/monei-node-sdk/commit/f05495e))
11-
* feat: add Apple Pay Certificate API and tests ([e899311](https://github.com/MONEI/monei-node-sdk/commit/e899311))
9+
- chore: downgrade @release-it/conventional-changelog to version 10.0.1 and update related dependencie ([c46795f](https://github.com/MONEI/monei-node-sdk/commit/c46795f))
10+
- chore: update OpenAPI document version to 1.8.1 and add Node types to TypeScript configuration ([f05495e](https://github.com/MONEI/monei-node-sdk/commit/f05495e))
11+
- feat: add Apple Pay Certificate API and tests ([e899311](https://github.com/MONEI/monei-node-sdk/commit/e899311))
1212

1313
## 1.8.0 (2025-11-11)
1414

15-
* feat: add Bizum as a payment method to SubscriptionPaymentMethod interface ([81b5d49](https://github.com/MONEI/monei-node-sdk/commit/81b5d49))
15+
- feat: add Bizum as a payment method to SubscriptionPaymentMethod interface ([81b5d49](https://github.com/MONEI/monei-node-sdk/commit/81b5d49))
1616

1717
## <small>1.7.14 (2025-11-11)</small>
1818

19-
* chore: update subscription API to include allowed payment methods in requests and responses ([4b7cb3b](https://github.com/MONEI/monei-node-sdk/commit/4b7cb3b))
19+
- chore: update subscription API to include allowed payment methods in requests and responses ([4b7cb3b](https://github.com/MONEI/monei-node-sdk/commit/4b7cb3b))
2020

2121
## <small>1.7.13 (2025-09-15)</small>
2222

23-
* chore: update default user agent to include Node.js version ([d1a7930](https://github.com/MONEI/monei-node-sdk/commit/d1a7930))
23+
- chore: update default user agent to include Node.js version ([d1a7930](https://github.com/MONEI/monei-node-sdk/commit/d1a7930))
2424

2525
## <small>1.7.12 (2025-08-27)</small>
2626

27-
* chore: update OpenAPI document version to 1.7.3 ([93f1aae](https://github.com/MONEI/monei-node-sdk/commit/93f1aae))
27+
- chore: update OpenAPI document version to 1.7.3 ([93f1aae](https://github.com/MONEI/monei-node-sdk/commit/93f1aae))
2828

2929
## <small>1.7.11 (2025-08-26)</small>
3030

31-
* chore: update OpenAPI document version to 1.7.2 ([55cac25](https://github.com/MONEI/monei-node-sdk/commit/55cac25))
31+
- chore: update OpenAPI document version to 1.7.2 ([55cac25](https://github.com/MONEI/monei-node-sdk/commit/55cac25))
3232

3333
## <small>1.7.10 (2025-05-29)</small>
3434

35-
* chore: update OpenAPI document version to 1.7.0 ([aaedbd2](https://github.com/MONEI/monei-node-sdk/commit/aaedbd2))
35+
- chore: update OpenAPI document version to 1.7.0 ([aaedbd2](https://github.com/MONEI/monei-node-sdk/commit/aaedbd2))
3636

3737
## <small>1.7.9 (2025-05-28)</small>
3838

39-
* chore: update OpenAPI document version to 1.6.4 ([011bf82](https://github.com/MONEI/monei-node-sdk/commit/011bf82))
39+
- chore: update OpenAPI document version to 1.6.4 ([011bf82](https://github.com/MONEI/monei-node-sdk/commit/011bf82))
4040

4141
## <small>1.7.8 (2025-05-26)</small>
4242

43-
* chore: update OpenAPI document version to 1.6.3 ([4d3f4fa](https://github.com/MONEI/monei-node-sdk/commit/4d3f4fa))
43+
- chore: update OpenAPI document version to 1.6.3 ([4d3f4fa](https://github.com/MONEI/monei-node-sdk/commit/4d3f4fa))
4444

4545
## <small>1.7.7 (2025-05-26)</small>
4646

47-
* chore: update OpenAPI document version to 1.6.2 and modify package.json for types path ([ac6a8a8](https://github.com/MONEI/monei-node-sdk/commit/ac6a8a8))
47+
- chore: update OpenAPI document version to 1.6.2 and modify package.json for types path ([ac6a8a8](https://github.com/MONEI/monei-node-sdk/commit/ac6a8a8))
4848

4949
## <small>1.7.6 (2025-04-16)</small>
5050

51-
* chore: update OpenAPI document version to 1.6.1 and change enumPropertyNaming to UPPERCASE ([e6b5e4d](https://github.com/MONEI/monei-node-sdk/commit/e6b5e4d))
51+
- chore: update OpenAPI document version to 1.6.1 and change enumPropertyNaming to UPPERCASE ([e6b5e4d](https://github.com/MONEI/monei-node-sdk/commit/e6b5e4d))
5252

5353
## <small>1.7.5 (2025-03-25)</small>
5454

55-
* chore: Update package.json to include additional files and correct types path ([c89a558](https://github.com/MONEI/monei-node-sdk/commit/c89a558))
55+
- chore: Update package.json to include additional files and correct types path ([c89a558](https://github.com/MONEI/monei-node-sdk/commit/c89a558))
5656

5757
## <small>1.7.4 (2025-03-25)</small>
5858

59-
* chore: Update package.json scripts for prepack and prepublish ([6107bbf](https://github.com/MONEI/monei-node-sdk/commit/6107bbf))
60-
* chore: Update package.json to remove prepublish script and add prepare script for husky ([73d0380](https://github.com/MONEI/monei-node-sdk/commit/73d0380))
59+
- chore: Update package.json scripts for prepack and prepublish ([6107bbf](https://github.com/MONEI/monei-node-sdk/commit/6107bbf))
60+
- chore: Update package.json to remove prepublish script and add prepare script for husky ([73d0380](https://github.com/MONEI/monei-node-sdk/commit/73d0380))
6161

6262
## <small>1.7.3 (2025-03-25)</small>
6363

64-
* chore: Update prepare script in package.json to build before preparing ([dad82fb](https://github.com/MONEI/monei-node-sdk/commit/dad82fb))
64+
- chore: Update prepare script in package.json to build before preparing ([dad82fb](https://github.com/MONEI/monei-node-sdk/commit/dad82fb))
6565

6666
## <small>1.7.2 (2025-03-25)</small>
6767

68-
* chore: Update package.json exports ([833e5c9](https://github.com/MONEI/monei-node-sdk/commit/833e5c9))
68+
- chore: Update package.json exports ([833e5c9](https://github.com/MONEI/monei-node-sdk/commit/833e5c9))
6969

7070
## <small>1.7.1 (2025-03-14)</small>
7171

72-
* chore: Update ESLint configuration and lint-staged settings ([946812c](https://github.com/MONEI/monei-node-sdk/commit/946812c))
73-
* chore: Update model files with ESLint configuration ([f9ce450](https://github.com/MONEI/monei-node-sdk/commit/f9ce450))
74-
* chore: Update OpenAPI document version to 1.6.0 across all relevant files ([19ad1e7](https://github.com/MONEI/monei-node-sdk/commit/19ad1e7))
75-
* refactor: Clean up generated API and model files ([4f5047d](https://github.com/MONEI/monei-node-sdk/commit/4f5047d))
72+
- chore: Update ESLint configuration and lint-staged settings ([946812c](https://github.com/MONEI/monei-node-sdk/commit/946812c))
73+
- chore: Update model files with ESLint configuration ([f9ce450](https://github.com/MONEI/monei-node-sdk/commit/f9ce450))
74+
- chore: Update OpenAPI document version to 1.6.0 across all relevant files ([19ad1e7](https://github.com/MONEI/monei-node-sdk/commit/19ad1e7))
75+
- refactor: Clean up generated API and model files ([4f5047d](https://github.com/MONEI/monei-node-sdk/commit/4f5047d))
7676

7777
## 1.7.0 (2025-03-11)
7878

79-
* feat: Add Bizum API support and improve OpenAPI generator configuration ([74990fe](https://github.com/MONEI/monei-node-sdk/commit/74990fe))
80-
* fix: Update MONEI webhook signature verification and commitlint config ([b136ff6](https://github.com/MONEI/monei-node-sdk/commit/b136ff6))
79+
- feat: Add Bizum API support and improve OpenAPI generator configuration ([74990fe](https://github.com/MONEI/monei-node-sdk/commit/74990fe))
80+
- fix: Update MONEI webhook signature verification and commitlint config ([b136ff6](https://github.com/MONEI/monei-node-sdk/commit/b136ff6))
8181

8282
## <small>1.6.1 (2025-03-08)</small>
8383

84-
* chore: Update project configuration and test setup ([93d07fb](https://github.com/MONEI/monei-node-sdk/commit/93d07fb))
84+
- chore: Update project configuration and test setup ([93d07fb](https://github.com/MONEI/monei-node-sdk/commit/93d07fb))
8585

8686
## 1.6.0 (2025-03-08)
8787

88-
* feat: Implement comprehensive API error handling with ApiException ([9f3b4f9](https://github.com/MONEI/monei-node-sdk/commit/9f3b4f9))
89-
* docs: Remove MONEI webhooks documentation link ([8ab2222](https://github.com/MONEI/monei-node-sdk/commit/8ab2222))
90-
* chore: Enable ES module support ([abc5542](https://github.com/MONEI/monei-node-sdk/commit/abc5542))
91-
* chore: Modify commitlint configuration to disable subject case rule ([8a358d7](https://github.com/MONEI/monei-node-sdk/commit/8a358d7))
92-
* chore: setup conventional changelog and commitlint configuration ([f85dd09](https://github.com/MONEI/monei-node-sdk/commit/f85dd09))
88+
- feat: Implement comprehensive API error handling with ApiException ([9f3b4f9](https://github.com/MONEI/monei-node-sdk/commit/9f3b4f9))
89+
- docs: Remove MONEI webhooks documentation link ([8ab2222](https://github.com/MONEI/monei-node-sdk/commit/8ab2222))
90+
- chore: Enable ES module support ([abc5542](https://github.com/MONEI/monei-node-sdk/commit/abc5542))
91+
- chore: Modify commitlint configuration to disable subject case rule ([8a358d7](https://github.com/MONEI/monei-node-sdk/commit/8a358d7))
92+
- chore: setup conventional changelog and commitlint configuration ([f85dd09](https://github.com/MONEI/monei-node-sdk/commit/f85dd09))
9393

9494
All notable changes to the MONEI Node.js SDK will be documented in this file.
9595

@@ -102,4 +102,5 @@ and [@release-it/conventional-changelog](https://github.com/release-it/conventio
102102
## [Unreleased]
103103

104104
### Added
105+
105106
- Initial setup with conventional-changelog

0 commit comments

Comments
 (0)