Skip to content

Commit

Permalink
Merge pull request #4 from hackmdio/chore/reduce-bundle-size
Browse files Browse the repository at this point in the history
chore: reduce bundle size
  • Loading branch information
stanley2058 authored Oct 3, 2024
2 parents 5d52e3b + d645fcf commit 0e83865
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 306 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: pnpm/action-setup@v4
- run: pnpm i
- run: pnpm lint
- run: pnpm dist
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"lib0": "^0.2.93",
"redis": "^4.6.12",
"socket.io": "^4.7.5",
"socket.io-client": "^4.8.0",
"y-protocols": "^1.0.6",
"yjs": "^13.6.18"
},
Expand All @@ -65,20 +66,17 @@
"postgres": "^3.4.3"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
},
"packageManager": "pnpm@9.1.0",
"devDependencies": {
"@dotenvx/dotenvx": "^1.14.0",
"@redis/client": "^1.6.0",
"@types/node": "^20.11.5",
"@types/ws": "^8.5.10",
"concurrently": "^8.2.2",
"socket.io-client": "^4.7.5",
"standard": "^17.1.0",
"tsup": "^8.2.4",
"typescript": "^5.3.3",
"ws": "^8.16.0",
"y-websocket": "^2.0.3"
"typescript": "^5.3.3"
}
}
Loading

0 comments on commit 0e83865

Please sign in to comment.