Skip to content

Commit 306dcb0

Browse files
committed
Add build script
1 parent f8da620 commit 306dcb0

File tree

10 files changed

+17
-10
lines changed

10 files changed

+17
-10
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ jobs:
2828
- name: Install dependencies
2929
run: pnpm install
3030

31+
- name: Build packages
32+
run: pnpm build
33+
3134
- name: Run tests
3235
run: pnpm test

.github/workflows/publish.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
permissions:
13-
contents: write # Required for publishing the GitHub release.
14-
id-token: write # The OIDC ID token is used for authentication with JSR.
13+
contents: write # Required for publishing the GitHub release
14+
id-token: write # The OIDC ID token is used for authentication with JSR
1515

1616
steps:
1717
- name: Checkout
@@ -32,6 +32,9 @@ jobs:
3232
- name: Install dependencies
3333
run: pnpm install
3434

35+
- name: Build packages
36+
run: pnpm build
37+
3538
- name: Publish
3639
run: pnpm publish-release-ci ${{ github.ref_name }}
3740
env:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "remix-the-web",
33
"private": true,
4-
"packageManager": "pnpm@10.3.0",
4+
"packageManager": "pnpm@10.11.1",
55
"devDependencies": {
66
"prettier": "^3.3.3",
77
"typescript": "^5.7.2"
@@ -10,6 +10,7 @@
1010
"node": ">=22"
1111
},
1212
"scripts": {
13+
"build": "pnpm -r build",
1314
"clean": "git clean -fdX .",
1415
"publish-release": "node --env-file .env ./scripts/publish-release.js",
1516
"publish-release-ci": "node ./scripts/publish-release.js",

packages/fetch-proxy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"scripts": {
5050
"build": "tsup",
5151
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
52-
"prepare": "pnpm run build"
52+
"prepublishOnly": "pnpm run build"
5353
},
5454
"keywords": [
5555
"fetch",

packages/file-storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"scripts": {
8787
"build": "tsup",
8888
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
89-
"prepare": "pnpm run build"
89+
"prepublishOnly": "pnpm run build"
9090
},
9191
"keywords": [
9292
"file",

packages/form-data-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"scripts": {
5050
"build": "tsup",
5151
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
52-
"prepare": "pnpm run build"
52+
"prepublishOnly": "pnpm run build"
5353
},
5454
"keywords": [
5555
"form-data",

packages/lazy-file/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"scripts": {
6868
"build": "tsup",
6969
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
70-
"prepare": "pnpm run build"
70+
"prepublishOnly": "pnpm run build"
7171
},
7272
"keywords": [
7373
"file",

packages/multipart-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"bench:node": "node --experimental-strip-types --disable-warning=ExperimentalWarning ./bench/runner.ts",
7272
"build": "tsup",
7373
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
74-
"prepare": "pnpm run build"
74+
"prepublishOnly": "pnpm run build"
7575
},
7676
"keywords": [
7777
"multipart",

packages/node-fetch-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"bench": "bash ./bench/runner.sh",
4848
"build": "tsup",
4949
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
50-
"prepare": "pnpm run build"
50+
"prepublishOnly": "pnpm run build"
5151
},
5252
"keywords": [
5353
"http",

packages/tar-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"bench": "node --experimental-strip-types --disable-warning=ExperimentalWarning ./bench/runner.ts",
4949
"build": "tsup",
5050
"test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test ./src/**/*.test.ts",
51-
"prepare": "pnpm run build"
51+
"prepublishOnly": "pnpm run build"
5252
},
5353
"keywords": [
5454
"tar",

0 commit comments

Comments
 (0)