From d1d61a49d7e232e5a768b6920ff34dd36e8eacf0 Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Sun, 21 Apr 2024 11:22:18 +0200 Subject: [PATCH 1/2] chore: Use rollup-plugin-delete instead of rm --- bun.lockb | Bin 86533 -> 90849 bytes package.json | 5 +++-- rollup.config.js | 9 +++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bun.lockb b/bun.lockb index 902c2f57f9541d81f0d41d05fba263e9f3cfe7e0..7283bbec7b16cee82978c444a30505fbba70ef06 100755 GIT binary patch delta 17603 zcmeHvcUV-{y8f&U0}MJ+Y{Sq|K~&lx42X$!jI!J@0 zffmjP&~-;oq)bM1Sg|F?tbjBX7Me<3P=PvYZTAZD)AOu(g<)`wH7knn952V%32S9p($3Xf)dO$XZyaW3JAWuP3{tn1yknL(;ewoGck-E*(vpr$7rT&$ODb4l@+(QI8Zg z7nKxSFtE9(pu}8Qs+bWhwKEsNX9(+1)Ps}Dg%C+GQ+i%u6Y_;G3dq9HmQsPrm(OzW zD|?Rlrg6q(Thg;p%~E6@i*6JPLZ$K2TiIvCRGb|K<eGx5gQR|+qEm{^1CSa; z7e)CwBq*qzqNNUs%sHdYg$e}+r>QM9S*@0$;{UXh$s5aRZ$3*IoahxRIb;)@(-_UR zgVTg92B!&m8 z!vu-l17gm~^+{5P<#q{2iBr|RqcngX5<5-#bx1Nf+@2o*Nd{qXal7&8 zEY;6~bW=Dg$_I7kT4%qq)m@~S2E1DZ`v@wUk)U?xXI~_(HF1Zu<8x4~|x~bgd1X<}n~}%c_Fw zdlZg0R;n6>n&*DQU0hr8Bvk;9bkz)x*0+5B{f{EoE59|e;Rf*>oT*m z^AGFRCN`Q~^V6WOzu4eCr|om!-MzfWOwIf)yiZAt>&n`ism?z~$MrmNQ@30@cHX(+ zWxlyDPT$+;xk7j+bHUaAUsj(pZyd>o)KB8W>&3+teg4IFM;G79-uC_8>w!gWwBP*l zN&eD#_kT!>IOBH3A$8Wmh_t!EA121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_PC_`YCy z;r%{W=YH`3FC*NtaBIFVM7kVowR*3-?Kj-`z({ska$oU$ z6EhAq*jCg??yZe)hTT^GCIxMFpY+zmS&JsKttlKk$#zHeWCFA{spTKC~e#jPPv z1KOB_x&gMvLSK$U8f%*(M9+pgk+cgDA}LD6-D49BdwxdRYhp&=O|Pk2oO`Haq_|&b zxgAA|Lr=9AO9O*SN+-IDJQF$>RM@BEBR0*EE~X~nGp$5?TZm72CgGdCLN`9s@)S=k z#~;3DD#V9|`iF0xk_yj6w{|>TBrC<95>IhnWq#qI@6ttDgF~-Hi+FJ;uB+%QwC7uj zep9PlE0KDrHcN;G+S=w~nD%pX@xJy`jM#H%rBk$4w7<0xpW1rfF|LZr zyh`nSTk)Ib-(Li2@#!My(CNEiv(~1S=&Thq$4%ZnXjCiB5EkutD-q>a?8z_J2DTQh z4s~cPUK858apJgEpDL_}dJGbw4g9!uP0bafw6_L}hT0eH#9VDfXVFOOIZQM>v@cgA G1^*xZ_3XI- diff --git a/package.json b/package.json index e87b00d..d55dbda 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "build": "rm -rf ./dist && rollup -c", + "build": "rollup -c", "lint": "eslint" }, "type": "module", @@ -36,7 +36,8 @@ "d3-path": "^3.1.0", "d3-scale": "^4.0.2", "d3-selection": "^3.0.0", - "d3-shape": "^3.2.0" + "d3-shape": "^3.2.0", + "rollup-plugin-delete": "^2.0.0" }, "devDependencies": { "@anymud/bun-plugin-dts": "^1.0.2", diff --git a/rollup.config.js b/rollup.config.js index 14e7d72..95d4c3d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,9 @@ import { nodeResolve } from "@rollup/plugin-node-resolve"; import terser from "@rollup/plugin-terser"; import typescript from "@rollup/plugin-typescript"; +import del from "rollup-plugin-delete"; + +const outDir = "dist"; /** * @type {import('rollup').RollupOptions} @@ -8,10 +11,12 @@ import typescript from "@rollup/plugin-typescript"; const config = { input: "src/index.ts", output: { - dir: "dist", + dir: outDir, format: "es", }, + cache: false, plugins: [ + del({ targets: `${outDir}/*` }), nodeResolve(), terser({ format: { @@ -19,7 +24,7 @@ const config = { }, }), typescript({ - outDir: "dist", + outDir, }), ], }; From 36fff2fe66c2bd1e8da03d5dd25d133e6354901c Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Sun, 21 Apr 2024 11:22:33 +0200 Subject: [PATCH 2/2] chore: Add dev script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d55dbda..df6dc98 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "types": "dist/index.d.ts", "scripts": { "build": "rollup -c", + "dev": "rollup -c -w", "lint": "eslint" }, "type": "module",