Skip to content

Commit 99dde94

Browse files
authored
Merge pull request #204 from fleet-sdk/iife-build
feat: build using rolldown
2 parents 69c8309 + 533c7d1 commit 99dde94

File tree

18 files changed

+895
-676
lines changed

18 files changed

+895
-676
lines changed

.changeset/young-waves-join.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@fleet-sdk/blockchain-providers": patch
3+
"@fleet-sdk/mock-chain": patch
4+
"@fleet-sdk/serializer": patch
5+
"@fleet-sdk/babel-fees-plugin": patch
6+
"@fleet-sdk/compiler": patch
7+
"@fleet-sdk/common": patch
8+
"@fleet-sdk/crypto": patch
9+
"@fleet-sdk/wallet": patch
10+
"@fleet-sdk/ageusd-plugin": patch
11+
"@fleet-sdk/core": patch
12+
---
13+
14+
Improve build outputs

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: actions/setup-node@v4
3030
with:
31-
node-version: 20
31+
node-version: 22
3232
cache: "pnpm"
3333

3434
- run: pnpm install --frozen-lockfile
@@ -49,7 +49,7 @@ jobs:
4949

5050
- uses: actions/setup-node@v4
5151
with:
52-
node-version: 20
52+
node-version: 22
5353
cache: "pnpm"
5454

5555
- run: pnpm install --frozen-lockfile
@@ -65,7 +65,7 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
node-version: [18, 20]
68+
node-version: [20, 24]
6969
steps:
7070
- uses: actions/checkout@v4
7171

@@ -127,7 +127,7 @@ jobs:
127127
- name: Build using Node.js v20
128128
uses: actions/setup-node@v4
129129
with:
130-
node-version: 20
130+
node-version: 22
131131
cache: "pnpm"
132132

133133
- run: pnpm install --frozen-lockfile
@@ -161,7 +161,7 @@ jobs:
161161
- name: Enable corepack
162162
uses: actions/setup-node@v4
163163
with:
164-
node-version: 20
164+
node-version: 22
165165
cache: "pnpm"
166166

167167
- name: Install dependencies

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Collect coverage
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 20
27+
node-version: 22
2828
cache: "pnpm"
2929
- run: pnpm install --frozen-lockfile
3030
- run: pnpm -r build

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
with:
2727
version: 9
2828

29-
- name: Setup Node.js 20.x
29+
- name: Setup Node.js 22.x
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: 20
32+
node-version: 22
3333
cache: "pnpm"
3434

3535
- name: Ensure latest npm version to be installed for npm provenance support

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"npm-run-all": "^4.1.5",
3838
"open-cli": "^8.0.0",
3939
"sigmastate-js": "0.4.6",
40-
"tsup": "^8.5.0",
40+
"tsdown": "^0.16.5",
4141
"type-fest": "^4.41.0",
4242
"typescript": "^5.9.2",
4343
"vite-tsconfig-paths": "^5.1.4",

packages/blockchain-providers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"crypto"
3131
],
3232
"scripts": {
33-
"build": "tsup --config ../../tsup.config.ts"
33+
"build": "tsdown --config ../../tsdown.config.ts"
3434
},
3535
"engines": {
3636
"node": ">=18"

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"blockchain"
3030
],
3131
"scripts": {
32-
"build": "tsup --config ../../tsup.config.ts"
32+
"build": "tsdown --config ../../tsdown.config.ts"
3333
},
3434
"engines": {
3535
"node": ">=18"

packages/compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"sigmastate-js": "0.4.6"
3838
},
3939
"scripts": {
40-
"build": "tsup --config ../../tsup.config.ts"
40+
"build": "tsdown --config ../../tsdown.config.ts"
4141
},
4242
"engines": {
4343
"node": ">=18"

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"serialization"
3232
],
3333
"scripts": {
34-
"build": "tsup --config ../../tsup.config.ts"
34+
"build": "tsdown --config ../../tsdown.config.ts"
3535
},
3636
"dependencies": {
3737
"@fleet-sdk/common": "workspace:^",

packages/crypto/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"crypto"
3131
],
3232
"scripts": {
33-
"build": "tsup --config ../../tsup.config.ts"
33+
"build": "tsdown --config ../../tsdown.config.ts"
3434
},
3535
"engines": {
3636
"node": ">=18"

0 commit comments

Comments
 (0)