From 93d7af271d045fc1a8fa4d86854a44b8a922597b Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Tue, 17 Oct 2023 23:12:33 +0200 Subject: [PATCH] init bun project --- bun.lockb | Bin 0 -> 1677 bytes package.json | 14 ++++++++++++++ server.ts | 1 + tsconfig.json | 22 ++++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100755 bun.lockb create mode 100644 package.json create mode 100644 server.ts create mode 100644 tsconfig.json diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000000000000000000000000000000000000..866b4804cd0a78d684ee3a6d2da87ab388b62ad2 GIT binary patch literal 1677 zcmY#Z)GsYA(of3F(@)JSQ%EY!<4P*c)6L0G&Q8nBN!3luFUn0U(JeFJVq#!mSifq? z+}OP>3(h>UFr88rv-{{(mlxu^c2%1X7cF}t*}3U2D+3rXgGmMk4m7#}$}fj0U?@(^ z%S>iqVBlh4VBln604v~PU})f)EX&q+O5pV!V6b6eXaIQ_BnHAnXa_3+sRdyW2S&r#Fg}cCVED)X z59UaaA}V1HpTEbg)@n2Jx zoe2nild(^2auOtLDweYYYqwFmn;^XJBBN(I>WU;+q^LnS=H* z;*F8}_M14mckMf>6ZENhq5Sm!TaP=`*Bov5lTeoMhB^0q;@Y(PhuGFmQ1?!pkmMu# zYtD5N{LBJX3!|Z2k|^XbAxR_giVr|Dz!fOXWm8;~te2TrT#}fRqX)}E4Wd%xL6{qHwr55SAR+OX`mlS2@rQ0bOBCNMSvc9Ak zRN62w9QZA=v}no%5m3Pg663$O*yf#V;jWV6;?$zD)S}qS3XMT&-amX97#MgM7#dnE zOwTY@@cm1Gy5TF7=CT3#)ex6g8A>V(Qj3#|G7CyT#VVMWQBqP+Y^ASXl$xGdTvAl2 zmsgORRjij^l&%j~qpyo#>l*4A=$Yx2q*p;43vnPGQ^2->?bO%RM{sma^^Ek4K<0oF H%3#C*t+^&@ literal 0 HcmV?d00001 diff --git a/package.json b/package.json new file mode 100644 index 0000000..6b2d4e4 --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "sanic", + "module": "server.ts", + "type": "module", + "scripts": { + "start": "bun run server.ts" + }, + "devDependencies": { + "bun-types": "latest" + }, + "peerDependencies": { + "typescript": "^5.0.0" + } +} diff --git a/server.ts b/server.ts new file mode 100644 index 0000000..f67b2c6 --- /dev/null +++ b/server.ts @@ -0,0 +1 @@ +console.log("Hello via Bun!"); \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..7556e1d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "lib": ["ESNext"], + "module": "esnext", + "target": "esnext", + "moduleResolution": "bundler", + "moduleDetection": "force", + "allowImportingTsExtensions": true, + "noEmit": true, + "composite": true, + "strict": true, + "downlevelIteration": true, + "skipLibCheck": true, + "jsx": "react-jsx", + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "allowJs": true, + "types": [ + "bun-types" // add Bun global + ] + } +}