From 7f9d62e06c2ad30f459d16e7d05a5b97c5eae131 Mon Sep 17 00:00:00 2001 From: Benjamin Wegener Date: Thu, 5 Oct 2023 10:15:36 +0100 Subject: [PATCH] init project --- README.md | 15 +++++++++++++++ bun.lockb | Bin 0 -> 1314 bytes jsconfig.json | 22 ++++++++++++++++++++++ lib/index.js | 1 + package.json | 11 +++++++++++ 5 files changed, 49 insertions(+) create mode 100644 README.md create mode 100755 bun.lockb create mode 100644 jsconfig.json create mode 100644 lib/index.js create mode 100644 package.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..c7c3799 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# layc + +To install dependencies: + +```bash +bun install +``` + +To run: + +```bash +bun run lib/index.js +``` + +This project was created using `bun init` in bun v1.0.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime. diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000000000000000000000000000000000000..b609b6103481d4fcb7e70106c13bf9d96376a618 GIT binary patch literal 1314 zcmY#Z)GsYA(of3F(@)JSQ%EY!;{sycoc!eMw9K4T-L(9o+{6;yG6OCq1_lPZw2)n; zTc6Hzu!+7>VPH3JyMkbSv0G5D{~OUSQ{I?bO=1Bm0s@d)5a57NaJm7?uYxIH$VseB z1_^QjF((5*utKieVnT8R;=gIo$`ktWc9K%n_B^Pmo85C)2i0mVIw zw=LMd@s&L`dq8Hu%mK-x^8fMwgBglVGnrzH3=ngXjb@pA;gZCEyBSkX%J%f6DJGGpQoE zMYK_b4cTlYDYBTPn{@yhq*tIcmrZd|vR-ChaYV*`grrIeO87LHIR;A{r z=_r^eB<5tM=jEq?k_;I9`wsyi4%i*c5OEeL&1F++Y-9)2h{XtydIP9B3nJ8mYy#=Y zfU2DX*As1I7F%iobgCKL9z#^80v+5iU$sF;yEQdQfHBTg&p^)rk@8_Fo`WeTu_U#) zgn{81)NB}y8bZaXxn-$Edae~EsYQ8-Il(1GnR)4U3Wf;lE#TG*K$CkHlm>Sm4(yJhGHuy*Yrp@7@ literal 0 HcmV?d00001 diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..1449bc3 --- /dev/null +++ b/jsconfig.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": "preserve", + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "allowJs": true, + "types": [ + "bun-types" // add Bun global + ] + } +} diff --git a/lib/index.js b/lib/index.js new file mode 100644 index 0000000..f67b2c6 --- /dev/null +++ b/lib/index.js @@ -0,0 +1 @@ +console.log("Hello via Bun!"); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..7ad76de --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "layc", + "module": "lib/index.js", + "type": "module", + "devDependencies": { + "bun-types": "latest" + }, + "peerDependencies": { + "typescript": "^5.0.0" + } +} \ No newline at end of file