From 2ecd821544c964e161f957a24873be00db712d70 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 16 Dec 2024 09:14:00 -0800 Subject: [PATCH] ci: use culls to prune package.json for NPM --- .github/workflows/publish-to-npm.yml | 3 +++ bun.lockb | Bin 49457 -> 49816 bytes package.json | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index 4364e7c..7cc3590 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -32,6 +32,9 @@ jobs: - name: Build package run: bun run build + - name: Prune package + run: bunx culls + - name: Publish package env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/bun.lockb b/bun.lockb index 81f5421c1d5e5b2192eeffd1bac46527f5edc218..786e37aeed2a77ab4a9cfba7c6d7b827f7bb6ea9 100755 GIT binary patch delta 5195 zcmeHLdr(x@9lmE_BP*_2;)4aE#0QGVbJZ1zY}7=BD+nqsVAUYmCOT~tHJQA$&7{?-lbT8EOez{{sxxVvNld@*?%k1OrqjRjpJ(RV z?|i@W`kmi7=ialoV`E6umXL;|_~J1&_Ub18`%|wuj%`ca>RVcV<eG>w*ucPb z;C|4xRVB5R7&s1^{VrNrQd)+Y`W_AF_rSe1pH@F`NWk-cs2G8YAz*fR2X;2R3hoPT z9vZ0kzh)F1I2fs)PHZjOqpSJ|ILvXZVEY(ka^nIWUj#EmcQ8Fx(2(fBp%H=dlLG=X z?DBgzJi{{3A#G8aYQA(u zxosz~fa$0hA*sDxwtquqLRqOS$x+f4ovGGKSG3!D3T}**n^76oOn92XoO)4OW8CVG z(iP*jg(CVKF;qHwx@=ECJpt9j=yn^__&`~>%hn0SK|-a*=CXxj;U+^_q{HD-9`O!x zTLrdsX^+mZgb$MIgEDPJSmo)c)L&A2xoiiaWJ5n>;a0cBJHl-lJyP06Oen#5=b1MW z*#cna8;Ps{Y($=C4GYB0sU-kRWY$llKq6Bo10eu*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+>=BQ3!%>+zV{W>|36@f2r89@(LnKOM8;aNv1>iT^NYV{nH6 zrlkOF;XvqMdfc+{nsw4DG(`^}_FpTDb!IO#&R$8`0Jlc_# zv`BMsVKUDh9{QY4P7Y&cjEspfuuqO{1`sdymNesn7zNc2oCP)kn}IFBR)AB&K6uWy z0KAZ_02nC)^8vW~8W+1s;EBLFfV1{PfG0X<>i}>NI0PI4UId<|+g4;a8V~Rc@MGWv z@I63)JwO|96zBwaL)r=O3c~aK`v6~Lykfiz@CtGaI1c0hyeoYRSPS6qpK(*}987LK#PILfGU7vW=CB9(AMB~cpO**tN@l~%@1#G>B&4?+2e9&Y2?u*6P~vsNy9@aFYYZ+Ir8~lm)a%~Z7z4{OUJ~? zxnJC@xaW^XPe#<8;%{@QUO9{3>C)Ji<_>-B`1shUjsoxK8NSXkb@cbF?>G}9tzDygp6mWH>Td^EGo}Cl diff --git a/package.json b/package.json index b4b2a7e..32844a9 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@types/bun": "^1.1.12", "@types/jest": "^29.5.13", "@types/prettier": "^3.0.0", + "culls": "^0.1.1", "prettier-plugin-svelte": "^3.2.7" }, "bin": {