Skip to content

Commit ce0f083

Browse files
Update dependencies and upgrade build toolchain
Move build-only packages to devDependencies to reduce install footprint for consumers. Upgrade Rollup from v2 to v4 and replace deprecated plugins. Add Dependabot config and production-only audit step to CI.
1 parent 773183c commit ce0f083

8 files changed

Lines changed: 1411 additions & 765 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
allow:
8+
- dependency-type: "production"
9+
open-pull-requests-limit: 10

.github/workflows/cd.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@ jobs:
1111

1212
steps:
1313
- name: Checkout Repository
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515

1616
- name: Setup Node.js
17-
uses: actions/setup-node@v2.5.1
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: 18
2020
registry-url: https://registry.npmjs.org/
2121

2222
- name: Install Dependencies
23-
run: npm ci --force
23+
run: npm ci
24+
25+
- name: Audit Production Dependencies
26+
run: npm audit --omit=dev
2427

2528
- name: Run Tests
2629
run: npm test
@@ -31,16 +34,16 @@ jobs:
3134

3235
steps:
3336
- name: Checkout Repository
34-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
3538

3639
- name: Setup Node.js
37-
uses: actions/setup-node@v2.5.1
40+
uses: actions/setup-node@v4
3841
with:
3942
node-version: 18
4043
registry-url: https://registry.npmjs.org/
4144

4245
- name: Install Dependencies
43-
run: npm ci --force
46+
run: npm ci
4447

4548
- name: Build Project
4649
run: npm run build

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@ jobs:
1111

1212
steps:
1313
- name: Checkout Repository
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515

1616
- name: Setup Node.js
17-
uses: actions/setup-node@v2.5.1
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: 18
2020
registry-url: https://registry.npmjs.org/
2121

2222
- name: Install Dependencies
23-
run: npm ci --force
23+
run: npm ci
24+
25+
- name: Audit Production Dependencies
26+
run: npm audit --omit=dev
2427

2528
- name: Run Tests
2629
run: npm test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
.env.test.local
1616
.env.production.local
1717

18+
*.tgz
1819
npm-debug.log*
1920
yarn-debug.log*
2021
yarn-error.log*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Checkout.com
3+
Copyright (c) 2026 Checkout.com
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)